From 57cab78e9325f93f63088190235c64f994a81e3d Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Wed, 7 Aug 2024 15:00:45 +0700 Subject: [PATCH 01/74] fix(MainchainGatewayV3): more checks on invalid signer and null total weight --- src/interfaces/IMainchainGatewayV3.sol | 12 +++++++++++- src/mainchain/MainchainGatewayV3.sol | 25 +++++++++++++++---------- 2 files changed, 26 insertions(+), 11 deletions(-) diff --git a/src/interfaces/IMainchainGatewayV3.sol b/src/interfaces/IMainchainGatewayV3.sol index 9af9600b..1c77c197 100644 --- a/src/interfaces/IMainchainGatewayV3.sol +++ b/src/interfaces/IMainchainGatewayV3.sol @@ -27,6 +27,16 @@ interface IMainchainGatewayV3 is SignatureConsumer, MappedTokenConsumer { */ error ErrQueryForInsufficientVoteWeight(); + /** + * @dev Error indicating that the recovered signer from the signature has invalid vote weight. + */ + error ErrInvalidSignature(address signer, uint256 weight, Signature sig); + + /** + * @dev Error indicating that the total weight provided is null. + */ + error ErrNullTotalWeightProvided(bytes4 msgSig); + /// @dev Emitted when the deposit is requested event DepositRequested(bytes32 receiptHash, Transfer.Receipt receipt); /// @dev Emitted when the assets are withdrawn @@ -41,7 +51,7 @@ interface IMainchainGatewayV3 is SignatureConsumer, MappedTokenConsumer { event WithdrawalUnlocked(bytes32 receiptHash, Transfer.Receipt receipt); /** - * @dev Returns the domain seperator. + * @dev Returns the domain separator. */ function DOMAIN_SEPARATOR() external view returns (bytes32); diff --git a/src/mainchain/MainchainGatewayV3.sol b/src/mainchain/MainchainGatewayV3.sol index a07d1b93..2a6f432d 100644 --- a/src/mainchain/MainchainGatewayV3.sol +++ b/src/mainchain/MainchainGatewayV3.sol @@ -4,6 +4,7 @@ pragma solidity ^0.8.23; import "@openzeppelin/contracts/access/AccessControlEnumerable.sol"; import "@openzeppelin/contracts/proxy/utils/Initializable.sol"; import "@openzeppelin/contracts/token/ERC1155/utils/ERC1155Holder.sol"; +import { ECDSA } from "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import { IBridgeManager } from "../interfaces/bridge/IBridgeManager.sol"; import { IBridgeManagerCallback } from "../interfaces/bridge/IBridgeManagerCallback.sol"; import { HasContracts, ContractType } from "../extensions/collections/HasContracts.sol"; @@ -309,16 +310,19 @@ contract MainchainGatewayV3 is address signer; address lastSigner; Signature memory sig; - uint256 weight; + uint256 accWeight; for (uint256 i; i < signatures.length; i++) { sig = signatures[i]; - signer = ecrecover(receiptDigest, sig.v, sig.r, sig.s); + signer = ECDSA.recover({ hash: receiptDigest, v: sig.v, r: sig.r, s: sig.s }); if (lastSigner >= signer) revert ErrInvalidOrder(msg.sig); lastSigner = signer; - weight += _getWeight(signer); - if (weight >= minimumWeight) { + uint256 w = _getWeight(signer); + if (w == 0) revert ErrInvalidSignature(signer, w, sig); + + accWeight += w; + if (accWeight >= minimumWeight) { passed = true; break; } @@ -398,7 +402,7 @@ contract MainchainGatewayV3 is } /** - * @dev Update domain seperator. + * @dev Update domain separator. */ function _updateDomainSeparator() internal { /* @@ -432,9 +436,9 @@ contract MainchainGatewayV3 is * Emits the `WrappedNativeTokenContractUpdated` event. * */ - function _setWrappedNativeTokenContract(IWETH _wrapedToken) internal { - wrappedNativeToken = _wrapedToken; - emit WrappedNativeTokenContractUpdated(_wrapedToken); + function _setWrappedNativeTokenContract(IWETH _wrappedToken) internal { + wrappedNativeToken = _wrappedToken; + emit WrappedNativeTokenContractUpdated(_wrappedToken); } /** @@ -461,8 +465,9 @@ contract MainchainGatewayV3 is /** * @inheritdoc GatewayV3 */ - function _getTotalWeight() internal view override returns (uint256) { - return _totalOperatorWeight; + function _getTotalWeight() internal view override returns (uint256 totalWeight) { + totalWeight = _totalOperatorWeight; + if (totalWeight == 0) revert ErrNullTotalWeightProvided(msg.sig); } /** From e33ff8bd3f03ad4e9e1434b1930a1b4ecd84c542 Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Wed, 7 Aug 2024 15:33:11 +0700 Subject: [PATCH 02/74] fix(MainchainGatewayV3): rename accWeight -> accumWeight --- src/mainchain/MainchainGatewayV3.sol | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mainchain/MainchainGatewayV3.sol b/src/mainchain/MainchainGatewayV3.sol index 2a6f432d..65094ddb 100644 --- a/src/mainchain/MainchainGatewayV3.sol +++ b/src/mainchain/MainchainGatewayV3.sol @@ -310,7 +310,7 @@ contract MainchainGatewayV3 is address signer; address lastSigner; Signature memory sig; - uint256 accWeight; + uint256 accumWeight; for (uint256 i; i < signatures.length; i++) { sig = signatures[i]; signer = ECDSA.recover({ hash: receiptDigest, v: sig.v, r: sig.r, s: sig.s }); @@ -321,8 +321,8 @@ contract MainchainGatewayV3 is uint256 w = _getWeight(signer); if (w == 0) revert ErrInvalidSignature(signer, w, sig); - accWeight += w; - if (accWeight >= minimumWeight) { + accumWeight += w; + if (accumWeight >= minimumWeight) { passed = true; break; } From 790e10a2b00b890d22d56a5e22d609c908f80298 Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Wed, 7 Aug 2024 15:34:26 +0700 Subject: [PATCH 03/74] fix(MainchainGatewayV3): rename ErrInvalidSignature -> ErrInvalidSigner --- src/interfaces/IMainchainGatewayV3.sol | 2 +- src/mainchain/MainchainGatewayV3.sol | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/interfaces/IMainchainGatewayV3.sol b/src/interfaces/IMainchainGatewayV3.sol index 1c77c197..a79605a6 100644 --- a/src/interfaces/IMainchainGatewayV3.sol +++ b/src/interfaces/IMainchainGatewayV3.sol @@ -30,7 +30,7 @@ interface IMainchainGatewayV3 is SignatureConsumer, MappedTokenConsumer { /** * @dev Error indicating that the recovered signer from the signature has invalid vote weight. */ - error ErrInvalidSignature(address signer, uint256 weight, Signature sig); + error ErrInvalidSigner(address signer, uint256 weight, Signature sig); /** * @dev Error indicating that the total weight provided is null. diff --git a/src/mainchain/MainchainGatewayV3.sol b/src/mainchain/MainchainGatewayV3.sol index 65094ddb..57bf0c9c 100644 --- a/src/mainchain/MainchainGatewayV3.sol +++ b/src/mainchain/MainchainGatewayV3.sol @@ -319,7 +319,7 @@ contract MainchainGatewayV3 is lastSigner = signer; uint256 w = _getWeight(signer); - if (w == 0) revert ErrInvalidSignature(signer, w, sig); + if (w == 0) revert ErrInvalidSigner(signer, w, sig); accumWeight += w; if (accumWeight >= minimumWeight) { From bd3846036913482e3b45f6a0d06b25984d099b45 Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Wed, 7 Aug 2024 15:47:37 +0700 Subject: [PATCH 04/74] fix(GatewayV3): revert on null min vote weight --- src/extensions/GatewayV3.sol | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/src/extensions/GatewayV3.sol b/src/extensions/GatewayV3.sol index 55eca141..82fac046 100644 --- a/src/extensions/GatewayV3.sol +++ b/src/extensions/GatewayV3.sol @@ -6,6 +6,11 @@ import "../interfaces/IQuorum.sol"; import "./collections/HasProxyAdmin.sol"; abstract contract GatewayV3 is HasProxyAdmin, Pausable, IQuorum { + /** + * @dev Error indicating that `_minimumVoteWeight` is returning 0. + */ + error ErrNullMinVoteWeightProvided(bytes4 msgSig); + uint256 internal _num; uint256 internal _denom; @@ -78,11 +83,14 @@ abstract contract GatewayV3 is HasProxyAdmin, Pausable, IQuorum { * */ function _setThreshold(uint256 num, uint256 denom) internal virtual { - if (num > denom) revert ErrInvalidThreshold(msg.sig); + if (num > denom || denom == 0 || num == 0) revert ErrInvalidThreshold(msg.sig); + uint256 prevNum = _num; uint256 prevDenom = _denom; + _num = num; _denom = denom; + unchecked { emit ThresholdUpdated(nonce++, num, denom, prevNum, prevDenom); } @@ -91,8 +99,9 @@ abstract contract GatewayV3 is HasProxyAdmin, Pausable, IQuorum { /** * @dev Returns minimum vote weight. */ - function _minimumVoteWeight(uint256 _totalWeight) internal view virtual returns (uint256) { - return (_num * _totalWeight + _denom - 1) / _denom; + function _minimumVoteWeight(uint256 _totalWeight) internal view virtual returns (uint256 minVoteWeight) { + minVoteWeight = (_num * _totalWeight + _denom - 1) / _denom; + if (minVoteWeight == 0) revert ErrNullMinVoteWeightProvided(msg.sig); } /** From 0d1c8f0d2b1bd59f5cb824ee751fe9193934beef Mon Sep 17 00:00:00 2001 From: nxqbao Date: Wed, 7 Aug 2024 15:08:26 +0700 Subject: [PATCH 05/74] script: proposal for invoke add operators callback --- .../20240807-ir-recover.s.sol | 290 ++++++++++++++++++ script/shared/libraries/LibProposal.sol | 53 ++++ script/shared/libraries/LibStorage.sol | 8 + 3 files changed, 351 insertions(+) create mode 100644 script/20240807-ir-recover/20240807-ir-recover.s.sol create mode 100644 script/shared/libraries/LibStorage.sol diff --git a/script/20240807-ir-recover/20240807-ir-recover.s.sol b/script/20240807-ir-recover/20240807-ir-recover.s.sol new file mode 100644 index 00000000..214a3f91 --- /dev/null +++ b/script/20240807-ir-recover/20240807-ir-recover.s.sol @@ -0,0 +1,290 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.19; + +import { console } from "forge-std/console.sol"; +import { cheatBroadcast } from "@fdk/utils/Helpers.sol"; + +import { Contract } from "../utils/Contract.sol"; +import { Network } from "../utils/Network.sol"; +import { Migration } from "../Migration.s.sol"; +import { LibProposal } from "../shared/libraries/LibProposal.sol"; +import { LibStorage } from "../shared/libraries/LibStorage.sol"; + +import { TransparentUpgradeableProxyV2, TransparentUpgradeableProxy } from "@ronin/contracts/extensions/TransparentUpgradeableProxyV2.sol"; +import { IMainchainBridgeManager } from "script/interfaces/IMainchainBridgeManager.sol"; +import { MainchainBridgeManager } from "@ronin/contracts/mainchain/MainchainBridgeManager.sol"; +import { IMainchainGatewayV3 } from "@ronin/contracts/interfaces/IMainchainGatewayV3.sol"; +import { MainchainGatewayV3 } from "@ronin/contracts/mainchain/MainchainGatewayV3.sol"; +import { IBridgeManagerCallback } from "@ronin/contracts/interfaces/bridge/IBridgeManagerCallback.sol"; + +import { Proposal } from "@ronin/contracts/libraries/Proposal.sol"; +import { Transfer } from "@ronin/contracts/libraries/Transfer.sol"; +import { TokenStandard } from "@ronin/contracts/libraries/LibTokenInfo.sol"; +import { SignatureConsumer } from "@ronin/contracts/interfaces/consumers/SignatureConsumer.sol"; + +contract Migration__20240807_IR_Recover is Migration { + address constant private SM_GOVERNOR = 0xe880802580a1fbdeF67ACe39D1B21c5b2C74f059; + address private _multisigEth = 0x51F6696Ae42C6C40CA9F5955EcA2aaaB1Cefb26e; + IMainchainBridgeManager private _mainchainBM = IMainchainBridgeManager(0x2Cf3CFb17774Ce0CFa34bB3f3761904e7fc3FaDB); + TransparentUpgradeableProxyV2 private _mainchainBMproxy = TransparentUpgradeableProxyV2(payable(address(_mainchainBM))); + IMainchainGatewayV3 private _mainchainGW = IMainchainGatewayV3(0x64192819Ac13Ef72bF6b5AE239AC672B43a9AF08); + + address _prevBMLogic; + address _newBMLogic; + + function run() public virtual onlyOn(Network.EthMainnet.key()) { + _preCheck_Withdrawable(); + _performFix(); + _performCheckAfterFix(); + } + + function _performFix() internal { + vm.prank(_multisigEth); + _prevBMLogic = _mainchainBMproxy.implementation(); + _newBMLogic = _deployLogic(Contract.MainchainBridgeManager.key()); + + (bool success, bytes memory ret) = address(_mainchainGW).staticcall(abi.encodeWithSignature("paused()")); + if (!success) { + revert("Cannot check if gateway is paused"); + } + bool paused = abi.decode(ret, (bool)); + assertTrue(paused, "Gateway should be on paused"); + + _recover_relayProposalWithCheatGovernors(); + + // // 1. Upgrade to new version and call hotfix + // cheatBroadcast( + // _multisigEth, + // address(_mainchainBMproxy), + // 0, + // abi.encodeCall( + // TransparentUpgradeableProxy.upgradeToAndCall, + // ( + // _newBMLogic, + // abi.encodeWithSelector(MainchainBridgeManager.hotfix__ir_recover.selector) + // ) + // ) + // ); + + // // 2. Downgrade to previous version + // cheatBroadcast({ + // from: _multisigEth, + // to: address(_mainchainBMproxy), + // callValue: 0, + // callData: abi.encodeWithSignature( + // "upgradeTo(address)", + // _prevBMLogic + // ) + // }); + } + + function _recover_relayProposalWithCheatGovernors() internal { + // Create proposal + Proposal.ProposalDetail memory proposal = __recover_createProposal(); + + // Validate proposal's gas amount + LibProposal.verifyProposalGasAmount(address(_mainchainBM), proposal.targets, proposal.values, proposal.calldatas, proposal.gasAmounts); + + // Validate proposal's execution + LibProposal.verifyProposalExecutionMainchain({ + governance: address(_mainchainBM), + proposal: proposal, + shouldRevertState: false + }); + } + + function __recover_createProposal() internal view returns(Proposal.ProposalDetail memory proposal) { + // struct ProposalDetail { + // // Nonce to make sure proposals are executed in order + // uint256 nonce; + // // Value 0: all chain should run this proposal + // // Other values: only specific chain has to execute + // uint256 chainId; + // uint256 expiryTimestamp; + // // The address that execute the proposal after the proposal passes. + // // Leave this address as address(0) to auto-execute by the last valid vote. + // address executor; + // address[] targets; + // uint256[] values; + // bytes[] calldatas; + // uint256[] gasAmounts; + // } + + proposal.nonce = 1; + proposal.chainId = 1; + proposal.expiryTimestamp = block.timestamp + 12 days; + proposal.executor = address(0); + + // proposal.targets = new address[](2); + // proposal.values = new uint256[](2); + // proposal.calldatas = new bytes[](2); + // proposal.gasAmounts = new uint256[](2); + + // proposal.targets[0] = address(_mainchainBM); + // proposal.values[0] = 0; + // proposal.calldatas[0] = abi.encodeCall( + // TransparentUpgradeableProxy.upgradeToAndCall, + // ( + // _newBMLogic, + // abi.encodeWithSelector(MainchainBridgeManager.hotfix__ir_recover.selector) + // ) + // ); + // proposal.gasAmounts[0] = 4000000; + + // proposal.targets[1] = address(_mainchainBM); + // proposal.values[1] = 0; + // proposal.calldatas[1] = abi.encodeWithSignature("upgradeTo(address)", _prevBMLogic); + // proposal.gasAmounts[1] = 1000000; + + (, address[] memory operators, uint96[] memory weights) = _mainchainBM.getFullBridgeOperatorInfos(); + bool[] memory addeds = new bool[](operators.length); + for (uint256 i = 0; i < operators.length; i++) { + addeds[i] = true; + } + + proposal.targets = new address[](1); + proposal.values = new uint256[](1); + proposal.calldatas = new bytes[](1); + proposal.gasAmounts = new uint256[](1); + + proposal.targets[0] = address(_mainchainGW); + proposal.values[0] = 0; + proposal.calldatas[0] = abi.encodeWithSignature( + "functionDelegateCall(bytes)", abi.encodeWithSelector(IBridgeManagerCallback.onBridgeOperatorsAdded.selector, operators, weights, addeds) + ); + proposal.gasAmounts[0] = 2000000; + } + + function _preCheck_Withdrawable() internal { + uint256 snapshotId = vm.snapshot(); + + _fake_unpause(); + + Transfer.Receipt memory dummyReceipt = _generateReceipt(); + + SignatureConsumer.Signature[] memory sigs = new SignatureConsumer.Signature[](1); + sigs[0].v = 28; + sigs[0].r = 0xb377fd3c624426b0ef33f110dfc9424e6444f9000e8d4a859cd9102e59834544; + sigs[0].s = 0x2e7f1f124b131944db2982c70f5ffc4054326facbbca95f161f3f042b58f52f8; + + vm.expectEmit(true, false, false, false, address(_mainchainGW)); + emit IMainchainGatewayV3.Withdrew(bytes32(0), dummyReceipt); + _mainchainGW.submitWithdrawal(dummyReceipt, sigs); + + bool reverted = vm.revertTo(snapshotId); + require(reverted, string.concat("Cannot revert to snapshot id: ", vm.toString(snapshotId))); + } + + function _fake_unpause() internal { + address pauseEnforcer = 0xe514d9DEB7966c8BE0ca922de8a064264eA6bcd4; + console.log("Pranking Pause Enforcer"); + vm.prank(pauseEnforcer); + (bool success, ) = address(_mainchainGW).call(abi.encodeWithSignature("unpause()")); + require(success, "Cannot unpause mainchain gateway"); + console.log("Stop pranking Pause Enforcer"); + } + + function _performCheckAfterFix() internal { + // - Total weight in `BM` and `GW` the same + { + uint256 totalWeightBM = _mainchainBM.getTotalWeight(); + uint96 totalWeightGW = getGWTotalWeight(); + require(totalWeightBM == uint256(totalWeightGW), "Mismatched total weight"); + } + + + // - Weight of all operators in `BM` and `GW` the same + (, address[] memory operatorsBM, uint96[] memory weightsBM) = _mainchainBM.getFullBridgeOperatorInfos(); + for (uint256 i = 0; i < operatorsBM.length; i++) { + require(getGWWeight(operatorsBM[i]) == weightsBM[i], "Mismatched weight"); + } + + { + _postCheck_Withdrawable(); + } + } + + function _postCheck_Withdrawable() internal{ + uint256 snapshotId = vm.snapshot(); + _fake_unpause(); + + Transfer.Receipt memory dummyReceipt = _generateReceipt(); + + SignatureConsumer.Signature[] memory sigs = new SignatureConsumer.Signature[](1); + sigs[0].v = 28; + sigs[0].r = 0xb377fd3c624426b0ef33f110dfc9424e6444f9000e8d4a859cd9102e59834544; + sigs[0].s = 0x2e7f1f124b131944db2982c70f5ffc4054326facbbca95f161f3f042b58f52f8; + + vm.expectRevert(abi.encodeWithSelector(IMainchainGatewayV3.ErrQueryForInsufficientVoteWeight.selector)); + _mainchainGW.submitWithdrawal(dummyReceipt, sigs); + + bool reverted = vm.revertTo(snapshotId); + require(reverted, string.concat("Cannot revert to snapshot id: ", vm.toString(snapshotId))); + } + + function getGWTotalWeight() public view returns(uint96 totalWeight) { + uint256 $$_operatorWeightSlot = 125; + bytes32 paddedTotalWeight = vm.load(address(_mainchainGW), bytes32($$_operatorWeightSlot)); + totalWeight = uint96(uint256(paddedTotalWeight)); + console.log(string.concat("[STORAGE] Total weight in GW is ", vm.toString(totalWeight))); + } + + function getGWWeight(address operator) public view returns (uint96 weight) { + uint256 $$_operatorWeightSlot = 126; + bytes32 $$ = LibStorage.getMappingElementSlotIndex(operator, $$_operatorWeightSlot); + bytes32 paddedWeight = vm.load(address(_mainchainGW), $$); + weight = uint96(uint256(paddedWeight)); + console.log(string.concat("[STORAGE] Weight of ", vm.toString(operator), " is ", vm.toString(weight))); + } + + function _generateReceipt() internal returns (Transfer.Receipt memory receipt_) { + // struct Receipt { + // uint256 id; + // Kind kind; + // TokenOwner mainchain; + // TokenOwner ronin; + // TokenInfo info; + // } + + // struct TokenOwner { + // address addr; + // address tokenAddr; + // uint256 chainId; + // } + + /* Receipt({ + id: 166631 [1.666e5], + kind: 1, + mainchain: TokenOwner({ + addr: 0x4Ab12E7CE31857Ee022f273e8580F73335a73c0B, + tokenAddr: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, + chainId: 1 + }), + ronin: TokenOwner({ + addr: 0x03E1f309d281b0af1A17EBb29e89136c05b67206, + tokenAddr: 0xc99a6A985eD2Cac1ef41640596C5A5f9F4E19Ef5, + chainId: 2020 + }), + info: TokenInfo({ + erc: 0, + id: 0, + quantity: 3996093750000000000000 [3.996e21] + }) + }) */ + + address mainchainETH = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2; + address roninETH = 0xc99a6A985eD2Cac1ef41640596C5A5f9F4E19Ef5; + + receipt_.id = 133713371337; + receipt_.kind = Transfer.Kind.Withdrawal; + receipt_.mainchain.addr = makeAddr("recipient-mainchain"); + receipt_.mainchain.tokenAddr = mainchainETH; + receipt_.mainchain.chainId = 1; + receipt_.ronin.addr = makeAddr("recipient-ronin"); + receipt_.ronin.tokenAddr = roninETH; + receipt_.ronin.chainId = 2020; + receipt_.info.erc = TokenStandard.ERC20; + receipt_.info.id = 0; + receipt_.info.quantity = 3996093750000000000000; + } +} diff --git a/script/shared/libraries/LibProposal.sol b/script/shared/libraries/LibProposal.sol index 0aef2e1b..8e076838 100644 --- a/script/shared/libraries/LibProposal.sol +++ b/script/shared/libraries/LibProposal.sol @@ -3,6 +3,7 @@ pragma solidity ^0.8.0; import { ECDSA } from "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import { Vm } from "forge-std/Vm.sol"; +import { StdCheats } from "forge-std/StdCheats.sol"; import { console } from "forge-std/console.sol"; import { IGeneralConfigExtended } from "script/interfaces/IGeneralConfigExtended.sol"; import { TNetwork, Network } from "script/utils/Network.sol"; @@ -13,8 +14,10 @@ import { Proposal } from "@ronin/contracts/libraries/Proposal.sol"; import { GlobalProposal } from "@ronin/contracts/libraries/GlobalProposal.sol"; import { Ballot } from "@ronin/contracts/libraries/Ballot.sol"; import { IRoninBridgeManager } from "script/interfaces/IRoninBridgeManager.sol"; +import { IMainchainBridgeManager } from "script/interfaces/IMainchainBridgeManager.sol"; import { SignatureConsumer } from "@ronin/contracts/interfaces/consumers/SignatureConsumer.sol"; import { LibArray } from "./LibArray.sol"; +import { LibStorage } from "./LibStorage.sol"; import { LibProxy } from "@fdk/libraries/LibProxy.sol"; import { LibCompanionNetwork } from "./LibCompanionNetwork.sol"; import { LibErrorHandler } from "@fdk/libraries/LibErrorHandler.sol"; @@ -255,6 +258,56 @@ library LibProposal { } } + function verifyProposalExecutionMainchain( + address governance, + Proposal.ProposalDetail memory proposal + ) internal { + address cheatPowerGov = 0x19614c50b0d13399A1533Fc1d3c1AD980A249aEa; // cheating pk, do not use in production + uint256 cheatingPowerGovPk = 0x677911d1450076499cfe00fa1090c00c6ed7338fb5acfdef663a8fbde551d461; // cheating pk, do not use in production + vm.label(cheatPowerGov, "CheatPowerGovernor"); + + uint256[] memory cheatingPks = new uint256[](1); + cheatingPks[0] = cheatingPowerGovPk; + + uint256 $$_governorWeightMap_Slot = uint256(0xc648703095712c0419b6431ae642c061f0a105ac2d7c3d9604061ef4ebc38300) + 2; + bytes32 $$_governorWeight_Slot = LibStorage.getMappingElementSlotIndex(cheatPowerGov, uint256($$_governorWeightMap_Slot)); + + vm.store(governance, $$_governorWeight_Slot, bytes32(uint256(uint96(100*1000)))); + + { + Ballot.VoteType[] memory supports_ = new Ballot.VoteType[](1); + SignatureConsumer.Signature[] memory sigs_ = new SignatureConsumer.Signature[](1); + supports_[0] = Ballot.VoteType.For; + + sigs_ = generateSignatures(proposal, cheatingPks, supports_[0]); + + if (proposal.executor == address(0)) { + vm.prank(cheatPowerGov); + } else { + vm.prank(proposal.executor); + } + IMainchainBridgeManager(governance).relayProposal(proposal, supports_, sigs_); + } + } + + function verifyProposalExecutionMainchain( + address governance, + Proposal.ProposalDetail memory proposal, + bool shouldRevertState + ) internal { + uint256 snapshotId; + if (shouldRevertState) { + snapshotId = vm.snapshot(); + } + + verifyProposalExecutionMainchain(governance, proposal); + + if (shouldRevertState) { + bool revertSuccess = vm.revertTo(snapshotId); + require(revertSuccess, "Cannot revert to snapshot id"); + } + } + function generateSignatures( Proposal.ProposalDetail memory proposal, uint256[] memory signerPKs, diff --git a/script/shared/libraries/LibStorage.sol b/script/shared/libraries/LibStorage.sol new file mode 100644 index 00000000..7d7dc499 --- /dev/null +++ b/script/shared/libraries/LibStorage.sol @@ -0,0 +1,8 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.0; + +library LibStorage { + function getMappingElementSlotIndex(address key, uint256 mappingSlotIndex) internal pure returns (bytes32 $$) { + return keccak256(abi.encode(key, mappingSlotIndex)); + } +} From c8fb9836db5e0c9375ac78308afb66cba66ba23e Mon Sep 17 00:00:00 2001 From: Do Tu Date: Thu, 8 Aug 2024 17:30:54 +0700 Subject: [PATCH 06/74] script: add upgrade mainchain gateway v3 to proposal --- .../20240807-ir-recover.s.sol | 48 ++++++++++++------- 1 file changed, 32 insertions(+), 16 deletions(-) diff --git a/script/20240807-ir-recover/20240807-ir-recover.s.sol b/script/20240807-ir-recover/20240807-ir-recover.s.sol index 214a3f91..e0451367 100644 --- a/script/20240807-ir-recover/20240807-ir-recover.s.sol +++ b/script/20240807-ir-recover/20240807-ir-recover.s.sol @@ -21,9 +21,13 @@ import { Proposal } from "@ronin/contracts/libraries/Proposal.sol"; import { Transfer } from "@ronin/contracts/libraries/Transfer.sol"; import { TokenStandard } from "@ronin/contracts/libraries/LibTokenInfo.sol"; import { SignatureConsumer } from "@ronin/contracts/interfaces/consumers/SignatureConsumer.sol"; +import { DefaultNetwork } from "@fdk/utils/DefaultNetwork.sol"; +import { LibProxy } from "@fdk/libraries/LibProxy.sol"; contract Migration__20240807_IR_Recover is Migration { - address constant private SM_GOVERNOR = 0xe880802580a1fbdeF67ACe39D1B21c5b2C74f059; + using LibProxy for *; + + address private constant SM_GOVERNOR = 0xe880802580a1fbdeF67ACe39D1B21c5b2C74f059; address private _multisigEth = 0x51F6696Ae42C6C40CA9F5955EcA2aaaB1Cefb26e; IMainchainBridgeManager private _mainchainBM = IMainchainBridgeManager(0x2Cf3CFb17774Ce0CFa34bB3f3761904e7fc3FaDB); TransparentUpgradeableProxyV2 private _mainchainBMproxy = TransparentUpgradeableProxyV2(payable(address(_mainchainBM))); @@ -31,17 +35,31 @@ contract Migration__20240807_IR_Recover is Migration { address _prevBMLogic; address _newBMLogic; + address _newGWLogic; function run() public virtual onlyOn(Network.EthMainnet.key()) { _preCheck_Withdrawable(); _performFix(); _performCheckAfterFix(); + + // Cheat to change admin of MainchainBridgeManager to self to pass post-check. + vm.prank(_multisigEth); + TransparentUpgradeableProxy(payable(address(_mainchainBM))).changeAdmin(address(_mainchainBM)); + + switchTo(DefaultNetwork.RoninMainnet.key()); + + // Cheat to change admin of RoninBridgeManager to self to pass post-check. + address payable roninBM = loadContract(Contract.RoninBridgeManager.key()); + address admin = roninBM.getProxyAdmin(); + vm.prank(admin); + TransparentUpgradeableProxy(roninBM).changeAdmin(roninBM); } function _performFix() internal { vm.prank(_multisigEth); _prevBMLogic = _mainchainBMproxy.implementation(); _newBMLogic = _deployLogic(Contract.MainchainBridgeManager.key()); + _newGWLogic = _deployLogic(Contract.MainchainGatewayV3.key()); (bool success, bytes memory ret) = address(_mainchainGW).staticcall(abi.encodeWithSignature("paused()")); if (!success) { @@ -86,14 +104,10 @@ contract Migration__20240807_IR_Recover is Migration { LibProposal.verifyProposalGasAmount(address(_mainchainBM), proposal.targets, proposal.values, proposal.calldatas, proposal.gasAmounts); // Validate proposal's execution - LibProposal.verifyProposalExecutionMainchain({ - governance: address(_mainchainBM), - proposal: proposal, - shouldRevertState: false - }); + LibProposal.verifyProposalExecutionMainchain({ governance: address(_mainchainBM), proposal: proposal, shouldRevertState: false }); } - function __recover_createProposal() internal view returns(Proposal.ProposalDetail memory proposal) { + function __recover_createProposal() internal view returns (Proposal.ProposalDetail memory proposal) { // struct ProposalDetail { // // Nonce to make sure proposals are executed in order // uint256 nonce; @@ -135,24 +149,27 @@ contract Migration__20240807_IR_Recover is Migration { // proposal.values[1] = 0; // proposal.calldatas[1] = abi.encodeWithSignature("upgradeTo(address)", _prevBMLogic); // proposal.gasAmounts[1] = 1000000; - (, address[] memory operators, uint96[] memory weights) = _mainchainBM.getFullBridgeOperatorInfos(); bool[] memory addeds = new bool[](operators.length); for (uint256 i = 0; i < operators.length; i++) { addeds[i] = true; } - proposal.targets = new address[](1); - proposal.values = new uint256[](1); - proposal.calldatas = new bytes[](1); - proposal.gasAmounts = new uint256[](1); + proposal.targets = new address[](2); + proposal.values = new uint256[](2); + proposal.calldatas = new bytes[](2); + proposal.gasAmounts = new uint256[](2); proposal.targets[0] = address(_mainchainGW); + proposal.targets[1] = address(_mainchainGW); proposal.values[0] = 0; + proposal.values[1] = 0; proposal.calldatas[0] = abi.encodeWithSignature( "functionDelegateCall(bytes)", abi.encodeWithSelector(IBridgeManagerCallback.onBridgeOperatorsAdded.selector, operators, weights, addeds) ); + proposal.calldatas[1] = abi.encodeWithSignature("upgradeTo(address)", _newGWLogic); proposal.gasAmounts[0] = 2000000; + proposal.gasAmounts[1] = 1000000; } function _preCheck_Withdrawable() internal { @@ -179,7 +196,7 @@ contract Migration__20240807_IR_Recover is Migration { address pauseEnforcer = 0xe514d9DEB7966c8BE0ca922de8a064264eA6bcd4; console.log("Pranking Pause Enforcer"); vm.prank(pauseEnforcer); - (bool success, ) = address(_mainchainGW).call(abi.encodeWithSignature("unpause()")); + (bool success,) = address(_mainchainGW).call(abi.encodeWithSignature("unpause()")); require(success, "Cannot unpause mainchain gateway"); console.log("Stop pranking Pause Enforcer"); } @@ -192,7 +209,6 @@ contract Migration__20240807_IR_Recover is Migration { require(totalWeightBM == uint256(totalWeightGW), "Mismatched total weight"); } - // - Weight of all operators in `BM` and `GW` the same (, address[] memory operatorsBM, uint96[] memory weightsBM) = _mainchainBM.getFullBridgeOperatorInfos(); for (uint256 i = 0; i < operatorsBM.length; i++) { @@ -204,7 +220,7 @@ contract Migration__20240807_IR_Recover is Migration { } } - function _postCheck_Withdrawable() internal{ + function _postCheck_Withdrawable() internal { uint256 snapshotId = vm.snapshot(); _fake_unpause(); @@ -222,7 +238,7 @@ contract Migration__20240807_IR_Recover is Migration { require(reverted, string.concat("Cannot revert to snapshot id: ", vm.toString(snapshotId))); } - function getGWTotalWeight() public view returns(uint96 totalWeight) { + function getGWTotalWeight() public view returns (uint96 totalWeight) { uint256 $$_operatorWeightSlot = 125; bytes32 paddedTotalWeight = vm.load(address(_mainchainGW), bytes32($$_operatorWeightSlot)); totalWeight = uint96(uint256(paddedTotalWeight)); From acad51e4d056f173a186ef7e787745f0afecdb84 Mon Sep 17 00:00:00 2001 From: Do Tu Date: Fri, 9 Aug 2024 11:46:19 +0700 Subject: [PATCH 07/74] fix(WithdrawalLimitation): revert when _highTierVoteWeight is zero --- src/extensions/WithdrawalLimitation.sol | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/extensions/WithdrawalLimitation.sol b/src/extensions/WithdrawalLimitation.sol index 97a9e941..31b891c7 100644 --- a/src/extensions/WithdrawalLimitation.sol +++ b/src/extensions/WithdrawalLimitation.sol @@ -6,6 +6,8 @@ import "./GatewayV3.sol"; abstract contract WithdrawalLimitation is GatewayV3 { /// @dev Error of invalid percentage. error ErrInvalidPercentage(); + /// @dev Error thrown when the high-tier vote weight threshold is `0`. + error ErrNullHighTierVoteWeightProvided(bytes4 msgSig); /// @dev Emitted when the high-tier vote weight threshold is updated event HighTierVoteWeightThresholdUpdated( @@ -163,7 +165,7 @@ abstract contract WithdrawalLimitation is GatewayV3 { * */ function _setHighTierVoteWeightThreshold(uint256 _numerator, uint256 _denominator) internal returns (uint256 _previousNum, uint256 _previousDenom) { - if (_numerator > _denominator) revert ErrInvalidThreshold(msg.sig); + if (_numerator > _denominator || _numerator == 0 || _denominator == 0) revert ErrInvalidThreshold(msg.sig); _previousNum = _highTierVWNum; _previousDenom = _highTierVWDenom; @@ -316,8 +318,9 @@ abstract contract WithdrawalLimitation is GatewayV3 { /** * @dev Returns high-tier vote weight. */ - function _highTierVoteWeight(uint256 _totalWeight) internal view virtual returns (uint256) { - return (_highTierVWNum * _totalWeight + _highTierVWDenom - 1) / _highTierVWDenom; + function _highTierVoteWeight(uint256 _totalWeight) internal view virtual returns (uint256 highTierVW) { + highTierVW = (_highTierVWNum * _totalWeight + _highTierVWDenom - 1) / _highTierVWDenom; + if (highTierVW == 0) revert ErrNullHighTierVoteWeightProvided(msg.sig); } /** From 23475803966434b7c569a14d72b0bd9e675b2ee2 Mon Sep 17 00:00:00 2001 From: nxqbao Date: Fri, 9 Aug 2024 14:48:29 +0700 Subject: [PATCH 08/74] script: add broadcast `propose` --- .../20240807-ir-recover.s.sol | 90 ++++++++++++++----- 1 file changed, 68 insertions(+), 22 deletions(-) diff --git a/script/20240807-ir-recover/20240807-ir-recover.s.sol b/script/20240807-ir-recover/20240807-ir-recover.s.sol index e0451367..cda0f62c 100644 --- a/script/20240807-ir-recover/20240807-ir-recover.s.sol +++ b/script/20240807-ir-recover/20240807-ir-recover.s.sol @@ -3,6 +3,9 @@ pragma solidity ^0.8.19; import { console } from "forge-std/console.sol"; import { cheatBroadcast } from "@fdk/utils/Helpers.sol"; +import { DefaultNetwork } from "@fdk/utils/DefaultNetwork.sol"; +import { TNetwork } from "@fdk/types/Types.sol"; +import { LibCompanionNetwork } from "script/shared/libraries/LibCompanionNetwork.sol"; import { Contract } from "../utils/Contract.sol"; import { Network } from "../utils/Network.sol"; @@ -12,6 +15,7 @@ import { LibStorage } from "../shared/libraries/LibStorage.sol"; import { TransparentUpgradeableProxyV2, TransparentUpgradeableProxy } from "@ronin/contracts/extensions/TransparentUpgradeableProxyV2.sol"; import { IMainchainBridgeManager } from "script/interfaces/IMainchainBridgeManager.sol"; +import { IRoninBridgeManager } from "script/interfaces/IRoninBridgeManager.sol"; import { MainchainBridgeManager } from "@ronin/contracts/mainchain/MainchainBridgeManager.sol"; import { IMainchainGatewayV3 } from "@ronin/contracts/interfaces/IMainchainGatewayV3.sol"; import { MainchainGatewayV3 } from "@ronin/contracts/mainchain/MainchainGatewayV3.sol"; @@ -21,41 +25,46 @@ import { Proposal } from "@ronin/contracts/libraries/Proposal.sol"; import { Transfer } from "@ronin/contracts/libraries/Transfer.sol"; import { TokenStandard } from "@ronin/contracts/libraries/LibTokenInfo.sol"; import { SignatureConsumer } from "@ronin/contracts/interfaces/consumers/SignatureConsumer.sol"; -import { DefaultNetwork } from "@fdk/utils/DefaultNetwork.sol"; import { LibProxy } from "@fdk/libraries/LibProxy.sol"; contract Migration__20240807_IR_Recover is Migration { using LibProxy for *; + using LibCompanionNetwork for TNetwork; + + TNetwork _companionNetwork; + TNetwork _prevNetwork; + uint256 _prevForkId; address private constant SM_GOVERNOR = 0xe880802580a1fbdeF67ACe39D1B21c5b2C74f059; address private _multisigEth = 0x51F6696Ae42C6C40CA9F5955EcA2aaaB1Cefb26e; IMainchainBridgeManager private _mainchainBM = IMainchainBridgeManager(0x2Cf3CFb17774Ce0CFa34bB3f3761904e7fc3FaDB); TransparentUpgradeableProxyV2 private _mainchainBMproxy = TransparentUpgradeableProxyV2(payable(address(_mainchainBM))); IMainchainGatewayV3 private _mainchainGW = IMainchainGatewayV3(0x64192819Ac13Ef72bF6b5AE239AC672B43a9AF08); + IRoninBridgeManager private _roninBM = IRoninBridgeManager(0x2ae89936FC398AeA23c63dB2404018fE361A8628); address _prevBMLogic; address _newBMLogic; address _newGWLogic; - function run() public virtual onlyOn(Network.EthMainnet.key()) { - _preCheck_Withdrawable(); - _performFix(); - _performCheckAfterFix(); + Proposal.ProposalDetail private _proposal; - // Cheat to change admin of MainchainBridgeManager to self to pass post-check. - vm.prank(_multisigEth); - TransparentUpgradeableProxy(payable(address(_mainchainBM))).changeAdmin(address(_mainchainBM)); + function run() public virtual onlyOn(DefaultNetwork.RoninMainnet.key()) { + TNetwork currentNetwork = network(); + (, _companionNetwork) = currentNetwork.companionNetworkData(); + (TNetwork prevNetwork, uint256 prevForkId) = switchTo(_companionNetwork); - switchTo(DefaultNetwork.RoninMainnet.key()); + { + _preCheck_Withdrawable(); + _perform_PrankFix(); + _perform_checkAfterPrankFix(); + } - // Cheat to change admin of RoninBridgeManager to self to pass post-check. - address payable roninBM = loadContract(Contract.RoninBridgeManager.key()); - address admin = roninBM.getProxyAdmin(); - vm.prank(admin); - TransparentUpgradeableProxy(roninBM).changeAdmin(roninBM); + switchBack(prevNetwork, prevForkId); + + _performCreateProposalOnRonin(); } - function _performFix() internal { + function _perform_PrankFix() internal { vm.prank(_multisigEth); _prevBMLogic = _mainchainBMproxy.implementation(); _newBMLogic = _deployLogic(Contract.MainchainBridgeManager.key()); @@ -96,15 +105,29 @@ contract Migration__20240807_IR_Recover is Migration { // }); } + function _performCreateProposalOnRonin() internal { + vm.startBroadcast(SM_GOVERNOR); + _roninBM.propose({ + chainId: _proposal.chainId, + expiryTimestamp: _proposal.expiryTimestamp, + executor: _proposal.executor, + targets: _proposal.targets, + values: _proposal.values, + calldatas: _proposal.calldatas, + gasAmounts: _proposal.gasAmounts + }); + vm.stopBroadcast(); + } + function _recover_relayProposalWithCheatGovernors() internal { // Create proposal - Proposal.ProposalDetail memory proposal = __recover_createProposal(); + _proposal = __recover_createProposal(); // Validate proposal's gas amount - LibProposal.verifyProposalGasAmount(address(_mainchainBM), proposal.targets, proposal.values, proposal.calldatas, proposal.gasAmounts); + LibProposal.verifyProposalGasAmount(address(_mainchainBM), _proposal.targets, _proposal.values, _proposal.calldatas, _proposal.gasAmounts); // Validate proposal's execution - LibProposal.verifyProposalExecutionMainchain({ governance: address(_mainchainBM), proposal: proposal, shouldRevertState: false }); + LibProposal.verifyProposalExecutionMainchain({ governance: address(_mainchainBM), proposal: _proposal, shouldRevertState: false }); } function __recover_createProposal() internal view returns (Proposal.ProposalDetail memory proposal) { @@ -161,18 +184,20 @@ contract Migration__20240807_IR_Recover is Migration { proposal.gasAmounts = new uint256[](2); proposal.targets[0] = address(_mainchainGW); - proposal.targets[1] = address(_mainchainGW); proposal.values[0] = 0; - proposal.values[1] = 0; + proposal.gasAmounts[0] = 2000000; proposal.calldatas[0] = abi.encodeWithSignature( "functionDelegateCall(bytes)", abi.encodeWithSelector(IBridgeManagerCallback.onBridgeOperatorsAdded.selector, operators, weights, addeds) ); + + proposal.targets[1] = address(_mainchainGW); + proposal.values[1] = 0; proposal.calldatas[1] = abi.encodeWithSignature("upgradeTo(address)", _newGWLogic); - proposal.gasAmounts[0] = 2000000; proposal.gasAmounts[1] = 1000000; } function _preCheck_Withdrawable() internal { + uint256 snapshotId = vm.snapshot(); _fake_unpause(); @@ -201,7 +226,7 @@ contract Migration__20240807_IR_Recover is Migration { console.log("Stop pranking Pause Enforcer"); } - function _performCheckAfterFix() internal { + function _perform_checkAfterPrankFix() internal { // - Total weight in `BM` and `GW` the same { uint256 totalWeightBM = _mainchainBM.getTotalWeight(); @@ -238,6 +263,27 @@ contract Migration__20240807_IR_Recover is Migration { require(reverted, string.concat("Cannot revert to snapshot id: ", vm.toString(snapshotId))); } + function _postCheck() virtual override internal { + switchTo(_companionNetwork); + + // Cheat to unpause of MainchainGatewayV3 to self to pass post-check. + _fake_unpause(); + + // Cheat to change admin of MainchainBridgeManager to self to pass post-check. + vm.prank(_multisigEth); + TransparentUpgradeableProxy(payable(address(_mainchainBM))).changeAdmin(address(_mainchainBM)); + + switchTo(DefaultNetwork.RoninMainnet.key()); + + // Cheat to change admin of RoninBridgeManager to self to pass post-check. + address payable roninBM = loadContract(Contract.RoninBridgeManager.key()); + address admin = roninBM.getProxyAdmin(); + vm.prank(admin); + TransparentUpgradeableProxy(roninBM).changeAdmin(roninBM); + + super._postCheck(); + } + function getGWTotalWeight() public view returns (uint96 totalWeight) { uint256 $$_operatorWeightSlot = 125; bytes32 paddedTotalWeight = vm.load(address(_mainchainGW), bytes32($$_operatorWeightSlot)); From 47b39d0366157d3d6e791c22cc773e7049ee09d4 Mon Sep 17 00:00:00 2001 From: Do Tu Date: Fri, 9 Aug 2024 16:11:29 +0700 Subject: [PATCH 09/74] script: add more post check gateway --- .../PostCheck_BridgeManager_Proposal.s.sol | 4 +- ...PostCheck_Gateway_DepositAndWithdraw.s.sol | 81 +++++++++++++++++-- 2 files changed, 76 insertions(+), 9 deletions(-) diff --git a/script/post-check/bridge-manager/proposal/PostCheck_BridgeManager_Proposal.s.sol b/script/post-check/bridge-manager/proposal/PostCheck_BridgeManager_Proposal.s.sol index d34ef315..4501dd0f 100644 --- a/script/post-check/bridge-manager/proposal/PostCheck_BridgeManager_Proposal.s.sol +++ b/script/post-check/bridge-manager/proposal/PostCheck_BridgeManager_Proposal.s.sol @@ -32,7 +32,7 @@ abstract contract PostCheck_BridgeManager_Proposal is BasePostCheck { validate_ProposeGlobalProposalAndRelay_addBridgeOperator(); validate_proposeAndRelay_addBridgeOperator(); validate_canExecuteUpgradeSingleProposal(); - validate_canExcuteUpgradeAllOneProposal(); + validate_canExecuteUpgradeAllOneProposal(); } function validate_proposeAndRelay_addBridgeOperator() private onlyOnRoninNetworkOrLocal onPostCheck("validate_proposeAndRelay_addBridgeOperator") { @@ -251,7 +251,7 @@ abstract contract PostCheck_BridgeManager_Proposal is BasePostCheck { } } - function validate_canExcuteUpgradeAllOneProposal() private onlyOnRoninNetworkOrLocal onPostCheck("validate_canExecuteUpgradeAllOneProposal") { + function validate_canExecuteUpgradeAllOneProposal() private onlyOnRoninNetworkOrLocal onPostCheck("validate_canExecuteUpgradeAllOneProposal") { IRoninBridgeManager manager = IRoninBridgeManager(loadContract(Contract.RoninBridgeManager.key())); TContract[] memory contractTypes = new TContract[](4); contractTypes[0] = Contract.BridgeSlash.key(); diff --git a/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol b/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol index 4db1fd0a..7558e703 100644 --- a/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol +++ b/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol @@ -111,8 +111,6 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck, Signatu roninChainId = block.chainid; currentNetwork = network(); - cheatAddOverWeightedGovernor(address(roninBridgeManager)); - vm.deal(user, 10 ether); deal(address(roninERC20), user, 1000 ether); } @@ -124,8 +122,6 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck, Signatu mainchainChainId = block.chainid; gwDomainSeparator = MainchainGatewayV3(payable(mainchainGateway)).DOMAIN_SEPARATOR(); - cheatAddOverWeightedGovernor(address(mainchainBridgeManager)); - mainchainERC20 = new MockERC20("MainchainERC20", "MERC20"); mainchainTokens[0] = address(mainchainERC20); @@ -139,6 +135,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck, Signatu _setUp(); validate_HasBridgeManager(); validate_Gateway_depositERC20(); + validate_Gateway_RevertIf_InvalidSignature_WithdrawERC20(); validate_Gateway_withdrawERC20(); } @@ -167,7 +164,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck, Signatu depositRequest.info.quantity = 100 ether; (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); - + _cheatUnpauseIfPaused_Mainchain(); vm.prank(user); mainchainERC20.approve(address(mainchainGateway), 100 ether); vm.prank(user); @@ -185,12 +182,57 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck, Signatu switchBack(prevNetwork, prevForkId); + _cheatUnpauseIfPaused_Ronin(); + cheatAddOverWeightedGovernor(address(roninBridgeManager)); vm.prank(cheatOperator); RoninGatewayV3(roninGateway).depositFor(receipt); assertEq(roninERC20.balanceOf(depositRequest.recipientAddr), 100 ether); } + function validate_Gateway_RevertIf_InvalidSignature_WithdrawERC20() private onPostCheck("validate_Gateway_RevertIf_InvalidSignature_WithdrawERC20") { + withdrawRequest.recipientAddr = makeAddr("malicious-recipient"); + withdrawRequest.tokenAddr = address(roninERC20); + withdrawRequest.info.erc = TokenStandard.ERC20; + withdrawRequest.info.id = 0; + withdrawRequest.info.quantity = 100 ether; + + _cheatUnpauseIfPaused_Ronin(); + // uint256 _numOperatorsForVoteExecuted = (RoninBridgeManager(_manager[block.chainid]).minimumVoteWeight() - 1) / 100 + 1; + vm.prank(user); + roninERC20.approve(address(roninGateway), 100 ether); + vm.prank(user); + vm.recordLogs(); + RoninGatewayV3(payable(address(roninGateway))).requestWithdrawalFor(withdrawRequest, mainchainChainId); + + VmSafe.Log[] memory logs_ = vm.getRecordedLogs(); + LibTransfer.Receipt memory receipt; + bytes32 receiptHash; + for (uint256 i; i < logs_.length; ++i) { + if (logs_[i].emitter == address(roninGateway) && logs_[i].topics[0] == IRoninGatewayV3.WithdrawalRequested.selector) { + (receiptHash, receipt) = abi.decode(logs_[i].data, (bytes32, LibTransfer.Receipt)); + } + } + + (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + + bytes32 receiptDigest = LibTransfer.receiptDigest(gwDomainSeparator, receiptHash); + (address invalidSigner, uint256 invalidPK) = makeAddrAndKey("invalid-signer"); + console.log("Invalid Signer", invalidSigner); + console.log("Minimum Vote Weight", MainchainGatewayV3(payable(mainchainGateway)).minimumVoteWeight()); + + (uint8 v, bytes32 r, bytes32 s) = vm.sign(invalidPK, receiptDigest); + + Signature[] memory sigs = new Signature[](1); + sigs[0] = Signature(v, r, s); + + _cheatUnpauseIfPaused_Mainchain(); + vm.expectRevert(); + MainchainGatewayV3(payable(mainchainGateway)).submitWithdrawal(receipt, sigs); + + switchBack(prevNetwork, prevForkId); + } + function validate_Gateway_withdrawERC20() private onPostCheck("validate_Gateway_withdrawERC20") { withdrawRequest.recipientAddr = makeAddr("mainchain-recipient"); withdrawRequest.tokenAddr = address(roninERC20); @@ -198,6 +240,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck, Signatu withdrawRequest.info.id = 0; withdrawRequest.info.quantity = 100 ether; + _cheatUnpauseIfPaused_Ronin(); // uint256 _numOperatorsForVoteExecuted = (RoninBridgeManager(_manager[block.chainid]).minimumVoteWeight() - 1) / 100 + 1; vm.prank(user); roninERC20.approve(address(roninGateway), 100 ether); @@ -216,13 +259,15 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck, Signatu bytes32 receiptDigest = LibTransfer.receiptDigest(gwDomainSeparator, receiptHash); + (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + + cheatAddOverWeightedGovernor(address(mainchainBridgeManager)); (uint8 v, bytes32 r, bytes32 s) = vm.sign(cheatOperatorPk, receiptDigest); Signature[] memory sigs = new Signature[](1); sigs[0] = Signature(v, r, s); - (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); - + _cheatUnpauseIfPaused_Mainchain(); MainchainGatewayV3(payable(mainchainGateway)).submitWithdrawal(receipt, sigs); assertEq(mainchainERC20.balanceOf(withdrawRequest.recipientAddr), 100 ether); @@ -230,6 +275,28 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck, Signatu switchBack(prevNetwork, prevForkId); } + function _cheatUnpauseIfPaused_Mainchain() private { + bool paused = MainchainGatewayV3(payable(mainchainGateway)).paused(); + if (paused) { + address emergencyPauser = MainchainGatewayV3(payable(mainchainGateway)).emergencyPauser(); + vm.prank(emergencyPauser); + MainchainGatewayV3(payable(mainchainGateway)).unpause(); + + assertFalse(MainchainGatewayV3(payable(mainchainGateway)).paused(), "GatewayV3 should not be paused after unpausing"); + } + } + + function _cheatUnpauseIfPaused_Ronin() private { + bool paused = RoninGatewayV3(payable(roninGateway)).paused(); + if (paused) { + address emergencyPauser = RoninGatewayV3(payable(roninGateway)).emergencyPauser(); + vm.prank(emergencyPauser); + RoninGatewayV3(payable(roninGateway)).unpause(); + + assertFalse(RoninGatewayV3(payable(roninGateway)).paused(), "GatewayV3 should not be paused after unpausing"); + } + } + // Set the balance of an account for any ERC20 token // Use the alternative signature to update `totalSupply` function deal(address token, address to, uint256 give) internal virtual { From b06c11cd258ff8a005401abd091dd731bfd67037 Mon Sep 17 00:00:00 2001 From: nxqbao Date: Mon, 12 Aug 2024 16:35:35 +0700 Subject: [PATCH 10/74] script: remove new BM logic --- script/20240807-ir-recover/20240807-ir-recover.s.sol | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/script/20240807-ir-recover/20240807-ir-recover.s.sol b/script/20240807-ir-recover/20240807-ir-recover.s.sol index cda0f62c..cf041e71 100644 --- a/script/20240807-ir-recover/20240807-ir-recover.s.sol +++ b/script/20240807-ir-recover/20240807-ir-recover.s.sol @@ -42,8 +42,8 @@ contract Migration__20240807_IR_Recover is Migration { IMainchainGatewayV3 private _mainchainGW = IMainchainGatewayV3(0x64192819Ac13Ef72bF6b5AE239AC672B43a9AF08); IRoninBridgeManager private _roninBM = IRoninBridgeManager(0x2ae89936FC398AeA23c63dB2404018fE361A8628); - address _prevBMLogic; - address _newBMLogic; + // address _prevBMLogic; + // address _newBMLogic; address _newGWLogic; Proposal.ProposalDetail private _proposal; @@ -66,8 +66,8 @@ contract Migration__20240807_IR_Recover is Migration { function _perform_PrankFix() internal { vm.prank(_multisigEth); - _prevBMLogic = _mainchainBMproxy.implementation(); - _newBMLogic = _deployLogic(Contract.MainchainBridgeManager.key()); + // _prevBMLogic = _mainchainBMproxy.implementation(); + // _newBMLogic = _deployLogic(Contract.MainchainBridgeManager.key()); _newGWLogic = _deployLogic(Contract.MainchainGatewayV3.key()); (bool success, bytes memory ret) = address(_mainchainGW).staticcall(abi.encodeWithSignature("paused()")); From 27b69a948571fe2ce68047db7c9927ff39eb477f Mon Sep 17 00:00:00 2001 From: Do Tu Date: Mon, 12 Aug 2024 17:49:33 +0700 Subject: [PATCH 11/74] script: add executor --- foundry.toml | 2 +- script/20240807-ir-recover/20240807-ir-recover.s.sol | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/foundry.toml b/foundry.toml index 78381f48..5fb8ebc6 100644 --- a/foundry.toml +++ b/foundry.toml @@ -64,7 +64,7 @@ localhost = "http://localhost:8545" ethereum = "https://eth.llamarpc.com" sepolia = "https://sepolia.infura.io/v3/${INFURA_API_KEY}" goerli = "https://ethereum-goerli.publicnode.com" -ronin-mainnet = "https://api-partner.roninchain.com/rpc" +ronin-mainnet = "https://api-archived.roninchain.com/rpc" ronin-testnet = "https://saigon-archive.roninchain.com/rpc" [dependencies] diff --git a/script/20240807-ir-recover/20240807-ir-recover.s.sol b/script/20240807-ir-recover/20240807-ir-recover.s.sol index cf041e71..30a500ee 100644 --- a/script/20240807-ir-recover/20240807-ir-recover.s.sol +++ b/script/20240807-ir-recover/20240807-ir-recover.s.sol @@ -150,7 +150,7 @@ contract Migration__20240807_IR_Recover is Migration { proposal.nonce = 1; proposal.chainId = 1; proposal.expiryTimestamp = block.timestamp + 12 days; - proposal.executor = address(0); + proposal.executor = SM_GOVERNOR; // proposal.targets = new address[](2); // proposal.values = new uint256[](2); From 68120488ad6138f9787d8e093fcfb0fcadfd939b Mon Sep 17 00:00:00 2001 From: Do Tu Date: Thu, 15 Aug 2024 16:49:09 +0700 Subject: [PATCH 12/74] test: fix all failed unit tests --- foundry.toml | 1 + .../20240115-maptoken-roninchain.s.sol | 2 +- .../20240405-maptoken-usdc-mainchain.s.sol | 23 +- .../20240409-maptoken-slp-mainchain.s.sol | 11 +- .../deploy-sepolia.s.sol | 72 ++--- ...0240411-deploy-bridge-manager-helper.s.sol | 6 +- .../20240411-helper.s.sol | 6 +- ...40411-p1-deploy-ronin-bridge-manager.s.sol | 6 +- ...240411-p2-upgrade-bridge-ronin-chain.s.sol | 13 +- ...0240411-p3-upgrade-bridge-main-chain.s.sol | 32 ++- .../20240606-deploy-batcher-sepolia.s.sol | 24 +- .../20240612-deploy-MockERC1155-testnet.sol | 2 +- .../20240612-maptoken-nft-sepolia.s.sol | 9 +- .../20240613-maptoken-erc1155-ronin.s.sol | 2 +- .../20240613-maptoken-erc1155-sepolia.s.sol | 9 +- ...0240619-p3-upgrade-bridge-main-chain.s.sol | 10 +- ...0240716-deploy-bridge-manager-helper.s.sol | 8 +- .../20240716-helper.s.sol | 6 +- ...716-p1-1-deploy-ronin-bridge-manager.s.sol | 10 +- ...16-p1-4-deploy-all-contract-roninchain.sol | 4 +- ...240716-p2-upgrade-bridge-ronin-chain.s.sol | 9 +- ...0240716-p3-upgrade-bridge-main-chain.s.sol | 39 ++- .../verify-script.s.sol | 6 +- ...20240805-hotfix-ronin-bridge-manager.s.sol | 2 +- .../20240805-hotfix-v3.2.2-mainchain.s.sol | 96 ++++--- script/Migration.s.sol | 7 +- script/PostChecker.sol | 9 +- script/contracts/BridgeRewardDeploy.s.sol | 8 +- script/contracts/BridgeSlashDeploy.s.sol | 9 +- script/contracts/BridgeTrackingDeploy.s.sol | 8 +- .../MainchainBridgeManagerDeploy.s.sol | 2 - .../MainchainGatewayBatcherDeploy.s.sol | 11 +- .../contracts/MainchainGatewayV3Deploy.s.sol | 6 +- .../MainchainPauseEnforcerDeploy.s.sol | 6 +- script/contracts/RoninGatewayV3Deploy.s.sol | 6 +- .../contracts/RoninPauseEnforcerDeploy.s.sol | 6 +- .../deploy-v0.3.1/01_Deploy_RoninBridge.s.sol | 104 +++---- .../02_Deploy_MainchainBridge.s.sol | 64 +++-- .../factory-maptoken-mainchain.s.sol | 8 +- .../factory-maptoken-roninchain.s.sol | 9 +- ...actory-maptoken-simulation-mainchain.s.sol | 2 +- .../interfaces/IMainchainGatewayBatcher.sol | 21 ++ script/interfaces/IPauseEnforcer.sol | 35 +++ script/post-check/BasePostCheck.s.sol | 3 +- .../PostCheck_BridgeManager_Proposal.s.sol | 12 +- ...PostCheck_Gateway_DepositAndWithdraw.s.sol | 15 +- script/shared/libraries/LibProposal.sol | 1 - script/utils/Network.sol | 2 + src/interfaces/IRoninGatewayV3.sol | 5 +- src/interfaces/bridge/IBridgeSlash.sol | 2 +- src/ronin/gateway/BridgeReward.sol | 2 +- src/ronin/gateway/BridgeSlash.sol | 2 +- test/Base.t.sol | 3 +- test/bridge/integration/BaseIntegration.t.sol | 258 +++++++++++------- ...or.proposeCurrent.RoninBridgeManager.t.sol | 16 +- ...tor.proposeGlobal.RoninBridgeManager.t.sol | 16 +- ....proposeMainchain.RoninBridgeManager.t.sol | 2 +- ...r.relayGlobal.MainchainBridgeManager.t.sol | 14 +- ...elayMainchain.MainchainBridgeManager.t.sol | 16 +- .../proposeCurrent.RoninBridgeManager.t.sol | 16 +- .../proposeGlobal.RoninBridgeManager.t.sol | 20 +- .../relayGlobal.MainchainBridgeManager.t.sol | 16 +- ...oteBridgeOperator.RoninBridgeManager.t.sol | 12 +- .../updateOperator.RoninBridgeManager.t.sol | 2 +- ...tDepositFor.Batch.MainchainGatewayV3.t.sol | 2 +- ...requestDepositFor.MainchainGatewayV3.t.sol | 2 +- ...l.MainchainGatewayV3.erc20.benchmark.t.sol | 2 +- ....MainchainGatewayV3.native.benchmark.t.sol | 2 +- .../submitWithdrawal.MainchainGatewayV3.t.sol | 2 +- ...al.MainchainGatewayV3.weth.benchmark.t.sol | 2 +- .../submitWithdrawal.MainchainGatewayV3.t.sol | 2 +- .../emergencyAction.PauseEnforcer.t.sol | 13 +- .../normalPause.GatewayV3.t.sol | 4 +- .../set-config/setConfig.PauseEnforcer.t.sol | 8 +- ...AcknowledgeMainchainWithdrew.Gateway.t.sol | 2 +- .../bulkDepositAndRecord.Gateway.t.sol | 2 +- ...lkSubmitWithdrawalSignatures.Gateway.t.sol | 2 +- .../depositAndRecord.Gateway.t.sol | 2 +- .../depositVote.RoninGatewayV3.t.sol | 2 +- .../bridge-manager/BridgeManager.t.sol | 2 + .../concrete/bridge-manager/add/add.t.sol | 107 ++++++-- .../bridge-manager/remove/remove.t.sol | 35 ++- .../BridgeReward_Unit_Concrete.t.sol | 2 +- .../concrete/bridge-reward/assertPeriod.t.sol | 2 +- .../bridge-reward/execSyncRewardAuto.t.sol | 2 +- .../settleReward/settleReward.t.sol | 2 +- .../bridge-reward/syncRewardManual.t.sol | 2 +- .../bridge-manager/BridgeManagerCRUD.t.sol | 16 +- .../fuzz/bridge-manager/BridgeReward.t.sol | 10 +- .../fuzz/bridge-manager/BridgeSlash.t.sol | 75 ++--- .../unit/fuzz/utils/BridgeManagerUtils.t.sol | 15 +- test/libraries/Proposal.t.sol | 4 +- test/mocks/MockBridgeSlash.sol | 26 +- 93 files changed, 906 insertions(+), 607 deletions(-) create mode 100644 script/interfaces/IMainchainGatewayBatcher.sol create mode 100644 script/interfaces/IPauseEnforcer.sol diff --git a/foundry.toml b/foundry.toml index 78381f48..80114931 100644 --- a/foundry.toml +++ b/foundry.toml @@ -15,6 +15,7 @@ fs_permissions = [{ access = "read-write", path = "./" }] evm_version = 'istanbul' verbosity = 4 use_literal_content = true +unchecked_cheatcode_artifacts = true [profile.ronin] evm_version = 'istanbul' diff --git a/script/20240115-mappixeltoken/20240115-maptoken-roninchain.s.sol b/script/20240115-mappixeltoken/20240115-maptoken-roninchain.s.sol index f26e0314..0e77fdbe 100644 --- a/script/20240115-mappixeltoken/20240115-maptoken-roninchain.s.sol +++ b/script/20240115-mappixeltoken/20240115-maptoken-roninchain.s.sol @@ -118,7 +118,7 @@ contract Migration__MapTokenRoninchain is Migration { calldatas[2] = _addAxieChatGovernorAddress(); gasAmounts[2] = 1_000_000; - (uint256 companionChainId, TNetwork companionNetwork) = network().companionNetworkData(); + (, TNetwork companionNetwork) = network().companionNetworkData(); address companionManager = config.getAddress(companionNetwork, Contract.MainchainBridgeManager.key()); LibProposal.verifyMainchainProposalGasAmount(companionNetwork, companionManager, targets, values, calldatas, gasAmounts); diff --git a/script/20240403-deploy-sepolia/20240405-maptoken-usdc-mainchain.s.sol b/script/20240403-deploy-sepolia/20240405-maptoken-usdc-mainchain.s.sol index a6d48a8d..f4aea5c8 100644 --- a/script/20240403-deploy-sepolia/20240405-maptoken-usdc-mainchain.s.sol +++ b/script/20240403-deploy-sepolia/20240405-maptoken-usdc-mainchain.s.sol @@ -1,21 +1,18 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; -import { StdStyle } from "forge-std/StdStyle.sol"; import { IRoninBridgeManager } from "script/interfaces/IRoninBridgeManager.sol"; import { IMainchainGatewayV3 } from "@ronin/contracts/interfaces/IMainchainGatewayV3.sol"; -import { GlobalProposal } from "@ronin/contracts/libraries/GlobalProposal.sol"; import { LibTokenInfo, TokenStandard } from "@ronin/contracts/libraries/LibTokenInfo.sol"; -import { Contract } from "../utils/Contract.sol"; import { Network } from "../utils/Network.sol"; import { Contract } from "../utils/Contract.sol"; import { IMainchainBridgeManager } from "script/interfaces/IMainchainBridgeManager.sol"; -import "@ronin/contracts/mainchain/MainchainGatewayV3.sol"; -import "@ronin/contracts/libraries/Proposal.sol"; -import "@ronin/contracts/libraries/Ballot.sol"; +import { IMainchainGatewayV3 } from "@ronin/contracts/interfaces/IMainchainGatewayV3.sol"; +import { Proposal } from "@ronin/contracts/libraries/Proposal.sol"; +import { Ballot } from "@ronin/contracts/libraries/Ballot.sol"; import { MockUSDC } from "@ronin/contracts/mocks/token/MockUSDC.sol"; -import { USDCDeploy } from "@ronin/script/contracts/token/USDCDeploy.s.sol"; +import { USDCDeploy } from "script/contracts/token/USDCDeploy.s.sol"; import { MainchainBridgeAdminUtils } from "test/helpers/MainchainBridgeAdminUtils.t.sol"; import "./maptoken-usdc-configs.s.sol"; @@ -74,11 +71,13 @@ contract Migration__20240405_MapTokenUsdcMainchain is Migration, Migration__MapT bytes memory innerData = abi.encodeCall(IMainchainGatewayV3.mapTokensAndThresholds, (mainchainTokens, roninTokens, standards, thresholds)); - bytes memory setEmergencyPauserInnerData = abi.encodeCall(GatewayV3.setEmergencyPauser, (_mainchainPauseEnforcer)); + bytes memory setEmergencyPauserInnerData = abi.encodeWithSignature("setEmergencyPauser(address)", _mainchainPauseEnforcer); vm.startBroadcast(0x968D0Cd7343f711216817E617d3f92a23dC91c07); - address(_mainchainGatewayV3).call(abi.encodeWithSignature("functionDelegateCall(bytes)", innerData)); - address(_mainchainGatewayV3).call(abi.encodeWithSignature("functionDelegateCall(bytes)", setEmergencyPauserInnerData)); + (bool success,) = address(_mainchainGatewayV3).call(abi.encodeWithSignature("functionDelegateCall(bytes)", innerData)); + require(success, "MainchainGatewayV3 mapTokensAndThresholds failed"); + (success,) = address(_mainchainGatewayV3).call(abi.encodeWithSignature("functionDelegateCall(bytes)", setEmergencyPauserInnerData)); + require(success, "MainchainGatewayV3 setEmergencyPauser failed"); return; @@ -91,7 +90,7 @@ contract Migration__20240405_MapTokenUsdcMainchain is Migration, Migration__MapT targets[1] = _mainchainGatewayV3; values[1] = 0; - calldatas[1] = abi.encodeWithSignature("functionDelegateCall(bytes)", abi.encodeCall(GatewayV3.setEmergencyPauser, (_mainchainPauseEnforcer))); + calldatas[1] = abi.encodeWithSignature("functionDelegateCall(bytes)", abi.encodeWithSignature("setEmergencyPauser(address)", _mainchainPauseEnforcer)); gasAmounts[1] = 1_000_000; // ================ VERIFY AND EXECUTE PROPOSAL =============== @@ -127,7 +126,7 @@ contract Migration__20240405_MapTokenUsdcMainchain is Migration, Migration__MapT supports_[2] = Ballot.VoteType.For; supports_[3] = Ballot.VoteType.For; - SignatureConsumer.Signature[] memory signatures = _mainchainProposalUtils.generateSignatures(proposal, governorPKs); + Signature[] memory signatures = _mainchainProposalUtils.generateSignatures(proposal, governorPKs); vm.broadcast(governors[0]); IMainchainBridgeManager(_mainchainBridgeManager).relayProposal(proposal, supports_, signatures); diff --git a/script/20240403-deploy-sepolia/20240409-maptoken-slp-mainchain.s.sol b/script/20240403-deploy-sepolia/20240409-maptoken-slp-mainchain.s.sol index 8f2e4ae6..4b6c9f55 100644 --- a/script/20240403-deploy-sepolia/20240409-maptoken-slp-mainchain.s.sol +++ b/script/20240403-deploy-sepolia/20240409-maptoken-slp-mainchain.s.sol @@ -11,12 +11,12 @@ import { Network } from "../utils/Network.sol"; import { Contract } from "../utils/Contract.sol"; import { IGeneralConfigExtended } from "../interfaces/IGeneralConfigExtended.sol"; import { IMainchainBridgeManager } from "script/interfaces/IMainchainBridgeManager.sol"; -import "@ronin/contracts/mainchain/MainchainGatewayV3.sol"; +import { IMainchainGatewayV3 } from "@ronin/contracts/interfaces/IMainchainGatewayV3.sol"; import "@ronin/contracts/libraries/Proposal.sol"; import "@ronin/contracts/libraries/Ballot.sol"; import { MockSLP } from "@ronin/contracts/mocks/token/MockSLP.sol"; -import { SLPDeploy } from "@ronin/script/contracts/token/SLPDeploy.s.sol"; +import { SLPDeploy } from "script/contracts/token/SLPDeploy.s.sol"; import { MainchainBridgeAdminUtils } from "test/helpers/MainchainBridgeAdminUtils.t.sol"; import "./maptoken-slp-configs.s.sol"; @@ -71,7 +71,8 @@ contract Migration__20240409_MapTokenSlpMainchain is Migration, Migration__MapTo bytes memory innerData = abi.encodeCall(IMainchainGatewayV3.mapTokensAndThresholds, (mainchainTokens, roninTokens, standards, thresholds)); vm.startBroadcast(0x968D0Cd7343f711216817E617d3f92a23dC91c07); - address(_mainchainGatewayV3).call(abi.encodeWithSignature("functionDelegateCall(bytes)", innerData)); + (bool success,) = address(_mainchainGatewayV3).call(abi.encodeWithSignature("functionDelegateCall(bytes)", innerData)); + require(success, "Migration__20240409_MapTokenSlpMainchain: failed to map tokens and thresholds"); _mainchainSlp.mint(address(_mainchainGatewayV3), 50_000_000); _mainchainSlp.mint(address(0xC65C6BEA96666f150BEF9b936630f6355BfFCC06), 100_000); @@ -87,7 +88,7 @@ contract Migration__20240409_MapTokenSlpMainchain is Migration, Migration__MapTo // targets[1] = _mainchainGatewayV3; // values[1] = 0; - // calldatas[1] = abi.encodeWithSignature("functionDelegateCall(bytes)", abi.encodeCall(GatewayV3.setEmergencyPauser, ( + // calldatas[1] = abi.encodeWithSignature("functionDelegateCall(bytes)", abi.encodeWithSignature("setEmergencyPauser(address)", // _mainchainPauseEnforcer // ))); // gasAmounts[1] = 1_000_000; @@ -126,7 +127,7 @@ contract Migration__20240409_MapTokenSlpMainchain is Migration, Migration__MapTo // supports_[2] = Ballot.VoteType.For; // supports_[3] = Ballot.VoteType.For; - // SignatureConsumer.Signature[] memory signatures = _mainchainProposalUtils.generateSignatures(proposal, governorPKs); + // Signature[] memory signatures = _mainchainProposalUtils.generateSignatures(proposal, governorPKs); // vm.broadcast(governors[0]); // MainchainBridgeManager(_mainchainBridgeManager).relayProposal(proposal, supports_, signatures); diff --git a/script/20240403-deploy-sepolia/deploy-sepolia.s.sol b/script/20240403-deploy-sepolia/deploy-sepolia.s.sol index 85bea523..0954a811 100644 --- a/script/20240403-deploy-sepolia/deploy-sepolia.s.sol +++ b/script/20240403-deploy-sepolia/deploy-sepolia.s.sol @@ -1,11 +1,11 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; -import { ISharedArgument } from "@ronin/script/interfaces/ISharedArgument.sol"; +import { ISharedArgument } from "script/interfaces/ISharedArgument.sol"; import { LibSharedAddress } from "@fdk/libraries/LibSharedAddress.sol"; - -import "@ronin/contracts/mainchain/MainchainGatewayV3.sol"; -import "@ronin/contracts/ronin/gateway/PauseEnforcer.sol"; +import { TokenStandard } from "@ronin/contracts/libraries/LibTokenInfo.sol"; +import { IMainchainGatewayV3 } from "@ronin/contracts/interfaces/IMainchainGatewayV3.sol"; +import { IPauseEnforcer } from "script/interfaces/IPauseEnforcer.sol"; import { Proposal } from "@ronin/contracts/libraries/Proposal.sol"; import { Ballot } from "@ronin/contracts/libraries/Ballot.sol"; import { IMainchainBridgeManager } from "script/interfaces/IMainchainBridgeManager.sol"; @@ -17,17 +17,16 @@ import { MockWrappedToken } from "@ronin/contracts/mocks/token/MockWrappedToken. import { MainchainBridgeAdminUtils } from "test/helpers/MainchainBridgeAdminUtils.t.sol"; -import { MainchainGatewayV3Deploy } from "@ronin/script/contracts/MainchainGatewayV3Deploy.s.sol"; -import { MainchainBridgeManagerDeploy } from "@ronin/script/contracts/MainchainBridgeManagerDeploy.s.sol"; -import { MainchainPauseEnforcerDeploy } from "@ronin/script/contracts/MainchainPauseEnforcerDeploy.s.sol"; -import { WETHDeploy } from "@ronin/script/contracts/token/WETHDeploy.s.sol"; -import { WRONDeploy } from "@ronin/script/contracts/token/WRONDeploy.s.sol"; -import { AXSDeploy } from "@ronin/script/contracts/token/AXSDeploy.s.sol"; -import { SLPDeploy } from "@ronin/script/contracts/token/SLPDeploy.s.sol"; -import { USDCDeploy } from "@ronin/script/contracts/token/USDCDeploy.s.sol"; -import { MockERC721Deploy } from "@ronin/script/contracts/token/MockERC721Deploy.s.sol"; - -import { GeneralConfig } from "../GeneralConfig.sol"; +import { MainchainGatewayV3Deploy } from "script/contracts/MainchainGatewayV3Deploy.s.sol"; +import { MainchainBridgeManagerDeploy } from "script/contracts/MainchainBridgeManagerDeploy.s.sol"; +import { MainchainPauseEnforcerDeploy } from "script/contracts/MainchainPauseEnforcerDeploy.s.sol"; +import { WETHDeploy } from "script/contracts/token/WETHDeploy.s.sol"; +import { WRONDeploy } from "script/contracts/token/WRONDeploy.s.sol"; +import { AXSDeploy } from "script/contracts/token/AXSDeploy.s.sol"; +import { SLPDeploy } from "script/contracts/token/SLPDeploy.s.sol"; +import { USDCDeploy } from "script/contracts/token/USDCDeploy.s.sol"; +import { MockERC721Deploy } from "script/contracts/token/MockERC721Deploy.s.sol"; +import { IWETH } from "@ronin/contracts/interfaces/IWETH.sol"; import { Network } from "../utils/Network.sol"; import { Migration } from "../Migration.s.sol"; import { DefaultContract } from "@fdk/utils/DefaultContract.sol"; @@ -38,8 +37,8 @@ import { console } from "forge-std/console.sol"; contract DeploySepolia is Migration, DeploySepolia__ChangeGV_Config { ISharedArgument.SharedParameter _param; - PauseEnforcer _mainchainPauseEnforcer; - MainchainGatewayV3 _mainchainGatewayV3; + IPauseEnforcer _mainchainPauseEnforcer; + IMainchainGatewayV3 _mainchainGatewayV3; IMainchainBridgeManager _mainchainBridgeManager; MockWrappedToken _mainchainWeth; @@ -52,10 +51,6 @@ contract DeploySepolia is Migration, DeploySepolia__ChangeGV_Config { // Default proxy admin for sepolia address internal constant PROXY_ADMIN = 0x968D0Cd7343f711216817E617d3f92a23dC91c07; - function _configByteCode() internal virtual override returns (bytes memory) { - return abi.encodePacked(type(GeneralConfig).creationCode); - } - function _sharedArguments() internal virtual override returns (bytes memory rawArgs) { return ""; } @@ -117,23 +112,29 @@ contract DeploySepolia is Migration, DeploySepolia__ChangeGV_Config { ISharedArgument.MainchainGatewayV3Param memory param = _param.mainchainGatewayV3; vm.broadcast(sender()); - _mainchainGatewayV3.initialize( - param.roleSetter, - IWETH(param.wrappedToken), - 2021, - param.numerator, - param.highTierVWNumerator, - param.denominator, - param.addresses, - param.thresholds, - param.standards + (bool success,) = address(_mainchainGatewayV3).call( + abi.encodeWithSignature( + "initialize(address,address,uint256,uint256,uint256,uint256,address[][3],uint256[][4],uint8[])", + param.roleSetter, + IWETH(param.wrappedToken), + 2021, + param.numerator, + param.highTierVWNumerator, + param.denominator, + param.addresses, + param.thresholds, + param.standards + ) ); + require(success, "MainchainGatewayV3: initialize failed"); vm.broadcast(sender()); - _mainchainGatewayV3.initializeV2(address(_mainchainBridgeManager)); + (success,) = address(_mainchainGatewayV3).call(abi.encodeWithSignature("initializeV2(address)", _mainchainBridgeManager)); + require(success, "MainchainGatewayV3: initializeV2 failed"); vm.broadcast(sender()); - _mainchainGatewayV3.setEmergencyPauser(address(_mainchainPauseEnforcer)); + (success,) = address(_mainchainGatewayV3).call(abi.encodeWithSignature("setEmergencyPauser(address)", _mainchainPauseEnforcer)); + require(success, "MainchainGatewayV3: setEmergencyPauser failed"); } function _correctGVs() internal { @@ -171,7 +172,7 @@ contract DeploySepolia is Migration, DeploySepolia__ChangeGV_Config { Ballot.VoteType[] memory supports_ = new Ballot.VoteType[](1); supports_[0] = Ballot.VoteType.For; - SignatureConsumer.Signature[] memory signatures = _mainchainProposalUtils.generateSignatures(proposal, _param.test.governorPKs); + Signature[] memory signatures = _mainchainProposalUtils.generateSignatures(proposal, _param.test.governorPKs); vm.broadcast(_mainchainBridgeManager.getGovernors()[0]); _mainchainBridgeManager.relayProposal(proposal, supports_, signatures); @@ -238,7 +239,8 @@ contract DeploySepolia is Migration, DeploySepolia__ChangeGV_Config { function _grantFundForGateway() internal { vm.broadcast(sender()); - _mainchainGatewayV3.receiveEther{ value: 0.1 ether }(); + (bool success,) = address(_mainchainGatewayV3).call{ value: 0.1 ether }(abi.encodeWithSignature("receiveEther()")); + require(success, "MainchainGatewayV3: receiveEther failed"); vm.broadcast(PROXY_ADMIN); _mainchainAxs.mint(address(_mainchainGatewayV3), 1_000_000 * 1e18); diff --git a/script/20240411-upgrade-v3.2.0-testnet/20240411-deploy-bridge-manager-helper.s.sol b/script/20240411-upgrade-v3.2.0-testnet/20240411-deploy-bridge-manager-helper.s.sol index 9422e97c..f9001874 100644 --- a/script/20240411-upgrade-v3.2.0-testnet/20240411-deploy-bridge-manager-helper.s.sol +++ b/script/20240411-upgrade-v3.2.0-testnet/20240411-deploy-bridge-manager-helper.s.sol @@ -13,14 +13,14 @@ import { LibProxy } from "@fdk/libraries/LibProxy.sol"; import { IGeneralConfigExtended } from "../interfaces/IGeneralConfigExtended.sol"; import { ISharedArgument } from "../interfaces/ISharedArgument.sol"; import { IMainchainBridgeManager } from "script/interfaces/IMainchainBridgeManager.sol"; -import "@ronin/contracts/mainchain/MainchainGatewayV3.sol"; +import { IMainchainGatewayV3 } from "@ronin/contracts/interfaces/IMainchainGatewayV3.sol"; import "@ronin/contracts/libraries/Proposal.sol"; import "@ronin/contracts/libraries/Ballot.sol"; import { MockSLP } from "@ronin/contracts/mocks/token/MockSLP.sol"; -import { SLPDeploy } from "@ronin/script/contracts/token/SLPDeploy.s.sol"; +import { SLPDeploy } from "script/contracts/token/SLPDeploy.s.sol"; import { MainchainBridgeAdminUtils } from "test/helpers/MainchainBridgeAdminUtils.t.sol"; -import "@ronin/script/contracts/RoninBridgeManagerDeploy.s.sol"; +import "script/contracts/RoninBridgeManagerDeploy.s.sol"; import { Migration } from "../Migration.s.sol"; diff --git a/script/20240411-upgrade-v3.2.0-testnet/20240411-helper.s.sol b/script/20240411-upgrade-v3.2.0-testnet/20240411-helper.s.sol index f9384bc2..81751a1c 100644 --- a/script/20240411-upgrade-v3.2.0-testnet/20240411-helper.s.sol +++ b/script/20240411-upgrade-v3.2.0-testnet/20240411-helper.s.sol @@ -23,7 +23,7 @@ contract Migration__20240409_Helper is Migration { function _helperProposeForCurrentNetwork(LegacyProposalDetail memory proposal) internal { vm.broadcast(_governor); - address(_currRoninBridgeManager).call( + (bool success,) = address(_currRoninBridgeManager).call( abi.encodeWithSignature( "proposeProposalForCurrentNetwork(uint256,address[],uint256[],bytes[],uint256[],uint8)", proposal.expiryTimestamp, @@ -34,16 +34,18 @@ contract Migration__20240409_Helper is Migration { Ballot.VoteType.For ) ); + require(success, "proposeProposalForCurrentNetwork failed"); } function _helperVoteForCurrentNetwork(LegacyProposalDetail memory proposal) internal { for (uint i; i < _voters.length - 1; ++i) { vm.broadcast(_voters[i]); - address(_currRoninBridgeManager).call{ gas: (proposal.targets.length + 1) * 1_000_000 }( + (bool success,) = address(_currRoninBridgeManager).call{ gas: (proposal.targets.length + 1) * 1_000_000 }( abi.encodeWithSignature( "castProposalVoteForCurrentNetwork((uint256,uint256,uint256,address[],uint256[],bytes[],uint256[]),uint8)", proposal, Ballot.VoteType.For ) ); + require(success, "castProposalVoteForCurrentNetwork failed"); } } } diff --git a/script/20240411-upgrade-v3.2.0-testnet/20240411-p1-deploy-ronin-bridge-manager.s.sol b/script/20240411-upgrade-v3.2.0-testnet/20240411-p1-deploy-ronin-bridge-manager.s.sol index d4f8e4df..df6ce409 100644 --- a/script/20240411-upgrade-v3.2.0-testnet/20240411-p1-deploy-ronin-bridge-manager.s.sol +++ b/script/20240411-upgrade-v3.2.0-testnet/20240411-p1-deploy-ronin-bridge-manager.s.sol @@ -12,14 +12,14 @@ import { Network } from "../utils/Network.sol"; import { Contract } from "../utils/Contract.sol"; import { ISharedArgument } from "../interfaces/ISharedArgument.sol"; import { IMainchainBridgeManager } from "script/interfaces/IMainchainBridgeManager.sol"; -import "@ronin/contracts/mainchain/MainchainGatewayV3.sol"; +import { IMainchainGatewayV3 } from "@ronin/contracts/interfaces/IMainchainGatewayV3.sol"; import "@ronin/contracts/libraries/Proposal.sol"; import "@ronin/contracts/libraries/Ballot.sol"; import { MockSLP } from "@ronin/contracts/mocks/token/MockSLP.sol"; -import { SLPDeploy } from "@ronin/script/contracts/token/SLPDeploy.s.sol"; +import { SLPDeploy } from "script/contracts/token/SLPDeploy.s.sol"; import { MainchainBridgeAdminUtils } from "test/helpers/MainchainBridgeAdminUtils.t.sol"; -import "@ronin/script/contracts/RoninBridgeManagerDeploy.s.sol"; +import "script/contracts/RoninBridgeManagerDeploy.s.sol"; import "./20240411-deploy-bridge-manager-helper.s.sol"; import { Migration } from "../Migration.s.sol"; diff --git a/script/20240411-upgrade-v3.2.0-testnet/20240411-p2-upgrade-bridge-ronin-chain.s.sol b/script/20240411-upgrade-v3.2.0-testnet/20240411-p2-upgrade-bridge-ronin-chain.s.sol index b3ec947c..09d1df29 100644 --- a/script/20240411-upgrade-v3.2.0-testnet/20240411-p2-upgrade-bridge-ronin-chain.s.sol +++ b/script/20240411-upgrade-v3.2.0-testnet/20240411-p2-upgrade-bridge-ronin-chain.s.sol @@ -13,14 +13,14 @@ import { Contract } from "../utils/Contract.sol"; import { ISharedArgument } from "../interfaces/ISharedArgument.sol"; import "@ronin/contracts/ronin/gateway/BridgeReward.sol"; import { IMainchainBridgeManager } from "script/interfaces/IMainchainBridgeManager.sol"; -import "@ronin/contracts/mainchain/MainchainGatewayV3.sol"; +import { IMainchainGatewayV3 } from "@ronin/contracts/interfaces/IMainchainGatewayV3.sol"; import "@ronin/contracts/libraries/Proposal.sol"; import "@ronin/contracts/libraries/Ballot.sol"; import { MockSLP } from "@ronin/contracts/mocks/token/MockSLP.sol"; -import { SLPDeploy } from "@ronin/script/contracts/token/SLPDeploy.s.sol"; +import { SLPDeploy } from "script/contracts/token/SLPDeploy.s.sol"; import { MainchainBridgeAdminUtils } from "test/helpers/MainchainBridgeAdminUtils.t.sol"; -import "@ronin/script/contracts/RoninBridgeManagerDeploy.s.sol"; +import "script/contracts/RoninBridgeManagerDeploy.s.sol"; import { DefaultContract } from "@fdk/utils/DefaultContract.sol"; import "./20240411-deploy-bridge-manager-helper.s.sol"; import "./20240411-helper.s.sol"; @@ -52,7 +52,7 @@ contract Migration__20240409_P2_UpgradeBridgeRoninchain is Migration__20240409_H IRoninBridgeManager roninGA = IRoninBridgeManager(0x53Ea388CB72081A3a397114a43741e7987815896); address pauseEnforcerProxy = loadContract(Contract.RoninPauseEnforcer.key()); - uint256 expiredTime = block.timestamp + 14 days; + // uint256 expiredTime = block.timestamp + 14 days; uint N = 1; address[] memory targets = new address[](N); uint256[] memory values = new uint256[](N); @@ -72,7 +72,7 @@ contract Migration__20240409_P2_UpgradeBridgeRoninchain is Migration__20240409_H // proposal.calldatas = calldatas; // proposal.gasAmounts = gasAmounts; - address gaGovernor = 0x52ec2e6BBcE45AfFF8955Da6410bb13812F4289F; + // address gaGovernor = 0x52ec2e6BBcE45AfFF8955Da6410bb13812F4289F; address[] memory gaVoters = new address[](3); gaVoters[0] = 0x087D08e3ba42e64E3948962dd1371F906D1278b9; gaVoters[1] = 0x06f8Af58F656B507918d91B0B6F8B89bfCC556f9; @@ -113,11 +113,12 @@ contract Migration__20240409_P2_UpgradeBridgeRoninchain is Migration__20240409_H proposal.gasAmounts = gasAmounts; vm.broadcast(gaVoters[2]); - address(roninGA).call{ gas: 10_000_000 }( + (bool success,) = address(roninGA).call{ gas: 10_000_000 }( abi.encodeWithSignature( "castProposalVoteForCurrentNetwork((uint256,uint256,uint256,address[],uint256[],bytes[],uint256[]),uint8)", proposal, Ballot.VoteType.For ) ); + require(success, "castProposalVoteForCurrentNetwork failed"); } function _upgradeBridgeRoninchain() private { diff --git a/script/20240411-upgrade-v3.2.0-testnet/20240411-p3-upgrade-bridge-main-chain.s.sol b/script/20240411-upgrade-v3.2.0-testnet/20240411-p3-upgrade-bridge-main-chain.s.sol index 7b2ec232..28e42cd2 100644 --- a/script/20240411-upgrade-v3.2.0-testnet/20240411-p3-upgrade-bridge-main-chain.s.sol +++ b/script/20240411-upgrade-v3.2.0-testnet/20240411-p3-upgrade-bridge-main-chain.s.sol @@ -12,17 +12,17 @@ import { Network } from "../utils/Network.sol"; import { Contract } from "../utils/Contract.sol"; import { ISharedArgument } from "../interfaces/ISharedArgument.sol"; import { IMainchainBridgeManager } from "script/interfaces/IMainchainBridgeManager.sol"; -import "@ronin/contracts/mainchain/MainchainGatewayV3.sol"; +import { IMainchainGatewayV3 } from "@ronin/contracts/interfaces/IMainchainGatewayV3.sol"; import "@ronin/contracts/libraries/Proposal.sol"; import "@ronin/contracts/libraries/Ballot.sol"; import { LibProxy } from "@fdk/libraries/LibProxy.sol"; import { DefaultContract } from "@fdk/utils/DefaultContract.sol"; import { MockSLP } from "@ronin/contracts/mocks/token/MockSLP.sol"; -import { SLPDeploy } from "@ronin/script/contracts/token/SLPDeploy.s.sol"; +import { SLPDeploy } from "script/contracts/token/SLPDeploy.s.sol"; import { MainchainBridgeAdminUtils } from "test/helpers/MainchainBridgeAdminUtils.t.sol"; -import "@ronin/script/contracts/MainchainBridgeManagerDeploy.s.sol"; -import "@ronin/script/contracts/MainchainWethUnwrapperDeploy.s.sol"; +import "script/contracts/MainchainBridgeManagerDeploy.s.sol"; +import "script/contracts/MainchainWethUnwrapperDeploy.s.sol"; import "./20240411-helper.s.sol"; import "./20240411-operators-key.s.sol"; @@ -61,12 +61,14 @@ contract Migration__20240409_P3_UpgradeBridgeMainchain is Migration, Migration__ address mainchainGatewayV3Proxy = loadContract(Contract.MainchainGatewayV3.key()); vm.startBroadcast(0x968D0Cd7343f711216817E617d3f92a23dC91c07); - address(pauseEnforcerProxy).call(abi.encodeWithSignature("changeAdmin(address)", _currMainchainBridgeManager)); - address(mainchainGatewayV3Proxy).call(abi.encodeWithSignature("changeAdmin(address)", _currMainchainBridgeManager)); + (bool success,) = address(pauseEnforcerProxy).call(abi.encodeWithSignature("changeAdmin(address)", _currMainchainBridgeManager)); + require(success, "Failed to change admin of MainchainPauseEnforcer"); + (success,) = address(mainchainGatewayV3Proxy).call(abi.encodeWithSignature("changeAdmin(address)", _currMainchainBridgeManager)); + require(success, "Failed to change admin of MainchainGatewayV3"); vm.stopBroadcast(); } - function _deployMainchainBridgeManager() internal returns (address mainchainBM) { + function _deployMainchainBridgeManager() internal { ISharedArgument.SharedParameter memory param; param.mainchainBridgeManager.num = 7; @@ -155,9 +157,8 @@ contract Migration__20240409_P3_UpgradeBridgeMainchain is Migration, Migration__ targets[5] = address(_newMainchainBridgeManager); targets[6] = address(_newMainchainBridgeManager); - calldatas[0] = abi.encodeWithSignature( - "upgradeToAndCall(address,bytes)", mainchainGatewayV3Logic, abi.encodeWithSelector(MainchainGatewayV3.initializeV4.selector, wethUnwrapper) - ); + calldatas[0] = + abi.encodeWithSignature("upgradeToAndCall(address,bytes)", mainchainGatewayV3Logic, abi.encodeWithSignature("initializeV4(address)", wethUnwrapper)); calldatas[1] = abi.encodeWithSignature("functionDelegateCall(bytes)", (abi.encodeWithSignature("setContract(uint8,address)", 11, address(_newMainchainBridgeManager)))); calldatas[2] = abi.encodeWithSignature("changeAdmin(address)", address(_newMainchainBridgeManager)); @@ -187,14 +188,15 @@ contract Migration__20240409_P3_UpgradeBridgeMainchain is Migration, Migration__ supports_[i] = Ballot.VoteType.For; } - SignatureConsumer.Signature[] memory signatures = _generateSignaturesFor(getDomain(), hashLegacyProposal(proposal), _loadGovernorPKs(), Ballot.VoteType.For); + Signature[] memory signatures = _generateSignaturesFor(getDomain(), hashLegacyProposal(proposal), _loadGovernorPKs(), Ballot.VoteType.For); vm.broadcast(_governor); - address(_currMainchainBridgeManager).call{ gas: (proposal.targets.length + 1) * 1_000_000 }( + (bool success,) = address(_currMainchainBridgeManager).call{ gas: (proposal.targets.length + 1) * 1_000_000 }( abi.encodeWithSignature( "relayProposal((uint256,uint256,uint256,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", proposal, supports_, signatures ) ); + require(success, "Failed to relay proposal"); } function getDomain() public pure returns (bytes32) { @@ -213,8 +215,8 @@ contract Migration__20240409_P3_UpgradeBridgeMainchain is Migration, Migration__ bytes32 proposalHash, uint256[] memory signerPKs, Ballot.VoteType support - ) public pure returns (SignatureConsumer.Signature[] memory sigs) { - sigs = new SignatureConsumer.Signature[](signerPKs.length); + ) public pure returns (Signature[] memory sigs) { + sigs = new Signature[](signerPKs.length); for (uint256 i; i < signerPKs.length; i++) { bytes32 digest = ECDSA.toTypedDataHash(domain, Ballot.hash(proposalHash, support)); @@ -222,7 +224,7 @@ contract Migration__20240409_P3_UpgradeBridgeMainchain is Migration, Migration__ } } - function _sign(uint256 pk, bytes32 digest) internal pure returns (SignatureConsumer.Signature memory sig) { + function _sign(uint256 pk, bytes32 digest) internal pure returns (Signature memory sig) { (uint8 v, bytes32 r, bytes32 s) = vm.sign(pk, digest); sig.v = v; sig.r = r; diff --git a/script/20240606-deploy-batcher-sepolia/20240606-deploy-batcher-sepolia.s.sol b/script/20240606-deploy-batcher-sepolia/20240606-deploy-batcher-sepolia.s.sol index e63c7237..f4ad8de4 100644 --- a/script/20240606-deploy-batcher-sepolia/20240606-deploy-batcher-sepolia.s.sol +++ b/script/20240606-deploy-batcher-sepolia/20240606-deploy-batcher-sepolia.s.sol @@ -12,26 +12,26 @@ import { Network } from "../utils/Network.sol"; import { Contract } from "../utils/Contract.sol"; import { ISharedArgument } from "../interfaces/ISharedArgument.sol"; import { IMainchainBridgeManager } from "script/interfaces/IMainchainBridgeManager.sol"; -import "@ronin/contracts/mainchain/MainchainGatewayV3.sol"; +import { IMainchainGatewayV3 } from "@ronin/contracts/interfaces/IMainchainGatewayV3.sol"; import "@ronin/contracts/libraries/Proposal.sol"; import "@ronin/contracts/libraries/Ballot.sol"; import { LibProxy } from "@fdk/libraries/LibProxy.sol"; import { DefaultContract } from "@fdk/utils/DefaultContract.sol"; import { MockSLP } from "@ronin/contracts/mocks/token/MockSLP.sol"; -import { SLPDeploy } from "@ronin/script/contracts/token/SLPDeploy.s.sol"; +import { SLPDeploy } from "script/contracts/token/SLPDeploy.s.sol"; import { MainchainBridgeAdminUtils } from "test/helpers/MainchainBridgeAdminUtils.t.sol"; -import "@ronin/script/contracts/MainchainBridgeManagerDeploy.s.sol"; -import "@ronin/script/contracts/MainchainWethUnwrapperDeploy.s.sol"; -import "@ronin/script/contracts/MainchainGatewayBatcherDeploy.s.sol"; +import "script/contracts/MainchainBridgeManagerDeploy.s.sol"; +import "script/contracts/MainchainWethUnwrapperDeploy.s.sol"; +import "script/contracts/MainchainGatewayBatcherDeploy.s.sol"; import { Migration } from "../Migration.s.sol"; contract Migration__20240606_DeployBatcherSepolia is Migration { IMainchainBridgeManager _currMainchainBridgeManager; IMainchainBridgeManager _newMainchainBridgeManager; - MainchainGatewayV3 _currMainchainBridge; - MainchainGatewayBatcher _mainchainGatewayBatcher; + IMainchainGatewayV3 _currMainchainBridge; + IMainchainGatewayBatcher _mainchainGatewayBatcher; address private _governor; address[] private _voters; @@ -56,11 +56,11 @@ contract Migration__20240606_DeployBatcherSepolia is Migration { // _deployMainchainBridgeManager(); // _upgradeBridgeMainchain(); - _currMainchainBridge = MainchainGatewayV3(loadContract(Contract.MainchainGatewayV3.key())); + _currMainchainBridge = IMainchainGatewayV3(loadContract(Contract.MainchainGatewayV3.key())); // vm.stopBroadcast(); // vm.startBroadcast(TESTNET_ADMIN); _mainchainGatewayBatcher = - new MainchainGatewayBatcherDeploy().runWithArgs(abi.encodeWithSelector(MainchainGatewayBatcher.initialize.selector, address(_currMainchainBridge))); + new MainchainGatewayBatcherDeploy().runWithArgs(abi.encodeWithSelector(IMainchainGatewayBatcher.initialize.selector, address(_currMainchainBridge))); // vm.stopBroadcast(); } @@ -69,8 +69,10 @@ contract Migration__20240606_DeployBatcherSepolia is Migration { address mainchainGatewayV3Proxy = loadContract(Contract.MainchainGatewayV3.key()); vm.startBroadcast(0x968D0Cd7343f711216817E617d3f92a23dC91c07); - address(pauseEnforcerProxy).call(abi.encodeWithSignature("changeAdmin(address)", _currMainchainBridgeManager)); - address(mainchainGatewayV3Proxy).call(abi.encodeWithSignature("changeAdmin(address)", _currMainchainBridgeManager)); + (bool success,) = address(pauseEnforcerProxy).call(abi.encodeWithSignature("changeAdmin(address)", _currMainchainBridgeManager)); + require(success, "Failed to change admin of MainchainPauseEnforcer"); + (success,) = address(mainchainGatewayV3Proxy).call(abi.encodeWithSignature("changeAdmin(address)", _currMainchainBridgeManager)); + require(success, "Failed to change admin of MainchainGatewayV3"); vm.stopBroadcast(); } diff --git a/script/20240612-deploy-mockErc1155-testnet/20240612-deploy-MockERC1155-testnet.sol b/script/20240612-deploy-mockErc1155-testnet/20240612-deploy-MockERC1155-testnet.sol index f1154379..77aa9c53 100644 --- a/script/20240612-deploy-mockErc1155-testnet/20240612-deploy-MockERC1155-testnet.sol +++ b/script/20240612-deploy-mockErc1155-testnet/20240612-deploy-MockERC1155-testnet.sol @@ -18,7 +18,7 @@ contract Migration__Deploy_RoninMockERC1155_Testnet is Migration { RoninMockERC1155 private _mockErc1155; - function run() public virtual returns (RoninMockERC1155) { + function run() public { if (network() == Network.Sepolia.key()) { GatewayV3 = 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e; } diff --git a/script/20240612-maptoken-nft-sepolia/20240612-maptoken-nft-sepolia.s.sol b/script/20240612-maptoken-nft-sepolia/20240612-maptoken-nft-sepolia.s.sol index f6a158da..ba70f259 100644 --- a/script/20240612-maptoken-nft-sepolia/20240612-maptoken-nft-sepolia.s.sol +++ b/script/20240612-maptoken-nft-sepolia/20240612-maptoken-nft-sepolia.s.sol @@ -11,12 +11,12 @@ import { Contract } from "../utils/Contract.sol"; import { Network } from "../utils/Network.sol"; import { Contract } from "../utils/Contract.sol"; import { IMainchainBridgeManager } from "script/interfaces/IMainchainBridgeManager.sol"; -import "@ronin/contracts/mainchain/MainchainGatewayV3.sol"; +import { IMainchainGatewayV3 } from "@ronin/contracts/interfaces/IMainchainGatewayV3.sol"; import "@ronin/contracts/libraries/Proposal.sol"; import "@ronin/contracts/libraries/Ballot.sol"; import { MockUSDC } from "@ronin/contracts/mocks/token/MockUSDC.sol"; -import { USDCDeploy } from "@ronin/script/contracts/token/USDCDeploy.s.sol"; +import { USDCDeploy } from "script/contracts/token/USDCDeploy.s.sol"; import { MainchainBridgeAdminUtils } from "test/helpers/MainchainBridgeAdminUtils.t.sol"; import { Migration } from "../Migration.s.sol"; @@ -65,7 +65,8 @@ contract Migration__20240612_MapNTFSepoliaMainchain is Migration { bytes memory innerData = abi.encodeCall(IMainchainGatewayV3.mapTokensAndThresholds, (mainchainTokens, roninTokens, standards, thresholds)); vm.prank(_mainchainBridgeManager); - address(_mainchainGatewayV3).call(abi.encodeWithSignature("functionDelegateCall(bytes)", innerData)); + (bool success,) = address(_mainchainGatewayV3).call(abi.encodeWithSignature("functionDelegateCall(bytes)", innerData)); + require(success, "Failed to map token"); // return; @@ -109,7 +110,7 @@ contract Migration__20240612_MapNTFSepoliaMainchain is Migration { supports_[2] = Ballot.VoteType.For; supports_[3] = Ballot.VoteType.For; - SignatureConsumer.Signature[] memory signatures = _mainchainProposalUtils.generateSignatures(proposal, governorPKs); + Signature[] memory signatures = _mainchainProposalUtils.generateSignatures(proposal, governorPKs); vm.broadcast(governors[0]); // 2_000_000 to assure tx.gasleft is bigger than the gas of the proposal. diff --git a/script/20240612-maptoken-nft-sepolia/20240613-maptoken-erc1155-ronin.s.sol b/script/20240612-maptoken-nft-sepolia/20240613-maptoken-erc1155-ronin.s.sol index f0307a92..9dea5012 100644 --- a/script/20240612-maptoken-nft-sepolia/20240613-maptoken-erc1155-ronin.s.sol +++ b/script/20240612-maptoken-nft-sepolia/20240613-maptoken-erc1155-ronin.s.sol @@ -16,7 +16,7 @@ import "@ronin/contracts/libraries/Proposal.sol"; import "@ronin/contracts/libraries/Ballot.sol"; import { MockUSDC } from "@ronin/contracts/mocks/token/MockUSDC.sol"; -import { USDCDeploy } from "@ronin/script/contracts/token/USDCDeploy.s.sol"; +import { USDCDeploy } from "script/contracts/token/USDCDeploy.s.sol"; import { MainchainBridgeAdminUtils } from "test/helpers/MainchainBridgeAdminUtils.t.sol"; import { Migration } from "../Migration.s.sol"; diff --git a/script/20240612-maptoken-nft-sepolia/20240613-maptoken-erc1155-sepolia.s.sol b/script/20240612-maptoken-nft-sepolia/20240613-maptoken-erc1155-sepolia.s.sol index 30f0dba6..c478d4f4 100644 --- a/script/20240612-maptoken-nft-sepolia/20240613-maptoken-erc1155-sepolia.s.sol +++ b/script/20240612-maptoken-nft-sepolia/20240613-maptoken-erc1155-sepolia.s.sol @@ -11,12 +11,12 @@ import { Contract } from "../utils/Contract.sol"; import { Network } from "../utils/Network.sol"; import { Contract } from "../utils/Contract.sol"; import { IMainchainBridgeManager } from "script/interfaces/IMainchainBridgeManager.sol"; -import "@ronin/contracts/mainchain/MainchainGatewayV3.sol"; +import { IMainchainGatewayV3 } from "@ronin/contracts/interfaces/IMainchainGatewayV3.sol"; import "@ronin/contracts/libraries/Proposal.sol"; import "@ronin/contracts/libraries/Ballot.sol"; import { MockUSDC } from "@ronin/contracts/mocks/token/MockUSDC.sol"; -import { USDCDeploy } from "@ronin/script/contracts/token/USDCDeploy.s.sol"; +import { USDCDeploy } from "script/contracts/token/USDCDeploy.s.sol"; import { MainchainBridgeAdminUtils } from "test/helpers/MainchainBridgeAdminUtils.t.sol"; import { Migration } from "../Migration.s.sol"; @@ -65,7 +65,8 @@ contract Migration__20240613_MapERC1155SepoliaMainchain is Migration { bytes memory innerData = abi.encodeCall(IMainchainGatewayV3.mapTokensAndThresholds, (mainchainTokens, roninTokens, standards, thresholds)); vm.prank(_mainchainBridgeManager); - address(_mainchainGatewayV3).call(abi.encodeWithSignature("functionDelegateCall(bytes)", innerData)); + (bool success,) = address(_mainchainGatewayV3).call(abi.encodeWithSignature("functionDelegateCall(bytes)", innerData)); + require(success, "Migration__20240613_MapERC1155SepoliaMainchain: failed to call functionDelegateCall"); // return; @@ -109,7 +110,7 @@ contract Migration__20240613_MapERC1155SepoliaMainchain is Migration { supports_[2] = Ballot.VoteType.For; supports_[3] = Ballot.VoteType.For; - SignatureConsumer.Signature[] memory signatures = _mainchainProposalUtils.generateSignatures(proposal, governorPKs); + Signature[] memory signatures = _mainchainProposalUtils.generateSignatures(proposal, governorPKs); vm.broadcast(governors[0]); // 2_000_000 to assure tx.gasleft is bigger than the gas of the proposal. diff --git a/script/20240619-upgrade-sepolia/20240619-p3-upgrade-bridge-main-chain.s.sol b/script/20240619-upgrade-sepolia/20240619-p3-upgrade-bridge-main-chain.s.sol index d1839cc1..eb8f92fd 100644 --- a/script/20240619-upgrade-sepolia/20240619-p3-upgrade-bridge-main-chain.s.sol +++ b/script/20240619-upgrade-sepolia/20240619-p3-upgrade-bridge-main-chain.s.sol @@ -11,17 +11,17 @@ import { Contract } from "../utils/Contract.sol"; import { Network } from "../utils/Network.sol"; import { Contract } from "../utils/Contract.sol"; import { ISharedArgument } from "../interfaces/ISharedArgument.sol"; -import "@ronin/contracts/mainchain/MainchainGatewayV3.sol"; +import { IMainchainGatewayV3 } from "@ronin/contracts/interfaces/IMainchainGatewayV3.sol"; import "@ronin/contracts/libraries/Proposal.sol"; import "@ronin/contracts/libraries/Ballot.sol"; import { LibProxy } from "@fdk/libraries/LibProxy.sol"; import { DefaultContract } from "@fdk/utils/DefaultContract.sol"; import { MockSLP } from "@ronin/contracts/mocks/token/MockSLP.sol"; -import { SLPDeploy } from "@ronin/script/contracts/token/SLPDeploy.s.sol"; +import { SLPDeploy } from "script/contracts/token/SLPDeploy.s.sol"; import { MainchainBridgeAdminUtils } from "test/helpers/MainchainBridgeAdminUtils.t.sol"; -import "@ronin/script/contracts/MainchainBridgeManagerDeploy.s.sol"; -import "@ronin/script/contracts/MainchainWethUnwrapperDeploy.s.sol"; +import "script/contracts/MainchainBridgeManagerDeploy.s.sol"; +import "script/contracts/MainchainWethUnwrapperDeploy.s.sol"; import "../20240411-upgrade-v3.2.0-testnet/20240411-helper.s.sol"; import "./20240619-operators-key.s.sol"; @@ -99,7 +99,7 @@ contract Migration__20240619_P3_UpgradeBridgeMainchain is Migration, Migration__ supports_[2] = Ballot.VoteType.For; supports_[3] = Ballot.VoteType.For; - SignatureConsumer.Signature[] memory signatures = _mainchainProposalUtils.generateSignatures(proposal, _loadGovernorPKs()); + Signature[] memory signatures = _mainchainProposalUtils.generateSignatures(proposal, _loadGovernorPKs()); vm.broadcast(governors[0]); // 2_000_000 to assure tx.gasleft is bigger than the gas of the proposal. diff --git a/script/20240716-upgrade-v3.2.0-mainnet/20240716-deploy-bridge-manager-helper.s.sol b/script/20240716-upgrade-v3.2.0-mainnet/20240716-deploy-bridge-manager-helper.s.sol index 7b40e6ba..a3bfbf65 100644 --- a/script/20240716-upgrade-v3.2.0-mainnet/20240716-deploy-bridge-manager-helper.s.sol +++ b/script/20240716-upgrade-v3.2.0-mainnet/20240716-deploy-bridge-manager-helper.s.sol @@ -14,14 +14,14 @@ import { LibProxy } from "@fdk/libraries/LibProxy.sol"; import { IGeneralConfigExtended } from "../interfaces/IGeneralConfigExtended.sol"; import { ISharedArgument } from "../interfaces/ISharedArgument.sol"; import { IMainchainBridgeManager } from "script/interfaces/IMainchainBridgeManager.sol"; -import "@ronin/contracts/mainchain/MainchainGatewayV3.sol"; +import { IMainchainGatewayV3 } from "@ronin/contracts/interfaces/IMainchainGatewayV3.sol"; import "@ronin/contracts/libraries/Proposal.sol"; import "@ronin/contracts/libraries/Ballot.sol"; import { MockSLP } from "@ronin/contracts/mocks/token/MockSLP.sol"; -import { SLPDeploy } from "@ronin/script/contracts/token/SLPDeploy.s.sol"; +import { SLPDeploy } from "script/contracts/token/SLPDeploy.s.sol"; import { MainchainBridgeAdminUtils } from "test/helpers/MainchainBridgeAdminUtils.t.sol"; -import "@ronin/script/contracts/RoninBridgeManagerDeploy.s.sol"; +import "script/contracts/RoninBridgeManagerDeploy.s.sol"; import { Migration } from "../Migration.s.sol"; @@ -93,7 +93,7 @@ abstract contract Migration__20240716_DeployRoninBridgeManagerHelper is Migratio ).run() ); - address proxyAdmin = LibProxy.getProxyAdmin(payable(address(_newRoninBridgeManager))); + // address proxyAdmin = LibProxy.getProxyAdmin(payable(address(_newRoninBridgeManager))); console.log("Finish deploy Ronin Bridge Manager"); diff --git a/script/20240716-upgrade-v3.2.0-mainnet/20240716-helper.s.sol b/script/20240716-upgrade-v3.2.0-mainnet/20240716-helper.s.sol index 11821500..8c70deb3 100644 --- a/script/20240716-upgrade-v3.2.0-mainnet/20240716-helper.s.sol +++ b/script/20240716-upgrade-v3.2.0-mainnet/20240716-helper.s.sol @@ -25,7 +25,7 @@ contract Migration__20240716_Helper is Migration { function _helperProposeForCurrentNetwork(LegacyProposalDetail memory proposal) internal { console.log("Real start broadcast to propose proposal:", _proposer); vm.startBroadcast(_proposer); - address(_currRoninBridgeManager).call( + (bool success,) = address(_currRoninBridgeManager).call( abi.encodeWithSignature( "proposeProposalForCurrentNetwork(uint256,address[],uint256[],bytes[],uint256[],uint8)", proposal.expiryTimestamp, @@ -36,6 +36,7 @@ contract Migration__20240716_Helper is Migration { Ballot.VoteType.For ) ); + require(success, "proposeProposalForCurrentNetwork failed"); vm.stopBroadcast(); } @@ -46,11 +47,12 @@ contract Migration__20240716_Helper is Migration { } vm.prank(_voters[i]); - address(_currRoninBridgeManager).call{ gas: (proposal.targets.length + 1) * 1_000_000 }( + (bool success,) = address(_currRoninBridgeManager).call{ gas: (proposal.targets.length + 1) * 1_000_000 }( abi.encodeWithSignature( "castProposalVoteForCurrentNetwork((uint256,uint256,uint256,address[],uint256[],bytes[],uint256[]),uint8)", proposal, Ballot.VoteType.For ) ); + require(success, "castProposalVoteForCurrentNetwork failed"); } } } diff --git a/script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-1-deploy-ronin-bridge-manager.s.sol b/script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-1-deploy-ronin-bridge-manager.s.sol index 23800007..7fbc0835 100644 --- a/script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-1-deploy-ronin-bridge-manager.s.sol +++ b/script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-1-deploy-ronin-bridge-manager.s.sol @@ -12,14 +12,14 @@ import { Network } from "../utils/Network.sol"; import { Contract } from "../utils/Contract.sol"; import { ISharedArgument } from "../interfaces/ISharedArgument.sol"; import { IMainchainBridgeManager } from "script/interfaces/IMainchainBridgeManager.sol"; -import "@ronin/contracts/mainchain/MainchainGatewayV3.sol"; +import { IMainchainGatewayV3 } from "@ronin/contracts/interfaces/IMainchainGatewayV3.sol"; import "@ronin/contracts/libraries/Proposal.sol"; import "@ronin/contracts/libraries/Ballot.sol"; import { MockSLP } from "@ronin/contracts/mocks/token/MockSLP.sol"; -import { SLPDeploy } from "@ronin/script/contracts/token/SLPDeploy.s.sol"; +import { SLPDeploy } from "script/contracts/token/SLPDeploy.s.sol"; import { MainchainBridgeAdminUtils } from "test/helpers/MainchainBridgeAdminUtils.t.sol"; -import "@ronin/script/contracts/RoninBridgeManagerDeploy.s.sol"; +import "script/contracts/RoninBridgeManagerDeploy.s.sol"; import "./20240716-deploy-bridge-manager-helper.s.sol"; import { Migration } from "../Migration.s.sol"; @@ -29,10 +29,6 @@ import { DefaultNetwork } from "@fdk/utils/DefaultNetwork.sol"; contract Migration__20240716_P1_1_DeployRoninBridgeManager is Migration, Migration__20240716_DeployRoninBridgeManagerHelper { ISharedArgument.SharedParameter _param; - function setUp() public override { - super.setUp(); - } - function run() public onlyOn(DefaultNetwork.RoninMainnet.key()) { _deployRoninBridgeManager(); } diff --git a/script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-4-deploy-all-contract-roninchain.sol b/script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-4-deploy-all-contract-roninchain.sol index b01489bd..a9c51c02 100644 --- a/script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-4-deploy-all-contract-roninchain.sol +++ b/script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-4-deploy-all-contract-roninchain.sol @@ -8,8 +8,8 @@ import { WBTC } from "src/tokens/erc20/WBTC.sol"; import { GlobalProposal } from "@ronin/contracts/libraries/GlobalProposal.sol"; import { IMainchainBridgeManager } from "script/interfaces/IMainchainBridgeManager.sol"; -import "@ronin/script/contracts/MainchainBridgeManagerDeploy.s.sol"; -import "@ronin/script/contracts/MainchainWethUnwrapperDeploy.s.sol"; +import "script/contracts/MainchainBridgeManagerDeploy.s.sol"; +import "script/contracts/MainchainWethUnwrapperDeploy.s.sol"; import "./20240716-deploy-wbtc-helper.s.sol"; diff --git a/script/20240716-upgrade-v3.2.0-mainnet/20240716-p2-upgrade-bridge-ronin-chain.s.sol b/script/20240716-upgrade-v3.2.0-mainnet/20240716-p2-upgrade-bridge-ronin-chain.s.sol index 9a49c7fe..bf51c433 100644 --- a/script/20240716-upgrade-v3.2.0-mainnet/20240716-p2-upgrade-bridge-ronin-chain.s.sol +++ b/script/20240716-upgrade-v3.2.0-mainnet/20240716-p2-upgrade-bridge-ronin-chain.s.sol @@ -15,14 +15,14 @@ import { Contract } from "../utils/Contract.sol"; import { ISharedArgument } from "../interfaces/ISharedArgument.sol"; import "@ronin/contracts/ronin/gateway/BridgeReward.sol"; import { IMainchainBridgeManager } from "script/interfaces/IMainchainBridgeManager.sol"; -import "@ronin/contracts/mainchain/MainchainGatewayV3.sol"; +import { IMainchainGatewayV3 } from "@ronin/contracts/interfaces/IMainchainGatewayV3.sol"; import "@ronin/contracts/libraries/Proposal.sol"; import "@ronin/contracts/libraries/Ballot.sol"; import { MockSLP } from "@ronin/contracts/mocks/token/MockSLP.sol"; -import { SLPDeploy } from "@ronin/script/contracts/token/SLPDeploy.s.sol"; +import { SLPDeploy } from "script/contracts/token/SLPDeploy.s.sol"; import { MainchainBridgeAdminUtils } from "test/helpers/MainchainBridgeAdminUtils.t.sol"; -import "@ronin/script/contracts/RoninBridgeManagerDeploy.s.sol"; +import "script/contracts/RoninBridgeManagerDeploy.s.sol"; import { DefaultContract } from "@fdk/utils/DefaultContract.sol"; import "./20240716-deploy-bridge-manager-helper.s.sol"; import "./20240716-helper.s.sol"; @@ -39,9 +39,6 @@ contract Migration__20240716_P2_UpgradeBridgeRoninchain is ISharedArgument.SharedParameter _param; LegacyProposalDetail _roninProposal; - function setUp() public virtual override { - super.setUp(); - } function run() public virtual onlyOn(DefaultNetwork.RoninMainnet.key()) { console.log("=== Starting migration Roninchain".bold().cyan()); _currRoninBridgeManager = IRoninBridgeManager(0x5FA49E6CA54a9daa8eCa4F403ADBDE5ee075D84a); diff --git a/script/20240716-upgrade-v3.2.0-mainnet/20240716-p3-upgrade-bridge-main-chain.s.sol b/script/20240716-upgrade-v3.2.0-mainnet/20240716-p3-upgrade-bridge-main-chain.s.sol index 46054f23..644ce8e6 100644 --- a/script/20240716-upgrade-v3.2.0-mainnet/20240716-p3-upgrade-bridge-main-chain.s.sol +++ b/script/20240716-upgrade-v3.2.0-mainnet/20240716-p3-upgrade-bridge-main-chain.s.sol @@ -3,6 +3,7 @@ pragma solidity ^0.8.19; import { console } from "forge-std/console.sol"; import { StdStyle } from "forge-std/StdStyle.sol"; +import { IBridgeManager } from "@ronin/contracts/interfaces/bridge/IBridgeManager.sol"; import { IMainchainBridgeManager } from "script/interfaces/IMainchainBridgeManager.sol"; import { IRoninBridgeManager } from "script/interfaces/IRoninBridgeManager.sol"; import { IMainchainGatewayV3 } from "@ronin/contracts/interfaces/IMainchainGatewayV3.sol"; @@ -13,15 +14,15 @@ import { Network } from "../utils/Network.sol"; import { Contract } from "../utils/Contract.sol"; import { ISharedArgument } from "../interfaces/ISharedArgument.sol"; import { IMainchainBridgeManager } from "script/interfaces/IMainchainBridgeManager.sol"; -import "@ronin/contracts/mainchain/MainchainGatewayV3.sol"; +import { IMainchainGatewayV3 } from "@ronin/contracts/interfaces/IMainchainGatewayV3.sol"; import "@ronin/contracts/libraries/Proposal.sol"; import "@ronin/contracts/libraries/Ballot.sol"; import { LibProxy } from "@fdk/libraries/LibProxy.sol"; import { DefaultContract } from "@fdk/utils/DefaultContract.sol"; import { MainchainBridgeAdminUtils } from "test/helpers/MainchainBridgeAdminUtils.t.sol"; -import "@ronin/script/contracts/MainchainBridgeManagerDeploy.s.sol"; -import "@ronin/script/contracts/MainchainWethUnwrapperDeploy.s.sol"; +import "script/contracts/MainchainBridgeManagerDeploy.s.sol"; +import "script/contracts/MainchainWethUnwrapperDeploy.s.sol"; import { TNetwork } from "@fdk/types/TNetwork.sol"; import { DefaultNetwork } from "@fdk/utils/DefaultNetwork.sol"; @@ -45,10 +46,6 @@ contract Migration__20240716_P3_UpgradeBridgeMainchain is Migration, Migration__ address private _proposer; - function setUp() public virtual override { - super.setUp(); - } - function run() public virtual onlyOn(DefaultNetwork.RoninMainnet.key()) { console.log("=== Starting migration Mainchain".bold().cyan()); @@ -93,7 +90,7 @@ contract Migration__20240716_P3_UpgradeBridgeMainchain is Migration, Migration__ /** * @dev Deploy Mainchain Bridge Manager and transfer proxy admin to current BM */ - function _deployMainchainBridgeManager() internal returns (address mainchainBM) { + function _deployMainchainBridgeManager() internal { console.log("@@@ Switch to companion"); (TNetwork prevNetwork, uint256 prevForkId) = switchTo(_companionNetwork); @@ -211,9 +208,8 @@ contract Migration__20240716_P3_UpgradeBridgeMainchain is Migration, Migration__ } targets[1] = mainchainGatewayV3Proxy; - calldatas[1] = abi.encodeWithSignature( - "upgradeToAndCall(address,bytes)", mainchainGatewayV3Logic, abi.encodeWithSelector(MainchainGatewayV3.initializeV4.selector, wethUnwrapper) - ); + calldatas[1] = + abi.encodeWithSignature("upgradeToAndCall(address,bytes)", mainchainGatewayV3Logic, abi.encodeWithSignature("initializeV4(address)", wethUnwrapper)); targets[2] = mainchainGatewayV3Proxy; calldatas[2] = @@ -246,7 +242,8 @@ contract Migration__20240716_P3_UpgradeBridgeMainchain is Migration, Migration__ switchBack(prevNetwork, prevForkId); vm.startBroadcast(_proposer); - address(_oldRoninBridgeManager).call(abi.encodeWithSignature( + (bool success,) = address(_oldRoninBridgeManager).call( + abi.encodeWithSignature( "propose(uint256,uint256,address[],uint256[],bytes[],uint256[])", _mainchainProposal.chainId, _mainchainProposal.expiryTimestamp, @@ -254,7 +251,9 @@ contract Migration__20240716_P3_UpgradeBridgeMainchain is Migration, Migration__ _mainchainProposal.values, _mainchainProposal.calldatas, _mainchainProposal.gasAmounts - )); + ) + ); + require(success, "Failed to propose"); vm.stopBroadcast(); } @@ -281,8 +280,8 @@ contract Migration__20240716_P3_UpgradeBridgeMainchain is Migration, Migration__ bytes32 proposalHash, uint256[] memory signerPKs, Ballot.VoteType support - ) public pure returns (SignatureConsumer.Signature[] memory sigs) { - sigs = new SignatureConsumer.Signature[](signerPKs.length); + ) public pure returns (Signature[] memory sigs) { + sigs = new Signature[](signerPKs.length); for (uint256 i; i < signerPKs.length; i++) { bytes32 digest = ECDSA.toTypedDataHash(domain, Ballot.hash(proposalHash, support)); @@ -290,7 +289,7 @@ contract Migration__20240716_P3_UpgradeBridgeMainchain is Migration, Migration__ } } - function _sign(uint256 pk, bytes32 digest) internal pure returns (SignatureConsumer.Signature memory sig) { + function _sign(uint256 pk, bytes32 digest) internal pure returns (Signature memory sig) { (uint8 v, bytes32 r, bytes32 s) = vm.sign(pk, digest); sig.v = v; sig.r = r; @@ -330,7 +329,7 @@ contract Migration__20240716_P3_UpgradeBridgeMainchain is Migration, Migration__ } function _simulateProposal(LegacyProposalDetail memory proposal) internal { - (TNetwork prevNetwork, uint256 prevForkId) = switchTo(_companionNetwork); + switchTo(_companionNetwork); Ballot.VoteType[] memory cheatingSupports = new Ballot.VoteType[](1); uint256[] memory cheatingPks = new uint256[](1); @@ -338,8 +337,7 @@ contract Migration__20240716_P3_UpgradeBridgeMainchain is Migration, Migration__ cheatingSupports[0] = Ballot.VoteType.For; cheatingPks[0] = cheatingGovPk; - SignatureConsumer.Signature[] memory cheatingSignatures = - _generateSignaturesFor(getDomain(), hashLegacyProposal(proposal), cheatingPks, Ballot.VoteType.For); + Signature[] memory cheatingSignatures = _generateSignaturesFor(getDomain(), hashLegacyProposal(proposal), cheatingPks, Ballot.VoteType.For); uint256 totalGas = 1_000_000; for (uint256 i; i < proposal.gasAmounts.length; ++i) { @@ -349,7 +347,7 @@ contract Migration__20240716_P3_UpgradeBridgeMainchain is Migration, Migration__ _cheatWeightGovernor(IBridgeManager(address(_currMainchainBridgeManager)), cheatingGov); vm.prank(cheatingGov); - address(_currMainchainBridgeManager).call{ gas: totalGas }( + (bool success,) = address(_currMainchainBridgeManager).call{ gas: totalGas }( abi.encodeWithSignature( "relayProposal((uint256,uint256,uint256,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", proposal, @@ -357,6 +355,7 @@ contract Migration__20240716_P3_UpgradeBridgeMainchain is Migration, Migration__ cheatingSignatures ) ); + require(success, "Failed to relay proposal"); } function _cheatWeightGovernor(IBridgeManager manager, address gov) internal { diff --git a/script/20240716-upgrade-v3.2.0-mainnet/verify-script.s.sol b/script/20240716-upgrade-v3.2.0-mainnet/verify-script.s.sol index eb9426ad..7e987b24 100644 --- a/script/20240716-upgrade-v3.2.0-mainnet/verify-script.s.sol +++ b/script/20240716-upgrade-v3.2.0-mainnet/verify-script.s.sol @@ -8,13 +8,9 @@ import { TNetwork } from "@fdk/types/TNetwork.sol"; contract Verify_Script_20240716 is Migration__20240716_P2_UpgradeBridgeRoninchain, Migration__20240716_P3_UpgradeBridgeMainchain { using StdStyle for *; - function setUp() public override(Migration__20240716_P2_UpgradeBridgeRoninchain, Migration__20240716_P3_UpgradeBridgeMainchain) { - Migration__20240716_P2_UpgradeBridgeRoninchain.setUp(); - } - function run() public override(Migration__20240716_P2_UpgradeBridgeRoninchain, Migration__20240716_P3_UpgradeBridgeMainchain) { TNetwork currentNetwork = network(); - TNetwork companionNetwork = config.getCompanionNetwork(currentNetwork); + config.getCompanionNetwork(currentNetwork); console.log("*** Verify proposal Ronin chain ***".bold().cyan()); Migration__20240716_P2_UpgradeBridgeRoninchain.run(); diff --git a/script/20240805-upgrade-v3.2.2-fix-mainnet/20240805-hotfix-ronin-bridge-manager.s.sol b/script/20240805-upgrade-v3.2.2-fix-mainnet/20240805-hotfix-ronin-bridge-manager.s.sol index 42d18784..ded0da1c 100644 --- a/script/20240805-upgrade-v3.2.2-fix-mainnet/20240805-hotfix-ronin-bridge-manager.s.sol +++ b/script/20240805-upgrade-v3.2.2-fix-mainnet/20240805-hotfix-ronin-bridge-manager.s.sol @@ -44,7 +44,7 @@ contract Migration__20240805_HotFix_RoninBridgeManager is Migration { 0, abi.encodeCall( TransparentUpgradeableProxy.upgradeToAndCall, - (hotfixImpl, abi.encodeCall(RoninBridgeManager.hotfix__mapToken_setMinimumThresholds_registerCallbacks, (newRoninGWImpl))) + (hotfixImpl, abi.encodeWithSignature("hotfix__mapToken_setMinimumThresholds_registerCallbacks(address)", (newRoninGWImpl))) ) ); diff --git a/script/20240805-upgrade-v3.2.2-fix-mainnet/20240805-hotfix-v3.2.2-mainchain.s.sol b/script/20240805-upgrade-v3.2.2-fix-mainnet/20240805-hotfix-v3.2.2-mainchain.s.sol index 7bd6ebef..e206c83c 100644 --- a/script/20240805-upgrade-v3.2.2-fix-mainnet/20240805-hotfix-v3.2.2-mainchain.s.sol +++ b/script/20240805-upgrade-v3.2.2-fix-mainnet/20240805-hotfix-v3.2.2-mainchain.s.sol @@ -15,15 +15,15 @@ import { Contract } from "../utils/Contract.sol"; import { ISharedArgument } from "../interfaces/ISharedArgument.sol"; import "@ronin/contracts/ronin/gateway/BridgeReward.sol"; import { IMainchainBridgeManager } from "script/interfaces/IMainchainBridgeManager.sol"; -import "@ronin/contracts/mainchain/MainchainGatewayV3.sol"; +import { IMainchainGatewayV3 } from "@ronin/contracts/interfaces/IMainchainGatewayV3.sol"; import "@ronin/contracts/libraries/Proposal.sol"; import "@ronin/contracts/libraries/Ballot.sol"; import { TransparentUpgradeableProxyV2, TransparentUpgradeableProxy } from "@ronin/contracts/extensions/TransparentUpgradeableProxyV2.sol"; import { MockSLP } from "@ronin/contracts/mocks/token/MockSLP.sol"; -import { SLPDeploy } from "@ronin/script/contracts/token/SLPDeploy.s.sol"; +import { SLPDeploy } from "script/contracts/token/SLPDeploy.s.sol"; import { MainchainBridgeAdminUtils } from "test/helpers/MainchainBridgeAdminUtils.t.sol"; -import "@ronin/script/contracts/RoninBridgeManagerDeploy.s.sol"; +import "script/contracts/RoninBridgeManagerDeploy.s.sol"; import { DefaultContract } from "@fdk/utils/DefaultContract.sol"; import { DefaultNetwork } from "@fdk/utils/DefaultNetwork.sol"; import { Migration } from "../Migration.s.sol"; @@ -41,14 +41,13 @@ struct LegacyProposalDetail { uint256[] gasAmounts; } -contract Migration__20240805_Hotfix_V3_2_0__Mainchain is Migration__MapToken_WBTC_Threshold, Migration -{ +contract Migration__20240805_Hotfix_V3_2_0__Mainchain is Migration__MapToken_WBTC_Threshold, Migration { using StdStyle for *; ISharedArgument.SharedParameter _param; address private _multisigEth = 0x51F6696Ae42C6C40CA9F5955EcA2aaaB1Cefb26e; - IMainchainBridgeManager private mainchainBM ; + IMainchainBridgeManager private mainchainBM; TransparentUpgradeableProxyV2 private mainchainBMproxy; IMainchainGatewayV3 private mainchainGW; @@ -93,9 +92,7 @@ contract Migration__20240805_Hotfix_V3_2_0__Mainchain is Migration__MapToken_WBT to: address(mainchainBMproxy), callValue: 0, callData: abi.encodeWithSignature( - "upgradeToAndCall(address,bytes)", - newBMLogic, - abi.encodeWithSignature("hotfix__mapTokensAndThresholds_registerCallbacks()") + "upgradeToAndCall(address,bytes)", newBMLogic, abi.encodeWithSignature("hotfix__mapTokensAndThresholds_registerCallbacks()") ) }); @@ -105,15 +102,7 @@ contract Migration__20240805_Hotfix_V3_2_0__Mainchain is Migration__MapToken_WBT } // 2. Downgrade to previous version - cheatBroadcast({ - from: _multisigEth, - to: address(mainchainBMproxy), - callValue: 0, - callData: abi.encodeWithSignature( - "upgradeTo(address)", - prevBMLogic - ) - }); + cheatBroadcast({ from: _multisigEth, to: address(mainchainBMproxy), callValue: 0, callData: abi.encodeWithSignature("upgradeTo(address)", prevBMLogic) }); address mappedWBTC = mainchainGW.getRoninToken(0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599).tokenAddr; assertTrue(mappedWBTC == 0x7E73630F81647bCFD7B1F2C04c1C662D17d4577e); @@ -169,44 +158,61 @@ contract Migration__20240805_Hotfix_V3_2_0__Mainchain is Migration__MapToken_WBT proposal.gasAmounts[4] = 1000000; proposal.gasAmounts[5] = 1000000; - proposal.calldatas[0] = hex"4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002c4dff525e1000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000010000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000000001000000000000000000000000c13948b5325c11279f5b6cba67957581d374e0f000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000ebec21ee1da400000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000001d7d843dc3b4800000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000246ddf9797668000000000000000000000000000000000000000000000000000000000000"; - proposal.calldatas[1] = hex"4f1ef286000000000000000000000000fc274ec92bbb1a1472884558d1b5caac6f8220ee00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000024110a83080000000000000000000000008048b12511d9be6e4e094089b12f54923c4e2f8300000000000000000000000000000000000000000000000000000000"; - proposal.calldatas[2] = hex"4bb5274a00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000044865e6fd3000000000000000000000000000000000000000000000000000000000000000b0000000000000000000000002cf3cfb17774ce0cfa34bb3f3761904e7fc3fadb00000000000000000000000000000000000000000000000000000000"; + proposal.calldatas[0] = + hex"4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002c4dff525e1000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000010000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000000001000000000000000000000000c13948b5325c11279f5b6cba67957581d374e0f000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000ebec21ee1da400000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000001d7d843dc3b4800000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000246ddf9797668000000000000000000000000000000000000000000000000000000000000"; + proposal.calldatas[1] = + hex"4f1ef286000000000000000000000000fc274ec92bbb1a1472884558d1b5caac6f8220ee00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000024110a83080000000000000000000000008048b12511d9be6e4e094089b12f54923c4e2f8300000000000000000000000000000000000000000000000000000000"; + proposal.calldatas[2] = + hex"4bb5274a00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000044865e6fd3000000000000000000000000000000000000000000000000000000000000000b0000000000000000000000002cf3cfb17774ce0cfa34bb3f3761904e7fc3fadb00000000000000000000000000000000000000000000000000000000"; proposal.calldatas[3] = hex"8f2839700000000000000000000000002cf3cfb17774ce0cfa34bb3f3761904e7fc3fadb"; - proposal.calldatas[4] = hex"4bb5274a0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000006435da81210000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000100000000000000000000000064192819ac13ef72bf6b5ae239ac672b43a9af0800000000000000000000000000000000000000000000000000000000"; + proposal.calldatas[4] = + hex"4bb5274a0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000006435da81210000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000100000000000000000000000064192819ac13ef72bf6b5ae239ac672b43a9af0800000000000000000000000000000000000000000000000000000000"; proposal.calldatas[5] = hex"8f2839700000000000000000000000002cf3cfb17774ce0cfa34bb3f3761904e7fc3fadb"; Ballot.VoteType[] memory supports_ = new Ballot.VoteType[](16); - SignatureConsumer.Signature[] memory signatures = new SignatureConsumer.Signature[](16); + Signature[] memory signatures = new Signature[](16); // [{'v': 27, 'r': '0xec5a30c3c1635430d9660a9a2cf7336b84d2f51c0433889164a8416044d68e32', 's': '0x03d29251f59f5ddfce03dea8154e358fe67e46ba8e5792a1280ece815005c172'}, {'v': 28, 'r': '0xb0bc8158fd000f28f7bf20a8ff5d7b46081a89f80b04933dc0b4bed54322e70b', 's': '0x4d6cef6f2d1b03d3b6298d089d9201253b28e52beec1a5435857ac48af3b4ec3'}, {'v': 27, 'r': '0xec5ee17b4336c223c10bbd838e1f2ec09442187b66b7876d90d07bec524c30c5', 's': '0x50ed9c6d79d602b3059162409568b401ba4742b0159670fa4ee15110a47430b5'}, {'v': 28, 'r': '0x0361fb7dec6272b2cb8120a93bbdd54d87ec0dcce2d46451f616afa29dae1ea3', 's': '0x723d6e43e753e30fe1c27776f1ce5dd117003998aecf2218c4f48b19d765b954'}, {'v': 28, 'r': '0xb3db5c516d49ae175ee549edb55f5c53252bf6e8e7656177034fab7bbad3e9d2', 's': '0x6eee60a229d05d27fb0262c84292726d90875aa8bf237513d5738273e8ff5320'}, {'v': 27, 'r': '0xaea9fb0b20f9a5a51320193f47e9027166df7445a11f4edd05d0cff55b41e4d3', 's': '0x3ca2d1aac9e593c65d5a6e65f6d635425370ffe0a6f550e35b5088db1e07ef1b'}, {'v': 27, 'r': '0xd240cdd33a6fe0cdbb5c76912fa38893aed431ed3d2f43deb9cf7ad568e7fc1d', 's': '0x353fd1a0528ad292f59283a84b2539659f25fb97aeaa91fb0caa2d216cb8d50a'}, {'v': 28, 'r': '0xc77c7d29fd85edb0fc2bbf5fc3a9b7d73cf877d02e0e843207de02fe596d6f48', 's': '0x01ef740391138a8c4533e9d562492123e0f5745f0c7655d591d7db95090b8776'}, {'v': 27, 'r': '0xaa3a0b88f6f9445625d6f1f30ec43fc47901238acea8986f114342baadb14fbc', 's': '0x5cd8df8f6cb949be6c6e168a8b845fe0cc6e6434c57cd5067b821a942d347ed4'}, {'v': 27, 'r': '0x5002d8aa9a2c3f8c1548e4940ef75be3d52655a4d65629fa820e94702fd08b8c', 's': '0x623fe34ab5d32303779f5373d0c2130e6143b0f47e8859227aac51eacc0b58c5'}, {'v': 27, 'r': '0xb3e50b8443e04676d8bc685fa5f0fefccb7b17c7fa525089a70704825437c634', 's': '0x37f66c4341065970bb399d2fd78f887ceef8c179c55f961f3c8b8b0fab4e8c4f'}, {'v': 27, 'r': '0x0c8b1807afa1cdd638934cecd2199a0aa36048a10de94b0d8a113c0d24627056', 's': '0x53f13739df0bd41772584c6e1f7cdf3990f6b63a4aeaab45b961d4a465e3e58c'}, {'v': 27, 'r': '0x5fc87d26ab38ca059b82caa904812f8854f7519a0cfbf13ab2daaf71e437a95d', 's': '0x27faee6619ca79dfb1c9f69e4a3cea953ceb63965b7f0247c821e45925e5fd92'}, {'v': 28, 'r': '0x733a772c9952a2339f4601dab945a8984e956484688a83821a3c1b1e929b4010', 's': '0x66a575c11051bd5a82a4b604c224ef717b5675c1c160c338e427b5c322551cd4'}, {'v': 27, 'r': '0x17151dfa694f530e20fcbcc10930fb52e219caf42d99c8e21405e18523c93777', 's': '0x456c4dacd19f1da62533d144c041235cae9552d8d2cf4ac19372256ad0758b0e'}, {'v': 27, 'r': '0x13aa87c8c9f3cd3d69392919c96940b0ada8eb942620ccf5f397c7fbe35ee181', 's': '0x4d4156ddb08cd148618c81659d5e0b384003cd71271139a18f84bf226ff3f01c'}] - signatures[0] = SignatureConsumer.Signature(27, 0xec5a30c3c1635430d9660a9a2cf7336b84d2f51c0433889164a8416044d68e32, 0x03d29251f59f5ddfce03dea8154e358fe67e46ba8e5792a1280ece815005c172); - signatures[1] = SignatureConsumer.Signature(28, 0xb0bc8158fd000f28f7bf20a8ff5d7b46081a89f80b04933dc0b4bed54322e70b, 0x4d6cef6f2d1b03d3b6298d089d9201253b28e52beec1a5435857ac48af3b4ec3); - signatures[2] = SignatureConsumer.Signature(27, 0xec5ee17b4336c223c10bbd838e1f2ec09442187b66b7876d90d07bec524c30c5, 0x50ed9c6d79d602b3059162409568b401ba4742b0159670fa4ee15110a47430b5); - signatures[3] = SignatureConsumer.Signature(28, 0x0361fb7dec6272b2cb8120a93bbdd54d87ec0dcce2d46451f616afa29dae1ea3, 0x723d6e43e753e30fe1c27776f1ce5dd117003998aecf2218c4f48b19d765b954); - signatures[4] = SignatureConsumer.Signature(28, 0xb3db5c516d49ae175ee549edb55f5c53252bf6e8e7656177034fab7bbad3e9d2, 0x6eee60a229d05d27fb0262c84292726d90875aa8bf237513d5738273e8ff5320); - signatures[5] = SignatureConsumer.Signature(27, 0xaea9fb0b20f9a5a51320193f47e9027166df7445a11f4edd05d0cff55b41e4d3, 0x3ca2d1aac9e593c65d5a6e65f6d635425370ffe0a6f550e35b5088db1e07ef1b); - signatures[6] = SignatureConsumer.Signature(27, 0xd240cdd33a6fe0cdbb5c76912fa38893aed431ed3d2f43deb9cf7ad568e7fc1d, 0x353fd1a0528ad292f59283a84b2539659f25fb97aeaa91fb0caa2d216cb8d50a); - signatures[7] = SignatureConsumer.Signature(28, 0xc77c7d29fd85edb0fc2bbf5fc3a9b7d73cf877d02e0e843207de02fe596d6f48, 0x01ef740391138a8c4533e9d562492123e0f5745f0c7655d591d7db95090b8776); - signatures[8] = SignatureConsumer.Signature(27, 0xaa3a0b88f6f9445625d6f1f30ec43fc47901238acea8986f114342baadb14fbc, 0x5cd8df8f6cb949be6c6e168a8b845fe0cc6e6434c57cd5067b821a942d347ed4); - signatures[9] = SignatureConsumer.Signature(27, 0x5002d8aa9a2c3f8c1548e4940ef75be3d52655a4d65629fa820e94702fd08b8c, 0x623fe34ab5d32303779f5373d0c2130e6143b0f47e8859227aac51eacc0b58c5); - signatures[10] = SignatureConsumer.Signature(27, 0xb3e50b8443e04676d8bc685fa5f0fefccb7b17c7fa525089a70704825437c634, 0x37f66c4341065970bb399d2fd78f887ceef8c179c55f961f3c8b8b0fab4e8c4f); - signatures[11] = SignatureConsumer.Signature(27, 0x0c8b1807afa1cdd638934cecd2199a0aa36048a10de94b0d8a113c0d24627056, 0x53f13739df0bd41772584c6e1f7cdf3990f6b63a4aeaab45b961d4a465e3e58c); - signatures[12] = SignatureConsumer.Signature(27, 0x5fc87d26ab38ca059b82caa904812f8854f7519a0cfbf13ab2daaf71e437a95d, 0x27faee6619ca79dfb1c9f69e4a3cea953ceb63965b7f0247c821e45925e5fd92); - signatures[13] = SignatureConsumer.Signature(28, 0x733a772c9952a2339f4601dab945a8984e956484688a83821a3c1b1e929b4010, 0x66a575c11051bd5a82a4b604c224ef717b5675c1c160c338e427b5c322551cd4); - signatures[14] = SignatureConsumer.Signature(27, 0x17151dfa694f530e20fcbcc10930fb52e219caf42d99c8e21405e18523c93777, 0x456c4dacd19f1da62533d144c041235cae9552d8d2cf4ac19372256ad0758b0e); - signatures[15] = SignatureConsumer.Signature(27, 0x13aa87c8c9f3cd3d69392919c96940b0ada8eb942620ccf5f397c7fbe35ee181, 0x4d4156ddb08cd148618c81659d5e0b384003cd71271139a18f84bf226ff3f01c); - + signatures[0] = + Signature(27, 0xec5a30c3c1635430d9660a9a2cf7336b84d2f51c0433889164a8416044d68e32, 0x03d29251f59f5ddfce03dea8154e358fe67e46ba8e5792a1280ece815005c172); + signatures[1] = + Signature(28, 0xb0bc8158fd000f28f7bf20a8ff5d7b46081a89f80b04933dc0b4bed54322e70b, 0x4d6cef6f2d1b03d3b6298d089d9201253b28e52beec1a5435857ac48af3b4ec3); + signatures[2] = + Signature(27, 0xec5ee17b4336c223c10bbd838e1f2ec09442187b66b7876d90d07bec524c30c5, 0x50ed9c6d79d602b3059162409568b401ba4742b0159670fa4ee15110a47430b5); + signatures[3] = + Signature(28, 0x0361fb7dec6272b2cb8120a93bbdd54d87ec0dcce2d46451f616afa29dae1ea3, 0x723d6e43e753e30fe1c27776f1ce5dd117003998aecf2218c4f48b19d765b954); + signatures[4] = + Signature(28, 0xb3db5c516d49ae175ee549edb55f5c53252bf6e8e7656177034fab7bbad3e9d2, 0x6eee60a229d05d27fb0262c84292726d90875aa8bf237513d5738273e8ff5320); + signatures[5] = + Signature(27, 0xaea9fb0b20f9a5a51320193f47e9027166df7445a11f4edd05d0cff55b41e4d3, 0x3ca2d1aac9e593c65d5a6e65f6d635425370ffe0a6f550e35b5088db1e07ef1b); + signatures[6] = + Signature(27, 0xd240cdd33a6fe0cdbb5c76912fa38893aed431ed3d2f43deb9cf7ad568e7fc1d, 0x353fd1a0528ad292f59283a84b2539659f25fb97aeaa91fb0caa2d216cb8d50a); + signatures[7] = + Signature(28, 0xc77c7d29fd85edb0fc2bbf5fc3a9b7d73cf877d02e0e843207de02fe596d6f48, 0x01ef740391138a8c4533e9d562492123e0f5745f0c7655d591d7db95090b8776); + signatures[8] = + Signature(27, 0xaa3a0b88f6f9445625d6f1f30ec43fc47901238acea8986f114342baadb14fbc, 0x5cd8df8f6cb949be6c6e168a8b845fe0cc6e6434c57cd5067b821a942d347ed4); + signatures[9] = + Signature(27, 0x5002d8aa9a2c3f8c1548e4940ef75be3d52655a4d65629fa820e94702fd08b8c, 0x623fe34ab5d32303779f5373d0c2130e6143b0f47e8859227aac51eacc0b58c5); + signatures[10] = + Signature(27, 0xb3e50b8443e04676d8bc685fa5f0fefccb7b17c7fa525089a70704825437c634, 0x37f66c4341065970bb399d2fd78f887ceef8c179c55f961f3c8b8b0fab4e8c4f); + signatures[11] = + Signature(27, 0x0c8b1807afa1cdd638934cecd2199a0aa36048a10de94b0d8a113c0d24627056, 0x53f13739df0bd41772584c6e1f7cdf3990f6b63a4aeaab45b961d4a465e3e58c); + signatures[12] = + Signature(27, 0x5fc87d26ab38ca059b82caa904812f8854f7519a0cfbf13ab2daaf71e437a95d, 0x27faee6619ca79dfb1c9f69e4a3cea953ceb63965b7f0247c821e45925e5fd92); + signatures[13] = + Signature(28, 0x733a772c9952a2339f4601dab945a8984e956484688a83821a3c1b1e929b4010, 0x66a575c11051bd5a82a4b604c224ef717b5675c1c160c338e427b5c322551cd4); + signatures[14] = + Signature(27, 0x17151dfa694f530e20fcbcc10930fb52e219caf42d99c8e21405e18523c93777, 0x456c4dacd19f1da62533d144c041235cae9552d8d2cf4ac19372256ad0758b0e); + signatures[15] = + Signature(27, 0x13aa87c8c9f3cd3d69392919c96940b0ada8eb942620ccf5f397c7fbe35ee181, 0x4d4156ddb08cd148618c81659d5e0b384003cd71271139a18f84bf226ff3f01c); IMainchainBridgeManager oldMainchainBM = IMainchainBridgeManager(0xa71456fA88a5f6a4696D0446E690Db4a5913fab0); vm.prank(0xe880802580a1fbdeF67ACe39D1B21c5b2C74f059); - address(oldMainchainBM).call{ gas: 6000000 }( + (bool success,) = address(oldMainchainBM).call{ gas: 6000000 }( abi.encodeWithSignature( - "relayProposal((uint256,uint256,uint256,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", - proposal, - supports_, - signatures + "relayProposal((uint256,uint256,uint256,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", proposal, supports_, signatures ) ); + require(success, "Relay proposal failed"); } } diff --git a/script/Migration.s.sol b/script/Migration.s.sol index 09541afe..1e7e7b6f 100644 --- a/script/Migration.s.sol +++ b/script/Migration.s.sol @@ -19,8 +19,9 @@ import { LibArray } from "script/shared/libraries/LibArray.sol"; import { IPostCheck } from "./interfaces/IPostCheck.sol"; import { IRoninBridgeManager } from "script/interfaces/IRoninBridgeManager.sol"; import { LibDeploy, DeployInfo, ProxyInterface, UpgradeInfo } from "@fdk/libraries/LibDeploy.sol"; +import { SignatureConsumer } from "@ronin/contracts/interfaces/consumers/SignatureConsumer.sol"; -contract Migration is BaseMigration, Utils { +contract Migration is BaseMigration, Utils, SignatureConsumer { using LibProxy for *; using LibArray for *; using StdStyle for *; @@ -33,7 +34,7 @@ contract Migration is BaseMigration, Utils { function _postCheck() internal virtual override { address postChecker = _deployImmutable( Contract.PostChecker.key(), - "PostChecker.sol:PostChecker",//string memory artifactName, + "PostChecker.sol:PostChecker", //string memory artifactName, makeAddr("PostCheckerDeployer"), 0, EMPTY_ARGS @@ -191,7 +192,7 @@ contract Migration is BaseMigration, Utils { // Mainchain Gateway V3 param.mainchainGatewayV3.roninChainId = block.chainid; - param.mainchainGatewayV3.numerator = 1; + param.mainchainGatewayV3.numerator = 7; param.mainchainGatewayV3.highTierVWNumerator = 10; param.mainchainGatewayV3.denominator = 10; diff --git a/script/PostChecker.sol b/script/PostChecker.sol index 13dbda8d..bc91f388 100644 --- a/script/PostChecker.sol +++ b/script/PostChecker.sol @@ -60,7 +60,7 @@ contract PostChecker is Migration, PostCheck_BridgeManager, PostCheck_Gateway { currentNetwork == DefaultNetwork.RoninMainnet.key() || currentNetwork == DefaultNetwork.RoninTestnet.key() || currentNetwork == Network.RoninDevnet.key() || currentNetwork == DefaultNetwork.LocalHost.key() ) { - _loadRoninContracts(currentNetwork); + _loadRoninContracts(); (, TNetwork companionNetwork) = currentNetwork.companionNetworkData(); mainchainGateway = CONFIG.getAddress(companionNetwork, Contract.MainchainGatewayV3.key()); @@ -76,13 +76,13 @@ contract PostChecker is Migration, PostCheck_BridgeManager, PostCheck_Gateway { uint256 originForkId = config.getForkId(companionNetwork, originForkBlockNumber); config.switchTo(originForkId); - _loadRoninContracts(companionNetwork); + _loadRoninContracts(); } _markSysContractsAsPersistent(); } - function _loadRoninContracts(TNetwork roninNetwork) private { + function _loadRoninContracts() private { bridgeSlash = loadContract(Contract.BridgeSlash.key()); bridgeReward = loadContract(Contract.BridgeReward.key()); roninGateway = loadContract(Contract.RoninGatewayV3.key()); @@ -90,6 +90,5 @@ contract PostChecker is Migration, PostCheck_BridgeManager, PostCheck_Gateway { roninBridgeManager = loadContract(Contract.RoninBridgeManager.key()); } - function _markSysContractsAsPersistent() internal { - } + function _markSysContractsAsPersistent() internal { } } diff --git a/script/contracts/BridgeRewardDeploy.s.sol b/script/contracts/BridgeRewardDeploy.s.sol index 1413fc3d..dacabfba 100644 --- a/script/contracts/BridgeRewardDeploy.s.sol +++ b/script/contracts/BridgeRewardDeploy.s.sol @@ -1,17 +1,15 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; -import { BridgeReward } from "@ronin/contracts/ronin/gateway/BridgeReward.sol"; +import { IBridgeReward } from "@ronin/contracts/interfaces/bridge/IBridgeReward.sol"; import { Contract } from "../utils/Contract.sol"; import { ISharedArgument } from "../interfaces/ISharedArgument.sol"; import { Migration } from "../Migration.s.sol"; -import { BridgeTrackingDeploy } from "./BridgeTrackingDeploy.s.sol"; -import { RoninBridgeManagerDeploy } from "./RoninBridgeManagerDeploy.s.sol"; import { BridgeSlashDeploy } from "./BridgeSlashDeploy.s.sol"; contract BridgeRewardDeploy is Migration { - function run() public virtual returns (BridgeReward) { - return BridgeReward(_deployProxy(Contract.BridgeReward.key(), EMPTY_ARGS)); + function run() public virtual returns (IBridgeReward) { + return IBridgeReward(_deployProxy(Contract.BridgeReward.key(), EMPTY_ARGS)); } } diff --git a/script/contracts/BridgeSlashDeploy.s.sol b/script/contracts/BridgeSlashDeploy.s.sol index 067b842f..7d5761a9 100644 --- a/script/contracts/BridgeSlashDeploy.s.sol +++ b/script/contracts/BridgeSlashDeploy.s.sol @@ -1,16 +1,13 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; -import { BridgeSlash } from "@ronin/contracts/ronin/gateway/BridgeSlash.sol"; +import { IBridgeSlash } from "@ronin/contracts/interfaces/bridge/IBridgeSlash.sol"; import { Contract } from "../utils/Contract.sol"; import { ISharedArgument } from "../interfaces/ISharedArgument.sol"; import { Migration } from "../Migration.s.sol"; -import { BridgeTrackingDeploy } from "./BridgeTrackingDeploy.s.sol"; -import { RoninBridgeManagerDeploy } from "./RoninBridgeManagerDeploy.s.sol"; - contract BridgeSlashDeploy is Migration { - function run() public virtual returns (BridgeSlash) { - return BridgeSlash(_deployProxy(Contract.BridgeSlash.key(), EMPTY_ARGS)); + function run() public virtual returns (IBridgeSlash) { + return IBridgeSlash(_deployProxy(Contract.BridgeSlash.key(), EMPTY_ARGS)); } } diff --git a/script/contracts/BridgeTrackingDeploy.s.sol b/script/contracts/BridgeTrackingDeploy.s.sol index fb5e6227..96380bf0 100644 --- a/script/contracts/BridgeTrackingDeploy.s.sol +++ b/script/contracts/BridgeTrackingDeploy.s.sol @@ -1,15 +1,13 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; -import { BridgeTracking } from "@ronin/contracts/ronin/gateway/BridgeTracking.sol"; +import { IBridgeTracking } from "@ronin/contracts/interfaces/bridge/IBridgeTracking.sol"; import { Contract } from "../utils/Contract.sol"; import { ISharedArgument } from "../interfaces/ISharedArgument.sol"; import { Migration } from "../Migration.s.sol"; -import { RoninGatewayV3Deploy } from "./RoninGatewayV3Deploy.s.sol"; - contract BridgeTrackingDeploy is Migration { - function run() public virtual returns (BridgeTracking) { - return BridgeTracking(_deployProxy(Contract.BridgeTracking.key(), EMPTY_ARGS)); + function run() public virtual returns (IBridgeTracking) { + return IBridgeTracking(_deployProxy(Contract.BridgeTracking.key(), EMPTY_ARGS)); } } diff --git a/script/contracts/MainchainBridgeManagerDeploy.s.sol b/script/contracts/MainchainBridgeManagerDeploy.s.sol index a626be8e..27c3a638 100644 --- a/script/contracts/MainchainBridgeManagerDeploy.s.sol +++ b/script/contracts/MainchainBridgeManagerDeploy.s.sol @@ -8,8 +8,6 @@ import { LibProxy } from "@fdk/libraries/LibProxy.sol"; import { ISharedArgument } from "../interfaces/ISharedArgument.sol"; import { Migration } from "../Migration.s.sol"; -import { MainchainGatewayV3Deploy } from "./MainchainGatewayV3Deploy.s.sol"; - contract MainchainBridgeManagerDeploy is Migration { using LibProxy for *; diff --git a/script/contracts/MainchainGatewayBatcherDeploy.s.sol b/script/contracts/MainchainGatewayBatcherDeploy.s.sol index 9758e0e9..33e128fa 100644 --- a/script/contracts/MainchainGatewayBatcherDeploy.s.sol +++ b/script/contracts/MainchainGatewayBatcherDeploy.s.sol @@ -1,17 +1,18 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; -import { MainchainGatewayBatcher } from "@ronin/contracts/mainchain/MainchainGatewayBatcher.sol"; +import { IMainchainGatewayBatcher } from "script/interfaces/IMainchainGatewayBatcher.sol"; + import { Contract } from "../utils/Contract.sol"; import { ISharedArgument } from "../interfaces/ISharedArgument.sol"; import { Migration } from "../Migration.s.sol"; contract MainchainGatewayBatcherDeploy is Migration { - function run() public virtual returns (MainchainGatewayBatcher) { - return MainchainGatewayBatcher(_deployProxy(Contract.MainchainGatewayBatcher.key(), EMPTY_ARGS)); + function run() public virtual returns (IMainchainGatewayBatcher) { + return IMainchainGatewayBatcher(_deployProxy(Contract.MainchainGatewayBatcher.key(), EMPTY_ARGS)); } - function runWithArgs(bytes memory args) public virtual returns (MainchainGatewayBatcher) { - return MainchainGatewayBatcher(_deployProxy(Contract.MainchainGatewayBatcher.key(), args)); + function runWithArgs(bytes memory args) public virtual returns (IMainchainGatewayBatcher) { + return IMainchainGatewayBatcher(_deployProxy(Contract.MainchainGatewayBatcher.key(), args)); } } diff --git a/script/contracts/MainchainGatewayV3Deploy.s.sol b/script/contracts/MainchainGatewayV3Deploy.s.sol index d7255e4c..00e149b1 100644 --- a/script/contracts/MainchainGatewayV3Deploy.s.sol +++ b/script/contracts/MainchainGatewayV3Deploy.s.sol @@ -1,13 +1,13 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; -import { MainchainGatewayV3 } from "@ronin/contracts/mainchain/MainchainGatewayV3.sol"; +import { IMainchainGatewayV3 } from "@ronin/contracts/interfaces/IMainchainGatewayV3.sol"; import { Contract } from "../utils/Contract.sol"; import { ISharedArgument } from "../interfaces/ISharedArgument.sol"; import { Migration } from "../Migration.s.sol"; contract MainchainGatewayV3Deploy is Migration { - function run() public virtual returns (MainchainGatewayV3) { - return MainchainGatewayV3(_deployProxy(Contract.MainchainGatewayV3.key(), EMPTY_ARGS)); + function run() public virtual returns (IMainchainGatewayV3) { + return IMainchainGatewayV3(_deployProxy(Contract.MainchainGatewayV3.key(), EMPTY_ARGS)); } } diff --git a/script/contracts/MainchainPauseEnforcerDeploy.s.sol b/script/contracts/MainchainPauseEnforcerDeploy.s.sol index 8cb42caf..de178fd2 100644 --- a/script/contracts/MainchainPauseEnforcerDeploy.s.sol +++ b/script/contracts/MainchainPauseEnforcerDeploy.s.sol @@ -1,13 +1,13 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; -import { PauseEnforcer } from "@ronin/contracts/ronin/gateway/PauseEnforcer.sol"; +import { IPauseEnforcer } from "script/interfaces/IPauseEnforcer.sol"; import { Contract } from "../utils/Contract.sol"; import { ISharedArgument } from "../interfaces/ISharedArgument.sol"; import { Migration } from "../Migration.s.sol"; contract MainchainPauseEnforcerDeploy is Migration { - function run() public virtual returns (PauseEnforcer) { - return PauseEnforcer(_deployProxy(Contract.MainchainPauseEnforcer.key(), EMPTY_ARGS)); + function run() public virtual returns (IPauseEnforcer) { + return IPauseEnforcer(_deployProxy(Contract.MainchainPauseEnforcer.key(), EMPTY_ARGS)); } } diff --git a/script/contracts/RoninGatewayV3Deploy.s.sol b/script/contracts/RoninGatewayV3Deploy.s.sol index 60db9ae0..1b11048d 100644 --- a/script/contracts/RoninGatewayV3Deploy.s.sol +++ b/script/contracts/RoninGatewayV3Deploy.s.sol @@ -1,14 +1,14 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; -import { RoninGatewayV3 } from "@ronin/contracts/ronin/gateway/RoninGatewayV3.sol"; +import { IRoninGatewayV3 } from "@ronin/contracts/interfaces/IRoninGatewayV3.sol"; import { IWETH } from "src/interfaces/IWETH.sol"; import { Contract } from "../utils/Contract.sol"; import { ISharedArgument } from "../interfaces/ISharedArgument.sol"; import { Migration } from "../Migration.s.sol"; contract RoninGatewayV3Deploy is Migration { - function run() public virtual returns (RoninGatewayV3) { - return RoninGatewayV3(_deployProxy(Contract.RoninGatewayV3.key(), EMPTY_ARGS)); + function run() public virtual returns (IRoninGatewayV3) { + return IRoninGatewayV3(_deployProxy(Contract.RoninGatewayV3.key(), EMPTY_ARGS)); } } diff --git a/script/contracts/RoninPauseEnforcerDeploy.s.sol b/script/contracts/RoninPauseEnforcerDeploy.s.sol index 252fc84d..89e73da6 100644 --- a/script/contracts/RoninPauseEnforcerDeploy.s.sol +++ b/script/contracts/RoninPauseEnforcerDeploy.s.sol @@ -1,13 +1,13 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; -import { PauseEnforcer } from "@ronin/contracts/ronin/gateway/PauseEnforcer.sol"; +import { IPauseEnforcer } from "script/interfaces/IPauseEnforcer.sol"; import { Contract } from "../utils/Contract.sol"; import { ISharedArgument } from "../interfaces/ISharedArgument.sol"; import { Migration } from "../Migration.s.sol"; contract RoninPauseEnforcerDeploy is Migration { - function run() public virtual returns (PauseEnforcer) { - return PauseEnforcer(_deployProxy(Contract.RoninPauseEnforcer.key(), EMPTY_ARGS)); + function run() public virtual returns (IPauseEnforcer) { + return IPauseEnforcer(_deployProxy(Contract.RoninPauseEnforcer.key(), EMPTY_ARGS)); } } diff --git a/script/deploy-v0.3.1/01_Deploy_RoninBridge.s.sol b/script/deploy-v0.3.1/01_Deploy_RoninBridge.s.sol index e037e256..4fdb0d4d 100644 --- a/script/deploy-v0.3.1/01_Deploy_RoninBridge.s.sol +++ b/script/deploy-v0.3.1/01_Deploy_RoninBridge.s.sol @@ -1,7 +1,6 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.23; -import { console } from "forge-std/console.sol"; import { StdStyle } from "forge-std/StdStyle.sol"; import { Migration } from "../Migration.s.sol"; import { TNetwork, Network } from "../utils/Network.sol"; @@ -9,10 +8,10 @@ import { DefaultNetwork } from "@fdk/utils/DefaultNetwork.sol"; import { TContract, Contract } from "../utils/Contract.sol"; import { ISharedArgument } from "../interfaces/ISharedArgument.sol"; import { IGeneralConfigExtended } from "../interfaces/IGeneralConfigExtended.sol"; -import { BridgeSlash, BridgeSlashDeploy } from "../contracts/BridgeSlashDeploy.s.sol"; -import { BridgeReward, BridgeRewardDeploy } from "../contracts/BridgeRewardDeploy.s.sol"; -import { BridgeTracking, BridgeTrackingDeploy } from "../contracts/BridgeTrackingDeploy.s.sol"; -import { RoninGatewayV3, RoninGatewayV3Deploy } from "../contracts/RoninGatewayV3Deploy.s.sol"; +import { IBridgeSlash, BridgeSlashDeploy } from "../contracts/BridgeSlashDeploy.s.sol"; +import { IBridgeReward, BridgeRewardDeploy } from "../contracts/BridgeRewardDeploy.s.sol"; +import { IBridgeTracking, BridgeTrackingDeploy } from "../contracts/BridgeTrackingDeploy.s.sol"; +import { IRoninGatewayV3, RoninGatewayV3Deploy } from "../contracts/RoninGatewayV3Deploy.s.sol"; import { ContractType } from "@ronin/contracts/utils/ContractType.sol"; import { LibProxy } from "@fdk/libraries/LibProxy.sol"; import { TransparentUpgradeableProxyV2 } from "@ronin/contracts/extensions/TransparentUpgradeableProxyV2.sol"; @@ -24,10 +23,10 @@ contract Migration_01_Deploy_RoninBridge is Migration { using StdStyle for *; using LibProxy for *; - BridgeSlash private _bridgeSlash; - BridgeReward private _bridgeReward; - RoninGatewayV3 private _roninGatewayV3; - BridgeTracking private _bridgeTracking; + IBridgeSlash private _bridgeSlash; + IBridgeReward private _bridgeReward; + IRoninGatewayV3 private _roninGatewayV3; + IBridgeTracking private _bridgeTracking; IRoninBridgeManager private _roninBridgeManager; address private _validatorSet; @@ -72,8 +71,8 @@ contract Migration_01_Deploy_RoninBridge is Migration { // _initRoninBridgeManager(); } - function _initRoninBridgeManager() internal logFn("Init RoninBridgeManager") { - ISharedArgument.BridgeManagerParam memory param = config.sharedArguments().roninBridgeManager; + function _initRoninBridgeManager() internal view logFn("Init RoninBridgeManager") { + // ISharedArgument.BridgeManagerParam memory param = config.sharedArguments().roninBridgeManager; // address[] memory callbackRegisters = new address[](1); // callbackRegisters[0] = address(_bridgeSlash); // callbackRegisters[1] = address(_roninGatewayV3); @@ -94,57 +93,64 @@ contract Migration_01_Deploy_RoninBridge is Migration { } function _initBridgeTracking() internal logFn("Init BridgeTracking") { - _bridgeTracking.initialize({ - bridgeContract: address(_roninGatewayV3), - validatorContract: address(new MockValidatorContract_OnlyTiming_ForHardhatTest(200)), - startedAtBlock_: 0 - }); - _bridgeTracking.initializeV3({ - bridgeManager: address(_roninBridgeManager), - bridgeSlash: address(_bridgeSlash), - bridgeReward: address(_bridgeReward), - dposGA: address(0x0) - }); + (bool success,) = address(_bridgeTracking).call( + abi.encodeWithSignature("initialize(address,address,uint256)", _roninGatewayV3, new MockValidatorContract_OnlyTiming_ForHardhatTest(200), 0) + ); + require(success, "BridgeTracking initialize failed"); + + (success,) = address(_bridgeTracking).call( + abi.encodeWithSignature("initializeV3(address,address,address,address)", _roninBridgeManager, _bridgeSlash, _bridgeReward, address(0x0)) + ); + require(success, "BridgeTracking initializeV3 failed"); } function _initBridgeReward() internal logFn("Init BridgeReward") { ISharedArgument.BridgeRewardParam memory param = config.sharedArguments().bridgeReward; - _bridgeReward.initialize({ - bridgeManagerContract: address(_roninBridgeManager), - bridgeTrackingContract: address(_bridgeTracking), - bridgeSlashContract: address(_bridgeSlash), - validatorSetContract: _validatorSet, - dposGA: address(0x0), - rewardPerPeriod: param.rewardPerPeriod - }); - // _bridgeReward.initializeREP2(); - _bridgeReward.initializeV2(); + (bool success,) = address(_bridgeReward).call( + abi.encodeWithSignature( + "initialize(address,address,address,address,address,uint256)", + _roninBridgeManager, + _bridgeTracking, + _bridgeSlash, + _validatorSet, + address(0x0), + param.rewardPerPeriod + ) + ); + require(success, "BridgeReward initialize failed"); + // (success,) = address(_bridgeReward).call(abi.encodeWithSignature("initializeREP2()")); + (success,) = address(_bridgeReward).call(abi.encodeWithSignature("initializeV2()")); + require(success, "BridgeReward initializeV2 failed"); } function _initBridgeSlash() internal logFn("Init BridgeSlash") { - _bridgeSlash.initialize({ - validatorContract: _validatorSet, - bridgeManagerContract: address(_roninBridgeManager), - bridgeTrackingContract: address(_bridgeTracking), - dposGA: address(0x0) - }); + (bool success,) = address(_bridgeSlash).call( + abi.encodeWithSignature("initialize(address,address,address,address)", _validatorSet, _roninBridgeManager, _bridgeTracking, address(0)) + ); + require(success, "BridgeSlash initialize failed"); } function _initRoninGatewayV3() internal logFn("Init RoninGatewayV3") { ISharedArgument.RoninGatewayV3Param memory param = config.sharedArguments().roninGatewayV3; - _roninGatewayV3.initialize( - param.roleSetter, - param.numerator, - param.denominator, - param.trustedNumerator, - param.trustedDenominator, - param.withdrawalMigrators, - param.packedAddresses, - param.packedNumbers, - param.standards + (bool success,) = address(_roninGatewayV3).call( + abi.encodeWithSignature( + "initialize(address,uint256,uint256,uint256,uint256,address[],address[][2],uint256[][2],uint8[])", + param.roleSetter, + param.numerator, + param.denominator, + param.trustedNumerator, + param.trustedDenominator, + param.withdrawalMigrators, + param.packedAddresses, + param.packedNumbers, + param.standards + ) ); - _roninGatewayV3.initializeV3(address(_roninBridgeManager)); + require(success, "RoninGatewayV3 initialize failed"); + + (success,) = address(_roninGatewayV3).call(abi.encodeWithSignature("initializeV3()", address(_roninBridgeManager))); + require(success, "RoninGatewayV3 initializeV3 failed"); address admin = payable(address(_roninGatewayV3)).getProxyAdmin(); vm.startBroadcast(admin); diff --git a/script/deploy-v0.3.1/02_Deploy_MainchainBridge.s.sol b/script/deploy-v0.3.1/02_Deploy_MainchainBridge.s.sol index e78f4374..245d4c57 100644 --- a/script/deploy-v0.3.1/02_Deploy_MainchainBridge.s.sol +++ b/script/deploy-v0.3.1/02_Deploy_MainchainBridge.s.sol @@ -12,7 +12,7 @@ import { WETHDeploy } from "../contracts/token/WETHDeploy.s.sol"; import { ISharedArgument } from "../interfaces/ISharedArgument.sol"; import { IGeneralConfigExtended } from "../interfaces/IGeneralConfigExtended.sol"; import { LibCompanionNetwork } from "script/shared/libraries/LibCompanionNetwork.sol"; -import { MainchainGatewayV3, MainchainGatewayV3Deploy } from "../contracts/MainchainGatewayV3Deploy.s.sol"; +import { IMainchainGatewayV3, MainchainGatewayV3Deploy } from "../contracts/MainchainGatewayV3Deploy.s.sol"; import { WethUnwrapper, MainchainWethUnwrapperDeploy } from "../contracts/MainchainWethUnwrapperDeploy.s.sol"; import { IMainchainBridgeManager, MainchainBridgeManagerDeploy } from "../contracts/MainchainBridgeManagerDeploy.s.sol"; @@ -22,7 +22,7 @@ contract Migration_02_Deploy_MainchainBridge is Migration { address private _weth; WethUnwrapper private _mainchainWethUnwrapper; - MainchainGatewayV3 private _mainchainGatewayV3; + IMainchainGatewayV3 private _mainchainGatewayV3; IMainchainBridgeManager private _mainchainBridgeManager; function _injectDependencies() internal virtual override { @@ -48,37 +48,47 @@ contract Migration_02_Deploy_MainchainBridge is Migration { // callbackRegisters[1] = address(_roninGatewayV3); uint256 companionChainId = network().companionChainId(); - _mainchainBridgeManager.initialize({ - num: param.num, - denom: param.denom, - roninChainId: companionChainId, - bridgeContract: address(_mainchainGatewayV3), - callbackRegisters: param.callbackRegisters, - bridgeOperators: param.bridgeOperators, - governors: param.governors, - voteWeights: param.voteWeights, - targetOptions: param.targetOptions, - targets: param.targets - }); + (bool success,) = address(_mainchainBridgeManager).call( + abi.encodeWithSignature( + "initialize(uint256,uint256,uint256,address,address[],address[],address[],uint96[],uint8[],address[])", + param.num, + param.denom, + companionChainId, + address(_mainchainGatewayV3), + param.callbackRegisters, + param.bridgeOperators, + param.governors, + param.voteWeights, + param.targetOptions, + param.targets + ) + ); + require(success, "MainchainBridgeManager: initialization failed"); } function _initMainchainGatewayV3() internal logFn("Init MainchainGatewayV3") { ISharedArgument.MainchainGatewayV3Param memory param = config.sharedArguments().mainchainGatewayV3; uint256 companionChainId = network().companionChainId(); - _mainchainGatewayV3.initialize( - param.roleSetter, - IWETH(_weth), - companionChainId, - param.numerator, - param.highTierVWNumerator, - param.denominator, - param.addresses, - param.thresholds, - param.standards + (bool success,) = address(_mainchainGatewayV3).call( + abi.encodeWithSignature( + "initialize(address,address,uint256,uint256,uint256,uint256,address[][3],uint256[][4],uint8[])", + param.roleSetter, + IWETH(_weth), + companionChainId, + param.numerator, + param.highTierVWNumerator, + param.denominator, + param.addresses, + param.thresholds, + param.standards + ) ); - _mainchainGatewayV3.initializeV2(address(_mainchainBridgeManager)); - _mainchainGatewayV3.initializeV3(); - _mainchainGatewayV3.initializeV4(payable(address(_mainchainWethUnwrapper))); + require(success, "MainchainGatewayV3: initialization failed"); + (success,) = address(_mainchainGatewayV3).call(abi.encodeWithSignature("initializeV2(address)", address(_mainchainBridgeManager))); + require(success, "MainchainGatewayV3: initialization V2 failed"); + (success,) = address(_mainchainGatewayV3).call(abi.encodeWithSignature("initializeV3()")); + require(success, "MainchainGatewayV3: initialization V3 failed"); + (success,) = address(_mainchainGatewayV3).call(abi.encodeWithSignature("initializeV4(address)", payable(address(_mainchainWethUnwrapper)))); } } diff --git a/script/factories/mainchain/factory-maptoken-mainchain.s.sol b/script/factories/mainchain/factory-maptoken-mainchain.s.sol index d74c3eef..99abfe87 100644 --- a/script/factories/mainchain/factory-maptoken-mainchain.s.sol +++ b/script/factories/mainchain/factory-maptoken-mainchain.s.sol @@ -60,7 +60,7 @@ abstract contract Factory__MapTokensMainchain is Migration { supports_[i] = Ballot.VoteType.For; } - SignatureConsumer.Signature[] memory signatures = mainchainProposalUtils.generateSignatures(proposal, _governorPKs); + Signature[] memory signatures = mainchainProposalUtils.generateSignatures(proposal, _governorPKs); uint256 gasAmounts = 1_000_000; for (uint256 i; i < proposal.gasAmounts.length; ++i) { @@ -104,7 +104,7 @@ abstract contract Factory__MapTokensMainchain is Migration { if (network() == DefaultNetwork.RoninMainnet.key() || network() == DefaultNetwork.RoninMainnet.key()) { // Verify gas amount for ronin targets. - (uint256 companionChainId, TNetwork companionNetwork) = network().companionNetworkData(); + (, TNetwork companionNetwork) = network().companionNetworkData(); address companionManager = config.getAddress(companionNetwork, Contract.MainchainBridgeManager.key()); LibProposal.verifyMainchainProposalGasAmount(companionNetwork, companionManager, targets, values, calldatas, gasAmounts); } else { @@ -127,7 +127,7 @@ abstract contract Factory__MapTokensMainchain is Migration { function _prepareMapTokensAndThresholds( uint256 N, MapTokenInfo[] memory tokenInfos - ) internal returns (address[] memory mainchainTokens, address[] memory roninTokens, TokenStandard[] memory standards, uint256[][4] memory thresholds) { + ) internal pure returns (address[] memory mainchainTokens, address[] memory roninTokens, TokenStandard[] memory standards, uint256[][4] memory thresholds) { // function mapTokensAndThresholds( // address[] calldata _mainchainTokens, // address[] calldata _roninTokens, @@ -159,7 +159,7 @@ abstract contract Factory__MapTokensMainchain is Migration { function _prepareMapTokens( uint256 N, MapTokenInfo[] memory tokenInfos - ) internal returns (address[] memory mainchainTokens, address[] memory roninTokens, TokenStandard[] memory standards) { + ) internal pure returns (address[] memory mainchainTokens, address[] memory roninTokens, TokenStandard[] memory standards) { // function mapTokens( // address[] calldata _mainchainTokens, // address[] calldata _roninTokens, diff --git a/script/factories/roninchain/factory-maptoken-roninchain.s.sol b/script/factories/roninchain/factory-maptoken-roninchain.s.sol index 47766a5c..3ca0ce3d 100644 --- a/script/factories/roninchain/factory-maptoken-roninchain.s.sol +++ b/script/factories/roninchain/factory-maptoken-roninchain.s.sol @@ -1,7 +1,6 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; -import { console2 } from "forge-std/console2.sol"; import { StdStyle } from "forge-std/StdStyle.sol"; import { RoninBridgeManager } from "@ronin/contracts/ronin/gateway/RoninBridgeManager.sol"; @@ -79,7 +78,7 @@ abstract contract Factory__MapTokensRoninchain is Migration { } function _createAndVerifyProposalOnRonin() internal returns (Proposal.ProposalDetail memory proposal) { - (uint256 N, MapTokenInfo[] memory tokenInfos) = _initTokenList(); + _initTokenList(); (address[] memory roninTokens, address[] memory mainchainTokens, uint256[] memory chainIds, TokenStandard[] memory standards) = _prepareMapTokens(); @@ -99,7 +98,7 @@ abstract contract Factory__MapTokensRoninchain is Migration { bytes memory innerData = abi.encodeCall(IRoninGatewayV3.mapTokens, (roninTokens, mainchainTokens, chainIds, standards)); bytes memory proxyData = abi.encodeWithSignature("functionDelegateCall(bytes)", innerData); - uint256 expiredTime = block.timestamp + 14 days; + uint256 expiry = block.timestamp + 14 days; targets[0] = _roninGatewayV3; values[0] = 0; calldatas[0] = proxyData; @@ -111,7 +110,7 @@ abstract contract Factory__MapTokensRoninchain is Migration { calldatas = new bytes[](2); gasAmounts = new uint256[](2); - uint256 expiredTime = block.timestamp + 14 days; + expiry = block.timestamp + 14 days; targets[0] = _roninGatewayV3; values[0] = 0; calldatas[0] = proxyData; @@ -133,7 +132,7 @@ abstract contract Factory__MapTokensRoninchain is Migration { proposal = Proposal.ProposalDetail({ nonce: RoninBridgeManager(_roninBridgeManager).round(block.chainid) + 1, chainId: block.chainid, - expiryTimestamp: expiredTime, + expiryTimestamp: expiry, executor: address(0), targets: targets, values: values, diff --git a/script/factories/simulation/factory-maptoken-simulation-mainchain.s.sol b/script/factories/simulation/factory-maptoken-simulation-mainchain.s.sol index d402d27b..f51bac2e 100644 --- a/script/factories/simulation/factory-maptoken-simulation-mainchain.s.sol +++ b/script/factories/simulation/factory-maptoken-simulation-mainchain.s.sol @@ -44,7 +44,7 @@ contract Factory__MapTokensSimulation_Mainchain is Factory__MapTokensSimulation_ cheatingSupports[0] = Ballot.VoteType.For; cheatingPks[0] = cheatingGovPk; - SignatureConsumer.Signature[] memory cheatingSignatures = LibProposal.generateSignatures(proposal, cheatingPks, Ballot.VoteType.For); + Signature[] memory cheatingSignatures = LibProposal.generateSignatures(proposal, cheatingPks, Ballot.VoteType.For); uint256 gasAmounts = 1_000_000; for (uint256 i; i < proposal.gasAmounts.length; ++i) { diff --git a/script/interfaces/IMainchainGatewayBatcher.sol b/script/interfaces/IMainchainGatewayBatcher.sol new file mode 100644 index 00000000..e672a670 --- /dev/null +++ b/script/interfaces/IMainchainGatewayBatcher.sol @@ -0,0 +1,21 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.19; + +import { RequestBatch } from "@ronin/contracts/libraries/LibRequestBatch.sol"; +import { TokenStandard } from "@ronin/contracts/libraries/LibTokenInfo.sol"; +import { TokenInfoBatch } from "@ronin/contracts/libraries/LibTokenInfoBatch.sol"; + +interface IMainchainGatewayBatcher { + error ErrInvalidInfoWithStandard(TokenStandard); + error ErrTokenBatchCouldNotTransferFrom(TokenInfoBatch tokenInfo, address from, address to, address token); + error ErrUnsupportedStandard(); + + event BatchDepositRequested(address indexed requested); + event Initialized(uint8 version); + + function initialize(address gateway) external; + function onERC1155BatchReceived(address, address, uint256[] memory, uint256[] memory, bytes memory) external returns (bytes4); + function onERC1155Received(address, address, uint256, uint256, bytes memory) external returns (bytes4); + function requestDepositForBatch(RequestBatch memory request) external; + function supportsInterface(bytes4 interfaceId) external view returns (bool); +} diff --git a/script/interfaces/IPauseEnforcer.sol b/script/interfaces/IPauseEnforcer.sol new file mode 100644 index 00000000..ecc1d30b --- /dev/null +++ b/script/interfaces/IPauseEnforcer.sol @@ -0,0 +1,35 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.19; + +interface IPauseEnforcer { + error ErrNotOnEmergencyPause(); + error ErrTargetIsNotOnPaused(); + error ErrTargetIsOnPaused(); + + event EmergencyPaused(address account); + event EmergencyUnpaused(address account); + event Initialized(uint8 version); + event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); + event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); + event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); + event TargetChanged(address target); + + function DEFAULT_ADMIN_ROLE() external view returns (bytes32); + function SENTRY_ROLE() external view returns (bytes32); + function changeTarget(address _target) external; + function emergency() external view returns (bool); + function getRoleAdmin(bytes32 role) external view returns (bytes32); + function getRoleMember(bytes32 role, uint256 index) external view returns (address); + function getRoleMemberCount(bytes32 role) external view returns (uint256); + function grantRole(bytes32 role, address account) external; + function grantSentry(address _sentry) external; + function hasRole(bytes32 role, address account) external view returns (bool); + function initialize(address _target, address _admin, address[] memory _sentries) external; + function renounceRole(bytes32 role, address account) external; + function revokeRole(bytes32 role, address account) external; + function revokeSentry(address _sentry) external; + function supportsInterface(bytes4 interfaceId) external view returns (bool); + function target() external view returns (address); + function triggerPause() external; + function triggerUnpause() external; +} diff --git a/script/post-check/BasePostCheck.s.sol b/script/post-check/BasePostCheck.s.sol index 5e7da60d..ba9bab6e 100644 --- a/script/post-check/BasePostCheck.s.sol +++ b/script/post-check/BasePostCheck.s.sol @@ -11,8 +11,9 @@ import { IBridgeManager } from "@ronin/contracts/interfaces/bridge/IBridgeManage import { TransparentUpgradeableProxyV2 } from "@ronin/contracts/extensions/TransparentUpgradeableProxyV2.sol"; import { LibArray } from "script/shared/libraries/LibArray.sol"; import { LibProxy } from "@fdk/libraries/LibProxy.sol"; +import { SignatureConsumer } from "@ronin/contracts/interfaces/consumers/SignatureConsumer.sol"; -abstract contract BasePostCheck is BaseMigration { +abstract contract BasePostCheck is BaseMigration, SignatureConsumer { using StdStyle for *; using LibArray for *; using LibProxy for *; diff --git a/script/post-check/bridge-manager/proposal/PostCheck_BridgeManager_Proposal.s.sol b/script/post-check/bridge-manager/proposal/PostCheck_BridgeManager_Proposal.s.sol index d34ef315..93e02df2 100644 --- a/script/post-check/bridge-manager/proposal/PostCheck_BridgeManager_Proposal.s.sol +++ b/script/post-check/bridge-manager/proposal/PostCheck_BridgeManager_Proposal.s.sol @@ -68,7 +68,7 @@ abstract contract PostCheck_BridgeManager_Proposal is BasePostCheck { TNetwork currentNetwork = CONFIG.getCurrentNetwork(); (, TNetwork companionNetwork) = currentNetwork.companionNetworkData(); - (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + switchTo(companionNetwork); IMainchainBridgeManager mainchainManager = IMainchainBridgeManager(loadContract(Contract.MainchainBridgeManager.key())); @@ -89,7 +89,7 @@ abstract contract PostCheck_BridgeManager_Proposal is BasePostCheck { nonce: mainchainManager.round(block.chainid) + 1 }); - SignatureConsumer.Signature[] memory signatures = proposal.generateSignatures(cheatGovernorPk.toSingletonArray(), Ballot.VoteType.For); + Signature[] memory signatures = proposal.generateSignatures(cheatGovernorPk.toSingletonArray(), Ballot.VoteType.For); Ballot.VoteType[] memory _supports = new Ballot.VoteType[](signatures.length); uint256 minimumForVoteWeight = mainchainManager.minimumVoteWeight(); @@ -113,7 +113,7 @@ abstract contract PostCheck_BridgeManager_Proposal is BasePostCheck { TNetwork currentNetwork = CONFIG.getCurrentNetwork(); (, TNetwork companionNetwork) = currentNetwork.companionNetworkData(); - (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + switchTo(companionNetwork); IMainchainBridgeManager mainchainManager = IMainchainBridgeManager(loadContract(Contract.MainchainBridgeManager.key())); uint256 snapshotId = vm.snapshot(); @@ -150,7 +150,7 @@ abstract contract PostCheck_BridgeManager_Proposal is BasePostCheck { nonce: mainchainManager.round(block.chainid) + 1 }); - SignatureConsumer.Signature[] memory signatures = proposal.generateSignatures(cheatGovernorPk.toSingletonArray(), Ballot.VoteType.For); + Signature[] memory signatures = proposal.generateSignatures(cheatGovernorPk.toSingletonArray(), Ballot.VoteType.For); Ballot.VoteType[] memory _supports = new Ballot.VoteType[](signatures.length); uint256 minimumForVoteWeight = mainchainManager.minimumVoteWeight(); @@ -193,7 +193,7 @@ abstract contract PostCheck_BridgeManager_Proposal is BasePostCheck { nonce: manager.round(0) + 1 }); - SignatureConsumer.Signature[] memory signatures; + Signature[] memory signatures; Ballot.VoteType[] memory _supports; { signatures = globalProposal.generateSignaturesGlobal(cheatGovernorPk.toSingletonArray(), Ballot.VoteType.For); @@ -213,7 +213,7 @@ abstract contract PostCheck_BridgeManager_Proposal is BasePostCheck { TNetwork currentNetwork = CONFIG.getCurrentNetwork(); (, TNetwork companionNetwork) = currentNetwork.companionNetworkData(); - (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + switchTo(companionNetwork); IMainchainBridgeManager mainchainManager = IMainchainBridgeManager(loadContract(Contract.MainchainBridgeManager.key())); uint256 snapshotId = vm.snapshot(); diff --git a/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol b/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol index 4db1fd0a..556ec561 100644 --- a/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol +++ b/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol @@ -16,16 +16,15 @@ import { LibCompanionNetwork } from "script/shared/libraries/LibCompanionNetwork import { StdStorage, stdStorage } from "forge-std/StdStorage.sol"; import { IBridgeManager } from "@ronin/contracts/interfaces/bridge/IBridgeManager.sol"; import { LibArray } from "script/shared/libraries/LibArray.sol"; -import { SignatureConsumer } from "@ronin/contracts/interfaces/consumers/SignatureConsumer.sol"; import { IRoninGatewayV3, RoninGatewayV3 } from "@ronin/contracts/ronin/gateway/RoninGatewayV3.sol"; import { IRoninBridgeManager } from "script/interfaces/IRoninBridgeManager.sol"; import { IMainchainBridgeManager } from "script/interfaces/IMainchainBridgeManager.sol"; import { IMainchainGatewayV3, MainchainGatewayV3 } from "@ronin/contracts/mainchain/MainchainGatewayV3.sol"; import { TransparentUpgradeableProxyV2 } from "@ronin/contracts/extensions/TransparentUpgradeableProxyV2.sol"; -import { HasContracts } from "@ronin/contracts/extensions/collections/HasContracts.sol"; +import { IHasContracts } from "@ronin/contracts/interfaces/collections/IHasContracts.sol"; import { ContractType } from "@ronin/contracts/utils/ContractType.sol"; -abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck, SignatureConsumer { +abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { using LibProxy for *; using LibArray for *; using LibProposal for *; @@ -144,16 +143,16 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck, Signatu function validate_HasBridgeManager() internal onPostCheck("validate_HasBridgeManager") { assertEq(roninBridgeManager.getProxyAdmin(), roninBridgeManager, "Invalid ProxyAdmin in RoninBridgeManager, expected self"); - assertEq(HasContracts(roninGateway).getContract(ContractType.BRIDGE_MANAGER), roninBridgeManager, "Invalid RoninBridgeManager in roninGateway"); - assertEq(HasContracts(bridgeTracking).getContract(ContractType.BRIDGE_MANAGER), roninBridgeManager, "Invalid RoninBridgeManager in bridgeTracking"); - assertEq(HasContracts(bridgeReward).getContract(ContractType.BRIDGE_MANAGER), roninBridgeManager, "Invalid RoninBridgeManager in bridgeReward"); - assertEq(HasContracts(bridgeSlash).getContract(ContractType.BRIDGE_MANAGER), roninBridgeManager, "Invalid RoninBridgeManager in bridgeSlash"); + assertEq(IHasContracts(roninGateway).getContract(ContractType.BRIDGE_MANAGER), roninBridgeManager, "Invalid RoninBridgeManager in roninGateway"); + assertEq(IHasContracts(bridgeTracking).getContract(ContractType.BRIDGE_MANAGER), roninBridgeManager, "Invalid RoninBridgeManager in bridgeTracking"); + assertEq(IHasContracts(bridgeReward).getContract(ContractType.BRIDGE_MANAGER), roninBridgeManager, "Invalid RoninBridgeManager in bridgeReward"); + assertEq(IHasContracts(bridgeSlash).getContract(ContractType.BRIDGE_MANAGER), roninBridgeManager, "Invalid RoninBridgeManager in bridgeSlash"); (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); assertEq(mainchainBridgeManager.getProxyAdmin(), mainchainBridgeManager, "Invalid ProxyAdmin in MainchainBridgeManager, expected self"); assertEq( - HasContracts(mainchainGateway).getContract(ContractType.BRIDGE_MANAGER), mainchainBridgeManager, "Invalid MainchainBridgeManager in mainchainGateway" + IHasContracts(mainchainGateway).getContract(ContractType.BRIDGE_MANAGER), mainchainBridgeManager, "Invalid MainchainBridgeManager in mainchainGateway" ); switchBack(prevNetwork, prevForkId); diff --git a/script/shared/libraries/LibProposal.sol b/script/shared/libraries/LibProposal.sol index 0aef2e1b..637dba54 100644 --- a/script/shared/libraries/LibProposal.sol +++ b/script/shared/libraries/LibProposal.sol @@ -191,7 +191,6 @@ library LibProposal { uint256[] memory gasAmounts ) internal preserveState { TNetwork currentNetwork = config.getCurrentNetwork(); - uint256 currentForkId = config.getForkId(currentNetwork); config.createFork(companionNetwork); config.switchTo(companionNetwork); diff --git a/script/utils/Network.sol b/script/utils/Network.sol index 5f1e450c..c8fad587 100644 --- a/script/utils/Network.sol +++ b/script/utils/Network.sol @@ -41,6 +41,8 @@ function blockTime(Network network) pure returns (uint256) { if (network == Network.Goerli) return 15; if (network == Network.Sepolia) return 15; if (network == Network.EthMainnet) return 3; + + return type(uint256).max; } function explorer(Network network) pure returns (string memory link) { diff --git a/src/interfaces/IRoninGatewayV3.sol b/src/interfaces/IRoninGatewayV3.sol index 2c0bad9f..6ac88659 100644 --- a/src/interfaces/IRoninGatewayV3.sol +++ b/src/interfaces/IRoninGatewayV3.sol @@ -3,8 +3,9 @@ pragma solidity ^0.8.0; import "../libraries/Transfer.sol"; import "./consumers/MappedTokenConsumer.sol"; +import "./consumers/VoteStatusConsumer.sol"; -interface IRoninGatewayV3 is MappedTokenConsumer { +interface IRoninGatewayV3 is MappedTokenConsumer, VoteStatusConsumer { /** * @dev Error thrown when attempting to withdraw funds that have already been migrated. */ @@ -44,6 +45,8 @@ interface IRoninGatewayV3 is MappedTokenConsumer { */ function withdrawalCount() external view returns (uint256); + function depositVote(uint256, uint256) external view returns (VoteStatus status, bytes32 finalHash, uint256 expiredAt, uint256 createdAt); + /** * @dev Returns withdrawal signatures. */ diff --git a/src/interfaces/bridge/IBridgeSlash.sol b/src/interfaces/bridge/IBridgeSlash.sol index d2d60b1b..18e7ac06 100644 --- a/src/interfaces/bridge/IBridgeSlash.sol +++ b/src/interfaces/bridge/IBridgeSlash.sol @@ -19,7 +19,7 @@ interface IBridgeSlash is IBridgeSlashEvents { * @param bridgeOperators The addresses of the bridge operators. * @return untilPeriods The penalized periods for the bridge operators. */ - function getSlashUntilPeriodOf(address[] calldata bridgeOperators) external returns (uint256[] memory untilPeriods); + function getSlashUntilPeriodOf(address[] calldata bridgeOperators) external view returns (uint256[] memory untilPeriods); /** * @dev Retrieves the added periods of the specified bridge operators. diff --git a/src/ronin/gateway/BridgeReward.sol b/src/ronin/gateway/BridgeReward.sol index e1719d98..ce6002fe 100644 --- a/src/ronin/gateway/BridgeReward.sol +++ b/src/ronin/gateway/BridgeReward.sol @@ -366,7 +366,7 @@ contract BridgeReward is IBridgeReward, BridgeTrackingHelper, HasContracts, RONT /** * @dev Internal helper for querying slash info of a list of operators. */ - function _getSlashInfo(address[] memory operatorList) internal returns (uint256[] memory _slashedDuration) { + function _getSlashInfo(address[] memory operatorList) internal view returns (uint256[] memory _slashedDuration) { return IBridgeSlash(getContract(ContractType.BRIDGE_SLASH)).getSlashUntilPeriodOf(operatorList); } diff --git a/src/ronin/gateway/BridgeSlash.sol b/src/ronin/gateway/BridgeSlash.sol index 74eb0ecf..21a61401 100644 --- a/src/ronin/gateway/BridgeSlash.sol +++ b/src/ronin/gateway/BridgeSlash.sol @@ -187,7 +187,7 @@ contract BridgeSlash is IBridgeSlash, IBridgeManagerCallback, BridgeTrackingHelp /** * @inheritdoc IBridgeSlash */ - function getSlashUntilPeriodOf(address[] calldata bridgeOperators) external view returns (uint256[] memory untilPeriods) { + function getSlashUntilPeriodOf(address[] calldata bridgeOperators) external view virtual returns (uint256[] memory untilPeriods) { uint256 length = bridgeOperators.length; untilPeriods = new uint256[](length); mapping(address => BridgeSlashInfo) storage _bridgeSlashInfos = _getBridgeSlashInfos(); diff --git a/test/Base.t.sol b/test/Base.t.sol index 39602bd3..7c629bdf 100644 --- a/test/Base.t.sol +++ b/test/Base.t.sol @@ -4,8 +4,9 @@ pragma solidity >=0.8.17 <0.9.0; import { StdCheats } from "forge-std/Test.sol"; import { Assertions } from "./utils/Assertions.sol"; +import { StdAssertions } from "forge-std/StdAssertions.sol"; import { Utils } from "./utils/Utils.sol"; - +import { CommonBase } from "forge-std/Base.sol"; import { IBridgeManagerEvents } from "@ronin/contracts/interfaces/bridge/events/IBridgeManagerEvents.sol"; abstract contract Base_Test is Assertions, Utils, StdCheats, IBridgeManagerEvents { } diff --git a/test/bridge/integration/BaseIntegration.t.sol b/test/bridge/integration/BaseIntegration.t.sol index bebc09a6..b2cc12ce 100644 --- a/test/bridge/integration/BaseIntegration.t.sol +++ b/test/bridge/integration/BaseIntegration.t.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; -import { console2 as console } from "forge-std/console2.sol"; +import { console } from "forge-std/console.sol"; import { Base_Test } from "../../Base.t.sol"; import { LibSharedAddress } from "@fdk/libraries/LibSharedAddress.sol"; import { ISharedArgument } from "@ronin/script/interfaces/ISharedArgument.sol"; @@ -10,12 +10,13 @@ import { GeneralConfig } from "@ronin/script/GeneralConfig.sol"; import { Network } from "@ronin/script/utils/Network.sol"; import { IRoninBridgeManager } from "script/interfaces/IRoninBridgeManager.sol"; -import { RoninGatewayV3 } from "@ronin/contracts/ronin/gateway/RoninGatewayV3.sol"; -import { BridgeTracking } from "@ronin/contracts/ronin/gateway/BridgeTracking.sol"; -import { BridgeSlash } from "@ronin/contracts/ronin/gateway/BridgeSlash.sol"; -import { BridgeReward } from "@ronin/contracts/ronin/gateway/BridgeReward.sol"; -import { MainchainGatewayV3 } from "@ronin/contracts/mainchain/MainchainGatewayV3.sol"; -import { MainchainGatewayBatcher } from "@ronin/contracts/mainchain/MainchainGatewayBatcher.sol"; +import { IRoninGatewayV3 } from "@ronin/contracts/ronin/gateway/RoninGatewayV3.sol"; +import { IBridgeTracking } from "@ronin/contracts/ronin/gateway/BridgeTracking.sol"; +import { IBridgeSlash } from "@ronin/contracts/ronin/gateway/BridgeSlash.sol"; +import { IBridgeReward } from "@ronin/contracts/ronin/gateway/BridgeReward.sol"; +import { IMainchainGatewayV3 } from "@ronin/contracts/mainchain/MainchainGatewayV3.sol"; +import { IMainchainGatewayBatcher } from "script/interfaces/IMainchainGatewayBatcher.sol"; + import { IMainchainBridgeManager } from "script/interfaces/IMainchainBridgeManager.sol"; import { WethUnwrapper } from "@ronin/contracts/extensions/WethUnwrapper.sol"; import { MockSLP } from "@ronin/contracts/mocks/token/MockSLP.sol"; @@ -39,10 +40,11 @@ import { IBridgeManagerCallbackRegister } from "@ronin/contracts/interfaces/brid import { ContractType } from "@ronin/contracts/utils/ContractType.sol"; import { TransparentUpgradeableProxyV2 } from "@ronin/contracts/extensions/TransparentUpgradeableProxyV2.sol"; import { MockValidatorContract_OnlyTiming_ForHardhatTest } from "@ronin/contracts/mocks/ronin/MockValidatorContract_OnlyTiming_ForHardhatTest.sol"; -import { PauseEnforcer } from "@ronin/contracts/ronin/gateway/PauseEnforcer.sol"; +import { IPauseEnforcer } from "script/interfaces/IPauseEnforcer.sol"; import { IPauseTarget } from "@ronin/contracts/interfaces/IPauseTarget.sol"; import { GatewayV3 } from "@ronin/contracts/extensions/GatewayV3.sol"; import { IBridgeManagerCallbackRegister } from "@ronin/contracts/interfaces/bridge/IBridgeManagerCallbackRegister.sol"; +import { LibProxy } from "@fdk/libraries/LibProxy.sol"; import { RoninBridgeManagerDeploy } from "@ronin/script/contracts/RoninBridgeManagerDeploy.s.sol"; import { RoninGatewayV3Deploy } from "@ronin/script/contracts/RoninGatewayV3Deploy.s.sol"; @@ -80,48 +82,48 @@ contract MockPoisonERC20 is MockERC20 { contract BaseIntegration_Test is Base_Test { using LibTransfer for LibTransfer.Receipt; - address sender; - - IGeneralConfig _config; - ISharedArgument.SharedParameter _param; - - PauseEnforcer _roninPauseEnforcer; - IRoninBridgeManager _roninBridgeManager; - RoninGatewayV3 _roninGatewayV3; - BridgeTracking _bridgeTracking; - BridgeSlash _bridgeSlash; - BridgeReward _bridgeReward; - - PauseEnforcer _mainchainPauseEnforcer; - MainchainGatewayV3 _mainchainGatewayV3; - MainchainGatewayBatcher _mainchainGatewayBatcher; - IMainchainBridgeManager _mainchainBridgeManager; - WethUnwrapper _mainchainWethUnwrapper; - - MockWrappedToken _roninWeth; - MockWrappedToken _roninWron; - MockERC20 _roninAxs; - MockSLP _roninSlp; - MockUSDC _roninUsdc; - MockERC721 _roninMockERC721; - MockERC1155 _roninMockERC1155; - - MockWrappedToken _mainchainWeth; - MockERC20 _mainchainAxs; - MockSLP _mainchainSlp; - MockUSDC _mainchainUsdc; - MockERC721 _mainchainMockERC721; - MockERC1155 _mainchainMockERC1155; - - MockValidatorContract_OnlyTiming_ForHardhatTest _validatorSet; - - RoninBridgeAdminUtils _roninProposalUtils; - MainchainBridgeAdminUtils _mainchainProposalUtils; - - MockERC20 _mainchainMockERC20; - MockPoisonERC20 _mainchainMockPoisonERC20; - MockERC20 _roninMockERC20; - MockPoisonERC20 _roninMockPoisonERC20; + address internal sender; + + IGeneralConfig internal _config; + ISharedArgument.SharedParameter internal _param; + + IPauseEnforcer internal _roninPauseEnforcer; + IRoninBridgeManager internal _roninBridgeManager; + IRoninGatewayV3 internal _roninGatewayV3; + IBridgeTracking internal _bridgeTracking; + IBridgeSlash internal _bridgeSlash; + IBridgeReward internal _bridgeReward; + + IPauseEnforcer internal _mainchainPauseEnforcer; + IMainchainGatewayV3 internal _mainchainGatewayV3; + IMainchainGatewayBatcher internal _mainchainGatewayBatcher; + IMainchainBridgeManager internal _mainchainBridgeManager; + WethUnwrapper internal _mainchainWethUnwrapper; + + MockWrappedToken internal _roninWeth; + MockWrappedToken internal _roninWron; + MockERC20 internal _roninAxs; + MockSLP internal _roninSlp; + MockUSDC internal _roninUsdc; + MockERC721 internal _roninMockERC721; + MockERC1155 internal _roninMockERC1155; + + MockWrappedToken internal _mainchainWeth; + MockERC20 internal _mainchainAxs; + MockSLP internal _mainchainSlp; + MockUSDC internal _mainchainUsdc; + MockERC721 internal _mainchainMockERC721; + MockERC1155 internal _mainchainMockERC1155; + + MockValidatorContract_OnlyTiming_ForHardhatTest internal _validatorSet; + + RoninBridgeAdminUtils internal _roninProposalUtils; + MainchainBridgeAdminUtils internal _mainchainProposalUtils; + + MockERC20 internal _mainchainMockERC20; + MockPoisonERC20 internal _mainchainMockPoisonERC20; + MockERC20 internal _roninMockERC20; + MockPoisonERC20 internal _roninMockPoisonERC20; function setUp() public virtual { _deployGeneralConfig(); @@ -164,6 +166,10 @@ contract BaseIntegration_Test is Base_Test { _param = ISharedArgument(LibSharedAddress.CONFIG).sharedArguments(); _roninProposalUtils = new RoninBridgeAdminUtils(block.chainid, _param.test.governorPKs, _roninBridgeManager, _param.roninBridgeManager.governors[0]); _validatorSet = new MockValidatorContract_OnlyTiming_ForHardhatTest(_param.test.numberOfBlocksInEpoch); + + address proxyAdmin = LibProxy.getProxyAdmin(address(_roninBridgeManager)); + vm.prank(proxyAdmin); + TransparentUpgradeableProxyV2(payable(address(_roninBridgeManager))).changeAdmin(address(_roninBridgeManager)); } function _deployContractsOnMainchain() internal { @@ -187,7 +193,11 @@ contract BaseIntegration_Test is Base_Test { _mainchainProposalUtils = new MainchainBridgeAdminUtils(block.chainid, _param.test.governorPKs, _mainchainBridgeManager, _param.mainchainBridgeManager.governors[0]); - _mainchainGatewayBatcher = new MainchainGatewayBatcherDeploy().runWithArgs(abi.encodeCall(MainchainGatewayBatcher.initialize, (_mainchainGatewayV3))); + _mainchainGatewayBatcher = new MainchainGatewayBatcherDeploy().runWithArgs(abi.encodeWithSignature("initialize(address)", _mainchainGatewayV3)); + + address proxyAdmin = LibProxy.getProxyAdmin(address(_mainchainBridgeManager)); + vm.prank(proxyAdmin); + TransparentUpgradeableProxyV2(payable(address(_mainchainBridgeManager))).changeAdmin(address(_mainchainBridgeManager)); } function _initializeRonin() internal { @@ -205,6 +215,7 @@ contract BaseIntegration_Test is Base_Test { function _initializeMainchain() internal { _mainchainPauseEnforcerInitialize(); + _mainchainBridgeManagerInitialize(); _constructForMainchainBridgeManager(); _mainchainGatewayV3Initialize(); } @@ -218,12 +229,22 @@ contract BaseIntegration_Test is Base_Test { ISharedArgument.BridgeRewardParam memory param = _param.bridgeReward; - _bridgeReward.initialize( - param.bridgeManagerContract, param.bridgeTrackingContract, param.bridgeSlashContract, param.validatorSetContract, param.dposGA, param.rewardPerPeriod + (bool success,) = address(_bridgeReward).call( + abi.encodeWithSignature( + "initialize(address,address,address,address,address,uint256)", + param.bridgeManagerContract, + param.bridgeTrackingContract, + param.bridgeSlashContract, + param.validatorSetContract, + param.dposGA, + param.rewardPerPeriod + ) ); + require(success, "BridgeReward initialize failed"); vm.prank(_param.test.dposGA); - _bridgeReward.initializeREP2(); + (success,) = address(_bridgeReward).call(abi.encodeWithSignature("initializeREP2()")); + require(success, "BridgeReward initializeREP2 failed"); } function _bridgeTrackingInitialize() internal { @@ -233,11 +254,18 @@ contract BaseIntegration_Test is Base_Test { ISharedArgument.BridgeTrackingParam memory param = _param.bridgeTracking; - _bridgeTracking.initialize(param.bridgeContract, param.validatorContract, param.startedAtBlock); - // _bridgeTracking.initializeV2(); NOT INITIALIZE V2 - _bridgeTracking.initializeV3(address(_roninBridgeManager), address(_bridgeSlash), address(_bridgeReward), _param.test.dposGA); + (bool success,) = address(_bridgeTracking).call( + abi.encodeWithSignature("initialize(address,address,uint256)", param.bridgeContract, param.validatorContract, param.startedAtBlock) + ); + require(success, "BridgeTracking initialize failed"); + // address(_bridgeTracking).call(abi.encodeWithSignature("initializeV2()"); NOT INITIALIZE + (success,) = address(_bridgeTracking).call( + abi.encodeWithSignature("initializeV3(address,address,address,address)", (_roninBridgeManager), (_bridgeSlash), (_bridgeReward), _param.test.dposGA) + ); + require(success, "BridgeTracking initializeV3 failed"); vm.prank(_param.test.dposGA); - _bridgeTracking.initializeREP2(); + (success,) = address(_bridgeTracking).call(abi.encodeWithSignature("initializeREP2()")); + require(success, "BridgeTracking initializeREP2 failed"); // _bridgeTracking.initializeV2(); // _bridgeTracking.initializeV3(address(_roninBridgeManager), address(_bridgeSlash), address(_bridgeReward), _param.test.dposGA); } @@ -250,10 +278,16 @@ contract BaseIntegration_Test is Base_Test { ISharedArgument.BridgeSlashParam memory param = _param.bridgeSlash; - _bridgeSlash.initialize(param.validatorContract, param.bridgeManagerContract, param.bridgeTrackingContract, param.dposGA); + (bool success,) = address(_bridgeSlash).call( + abi.encodeWithSignature( + "initialize(address,address,address,address)", param.validatorContract, param.bridgeManagerContract, param.bridgeTrackingContract, param.dposGA + ) + ); + require(success, "BridgeSlash initialize failed"); vm.prank(_param.test.dposGA); - _bridgeSlash.initializeREP2(); + (success,) = address(_bridgeSlash).call(abi.encodeWithSignature("initializeREP2()")); + require(success, "BridgeSlash initializeREP2 failed"); } function _roninPauseEnforcerInitialize() internal { @@ -261,7 +295,9 @@ contract BaseIntegration_Test is Base_Test { ISharedArgument.PauseEnforcerParam memory param = _param.roninPauseEnforcer; - _roninPauseEnforcer.initialize(IPauseTarget(param.target), param.admin, param.sentries); + (bool success,) = + address(_roninPauseEnforcer).call(abi.encodeWithSignature("initialize(address,address,address[])", param.target, param.admin, param.sentries)); + require(success, "RoninPauseEnforcer initialize failed"); } function _roninGatewayV3Initialize() internal { @@ -284,20 +320,25 @@ contract BaseIntegration_Test is Base_Test { ISharedArgument.RoninGatewayV3Param memory param = _param.roninGatewayV3; - _roninGatewayV3.initialize( - param.roleSetter, - param.numerator, - param.denominator, - param.trustedNumerator, - param.trustedDenominator, - param.withdrawalMigrators, - param.packedAddresses, - param.packedNumbers, - param.standards + (bool success,) = address(_roninGatewayV3).call( + abi.encodeWithSignature( + "initialize(address,uint256,uint256,uint256,uint256,address[],address[][2],uint256[][2],uint8[])", + param.roleSetter, + param.numerator, + param.denominator, + param.trustedNumerator, + param.trustedDenominator, + param.withdrawalMigrators, + param.packedAddresses, + param.packedNumbers, + param.standards + ) ); - - _roninGatewayV3.initializeV2(); - _roninGatewayV3.initializeV3(address(_roninBridgeManager)); + require(success, "RoninGatewayV3 initialize failed"); + (success,) = address(_roninGatewayV3).call(abi.encodeWithSignature("initializeV2()")); + require(success, "RoninGatewayV3 initializeV2 failed"); + (success,) = address(_roninGatewayV3).call(abi.encodeWithSignature("initializeV3(address)", _roninBridgeManager)); + require(success, "RoninGatewayV3 initializeV3 failed"); } function _constructForRoninBridgeManager() internal { @@ -336,7 +377,9 @@ contract BaseIntegration_Test is Base_Test { executor: address(0), targetOption: GlobalProposal.TargetOption.BridgeManager, value: 0, - calldata_: abi.encodeCall(GlobalCoreGovernance.updateManyTargetOption, (param.targetOptions, param.targets)), + calldata_: abi.encodeCall( + TransparentUpgradeableProxyV2.functionDelegateCall, (abi.encodeCall(GlobalCoreGovernance.updateManyTargetOption, (param.targetOptions, param.targets))) + ), gasAmount: 500_000, nonce: _roninBridgeManager.round(0) + 1 }); @@ -353,7 +396,9 @@ contract BaseIntegration_Test is Base_Test { executor: address(0), targetOption: GlobalProposal.TargetOption.BridgeManager, value: 0, - calldata_: abi.encodeCall(IHasContracts.setContract, (ContractType.BRIDGE, param.bridgeContract)), + calldata_: abi.encodeCall( + TransparentUpgradeableProxyV2.functionDelegateCall, (abi.encodeCall(IHasContracts.setContract, (ContractType.BRIDGE, param.bridgeContract))) + ), gasAmount: 500_000, nonce: _roninBridgeManager.round(0) + 1 }); @@ -366,7 +411,8 @@ contract BaseIntegration_Test is Base_Test { { // set callback register - bytes memory calldata_ = abi.encodeCall(IBridgeManagerCallbackRegister.registerCallbacks, (param.callbackRegisters)); + bytes memory calldata_ = + abi.encodeWithSignature("functionDelegateCall(bytes)", abi.encodeWithSignature("registerCallbacks(address[])", param.callbackRegisters)); GlobalProposal.GlobalProposalDetail memory globalProposal = _roninProposalUtils.createGlobalProposal({ expiryTimestamp: block.timestamp + 10, executor: address(0), @@ -390,7 +436,9 @@ contract BaseIntegration_Test is Base_Test { executor: address(0), targetOption: GlobalProposal.TargetOption.BridgeManager, value: 0, - calldata_: abi.encodeCall(IBridgeManager.setMinRequiredGovernor, (_param.roninBridgeManager.minRequiredGovernor)), + calldata_: abi.encodeWithSignature( + "functionDelegateCall(bytes)", abi.encodeCall(IBridgeManager.setMinRequiredGovernor, (_param.roninBridgeManager.minRequiredGovernor)) + ), gasAmount: 500_000, nonce: _roninBridgeManager.round(0) + 1 }); @@ -429,7 +477,9 @@ contract BaseIntegration_Test is Base_Test { executor: address(0), targetOption: GlobalProposal.TargetOption.BridgeManager, value: 0, - calldata_: abi.encodeCall(GlobalCoreGovernance.updateManyTargetOption, (param.targetOptions, param.targets)), + calldata_: abi.encodeCall( + TransparentUpgradeableProxyV2.functionDelegateCall, (abi.encodeCall(GlobalCoreGovernance.updateManyTargetOption, (param.targetOptions, param.targets))) + ), gasAmount: 500_000, nonce: _mainchainBridgeManager.round(0) + 1 }); @@ -446,7 +496,9 @@ contract BaseIntegration_Test is Base_Test { executor: address(0), targetOption: GlobalProposal.TargetOption.BridgeManager, value: 0, - calldata_: abi.encodeCall(IHasContracts.setContract, (ContractType.BRIDGE, param.bridgeContract)), + calldata_: abi.encodeCall( + TransparentUpgradeableProxyV2.functionDelegateCall, (abi.encodeCall(IHasContracts.setContract, (ContractType.BRIDGE, param.bridgeContract))) + ), gasAmount: 500_000, nonce: _mainchainBridgeManager.round(0) + 1 }); @@ -459,7 +511,8 @@ contract BaseIntegration_Test is Base_Test { { // set callback register - bytes memory calldata_ = abi.encodeCall(IBridgeManagerCallbackRegister.registerCallbacks, (param.callbackRegisters)); + bytes memory calldata_ = + abi.encodeWithSignature("functionDelegateCall(bytes)", abi.encodeWithSignature("registerCallbacks(address[])", param.callbackRegisters)); GlobalProposal.GlobalProposalDetail memory globalProposal = _mainchainProposalUtils.createGlobalProposal({ expiryTimestamp: block.timestamp + 10, executor: address(0), @@ -483,7 +536,9 @@ contract BaseIntegration_Test is Base_Test { executor: address(0), targetOption: GlobalProposal.TargetOption.BridgeManager, value: 0, - calldata_: abi.encodeCall(IBridgeManager.setMinRequiredGovernor, (_param.roninBridgeManager.minRequiredGovernor)), + calldata_: abi.encodeWithSignature( + "functionDelegateCall(bytes)", abi.encodeCall(IBridgeManager.setMinRequiredGovernor, (_param.roninBridgeManager.minRequiredGovernor)) + ), gasAmount: 500_000, nonce: _mainchainBridgeManager.round(0) + 1 }); @@ -510,6 +565,7 @@ contract BaseIntegration_Test is Base_Test { param.targetOptions, param.targets ); + emit LogNamedArray("BridgeManager governors", param.governors); } function _mainchainGatewayV3Initialize() internal { @@ -544,28 +600,36 @@ contract BaseIntegration_Test is Base_Test { ISharedArgument.MainchainGatewayV3Param memory param = _param.mainchainGatewayV3; - _mainchainGatewayV3.initialize( - param.roleSetter, - IWETH(param.wrappedToken), - block.chainid, - param.numerator, - param.highTierVWNumerator, - param.denominator, - param.addresses, - param.thresholds, - param.standards + (bool success,) = address(_mainchainGatewayV3).call( + abi.encodeWithSignature( + "initialize(address,address,uint256,uint256,uint256,uint256,address[][3],uint256[][4],uint8[])", + param.roleSetter, + IWETH(param.wrappedToken), + block.chainid, + param.numerator, + param.highTierVWNumerator, + param.denominator, + param.addresses, + param.thresholds, + param.standards + ) ); - - _mainchainGatewayV3.initializeV2(address(_mainchainBridgeManager)); - _mainchainGatewayV3.initializeV3(); - _mainchainGatewayV3.initializeV4(payable(address(_mainchainWethUnwrapper))); + require(success, "MainchainGatewayV3 initialize failed"); + (success,) = address(_mainchainGatewayV3).call(abi.encodeWithSignature("initializeV2(address)", _mainchainBridgeManager)); + require(success, "MainchainGatewayV3 initializeV2 failed"); + (success,) = address(_mainchainGatewayV3).call(abi.encodeWithSignature("initializeV3()")); + require(success, "MainchainGatewayV3 initializeV3 failed"); + (success,) = address(_mainchainGatewayV3).call(abi.encodeWithSignature("initializeV4(address)", _mainchainWethUnwrapper)); + require(success, "MainchainGatewayV3 initializeV4 failed"); } function _mainchainPauseEnforcerInitialize() internal { _param.mainchainPauseEnforcer.target = address(_mainchainGatewayV3); ISharedArgument.PauseEnforcerParam memory param = _param.mainchainPauseEnforcer; - _mainchainPauseEnforcer.initialize(IPauseTarget(param.target), param.admin, param.sentries); + (bool success,) = + address(_mainchainPauseEnforcer).call(abi.encodeWithSignature("initialize(address,address,address[])", param.target, param.admin, param.sentries)); + require(success, "MainchainPauseEnforcer initialize failed"); } function _getMainchainAndRoninTokens() diff --git a/test/bridge/integration/bridge-manager/proposal-executor/executor.proposeCurrent.RoninBridgeManager.t.sol b/test/bridge/integration/bridge-manager/proposal-executor/executor.proposeCurrent.RoninBridgeManager.t.sol index 2b23582e..2488ed44 100644 --- a/test/bridge/integration/bridge-manager/proposal-executor/executor.proposeCurrent.RoninBridgeManager.t.sol +++ b/test/bridge/integration/bridge-manager/proposal-executor/executor.proposeCurrent.RoninBridgeManager.t.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; -import { console2 as console } from "forge-std/console2.sol"; +import { console } from "forge-std/console.sol"; import { GlobalProposal } from "@ronin/contracts/libraries/GlobalProposal.sol"; import { Ballot } from "@ronin/contracts/libraries/Ballot.sol"; import { ContractType } from "@ronin/contracts/utils/ContractType.sol"; @@ -67,13 +67,23 @@ contract ProposalWithExecutor_CurrentNetworkProposal_RoninBridgeManager_Test is _proposal.targets.push(address(_roninBridgeManager)); _proposal.values.push(0); - _proposal.calldatas.push(abi.encodeCall(IBridgeManager.addBridgeOperators, (_voteWeights, _addingGovernors, _addingOperators))); + _proposal.calldatas.push( + abi.encodeWithSignature( + "functionDelegateCall(bytes)", + abi.encodeWithSignature("addBridgeOperators(uint96[],address[],address[])", _voteWeights, _addingGovernors, _addingOperators) + ) + ); _proposal.gasAmounts.push(1_000_000); // Duplicate the internal call _proposal.targets.push(address(_roninBridgeManager)); _proposal.values.push(0); - _proposal.calldatas.push(abi.encodeCall(IBridgeManager.addBridgeOperators, (_voteWeights, _addingGovernors, _addingOperators))); + _proposal.calldatas.push( + abi.encodeWithSignature( + "functionDelegateCall(bytes)", + abi.encodeWithSignature("addBridgeOperators(uint96[],address[],address[])", _voteWeights, _addingGovernors, _addingOperators) + ) + ); _proposal.gasAmounts.push(1_000_000); } diff --git a/test/bridge/integration/bridge-manager/proposal-executor/executor.proposeGlobal.RoninBridgeManager.t.sol b/test/bridge/integration/bridge-manager/proposal-executor/executor.proposeGlobal.RoninBridgeManager.t.sol index 98aac58d..d71565e5 100644 --- a/test/bridge/integration/bridge-manager/proposal-executor/executor.proposeGlobal.RoninBridgeManager.t.sol +++ b/test/bridge/integration/bridge-manager/proposal-executor/executor.proposeGlobal.RoninBridgeManager.t.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; -import { console2 as console } from "forge-std/console2.sol"; +import { console } from "forge-std/console.sol"; import { GlobalProposal } from "@ronin/contracts/libraries/GlobalProposal.sol"; import { Ballot } from "@ronin/contracts/libraries/Ballot.sol"; import { ContractType } from "@ronin/contracts/utils/ContractType.sol"; @@ -64,13 +64,23 @@ contract ProposalWithExecutor_GlobalProposal_RoninBridgeManager_Test is BaseInte _globalProposal.targetOptions.push(GlobalProposal.TargetOption.BridgeManager); _globalProposal.values.push(0); - _globalProposal.calldatas.push(abi.encodeCall(IBridgeManager.addBridgeOperators, (_voteWeights, _addingGovernors, _addingOperators))); + _globalProposal.calldatas.push( + abi.encodeWithSignature( + "functionDelegateCall(bytes)", + abi.encodeWithSignature("addBridgeOperators(uint96[],address[],address[])", _voteWeights, _addingGovernors, _addingOperators) + ) + ); _globalProposal.gasAmounts.push(1_000_000); // Duplicate the internal call _globalProposal.targetOptions.push(GlobalProposal.TargetOption.BridgeManager); _globalProposal.values.push(0); - _globalProposal.calldatas.push(abi.encodeCall(IBridgeManager.addBridgeOperators, (_voteWeights, _addingGovernors, _addingOperators))); + _globalProposal.calldatas.push( + abi.encodeWithSignature( + "functionDelegateCall(bytes)", + abi.encodeWithSignature("addBridgeOperators(uint96[],address[],address[])", _voteWeights, _addingGovernors, _addingOperators) + ) + ); _globalProposal.gasAmounts.push(1_000_000); } diff --git a/test/bridge/integration/bridge-manager/proposal-executor/executor.proposeMainchain.RoninBridgeManager.t.sol b/test/bridge/integration/bridge-manager/proposal-executor/executor.proposeMainchain.RoninBridgeManager.t.sol index dd811cf3..4e297c51 100644 --- a/test/bridge/integration/bridge-manager/proposal-executor/executor.proposeMainchain.RoninBridgeManager.t.sol +++ b/test/bridge/integration/bridge-manager/proposal-executor/executor.proposeMainchain.RoninBridgeManager.t.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; -import { console2 as console } from "forge-std/console2.sol"; +import { console } from "forge-std/console.sol"; import { GlobalProposal } from "@ronin/contracts/libraries/GlobalProposal.sol"; import { Ballot } from "@ronin/contracts/libraries/Ballot.sol"; import { ContractType } from "@ronin/contracts/utils/ContractType.sol"; diff --git a/test/bridge/integration/bridge-manager/proposal-executor/executor.relayGlobal.MainchainBridgeManager.t.sol b/test/bridge/integration/bridge-manager/proposal-executor/executor.relayGlobal.MainchainBridgeManager.t.sol index ae91a290..97fc274a 100644 --- a/test/bridge/integration/bridge-manager/proposal-executor/executor.relayGlobal.MainchainBridgeManager.t.sol +++ b/test/bridge/integration/bridge-manager/proposal-executor/executor.relayGlobal.MainchainBridgeManager.t.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; -import { console2 as console } from "forge-std/console2.sol"; +import { console } from "forge-std/console.sol"; import { GlobalProposal } from "@ronin/contracts/libraries/GlobalProposal.sol"; import { Ballot } from "@ronin/contracts/libraries/Ballot.sol"; import { ContractType } from "@ronin/contracts/utils/ContractType.sol"; @@ -65,13 +65,21 @@ contract ProposalWithExecutor_GlobalProposal_MainchainBridgeManager_Test is Base _globalProposal.targetOptions.push(GlobalProposal.TargetOption.BridgeManager); _globalProposal.values.push(0); - _globalProposal.calldatas.push(abi.encodeCall(IBridgeManager.addBridgeOperators, (_voteWeights, _addingGovernors, _addingOperators))); + _globalProposal.calldatas.push( + abi.encodeWithSignature( + "functionDelegateCall(bytes)", abi.encodeCall(IBridgeManager.addBridgeOperators, (_voteWeights, _addingGovernors, _addingOperators)) + ) + ); _globalProposal.gasAmounts.push(1_000_000); // Duplicate the internal call _globalProposal.targetOptions.push(GlobalProposal.TargetOption.BridgeManager); _globalProposal.values.push(0); - _globalProposal.calldatas.push(abi.encodeCall(IBridgeManager.addBridgeOperators, (_voteWeights, _addingGovernors, _addingOperators))); + _globalProposal.calldatas.push( + abi.encodeWithSignature( + "functionDelegateCall(bytes)", abi.encodeCall(IBridgeManager.addBridgeOperators, (_voteWeights, _addingGovernors, _addingOperators)) + ) + ); _globalProposal.gasAmounts.push(1_000_000); } diff --git a/test/bridge/integration/bridge-manager/proposal-executor/executor.relayMainchain.MainchainBridgeManager.t.sol b/test/bridge/integration/bridge-manager/proposal-executor/executor.relayMainchain.MainchainBridgeManager.t.sol index c06d6792..88f9582f 100644 --- a/test/bridge/integration/bridge-manager/proposal-executor/executor.relayMainchain.MainchainBridgeManager.t.sol +++ b/test/bridge/integration/bridge-manager/proposal-executor/executor.relayMainchain.MainchainBridgeManager.t.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; -import { console2 as console } from "forge-std/console2.sol"; +import { console } from "forge-std/console.sol"; import { GlobalProposal } from "@ronin/contracts/libraries/GlobalProposal.sol"; import { Ballot } from "@ronin/contracts/libraries/Ballot.sol"; import { ContractType } from "@ronin/contracts/utils/ContractType.sol"; @@ -66,13 +66,23 @@ contract ProposalWithExecutor_MainchainProposal_MainchainBridgeManager_Test is B _proposal.targets.push(address(_mainchainBridgeManager)); // Test Relay _proposal.values.push(0); - _proposal.calldatas.push(abi.encodeCall(IBridgeManager.addBridgeOperators, (_voteWeights, _addingGovernors, _addingOperators))); + _proposal.calldatas.push( + abi.encodeWithSignature( + "functionDelegateCall(bytes)", + (abi.encodeWithSignature("addBridgeOperators(uint96[],address[],address[])", _voteWeights, _addingGovernors, _addingOperators)) + ) + ); _proposal.gasAmounts.push(1_000_000); // Duplicate the internal call _proposal.targets.push(address(_mainchainBridgeManager)); // Test Relay _proposal.values.push(0); - _proposal.calldatas.push(abi.encodeCall(IBridgeManager.addBridgeOperators, (_voteWeights, _addingGovernors, _addingOperators))); + _proposal.calldatas.push( + abi.encodeWithSignature( + "functionDelegateCall(bytes)", + (abi.encodeWithSignature("addBridgeOperators(uint96[],address[],address[])", _voteWeights, _addingGovernors, _addingOperators)) + ) + ); _proposal.gasAmounts.push(1_000_000); } diff --git a/test/bridge/integration/bridge-manager/proposal-loose/proposeCurrent.RoninBridgeManager.t.sol b/test/bridge/integration/bridge-manager/proposal-loose/proposeCurrent.RoninBridgeManager.t.sol index c994d91e..bff63adf 100644 --- a/test/bridge/integration/bridge-manager/proposal-loose/proposeCurrent.RoninBridgeManager.t.sol +++ b/test/bridge/integration/bridge-manager/proposal-loose/proposeCurrent.RoninBridgeManager.t.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; -import { console2 as console } from "forge-std/console2.sol"; +import { console } from "forge-std/console.sol"; import { GlobalProposal } from "@ronin/contracts/libraries/GlobalProposal.sol"; import { Ballot } from "@ronin/contracts/libraries/Ballot.sol"; import { ContractType } from "@ronin/contracts/utils/ContractType.sol"; @@ -63,13 +63,23 @@ contract LooseProposal_CurrentNetworkProposal_RoninBridgeManager_Test is BaseInt _proposal.targets.push(address(_roninBridgeManager)); _proposal.values.push(0); - _proposal.calldatas.push(abi.encodeCall(IBridgeManager.addBridgeOperators, (_voteWeights, _addingGovernors, _addingOperators))); + _proposal.calldatas.push( + abi.encodeWithSignature( + "functionDelegateCall(bytes)", + abi.encodeWithSignature("addBridgeOperators(uint96[],address[],address[])", _voteWeights, _addingGovernors, _addingOperators) + ) + ); _proposal.gasAmounts.push(1_000_000); // Duplicate the internal call _proposal.targets.push(address(_roninBridgeManager)); _proposal.values.push(0); - _proposal.calldatas.push(abi.encodeCall(IBridgeManager.addBridgeOperators, (_voteWeights, _addingGovernors, _addingOperators))); + _proposal.calldatas.push( + abi.encodeWithSignature( + "functionDelegateCall(bytes)", + abi.encodeWithSignature("addBridgeOperators(uint96[],address[],address[])", _voteWeights, _addingGovernors, _addingOperators) + ) + ); _proposal.gasAmounts.push(1_000_000); } diff --git a/test/bridge/integration/bridge-manager/proposal-loose/proposeGlobal.RoninBridgeManager.t.sol b/test/bridge/integration/bridge-manager/proposal-loose/proposeGlobal.RoninBridgeManager.t.sol index c067afb1..345e3bc5 100644 --- a/test/bridge/integration/bridge-manager/proposal-loose/proposeGlobal.RoninBridgeManager.t.sol +++ b/test/bridge/integration/bridge-manager/proposal-loose/proposeGlobal.RoninBridgeManager.t.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; -import { console2 as console } from "forge-std/console2.sol"; +import { console } from "forge-std/console.sol"; import { GlobalProposal } from "@ronin/contracts/libraries/GlobalProposal.sol"; import { Ballot } from "@ronin/contracts/libraries/Ballot.sol"; import { ContractType } from "@ronin/contracts/utils/ContractType.sol"; @@ -60,14 +60,24 @@ contract LooseProposal_GlobalProposal_RoninBridgeManager_Test is BaseIntegration _globalProposal.targetOptions.push(GlobalProposal.TargetOption.BridgeManager); _globalProposal.values.push(0); - _globalProposal.calldatas.push(abi.encodeCall(IBridgeManager.addBridgeOperators, (_voteWeights, _addingGovernors, _addingOperators))); - _globalProposal.gasAmounts.push(1_000_000); + _globalProposal.calldatas.push( + abi.encodeWithSignature( + "functionDelegateCall(bytes)", + (abi.encodeWithSignature("addBridgeOperators(uint96[],address[],address[])", _voteWeights, _addingGovernors, _addingOperators)) + ) + ); + _globalProposal.gasAmounts.push(10_000_000); // Duplicate the internal call _globalProposal.targetOptions.push(GlobalProposal.TargetOption.BridgeManager); _globalProposal.values.push(0); - _globalProposal.calldatas.push(abi.encodeCall(IBridgeManager.addBridgeOperators, (_voteWeights, _addingGovernors, _addingOperators))); - _globalProposal.gasAmounts.push(1_000_000); + _globalProposal.calldatas.push( + abi.encodeWithSignature( + "functionDelegateCall(bytes)", + (abi.encodeWithSignature("addBridgeOperators(uint96[],address[],address[])", _voteWeights, _addingGovernors, _addingOperators)) + ) + ); + _globalProposal.gasAmounts.push(10_000_000); } // Should the strict proposal failed when containing one failed internal call diff --git a/test/bridge/integration/bridge-manager/proposal-loose/relayGlobal.MainchainBridgeManager.t.sol b/test/bridge/integration/bridge-manager/proposal-loose/relayGlobal.MainchainBridgeManager.t.sol index cf1c01c6..17d6aa31 100644 --- a/test/bridge/integration/bridge-manager/proposal-loose/relayGlobal.MainchainBridgeManager.t.sol +++ b/test/bridge/integration/bridge-manager/proposal-loose/relayGlobal.MainchainBridgeManager.t.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; -import { console2 as console } from "forge-std/console2.sol"; +import { console } from "forge-std/console.sol"; import { GlobalProposal } from "@ronin/contracts/libraries/GlobalProposal.sol"; import { Ballot } from "@ronin/contracts/libraries/Ballot.sol"; import { ContractType } from "@ronin/contracts/utils/ContractType.sol"; @@ -62,13 +62,23 @@ contract LooseProposal_GlobalProposal_MainchainBridgeManager_Test is BaseIntegra _globalProposal.targetOptions.push(GlobalProposal.TargetOption.BridgeManager); _globalProposal.values.push(0); - _globalProposal.calldatas.push(abi.encodeCall(IBridgeManager.addBridgeOperators, (_voteWeights, _addingGovernors, _addingOperators))); + _globalProposal.calldatas.push( + abi.encodeWithSignature( + "functionDelegateCall(bytes)", + abi.encodeWithSignature("addBridgeOperators(uint96[],address[],address[])", _voteWeights, _addingGovernors, _addingOperators) + ) + ); _globalProposal.gasAmounts.push(1_000_000); // Duplicate the internal call _globalProposal.targetOptions.push(GlobalProposal.TargetOption.BridgeManager); _globalProposal.values.push(0); - _globalProposal.calldatas.push(abi.encodeCall(IBridgeManager.addBridgeOperators, (_voteWeights, _addingGovernors, _addingOperators))); + _globalProposal.calldatas.push( + abi.encodeWithSignature( + "functionDelegateCall(bytes)", + abi.encodeWithSignature("addBridgeOperators(uint96[],address[],address[])", _voteWeights, _addingGovernors, _addingOperators) + ) + ); _globalProposal.gasAmounts.push(1_000_000); } diff --git a/test/bridge/integration/bridge-manager/propose-and-cast-vote/voteBridgeOperator.RoninBridgeManager.t.sol b/test/bridge/integration/bridge-manager/propose-and-cast-vote/voteBridgeOperator.RoninBridgeManager.t.sol index 36172722..702e4a61 100644 --- a/test/bridge/integration/bridge-manager/propose-and-cast-vote/voteBridgeOperator.RoninBridgeManager.t.sol +++ b/test/bridge/integration/bridge-manager/propose-and-cast-vote/voteBridgeOperator.RoninBridgeManager.t.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; -import { console2 as console } from "forge-std/console2.sol"; +import { console } from "forge-std/console.sol"; import { GlobalProposal } from "@ronin/contracts/libraries/GlobalProposal.sol"; import { Ballot } from "@ronin/contracts/libraries/Ballot.sol"; import { ContractType } from "@ronin/contracts/utils/ContractType.sol"; @@ -61,7 +61,10 @@ contract VoteBridgeOperator_RoninBridgeManager_Test is BaseIntegration_Test { executor: address(0), targetOption: GlobalProposal.TargetOption.BridgeManager, value: 0, - calldata_: abi.encodeCall(IBridgeManager.addBridgeOperators, (_voteWeights, _addingGovernors, _addingOperators)), + calldata_: abi.encodeWithSignature( + "functionDelegateCall(bytes)", + abi.encodeWithSignature("addBridgeOperators(uint96[],address[],address[])", _voteWeights, _addingGovernors, _addingOperators) + ), gasAmount: 1_000_000, nonce: _roninBridgeManager.round(0) + 1 }); @@ -118,7 +121,10 @@ contract VoteBridgeOperator_RoninBridgeManager_Test is BaseIntegration_Test { executor: address(0), targetOption: GlobalProposal.TargetOption.BridgeManager, value: 0, - calldata_: abi.encodeCall(IBridgeManager.addBridgeOperators, (_voteWeights, _addingGovernors, _addingOperators)), + calldata_: abi.encodeWithSignature( + "functionDelegateCall(bytes)", + abi.encodeWithSignature("addBridgeOperators(uint96[],address[],address[])", _voteWeights, _addingGovernors, _addingOperators) + ), gasAmount: 200_000 * numAddingOperators, nonce: _roninBridgeManager.round(0) + 1 }); diff --git a/test/bridge/integration/bridge-manager/update-bridge-operator/updateOperator.RoninBridgeManager.t.sol b/test/bridge/integration/bridge-manager/update-bridge-operator/updateOperator.RoninBridgeManager.t.sol index 57abebd9..3e5d49eb 100644 --- a/test/bridge/integration/bridge-manager/update-bridge-operator/updateOperator.RoninBridgeManager.t.sol +++ b/test/bridge/integration/bridge-manager/update-bridge-operator/updateOperator.RoninBridgeManager.t.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; -import { console2 as console } from "forge-std/console2.sol"; +import { console } from "forge-std/console.sol"; import { Transfer } from "@ronin/contracts/libraries/Transfer.sol"; import { LibTokenInfo, TokenInfo, TokenStandard } from "@ronin/contracts/libraries/LibTokenInfo.sol"; import { LibTokenOwner, TokenOwner } from "@ronin/contracts/libraries/LibTokenOwner.sol"; diff --git a/test/bridge/integration/mainchain-gateway/requestDepositFor.Batch.MainchainGatewayV3.t.sol b/test/bridge/integration/mainchain-gateway/requestDepositFor.Batch.MainchainGatewayV3.t.sol index cde5da43..290f0d7b 100644 --- a/test/bridge/integration/mainchain-gateway/requestDepositFor.Batch.MainchainGatewayV3.t.sol +++ b/test/bridge/integration/mainchain-gateway/requestDepositFor.Batch.MainchainGatewayV3.t.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; -import { console2 as console } from "forge-std/console2.sol"; +import { console } from "forge-std/console.sol"; import { Transfer as LibTransfer } from "@ronin/contracts/libraries/Transfer.sol"; import "@ronin/contracts/libraries/LibRequestBatch.sol"; import "@ronin/contracts/libraries/LibTokenInfoBatch.sol"; diff --git a/test/bridge/integration/mainchain-gateway/requestDepositFor.MainchainGatewayV3.t.sol b/test/bridge/integration/mainchain-gateway/requestDepositFor.MainchainGatewayV3.t.sol index 7b7710e5..d563dee8 100644 --- a/test/bridge/integration/mainchain-gateway/requestDepositFor.MainchainGatewayV3.t.sol +++ b/test/bridge/integration/mainchain-gateway/requestDepositFor.MainchainGatewayV3.t.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; -import { console2 as console } from "forge-std/console2.sol"; +import { console } from "forge-std/console.sol"; import { Transfer as LibTransfer } from "@ronin/contracts/libraries/Transfer.sol"; import { LibTokenInfo, TokenInfo, TokenStandard } from "@ronin/contracts/libraries/LibTokenInfo.sol"; diff --git a/test/bridge/integration/mainchain-gateway/submit-withdrawal/submitWithdrawal.MainchainGatewayV3.erc20.benchmark.t.sol b/test/bridge/integration/mainchain-gateway/submit-withdrawal/submitWithdrawal.MainchainGatewayV3.erc20.benchmark.t.sol index 7643cc7b..ad23f379 100644 --- a/test/bridge/integration/mainchain-gateway/submit-withdrawal/submitWithdrawal.MainchainGatewayV3.erc20.benchmark.t.sol +++ b/test/bridge/integration/mainchain-gateway/submit-withdrawal/submitWithdrawal.MainchainGatewayV3.erc20.benchmark.t.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; -import { console2 as console } from "forge-std/console2.sol"; +import { console } from "forge-std/console.sol"; import { ContractType } from "@ronin/contracts/utils/ContractType.sol"; import { Transfer } from "@ronin/contracts/libraries/Transfer.sol"; import { LibTokenInfo, TokenStandard } from "@ronin/contracts/libraries/LibTokenInfo.sol"; diff --git a/test/bridge/integration/mainchain-gateway/submit-withdrawal/submitWithdrawal.MainchainGatewayV3.native.benchmark.t.sol b/test/bridge/integration/mainchain-gateway/submit-withdrawal/submitWithdrawal.MainchainGatewayV3.native.benchmark.t.sol index d7605448..44dfcdd6 100644 --- a/test/bridge/integration/mainchain-gateway/submit-withdrawal/submitWithdrawal.MainchainGatewayV3.native.benchmark.t.sol +++ b/test/bridge/integration/mainchain-gateway/submit-withdrawal/submitWithdrawal.MainchainGatewayV3.native.benchmark.t.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; -import { console2 as console } from "forge-std/console2.sol"; +import { console } from "forge-std/console.sol"; import { ContractType } from "@ronin/contracts/utils/ContractType.sol"; import { Transfer } from "@ronin/contracts/libraries/Transfer.sol"; import { LibTokenInfo, TokenStandard } from "@ronin/contracts/libraries/LibTokenInfo.sol"; diff --git a/test/bridge/integration/mainchain-gateway/submit-withdrawal/submitWithdrawal.MainchainGatewayV3.t.sol b/test/bridge/integration/mainchain-gateway/submit-withdrawal/submitWithdrawal.MainchainGatewayV3.t.sol index 850e357f..2547047a 100644 --- a/test/bridge/integration/mainchain-gateway/submit-withdrawal/submitWithdrawal.MainchainGatewayV3.t.sol +++ b/test/bridge/integration/mainchain-gateway/submit-withdrawal/submitWithdrawal.MainchainGatewayV3.t.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; -import { console2 as console } from "forge-std/console2.sol"; +import { console } from "forge-std/console.sol"; import { ContractType } from "@ronin/contracts/utils/ContractType.sol"; import { Transfer } from "@ronin/contracts/libraries/Transfer.sol"; import { LibTokenInfo, TokenStandard } from "@ronin/contracts/libraries/LibTokenInfo.sol"; diff --git a/test/bridge/integration/mainchain-gateway/submit-withdrawal/submitWithdrawal.MainchainGatewayV3.weth.benchmark.t.sol b/test/bridge/integration/mainchain-gateway/submit-withdrawal/submitWithdrawal.MainchainGatewayV3.weth.benchmark.t.sol index 2f39862a..0c64a6ee 100644 --- a/test/bridge/integration/mainchain-gateway/submit-withdrawal/submitWithdrawal.MainchainGatewayV3.weth.benchmark.t.sol +++ b/test/bridge/integration/mainchain-gateway/submit-withdrawal/submitWithdrawal.MainchainGatewayV3.weth.benchmark.t.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; -import { console2 as console } from "forge-std/console2.sol"; +import { console } from "forge-std/console.sol"; import { ContractType } from "@ronin/contracts/utils/ContractType.sol"; import { Transfer } from "@ronin/contracts/libraries/Transfer.sol"; import { LibTokenInfo, TokenStandard } from "@ronin/contracts/libraries/LibTokenInfo.sol"; diff --git a/test/bridge/integration/mainchain-gateway/submitWithdrawal.MainchainGatewayV3.t.sol b/test/bridge/integration/mainchain-gateway/submitWithdrawal.MainchainGatewayV3.t.sol index 8d42983f..caa3ef71 100644 --- a/test/bridge/integration/mainchain-gateway/submitWithdrawal.MainchainGatewayV3.t.sol +++ b/test/bridge/integration/mainchain-gateway/submitWithdrawal.MainchainGatewayV3.t.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; -import { console2 as console } from "forge-std/console2.sol"; +import { console } from "forge-std/console.sol"; import { Transfer as LibTransfer } from "@ronin/contracts/libraries/Transfer.sol"; import { LibTokenInfo, TokenInfo, TokenStandard } from "@ronin/contracts/libraries/LibTokenInfo.sol"; import { SignatureConsumer } from "@ronin/contracts/interfaces/consumers/SignatureConsumer.sol"; diff --git a/test/bridge/integration/pause-enforcer/emergencyAction.PauseEnforcer.t.sol b/test/bridge/integration/pause-enforcer/emergencyAction.PauseEnforcer.t.sol index 8df9d14d..f84b332a 100644 --- a/test/bridge/integration/pause-enforcer/emergencyAction.PauseEnforcer.t.sol +++ b/test/bridge/integration/pause-enforcer/emergencyAction.PauseEnforcer.t.sol @@ -9,17 +9,13 @@ import "../BaseIntegration.t.sol"; contract EmergencyAction_PauseEnforcer_Test is BaseIntegration_Test { error ErrTargetIsNotOnPaused(); - function setUp() public virtual override { - super.setUp(); - } - // Emergency pause & emergency unpause > Should be able to emergency pause function test_EmergencyPause_RoninGatewayV3() public { vm.prank(_param.roninPauseEnforcer.sentries[0]); _roninPauseEnforcer.triggerPause(); - assertEq(_roninPauseEnforcer.emergency(), true); - assertEq(_roninGatewayV3.paused(), true); + assertEq(_roninPauseEnforcer.emergency(), true, "emergency"); + assertEq(IPauseTarget(address(_roninGatewayV3)).paused(), true, "paused"); } // Emergency pause & emergency unpause > Should the gateway cannot interacted when on pause @@ -44,9 +40,8 @@ contract EmergencyAction_PauseEnforcer_Test is BaseIntegration_Test { function test_RevertWhen_PauseAgain() public { test_EmergencyPause_RoninGatewayV3(); - vm.expectRevert(ErrTargetIsNotOnPaused.selector); - vm.prank(_param.roninPauseEnforcer.sentries[0]); + vm.expectRevert(ErrTargetIsNotOnPaused.selector); _roninPauseEnforcer.triggerPause(); } @@ -58,7 +53,7 @@ contract EmergencyAction_PauseEnforcer_Test is BaseIntegration_Test { _roninPauseEnforcer.triggerUnpause(); assertEq(_roninPauseEnforcer.emergency(), false); - assertEq(_roninGatewayV3.paused(), false); + assertEq(IPauseTarget(address(_roninGatewayV3)).paused(), false); } // Emergency pause & emergency unpause > Should the gateway can be interacted after unpause diff --git a/test/bridge/integration/pause-enforcer/normalPause.GatewayV3.t.sol b/test/bridge/integration/pause-enforcer/normalPause.GatewayV3.t.sol index c3ce75a1..ab1e10f8 100644 --- a/test/bridge/integration/pause-enforcer/normalPause.GatewayV3.t.sol +++ b/test/bridge/integration/pause-enforcer/normalPause.GatewayV3.t.sol @@ -19,7 +19,7 @@ contract NormalPause_GatewayV3_Test is BaseIntegration_Test { _roninProposalUtils.functionDelegateCall(address(_roninGatewayV3), calldata_); assertEq(_roninPauseEnforcer.emergency(), false); - assertEq(_roninGatewayV3.paused(), true); + assertEq(IPauseTarget(address(_roninGatewayV3)).paused(), true); } // Normal pause & emergency unpause > Should not be able to emergency unpause @@ -55,6 +55,6 @@ contract NormalPause_GatewayV3_Test is BaseIntegration_Test { _roninProposalUtils.functionDelegateCall(address(_roninGatewayV3), calldata_); assertEq(_roninPauseEnforcer.emergency(), false); - assertEq(_roninGatewayV3.paused(), false); + assertEq(IPauseTarget(address(_roninGatewayV3)).paused(), false); } } diff --git a/test/bridge/integration/pause-enforcer/set-config/setConfig.PauseEnforcer.t.sol b/test/bridge/integration/pause-enforcer/set-config/setConfig.PauseEnforcer.t.sol index b3fe1f9e..8dbeca8d 100644 --- a/test/bridge/integration/pause-enforcer/set-config/setConfig.PauseEnforcer.t.sol +++ b/test/bridge/integration/pause-enforcer/set-config/setConfig.PauseEnforcer.t.sol @@ -6,13 +6,9 @@ import { ContractType } from "@ronin/contracts/utils/ContractType.sol"; import "../../BaseIntegration.t.sol"; contract SetConfig_PauseEnforcer_Test is BaseIntegration_Test { - function setUp() public virtual override { - super.setUp(); - } - function test_configPauseEnforcerContract() public { - address pauseEnforcer = _roninGatewayV3.emergencyPauser(); - assertEq(pauseEnforcer, address(_roninPauseEnforcer)); + (, bytes memory ret) = address(_roninGatewayV3).staticcall(abi.encodeWithSignature("emergencyPauser()")); + assertEq(abi.decode(ret, (address)), address(_roninPauseEnforcer)); } function test_configBridgeContract() public { diff --git a/test/bridge/integration/ronin-gateway/deposit-and-record/bulkAcknowledgeMainchainWithdrew.Gateway.t.sol b/test/bridge/integration/ronin-gateway/deposit-and-record/bulkAcknowledgeMainchainWithdrew.Gateway.t.sol index 95b05c03..66359f8f 100644 --- a/test/bridge/integration/ronin-gateway/deposit-and-record/bulkAcknowledgeMainchainWithdrew.Gateway.t.sol +++ b/test/bridge/integration/ronin-gateway/deposit-and-record/bulkAcknowledgeMainchainWithdrew.Gateway.t.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; -import { console2 as console } from "forge-std/console2.sol"; +import { console } from "forge-std/console.sol"; import { Transfer } from "@ronin/contracts/libraries/Transfer.sol"; import { LibTokenInfo, TokenStandard } from "@ronin/contracts/libraries/LibTokenInfo.sol"; import "../../BaseIntegration.t.sol"; diff --git a/test/bridge/integration/ronin-gateway/deposit-and-record/bulkDepositAndRecord.Gateway.t.sol b/test/bridge/integration/ronin-gateway/deposit-and-record/bulkDepositAndRecord.Gateway.t.sol index 74306368..c04047c0 100644 --- a/test/bridge/integration/ronin-gateway/deposit-and-record/bulkDepositAndRecord.Gateway.t.sol +++ b/test/bridge/integration/ronin-gateway/deposit-and-record/bulkDepositAndRecord.Gateway.t.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; -import { console2 as console } from "forge-std/console2.sol"; +import { console } from "forge-std/console.sol"; import { Transfer } from "@ronin/contracts/libraries/Transfer.sol"; import { LibTokenInfo, TokenStandard } from "@ronin/contracts/libraries/LibTokenInfo.sol"; import { TokenOwner } from "@ronin/contracts/libraries/LibTokenOwner.sol"; diff --git a/test/bridge/integration/ronin-gateway/deposit-and-record/bulkSubmitWithdrawalSignatures.Gateway.t.sol b/test/bridge/integration/ronin-gateway/deposit-and-record/bulkSubmitWithdrawalSignatures.Gateway.t.sol index b6c9244b..42898612 100644 --- a/test/bridge/integration/ronin-gateway/deposit-and-record/bulkSubmitWithdrawalSignatures.Gateway.t.sol +++ b/test/bridge/integration/ronin-gateway/deposit-and-record/bulkSubmitWithdrawalSignatures.Gateway.t.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; -import { console2 as console } from "forge-std/console2.sol"; +import { console } from "forge-std/console.sol"; import { Transfer } from "@ronin/contracts/libraries/Transfer.sol"; import { LibTokenInfo, TokenStandard } from "@ronin/contracts/libraries/LibTokenInfo.sol"; import "../../BaseIntegration.t.sol"; diff --git a/test/bridge/integration/ronin-gateway/deposit-and-record/depositAndRecord.Gateway.t.sol b/test/bridge/integration/ronin-gateway/deposit-and-record/depositAndRecord.Gateway.t.sol index 505edc0c..98918fb6 100644 --- a/test/bridge/integration/ronin-gateway/deposit-and-record/depositAndRecord.Gateway.t.sol +++ b/test/bridge/integration/ronin-gateway/deposit-and-record/depositAndRecord.Gateway.t.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; -import { console2 as console } from "forge-std/console2.sol"; +import { console } from "forge-std/console.sol"; import { Transfer } from "@ronin/contracts/libraries/Transfer.sol"; import { LibTokenInfo, TokenStandard } from "@ronin/contracts/libraries/LibTokenInfo.sol"; import { TokenOwner } from "@ronin/contracts/libraries/LibTokenOwner.sol"; diff --git a/test/bridge/integration/ronin-gateway/depositVote.RoninGatewayV3.t.sol b/test/bridge/integration/ronin-gateway/depositVote.RoninGatewayV3.t.sol index 5dfc4c90..9724a196 100644 --- a/test/bridge/integration/ronin-gateway/depositVote.RoninGatewayV3.t.sol +++ b/test/bridge/integration/ronin-gateway/depositVote.RoninGatewayV3.t.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; -import { console2 as console } from "forge-std/console2.sol"; +import { console } from "forge-std/console.sol"; import { Transfer } from "@ronin/contracts/libraries/Transfer.sol"; import { LibTokenInfo, TokenInfo, TokenStandard } from "@ronin/contracts/libraries/LibTokenInfo.sol"; import { ContractType } from "@ronin/contracts/utils/ContractType.sol"; diff --git a/test/bridge/unit/concrete/bridge-manager/BridgeManager.t.sol b/test/bridge/unit/concrete/bridge-manager/BridgeManager.t.sol index f11f5dd0..d3fade39 100644 --- a/test/bridge/unit/concrete/bridge-manager/BridgeManager.t.sol +++ b/test/bridge/unit/concrete/bridge-manager/BridgeManager.t.sol @@ -74,6 +74,8 @@ contract BridgeManager_Unit_Concrete_Test is Base_Test { new TransparentUpgradeableProxyV2(bridgeManagerLogic, _admin, abi.encodeCall(MockBridgeManager.initialize, (bridgeOperators, governors, voteWeights))) ) ); + vm.prank(_admin); + TransparentUpgradeableProxyV2(payable(address(_bridgeManager))).changeAdmin(address(_bridgeManager)); } function _generateNewOperators() internal pure returns (address[] memory operators, address[] memory governors, uint96[] memory weights) { diff --git a/test/bridge/unit/concrete/bridge-manager/add/add.t.sol b/test/bridge/unit/concrete/bridge-manager/add/add.t.sol index 368240da..5356ca83 100644 --- a/test/bridge/unit/concrete/bridge-manager/add/add.t.sol +++ b/test/bridge/unit/concrete/bridge-manager/add/add.t.sol @@ -16,19 +16,20 @@ event BridgeOperatorsAdded(bool[] statuses, uint96[] voteWeights, address[] gove contract Add_Unit_Concrete_Test is BridgeManager_Unit_Concrete_Test { function setUp() public virtual override { BridgeManager_Unit_Concrete_Test.setUp(); - vm.startPrank({ msgSender: address(_bridgeManager) }); } function test_RevertWhen_NotSelfCall() external { // Prepare data (address[] memory addingOperators, address[] memory addingGovernors, uint96[] memory addingWeights) = _generateNewOperators(); - // Make the caller not self-call. - changePrank({ msgSender: _bridgeOperators[0] }); - // Run the test. - vm.expectRevert(abi.encodeWithSelector(ErrOnlySelfCall.selector, IBridgeManager.addBridgeOperators.selector)); - _bridgeManager.addBridgeOperators(addingWeights, addingGovernors, addingOperators); + vm.expectRevert(); + address(_bridgeManager).call( + abi.encodeWithSignature( + "functionDelegateCall(bytes)", + abi.encodeWithSignature("addBridgeOperators(uint96[],address[],address[])", addingWeights, addingGovernors, addingOperators) + ) + ); } function test_RevertWhen_ThreeInputArrayLengthMismatch() external { @@ -41,21 +42,39 @@ contract Add_Unit_Concrete_Test is BridgeManager_Unit_Concrete_Test { mstore(addingOperators, add(length, 1)) } vm.expectRevert(abi.encodeWithSelector(ErrLengthMismatch.selector, IBridgeManager.addBridgeOperators.selector)); - _bridgeManager.addBridgeOperators(addingWeights, addingGovernors, addingOperators); + vm.prank(address(_bridgeManager)); + address(_bridgeManager).call( + abi.encodeWithSignature( + "functionDelegateCall(bytes)", + abi.encodeWithSignature("addBridgeOperators(uint96[],address[],address[])", addingWeights, addingGovernors, addingOperators) + ) + ); assembly { mstore(addingOperators, length) mstore(addingGovernors, add(length, 1)) } vm.expectRevert(abi.encodeWithSelector(ErrLengthMismatch.selector, IBridgeManager.addBridgeOperators.selector)); - _bridgeManager.addBridgeOperators(addingWeights, addingGovernors, addingOperators); + vm.prank(address(_bridgeManager)); + address(_bridgeManager).call( + abi.encodeWithSignature( + "functionDelegateCall(bytes)", + abi.encodeWithSignature("addBridgeOperators(uint96[],address[],address[])", addingWeights, addingGovernors, addingOperators) + ) + ); assembly { mstore(addingGovernors, length) mstore(addingWeights, add(length, 1)) } vm.expectRevert(abi.encodeWithSelector(ErrLengthMismatch.selector, IBridgeManager.addBridgeOperators.selector)); - _bridgeManager.addBridgeOperators(addingWeights, addingGovernors, addingOperators); + vm.prank(address(_bridgeManager)); + address(_bridgeManager).call( + abi.encodeWithSignature( + "functionDelegateCall(bytes)", + abi.encodeWithSignature("addBridgeOperators(uint96[],address[],address[])", addingWeights, addingGovernors, addingOperators) + ) + ); } function test_RevertWhen_VoteWeightIsZero() external { @@ -64,7 +83,13 @@ contract Add_Unit_Concrete_Test is BridgeManager_Unit_Concrete_Test { addingWeights[0] = 0; vm.expectRevert(abi.encodeWithSelector(ErrInvalidVoteWeight.selector, IBridgeManager.addBridgeOperators.selector)); - _bridgeManager.addBridgeOperators(addingWeights, addingGovernors, addingOperators); + vm.prank(address(_bridgeManager)); + address(_bridgeManager).call( + abi.encodeWithSignature( + "functionDelegateCall(bytes)", + abi.encodeWithSignature("addBridgeOperators(uint96[],address[],address[])", addingWeights, addingGovernors, addingOperators) + ) + ); } function test_RevertWhen_BridgeOperatorAddressIsZero() external { @@ -73,7 +98,13 @@ contract Add_Unit_Concrete_Test is BridgeManager_Unit_Concrete_Test { addingOperators[0] = address(0); vm.expectRevert(abi.encodeWithSelector(ErrZeroAddress.selector, IBridgeManager.addBridgeOperators.selector)); - _bridgeManager.addBridgeOperators(addingWeights, addingGovernors, addingOperators); + vm.prank(address(_bridgeManager)); + address(_bridgeManager).call( + abi.encodeWithSignature( + "functionDelegateCall(bytes)", + abi.encodeWithSignature("addBridgeOperators(uint96[],address[],address[])", addingWeights, addingGovernors, addingOperators) + ) + ); } function test_RevertWhen_GovernorAddressIsZero() external { @@ -82,7 +113,13 @@ contract Add_Unit_Concrete_Test is BridgeManager_Unit_Concrete_Test { addingGovernors[0] = address(0); vm.expectRevert(abi.encodeWithSelector(ErrZeroAddress.selector, IBridgeManager.addBridgeOperators.selector)); - _bridgeManager.addBridgeOperators(addingWeights, addingGovernors, addingOperators); + vm.prank(address(_bridgeManager)); + address(_bridgeManager).call( + abi.encodeWithSignature( + "functionDelegateCall(bytes)", + abi.encodeWithSignature("addBridgeOperators(uint96[],address[],address[])", addingWeights, addingGovernors, addingOperators) + ) + ); } function test_AddOperators_DuplicatedGovernor() external assertStateNotChange { @@ -95,7 +132,14 @@ contract Add_Unit_Concrete_Test is BridgeManager_Unit_Concrete_Test { vm.expectEmit(true, false, false, false); emit BridgeOperatorsAdded(expectedAddeds, new uint96[](0), new address[](0), new address[](0)); - _bridgeManager.addBridgeOperators(addingWeights, addingGovernors, addingOperators); + vm.prank(address(_bridgeManager)); + (bool success,) = address(_bridgeManager).call( + abi.encodeWithSignature( + "functionDelegateCall(bytes)", + abi.encodeWithSignature("addBridgeOperators(uint96[],address[],address[])", addingWeights, addingGovernors, addingOperators) + ) + ); + require(success, "BridgeManagerUtils: addBridgeOperators failed"); } function test_AddOperators_DuplicatedBridgeOperator() external assertStateNotChange { @@ -108,7 +152,14 @@ contract Add_Unit_Concrete_Test is BridgeManager_Unit_Concrete_Test { vm.expectEmit(true, false, false, false); emit BridgeOperatorsAdded(expectedAddeds, new uint96[](0), new address[](0), new address[](0)); - _bridgeManager.addBridgeOperators(addingWeights, addingGovernors, addingOperators); + vm.prank(address(_bridgeManager)); + (bool success,) = address(_bridgeManager).call( + abi.encodeWithSignature( + "functionDelegateCall(bytes)", + abi.encodeWithSignature("addBridgeOperators(uint96[],address[],address[])", addingWeights, addingGovernors, addingOperators) + ) + ); + require(success, "BridgeManagerUtils: addBridgeOperators failed"); } function test_AddOperators_DuplicatedGovernorWithExistedBridgeOperator() external assertStateNotChange { @@ -121,7 +172,14 @@ contract Add_Unit_Concrete_Test is BridgeManager_Unit_Concrete_Test { vm.expectEmit(true, false, false, false); emit BridgeOperatorsAdded(expectedAddeds, new uint96[](0), new address[](0), new address[](0)); - _bridgeManager.addBridgeOperators(addingWeights, addingGovernors, addingOperators); + vm.prank(address(_bridgeManager)); + (bool success,) = address(_bridgeManager).call( + abi.encodeWithSignature( + "functionDelegateCall(bytes)", + abi.encodeWithSignature("addBridgeOperators(uint96[],address[],address[])", addingWeights, addingGovernors, addingOperators) + ) + ); + require(success, "BridgeManagerUtils: addBridgeOperators failed"); } function test_AddOperators_DuplicatedBridgeOperatorWithExistedGovernor() external assertStateNotChange { @@ -134,7 +192,14 @@ contract Add_Unit_Concrete_Test is BridgeManager_Unit_Concrete_Test { vm.expectEmit(true, false, false, false); emit BridgeOperatorsAdded(expectedAddeds, new uint96[](0), new address[](0), new address[](0)); - _bridgeManager.addBridgeOperators(addingWeights, addingGovernors, addingOperators); + vm.prank(address(_bridgeManager)); + (bool success,) = address(_bridgeManager).call( + abi.encodeWithSignature( + "functionDelegateCall(bytes)", + abi.encodeWithSignature("addBridgeOperators(uint96[],address[],address[])", addingWeights, addingGovernors, addingOperators) + ) + ); + require(success, "BridgeManagerUtils: addBridgeOperators failed"); } function test_AddOperators_AllInfoIsValid() external { @@ -147,7 +212,15 @@ contract Add_Unit_Concrete_Test is BridgeManager_Unit_Concrete_Test { vm.expectEmit(true, false, false, false); emit BridgeOperatorsAdded(expectedAddeds, new uint96[](0), new address[](0), new address[](0)); - _bridgeManager.addBridgeOperators(addingWeights, addingGovernors, addingOperators); + vm.prank(address(_bridgeManager)); + (bool success,) = address(_bridgeManager).call( + abi.encodeWithSignature( + "functionDelegateCall(bytes)", + abi.encodeWithSignature("addBridgeOperators(uint96[],address[],address[])", addingWeights, addingGovernors, addingOperators) + ) + ); + require(success, "BridgeManagerUtils: addBridgeOperators failed"); + vm.stopPrank(); // Compare after and before state (address[] memory afterBridgeOperators, address[] memory afterGovernors, uint96[] memory afterVoteWeights) = _getBridgeMembers(); diff --git a/test/bridge/unit/concrete/bridge-manager/remove/remove.t.sol b/test/bridge/unit/concrete/bridge-manager/remove/remove.t.sol index 4c08a9cc..c2b27a94 100644 --- a/test/bridge/unit/concrete/bridge-manager/remove/remove.t.sol +++ b/test/bridge/unit/concrete/bridge-manager/remove/remove.t.sol @@ -17,26 +17,27 @@ event BridgeOperatorsRemoved(bool[] statuses, address[] bridgeOperators); contract Remove_Unit_Concrete_Test is BridgeManager_Unit_Concrete_Test { function setUp() public virtual override { BridgeManager_Unit_Concrete_Test.setUp(); - vm.startPrank({ msgSender: address(_bridgeManager) }); } function test_RevertWhen_NotSelfCall() external { // Prepare data (address[] memory removingOperators,,,,,) = _generateRemovingOperators(1); - // Make the caller not self-call. - changePrank({ msgSender: _bridgeOperators[0] }); - // Run the test. vm.expectRevert(abi.encodeWithSelector(ErrOnlySelfCall.selector, IBridgeManager.removeBridgeOperators.selector)); - _bridgeManager.removeBridgeOperators(removingOperators); + address(_bridgeManager).call( + abi.encodeWithSignature("functionDelegateCall(bytes)", abi.encodeWithSignature("removeBridgeOperators(address[])", removingOperators)) + ); } function test_RevertWhen_RemoveOperator_OneAddress_AddressNotOperator() external { address[] memory removingOperators = wrapAddress(_governors[0]); vm.expectRevert(abi.encodeWithSelector(IBridgeManager.ErrOperatorNotFound.selector, removingOperators[0])); - _bridgeManager.removeBridgeOperators(removingOperators); + vm.prank({ msgSender: address(_bridgeManager) }); + address(_bridgeManager).call( + abi.encodeWithSignature("functionDelegateCall(bytes)", abi.encodeWithSignature("removeBridgeOperators(address[])", removingOperators)) + ); } function test_RemoveOperators_OneAddress_ThatValid() external { @@ -53,8 +54,10 @@ contract Remove_Unit_Concrete_Test is BridgeManager_Unit_Concrete_Test { expectedRemoveds[0] = true; vm.expectEmit(true, false, false, false); emit BridgeOperatorsRemoved(expectedRemoveds, new address[](0)); - - _bridgeManager.removeBridgeOperators(removingOperators); + vm.prank({ msgSender: address(_bridgeManager) }); + address(_bridgeManager).call( + abi.encodeWithSignature("functionDelegateCall(bytes)", abi.encodeWithSignature("removeBridgeOperators(address[])", removingOperators)) + ); assertEq(_bridgeManager.totalBridgeOperator(), _bridgeOperators.length - 1, "wrong total bridge operator"); assertEq(_bridgeManager.getTotalWeight(), _totalWeight - removingWeights[0], "wrong total total weight"); @@ -88,7 +91,10 @@ contract Remove_Unit_Concrete_Test is BridgeManager_Unit_Concrete_Test { // Run the test. vm.expectRevert(abi.encodeWithSelector(AddressArrayUtils.ErrDuplicated.selector, IBridgeManager.removeBridgeOperators.selector)); - _bridgeManager.removeBridgeOperators(removingOperators); + vm.prank({ msgSender: address(_bridgeManager) }); + address(_bridgeManager).call( + abi.encodeWithSignature("functionDelegateCall(bytes)", abi.encodeWithSignature("removeBridgeOperators(address[])", removingOperators)) + ); } function test_RemoveOperators_TwoAddress_ThatValid() external { @@ -108,8 +114,10 @@ contract Remove_Unit_Concrete_Test is BridgeManager_Unit_Concrete_Test { expectedRemoveds[1] = true; vm.expectEmit(true, false, false, false); emit BridgeOperatorsRemoved(expectedRemoveds, new address[](0)); - - _bridgeManager.removeBridgeOperators(removingOperators); + vm.prank({ msgSender: address(_bridgeManager) }); + address(_bridgeManager).call( + abi.encodeWithSignature("functionDelegateCall(bytes)", abi.encodeWithSignature("removeBridgeOperators(address[])", removingOperators)) + ); address[] memory zeroAddressArrays = new address[](TO_REMOVE_NUM); zeroAddressArrays[0] = address(0); @@ -147,6 +155,9 @@ contract Remove_Unit_Concrete_Test is BridgeManager_Unit_Concrete_Test { // Run the test. vm.expectRevert(abi.encodeWithSelector(IBridgeManager.ErrBelowMinRequiredGovernors.selector)); - _bridgeManager.removeBridgeOperators(removingOperators); + vm.prank({ msgSender: address(_bridgeManager) }); + address(_bridgeManager).call( + abi.encodeWithSignature("functionDelegateCall(bytes)", abi.encodeWithSignature("removeBridgeOperators(address[])", removingOperators)) + ); } } diff --git a/test/bridge/unit/concrete/bridge-reward/BridgeReward_Unit_Concrete.t.sol b/test/bridge/unit/concrete/bridge-reward/BridgeReward_Unit_Concrete.t.sol index c1cb817e..0ccd45db 100644 --- a/test/bridge/unit/concrete/bridge-reward/BridgeReward_Unit_Concrete.t.sol +++ b/test/bridge/unit/concrete/bridge-reward/BridgeReward_Unit_Concrete.t.sol @@ -9,7 +9,7 @@ import { IBridgeManager } from "@ronin/contracts/interfaces/bridge/IBridgeManage import { IBridgeReward } from "@ronin/contracts/interfaces/bridge/IBridgeReward.sol"; import { IBridgeSlash } from "@ronin/contracts/interfaces/bridge/IBridgeSlash.sol"; -import { BridgeReward } from "@ronin/contracts/ronin/gateway/BridgeReward.sol"; +import { IBridgeReward } from "@ronin/contracts/interfaces/bridge/IBridgeReward.sol"; import { MockBridgeTracking } from "@ronin/test/mocks/MockBridgeTracking.sol"; import { MockBridgeManager } from "@ronin/test/mocks/MockBridgeManager.sol"; diff --git a/test/bridge/unit/concrete/bridge-reward/assertPeriod.t.sol b/test/bridge/unit/concrete/bridge-reward/assertPeriod.t.sol index 49b53ca4..150f9e4d 100644 --- a/test/bridge/unit/concrete/bridge-reward/assertPeriod.t.sol +++ b/test/bridge/unit/concrete/bridge-reward/assertPeriod.t.sol @@ -8,7 +8,7 @@ import "@ronin/contracts/utils/CommonErrors.sol"; import { ContractType } from "@ronin/contracts/utils/ContractType.sol"; import { IBridgeReward } from "@ronin/contracts/interfaces/bridge/IBridgeReward.sol"; import { IBridgeRewardEvents } from "@ronin/contracts/interfaces/bridge/events/IBridgeRewardEvents.sol"; -import { BridgeReward } from "@ronin/contracts/ronin/gateway/BridgeReward.sol"; +import { IBridgeReward } from "@ronin/contracts/interfaces/bridge/IBridgeReward.sol"; import { BridgeTrackingHelper } from "@ronin/contracts/extensions/bridge-operator-governance/BridgeTrackingHelper.sol"; import "./BridgeReward_Unit_Concrete.t.sol"; diff --git a/test/bridge/unit/concrete/bridge-reward/execSyncRewardAuto.t.sol b/test/bridge/unit/concrete/bridge-reward/execSyncRewardAuto.t.sol index a11acc7c..abebd960 100644 --- a/test/bridge/unit/concrete/bridge-reward/execSyncRewardAuto.t.sol +++ b/test/bridge/unit/concrete/bridge-reward/execSyncRewardAuto.t.sol @@ -8,7 +8,7 @@ import "@ronin/contracts/utils/CommonErrors.sol"; import { ContractType } from "@ronin/contracts/utils/ContractType.sol"; import { IBridgeReward } from "@ronin/contracts/interfaces/bridge/IBridgeReward.sol"; import { IBridgeRewardEvents } from "@ronin/contracts/interfaces/bridge/events/IBridgeRewardEvents.sol"; -import { BridgeReward } from "@ronin/contracts/ronin/gateway/BridgeReward.sol"; +import { IBridgeReward } from "@ronin/contracts/interfaces/bridge/IBridgeReward.sol"; import { BridgeTrackingHelper } from "@ronin/contracts/extensions/bridge-operator-governance/BridgeTrackingHelper.sol"; import { BridgeReward_Unit_Concrete_Test } from "./BridgeReward_Unit_Concrete.t.sol"; diff --git a/test/bridge/unit/concrete/bridge-reward/settleReward/settleReward.t.sol b/test/bridge/unit/concrete/bridge-reward/settleReward/settleReward.t.sol index 82f41c31..efa5a21a 100644 --- a/test/bridge/unit/concrete/bridge-reward/settleReward/settleReward.t.sol +++ b/test/bridge/unit/concrete/bridge-reward/settleReward/settleReward.t.sol @@ -8,7 +8,7 @@ import "@ronin/contracts/utils/CommonErrors.sol"; import { ContractType } from "@ronin/contracts/utils/ContractType.sol"; import { IBridgeReward } from "@ronin/contracts/interfaces/bridge/IBridgeReward.sol"; import { IBridgeRewardEvents } from "@ronin/contracts/interfaces/bridge/events/IBridgeRewardEvents.sol"; -import { BridgeReward } from "@ronin/contracts/ronin/gateway/BridgeReward.sol"; +import { IBridgeReward } from "@ronin/contracts/interfaces/bridge/IBridgeReward.sol"; import { BridgeTrackingHelper } from "@ronin/contracts/extensions/bridge-operator-governance/BridgeTrackingHelper.sol"; import "../BridgeReward_Unit_Concrete.t.sol"; diff --git a/test/bridge/unit/concrete/bridge-reward/syncRewardManual.t.sol b/test/bridge/unit/concrete/bridge-reward/syncRewardManual.t.sol index cb5479f7..c684a12c 100644 --- a/test/bridge/unit/concrete/bridge-reward/syncRewardManual.t.sol +++ b/test/bridge/unit/concrete/bridge-reward/syncRewardManual.t.sol @@ -8,7 +8,7 @@ import "@ronin/contracts/utils/CommonErrors.sol"; import { ContractType } from "@ronin/contracts/utils/ContractType.sol"; import { IBridgeReward } from "@ronin/contracts/interfaces/bridge/IBridgeReward.sol"; import { IBridgeRewardEvents } from "@ronin/contracts/interfaces/bridge/events/IBridgeRewardEvents.sol"; -import { BridgeReward } from "@ronin/contracts/ronin/gateway/BridgeReward.sol"; +import { IBridgeReward } from "@ronin/contracts/interfaces/bridge/IBridgeReward.sol"; import { BridgeTrackingHelper } from "@ronin/contracts/extensions/bridge-operator-governance/BridgeTrackingHelper.sol"; import { MockBridgeManager } from "@ronin/test/mocks/MockBridgeManager.sol"; diff --git a/test/bridge/unit/fuzz/bridge-manager/BridgeManagerCRUD.t.sol b/test/bridge/unit/fuzz/bridge-manager/BridgeManagerCRUD.t.sol index 20ecd00c..585ae95a 100644 --- a/test/bridge/unit/fuzz/bridge-manager/BridgeManagerCRUD.t.sol +++ b/test/bridge/unit/fuzz/bridge-manager/BridgeManagerCRUD.t.sol @@ -1,13 +1,12 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; -import { console } from "forge-std/console.sol"; import { IBridgeManager, BridgeManagerUtils } from "../utils/BridgeManagerUtils.t.sol"; -import { RoninGatewayV3 } from "@ronin/contracts/ronin/gateway/RoninGatewayV3.sol"; +import { IRoninGatewayV3 } from "@ronin/contracts/interfaces/IRoninGatewayV3.sol"; import { RoleAccess, ContractType, MockBridgeManager } from "@ronin/contracts/mocks/ronin/MockBridgeManager.sol"; import { TransparentUpgradeableProxyV2 } from "@ronin/contracts/extensions/TransparentUpgradeableProxyV2.sol"; -import "@ronin/contracts/libraries/Uint96ArrayUtils.sol"; -import "@ronin/contracts/libraries/AddressArrayUtils.sol"; +import { Uint96ArrayUtils } from "@ronin/contracts/libraries/Uint96ArrayUtils.sol"; +import { AddressArrayUtils } from "@ronin/contracts/libraries/AddressArrayUtils.sol"; import { ErrBridgeOperatorUpdateFailed, ErrBridgeOperatorAlreadyExisted, @@ -164,7 +163,11 @@ contract BridgeManagerCRUDTest is BridgeManagerUtils { statuses := tmp } emit BridgeOperatorsRemoved(statuses, removeBridgeOperators); - bridgeManager.removeBridgeOperators(removeBridgeOperators); + + (bool success,) = _bridgeManager.call( + abi.encodeWithSignature("functionDelegateCall(bytes)", abi.encodeWithSignature("removeBridgeOperators(address[])", removeBridgeOperators)) + ); + require(success, "BridgeManagerCRUDTest: removeBridgeOperators failed"); _invariantTest(bridgeManager, voteWeights, governors, bridgeOperators); } @@ -235,6 +238,9 @@ contract BridgeManagerCRUDTest is BridgeManagerUtils { _initOperators = bridgeOperators; _initGovernors = governors; _initWeights = voteWeights; + + vm.prank(admin); + TransparentUpgradeableProxyV2(payable(address(_bridgeManager))).changeAdmin(address(_bridgeManager)); } function _label() internal virtual { diff --git a/test/bridge/unit/fuzz/bridge-manager/BridgeReward.t.sol b/test/bridge/unit/fuzz/bridge-manager/BridgeReward.t.sol index 76771ee5..5cd3f041 100644 --- a/test/bridge/unit/fuzz/bridge-manager/BridgeReward.t.sol +++ b/test/bridge/unit/fuzz/bridge-manager/BridgeReward.t.sol @@ -7,8 +7,8 @@ import { LibArrayUtils } from "@ronin/test/helpers/LibArrayUtils.t.sol"; import { IBridgeRewardEvents } from "@ronin/contracts/interfaces/bridge/events/IBridgeRewardEvents.sol"; import { IBridgeManager, BridgeManagerUtils } from "../utils/BridgeManagerUtils.t.sol"; import { MockValidatorContract_OnlyTiming_ForHardhatTest } from "@ronin/contracts/mocks/ronin/MockValidatorContract_OnlyTiming_ForHardhatTest.sol"; -import { BridgeTracking } from "@ronin/contracts/ronin/gateway/BridgeTracking.sol"; -import { BridgeReward } from "@ronin/contracts/ronin/gateway/BridgeReward.sol"; +import { IBridgeTracking } from "@ronin/contracts/interfaces/bridge/IBridgeTracking.sol"; +import { IBridgeReward } from "@ronin/contracts/interfaces/bridge/IBridgeReward.sol"; import { TransparentUpgradeableProxy } from "@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol"; import { RoleAccess, ContractType, AddressArrayUtils, MockBridgeManager } from "@ronin/contracts/mocks/ronin/MockBridgeManager.sol"; import { IBridgeSlash, MockBridgeSlash, BridgeSlash } from "@ronin/contracts/mocks/ronin/MockBridgeSlash.sol"; @@ -210,15 +210,15 @@ contract BridgeRewardTest is Base_Test, IBridgeRewardEvents, BridgeManagerUtils _defaultBridgeManagerInputs = abi.encode(bridgeOperators, governors, voteWeights); - _bridgeManagerLogic = address(new MockBridgeManager()); + _bridgeManagerLogic = deployCode("MockBridgeManager.sol"); _bridgeManagerContract = address( new TransparentUpgradeableProxy(_bridgeManagerLogic, _admin, abi.encodeCall(MockBridgeManager.initialize, (bridgeOperators, governors, voteWeights))) ); - _bridgeTrackingLogic = address(new BridgeTracking()); + _bridgeTrackingLogic = deployCode("BridgeTracking.sol"); _bridgeTrackingContract = address(new TransparentUpgradeableProxy(_bridgeTrackingLogic, _admin, "")); - _bridgeSlashLogic = address(new MockBridgeSlash()); + _bridgeSlashLogic = deployCode("MockBridgeSlash.sol"); _bridgeSlashContract = address( new TransparentUpgradeableProxy( _bridgeSlashLogic, _admin, abi.encodeCall(BridgeSlash.initialize, (_validatorContract, _bridgeManagerContract, _bridgeTrackingContract, address(0))) diff --git a/test/bridge/unit/fuzz/bridge-manager/BridgeSlash.t.sol b/test/bridge/unit/fuzz/bridge-manager/BridgeSlash.t.sol index b7ae2617..96579a83 100644 --- a/test/bridge/unit/fuzz/bridge-manager/BridgeSlash.t.sol +++ b/test/bridge/unit/fuzz/bridge-manager/BridgeSlash.t.sol @@ -5,9 +5,10 @@ import { console } from "forge-std/console.sol"; import { Test } from "forge-std/Test.sol"; import { LibArrayUtils } from "@ronin/test/helpers/LibArrayUtils.t.sol"; import { TransparentUpgradeableProxyV2 } from "@ronin/contracts/extensions/TransparentUpgradeableProxyV2.sol"; -import { RoninGatewayV3 } from "@ronin/contracts/ronin/gateway/RoninGatewayV3.sol"; +import { IRoninGatewayV3 } from "@ronin/contracts/interfaces/IRoninGatewayV3.sol"; import { MockValidatorSet_ForFoundryTest } from "../../../../mocks/MockValidatorSet_ForFoundryTest.sol"; -import { BridgeTracking } from "@ronin/contracts/ronin/gateway/BridgeTracking.sol"; +import { IBridgeTracking } from "@ronin/contracts/interfaces/bridge/IBridgeTracking.sol"; + import { IBridgeSlash, MockBridgeSlash, BridgeSlash } from "@ronin/contracts/mocks/ronin/MockBridgeSlash.sol"; import { IBridgeManager, BridgeManagerUtils } from "../utils/BridgeManagerUtils.t.sol"; import { RoninBridgeManager } from "@ronin/contracts/ronin/gateway/RoninBridgeManager.sol"; @@ -27,14 +28,10 @@ contract BridgeSlashTest is IBridgeSlashEvents, BridgeManagerUtils { /// @dev immutable contracts address internal _admin; address internal _validatorContract; - address internal _bridgeManagerLogic; address internal _bridgeManagerContract; /// @dev proxy contracts - address internal _gatewayLogic; address internal _gatewayContract; - address internal _bridgeSlashLogic; address internal _bridgeSlashContract; - address internal _bridgeTrackingLogic; address internal _bridgeTrackingContract; bytes internal _defaultBridgeManagerInputs; @@ -111,7 +108,9 @@ contract BridgeSlashTest is IBridgeSlashEvents, BridgeManagerUtils { vm.prank(_bridgeManagerContract, _bridgeManagerContract); address[] memory registers = new address[](1); registers[0] = _bridgeSlashContract; - MockBridgeManager(payable(_bridgeManagerContract)).registerCallbacks(registers); + (bool success,) = + _bridgeManagerContract.call(abi.encodeWithSignature("functionDelegateCall(bytes)", abi.encodeWithSignature("registerCallbacks(address[])", registers))); + require(success, "BridgeSlashTest: registerCallbacks failed"); // Generate valid inputs for bridge operators (address[] memory bridgeOperators, address[] memory governors, uint96[] memory voteWeights) = @@ -141,15 +140,20 @@ contract BridgeSlashTest is IBridgeSlashEvents, BridgeManagerUtils { vm.assume(r1 != 0); vm.assume(r1 != DEFAULT_R1 && r1 != DEFAULT_R2 && r1 != DEFAULT_R3); // Bound the period, duration, and newlyAddedSize values - period = _bound(period, 1, type(uint64).max); - duration = _bound(duration, MIN_PERIOD_DURATION, MAX_PERIOD_DURATION); + r1 = _bound(r1, 1, type(uint64).max); + period = _bound(period, 1, type(uint8).max); + duration = _bound(duration, 1, 2); newlyAddedSize = _bound(newlyAddedSize, MIN_FUZZ_INPUTS, MAX_FUZZ_INPUTS); // Register the bridge slash contract as a callback in the bridge manager contract address[] memory registers = new address[](1); registers[0] = _bridgeSlashContract; vm.prank(_bridgeManagerContract, _bridgeManagerContract); - MockBridgeManager(payable(_bridgeManagerContract)).registerCallbacks(registers); + { + (bool success,) = + _bridgeManagerContract.call(abi.encodeWithSignature("functionDelegateCall(bytes)", abi.encodeWithSignature("registerCallbacks(address[])", registers))); + require(success, "BridgeSlashTest: registerCallbacks failed"); + } // Decode the default bridge manager inputs to retrieve bridge operators (address[] memory bridgeOperators,,) = abi.decode(_defaultBridgeManagerInputs, (address[], address[], uint256[])); @@ -163,10 +167,7 @@ contract BridgeSlashTest is IBridgeSlashEvents, BridgeManagerUtils { { address[] memory newlyAddedGovernors; uint96[] memory newlyAddedWeights; - (newlyAddedOperators, newlyAddedGovernors, newlyAddedWeights) = getValidInputs(r1, ~r1, r1 << 1, newlyAddedSize); - - // Add the newly added operators using the bridge manager contract - vm.prank(_bridgeManagerContract, _bridgeManagerContract); + (newlyAddedOperators, newlyAddedGovernors, newlyAddedWeights) = getValidInputs(r1++, r1++, r1++, newlyAddedSize); bool[] memory expectedAddeds = new bool[](newlyAddedGovernors.length); for (uint j; j < newlyAddedGovernors.length; ++j) { @@ -175,7 +176,17 @@ contract BridgeSlashTest is IBridgeSlashEvents, BridgeManagerUtils { vm.expectEmit(true, false, false, false); emit BridgeOperatorsAdded(expectedAddeds, new uint96[](0), new address[](0), new address[](0)); - IBridgeManager(_bridgeManagerContract).addBridgeOperators(newlyAddedWeights, newlyAddedGovernors, newlyAddedOperators); + // Add the newly added operators using the bridge manager contract + vm.prank(_bridgeManagerContract, _bridgeManagerContract); + { + (bool success,) = _bridgeManagerContract.call( + abi.encodeWithSignature( + "functionDelegateCall(bytes)", + abi.encodeWithSignature("addBridgeOperators(uint96[],address[],address[])", newlyAddedWeights, newlyAddedGovernors, newlyAddedOperators) + ) + ); + require(success, "BridgeSlashTest: addBridgeOperators failed"); + } // Retrieve the added periods for the newly added operators newlyAddedAtPeriods = IBridgeSlash(_bridgeSlashContract).getAddedPeriodOf(newlyAddedOperators); } @@ -189,16 +200,14 @@ contract BridgeSlashTest is IBridgeSlashEvents, BridgeManagerUtils { // Check that the slashUntilPeriods and newlyAddedAtPeriods are correctly set uint256 length = newlyAddedAtPeriods.length; uint256[] memory slashUntilPeriods = IBridgeSlash(_bridgeSlashContract).getSlashUntilPeriodOf(newlyAddedOperators); - for (uint256 j; j < length;) { - assertEq(slashUntilPeriods[j], 0); - assertEq(newlyAddedAtPeriods[j], period); - unchecked { - ++j; - } + for (uint256 j; j < length; ++j) { + assertEq(slashUntilPeriods[j], 0, "SlashUntilPeriod should be 0 for newly added operators"); + + require(newlyAddedAtPeriods[j] == period, "Added period should be the current period for newly added operators"); } // Generate the next random number for r1 - r1 = uint256(keccak256(abi.encode(r1))); + r1 = uint256(keccak256(abi.encode(r1 + i))); unchecked { ++period; @@ -255,36 +264,32 @@ contract BridgeSlashTest is IBridgeSlashEvents, BridgeManagerUtils { getValidInputs(DEFAULT_R1, DEFAULT_R2, DEFAULT_R3, DEFAULT_NUM_BRIDGE_OPERATORS); _defaultBridgeManagerInputs = abi.encode(bridgeOperators, governors, voteWeights); - _bridgeManagerLogic = address(new MockBridgeManager()); _bridgeManagerContract = address( - new TransparentUpgradeableProxyV2(_bridgeManagerLogic, _admin, abi.encodeCall(MockBridgeManager.initialize, (bridgeOperators, governors, voteWeights))) + new TransparentUpgradeableProxyV2( + deployCode("MockBridgeManager.sol"), _admin, abi.encodeCall(MockBridgeManager.initialize, (bridgeOperators, governors, voteWeights)) + ) ); - _gatewayLogic = address(new RoninGatewayV3()); - _gatewayContract = address(new TransparentUpgradeableProxyV2(_gatewayLogic, _admin, "")); - - _bridgeTrackingLogic = address(new BridgeTracking()); - _bridgeTrackingContract = address(new TransparentUpgradeableProxyV2(_bridgeTrackingLogic, _bridgeManagerContract, "")); - - _bridgeSlashLogic = address(new MockBridgeSlash()); + _gatewayContract = address(new TransparentUpgradeableProxyV2(deployCode("RoninGatewayV3.sol"), _admin, "")); + _bridgeTrackingContract = address(new TransparentUpgradeableProxyV2(deployCode("BridgeTracking.sol"), _bridgeManagerContract, "")); _bridgeSlashContract = address( new TransparentUpgradeableProxyV2( - _bridgeSlashLogic, + deployCode("MockBridgeSlash.sol"), _bridgeManagerContract, abi.encodeCall(BridgeSlash.initialize, (_validatorContract, _bridgeManagerContract, _bridgeTrackingContract, address(0))) ) ); + + vm.prank(_admin); + TransparentUpgradeableProxyV2(payable(_bridgeManagerContract)).changeAdmin(_bridgeManagerContract); } function _label() internal virtual { vm.label(_admin, "ADMIN"); vm.label(_validatorContract, "VALIDATOR"); vm.label(_bridgeManagerContract, "BRIDGE_MANAGER"); - vm.label(_gatewayLogic, "GATEWAY_LOGIC"); vm.label(_gatewayContract, "GATEWAY"); - vm.label(_bridgeTrackingLogic, "BRIDGE_TRACKING_LOGIC"); vm.label(_bridgeTrackingContract, "BRIDGE_TRACKING"); - vm.label(_bridgeSlashLogic, "BRIDGE_SLASH_LOGIC"); vm.label(_bridgeSlashContract, "BRIDGE_SLASH"); } } diff --git a/test/bridge/unit/fuzz/utils/BridgeManagerUtils.t.sol b/test/bridge/unit/fuzz/utils/BridgeManagerUtils.t.sol index fb0c5de2..d5bf525b 100644 --- a/test/bridge/unit/fuzz/utils/BridgeManagerUtils.t.sol +++ b/test/bridge/unit/fuzz/utils/BridgeManagerUtils.t.sol @@ -37,7 +37,12 @@ abstract contract BridgeManagerUtils is Randomizer { emit BridgeOperatorsAdded(statuses, voteWeights, governors, bridgeOperators); bridgeManager = IBridgeManager(bridgeManagerContract); vm.prank(caller); - bridgeManager.addBridgeOperators(voteWeights, governors, bridgeOperators); + (bool success,) = bridgeManagerContract.call( + abi.encodeWithSignature( + "functionDelegateCall(bytes)", abi.encodeWithSignature("addBridgeOperators(uint96[],address[],address[])", voteWeights, governors, bridgeOperators) + ) + ); + require(success, "BridgeManagerUtils: addBridgeOperators failed"); } function getValidAndNonExistingInputs( @@ -130,14 +135,14 @@ abstract contract BridgeManagerUtils is Randomizer { uint256 seed, uint256 duplicateAmount, uint256[] memory inputs - ) public pure virtual returns (uint256[] memory outputs, uint256[] memory dupplicateIndices) { + ) public pure virtual returns (uint256[] memory outputs, uint256[] memory duplicateIndices) { uint256 inputLength = inputs.length; vm.assume(inputLength != 0); duplicateAmount = _bound(duplicateAmount, 1, inputLength); uint256 r1; uint256 r2; - dupplicateIndices = new uint256[](duplicateAmount); + duplicateIndices = new uint256[](duplicateAmount); // bound index to range [0, inputLength - 1] inputLength--; @@ -146,8 +151,8 @@ abstract contract BridgeManagerUtils is Randomizer { r1 = _randomize(seed, 0, inputLength); r2 = _randomize(r1, 0, inputLength); vm.assume(r1 != r2); - // save dupplicate index - dupplicateIndices[i] = r1; + // save duplicate index + duplicateIndices[i] = r1; // copy inputs[r2] to inputs[r1] inputs[r1] = inputs[r2]; diff --git a/test/libraries/Proposal.t.sol b/test/libraries/Proposal.t.sol index 0eacb26b..94296cfa 100644 --- a/test/libraries/Proposal.t.sol +++ b/test/libraries/Proposal.t.sol @@ -12,7 +12,7 @@ contract ProposalTest is Test { // keccak256("ProposalDetail(uint256 nonce,uint256 chainId,uint256 expiryTimestamp,address executor,address[] targets,uint256[] values,bytes[] calldatas,uint256[] gasAmounts)"); bytes32 internal constant TYPE_HASH = 0x1b59eeec7c321899dc1e7a5b3d876c9a445dffc6d2f96ba842d7489908fdee12; - function testFuzz_hash_Proposal(uint256 nonce, uint256 chainId, uint256 expiryTimestamp, address executor, uint8 count) external returns (bytes32) { + function testFuzz_hash_Proposal(uint256 nonce, uint256 chainId, uint256 expiryTimestamp, address executor, uint8 count) external pure { vm.assume(count < 100 && count != 0); address[] memory targets = new address[](count); @@ -43,7 +43,7 @@ contract ProposalTest is Test { assertEq(actual, expected, "hash mismatch"); } - function testFuzz_hash_GlobalProposal(uint256 nonce, uint256 expiryTimestamp, address executor, uint8 count) external returns (bytes32) { + function testFuzz_hash_GlobalProposal(uint256 nonce, uint256 expiryTimestamp, address executor, uint8 count) external pure { vm.assume(count < 100 && count != 0); uint8[] memory _targetOptions = new uint8[](count); diff --git a/test/mocks/MockBridgeSlash.sol b/test/mocks/MockBridgeSlash.sol index f605e621..126e1ed4 100644 --- a/test/mocks/MockBridgeSlash.sol +++ b/test/mocks/MockBridgeSlash.sol @@ -1,28 +1,20 @@ // SPDX-License-Identifier: UNLICENSED pragma solidity >=0.8.17 <0.9.0; -import { IBridgeSlash } from "@ronin/contracts/interfaces/bridge/IBridgeSlash.sol"; +import { BridgeSlash } from "@ronin/contracts/ronin/gateway/BridgeSlash.sol"; -contract MockBridgeSlash is IBridgeSlash { +contract MockBridgeSlash is BridgeSlash { mapping(address => uint256) internal _slashMap; - function MINIMUM_VOTE_THRESHOLD() external view returns (uint256) { } - - function REMOVE_DURATION_THRESHOLD() external view returns (uint256) { } - - function TIER_1_PENALTY_DURATION() external view returns (uint256) { } - - function TIER_2_PENALTY_DURATION() external view returns (uint256) { } - - function execSlashBridgeOperators(address[] calldata operators, uint256[] calldata ballots, uint256 totalBallot, uint256 totalVote, uint256 period) external { } - - function getAddedPeriodOf(address[] calldata bridgeOperators) external view returns (uint256[] memory addedPeriods) { } - - function getPenaltyDurations() external pure returns (uint256[] memory penaltyDurations) { } + function calcSlashUntilPeriod(Tier tier, uint256 period, uint256 slashUntilPeriod) external pure returns (uint256 newSlashUntilPeriod) { + newSlashUntilPeriod = _calcSlashUntilPeriod(tier, period, slashUntilPeriod, _getPenaltyDurations()); + } - function getSlashTier(uint256 ballot, uint256 totalVote) external pure returns (Tier tier) { } + function isSlashDurationMetRemovalThreshold(uint256 slashUntilPeriod, uint256 period) external pure returns (bool) { + return _isSlashDurationMetRemovalThreshold(slashUntilPeriod, period); + } - function getSlashUntilPeriodOf(address[] calldata operators) external view returns (uint256[] memory untilPeriods) { + function getSlashUntilPeriodOf(address[] calldata operators) external view virtual override returns (uint256[] memory untilPeriods) { untilPeriods = new uint256[](operators.length); for (uint i; i < operators.length; i++) { untilPeriods[i] = _slashMap[operators[i]]; From f259f175a5448e6020f27fef2f6e48e90d4df9a7 Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Mon, 19 Aug 2024 11:46:43 +0700 Subject: [PATCH 13/74] ci: fix ci --- .github/workflows/test.yml | 10 +++++++++- update-deps.sh | 40 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 1 deletion(-) create mode 100755 update-deps.sh diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4863d813..77a1ff83 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -38,6 +38,14 @@ jobs: with: version: nightly + - name: Update package with soldeer + run: forge soldeer update + + - name: Recursively update dependencies + run: | + chmod +x ./update-deps.sh + ./update-deps.sh + - name: Run Forge build run: | forge --version @@ -47,4 +55,4 @@ jobs: - name: Run Forge tests run: | forge test -vvv - id: test + id: test \ No newline at end of file diff --git a/update-deps.sh b/update-deps.sh new file mode 100755 index 00000000..69ce3b6f --- /dev/null +++ b/update-deps.sh @@ -0,0 +1,40 @@ +#!/bin/bash + +# Set the path to the dependencies folder +DEPENDENCIES_FOLDER="./dependencies" + +# Check if the dependencies folder exists +if [ ! -d "$DEPENDENCIES_FOLDER" ]; then + echo "Dependencies folder does not exist: $DEPENDENCIES_FOLDER" + exit 1 +fi + +# Change directory to the dependencies folder +cd "$DEPENDENCIES_FOLDER" || exit 1 + +# Iterate through each subdirectory in the dependencies folder +for dir in */; do + if [ -d "$dir" ]; then + echo "Updating dependencies in: $dir" + cd "$dir" || exit 1 + + # Check if soldeer.lock exists + if [ ! -f "soldeer.lock" ]; then + echo "soldeer.lock does not exist in: $dir" + echo "Skipping update for: $dir" + cd .. + continue + fi + + # Run soldeer update + forge soldeer update + + # Return to the dependencies folder + cd .. + fi +done + +# Return to the original directory +cd .. + +echo "All dependencies updated." \ No newline at end of file From 6e7668f7c57fed669074dc11e379ef7eac845b03 Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Mon, 19 Aug 2024 11:49:58 +0700 Subject: [PATCH 14/74] ci: run test when pr to release/* branch --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 77a1ff83..46843fa1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,6 +17,7 @@ on: - 'features/*' - 'feat/*' - 'feats/*' + - 'release/*' env: FOUNDRY_PROFILE: ci From ecb8f2b0a2ca54d938c43b9c94746f3147ae43d6 Mon Sep 17 00:00:00 2001 From: nxqbao Date: Thu, 22 Aug 2024 10:39:55 +0700 Subject: [PATCH 15/74] fix(MainchainGateway): rollback IWETH --- src/mainchain/MainchainGatewayV3.sol | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/mainchain/MainchainGatewayV3.sol b/src/mainchain/MainchainGatewayV3.sol index 57bf0c9c..c4853fb0 100644 --- a/src/mainchain/MainchainGatewayV3.sol +++ b/src/mainchain/MainchainGatewayV3.sol @@ -373,11 +373,16 @@ contract MainchainGatewayV3 is if (_token.erc != _request.info.erc) revert ErrInvalidTokenStandard(); _request.info.handleAssetIn(_requester, _request.tokenAddr); - // Withdraw if token is WETH - // The withdraw of WETH must go via `WethUnwrapper`, because `WETH.withdraw` only sends 2300 gas, which is insufficient when recipient is a proxy. + + /** + * Withdraw if token is WETH + * + * `IWETH.withdraw` only sends 2300 gas, which might be insufficient when recipient is a proxy, in this case, gateway proxy. + * However, the storage accesses on Shanghai hardfork are warm-access, only requires additional 100*2 gas. So it should be safe, + * no need to go via a mediator of WETH unwrapper. + */ if (_roninWeth == _request.tokenAddr) { - wrappedNativeToken.approve(address(wethUnwrapper), _request.info.quantity); - wethUnwrapper.unwrap(_request.info.quantity); + IWETH(_roninWeth).withdraw(_request.info.quantity); } } From f96667d55c712bebc68ee43cdd791f830ae90ffd Mon Sep 17 00:00:00 2001 From: nxqbao Date: Thu, 22 Aug 2024 10:52:51 +0700 Subject: [PATCH 16/74] feat: remove `requestDepositForBatch` --- src/interfaces/IMainchainGatewayV3.sol | 5 ----- src/mainchain/MainchainGatewayV3.sol | 10 ---------- 2 files changed, 15 deletions(-) diff --git a/src/interfaces/IMainchainGatewayV3.sol b/src/interfaces/IMainchainGatewayV3.sol index a79605a6..9f501927 100644 --- a/src/interfaces/IMainchainGatewayV3.sol +++ b/src/interfaces/IMainchainGatewayV3.sol @@ -86,11 +86,6 @@ interface IMainchainGatewayV3 is SignatureConsumer, MappedTokenConsumer { */ function requestDepositFor(Transfer.Request calldata _request) external payable; - /** - * @dev Locks the assets and request deposit for batch. - */ - function requestDepositForBatch(Transfer.Request[] calldata requests) external payable; - /** * @dev Withdraws based on the receipt and the validator signatures. * Returns whether the withdrawal is locked. diff --git a/src/mainchain/MainchainGatewayV3.sol b/src/mainchain/MainchainGatewayV3.sol index c4853fb0..003eab9d 100644 --- a/src/mainchain/MainchainGatewayV3.sol +++ b/src/mainchain/MainchainGatewayV3.sol @@ -157,16 +157,6 @@ contract MainchainGatewayV3 is _requestDepositFor(_request, msg.sender); } - /** - * @inheritdoc IMainchainGatewayV3 - */ - function requestDepositForBatch(Transfer.Request[] calldata _requests) external payable virtual whenNotPaused { - uint length = _requests.length; - for (uint256 i; i < length; ++i) { - _requestDepositFor(_requests[i], msg.sender); - } - } - /** * @inheritdoc IMainchainGatewayV3 */ From 7182aa77f47634148b50a1466c351059ee243fe5 Mon Sep 17 00:00:00 2001 From: nxqbao Date: Fri, 23 Aug 2024 10:53:41 +0700 Subject: [PATCH 17/74] fix(MainchainGateway): deprecated var --- src/mainchain/MainchainGatewayV3.sol | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mainchain/MainchainGatewayV3.sol b/src/mainchain/MainchainGatewayV3.sol index 003eab9d..fe1d986a 100644 --- a/src/mainchain/MainchainGatewayV3.sol +++ b/src/mainchain/MainchainGatewayV3.sol @@ -51,7 +51,8 @@ contract MainchainGatewayV3 is uint96 private _totalOperatorWeight; mapping(address operator => uint96 weight) private _operatorWeight; - WethUnwrapper public wethUnwrapper; + /// @custom:deprecated Previously `_wethUnwrapper` (uint256) + uint256 private ______deprecatedWethUnwrapper; constructor() { _disableInitializers(); From d2821f03058f93a048651f8a6dff2e7da412a299 Mon Sep 17 00:00:00 2001 From: nxqbao Date: Fri, 23 Aug 2024 11:00:14 +0700 Subject: [PATCH 18/74] fix(MainchainGateway): rollback setter and assert of wethUnwrapper --- src/mainchain/MainchainGatewayV3.sol | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/mainchain/MainchainGatewayV3.sol b/src/mainchain/MainchainGatewayV3.sol index fe1d986a..241ee097 100644 --- a/src/mainchain/MainchainGatewayV3.sol +++ b/src/mainchain/MainchainGatewayV3.sol @@ -129,7 +129,10 @@ contract MainchainGatewayV3 is } function initializeV4(address payable wethUnwrapper_) external reinitializer(4) { - wethUnwrapper = WethUnwrapper(wethUnwrapper_); + /** @deprecated + * + * wethUnwrapper = WethUnwrapper(wethUnwrapper_); + */ } /** @@ -438,10 +441,10 @@ contract MainchainGatewayV3 is } /** - * @dev Receives ETH from WETH or creates deposit request if sender is not WETH or WETHUnwrapper. + * @dev Receives ETH from WETH or creates deposit request if sender is not WETH. */ function _fallback() internal virtual { - if (msg.sender == address(wrappedNativeToken) || msg.sender == address(wethUnwrapper)) { + if (msg.sender == address(wrappedNativeToken)) { return; } From b7982f400060ff91452a26cfc97a68891e65bf61 Mon Sep 17 00:00:00 2001 From: Bao Date: Fri, 23 Aug 2024 11:51:14 +0700 Subject: [PATCH 19/74] Update src/mainchain/MainchainGatewayV3.sol Co-authored-by: tu-do.ron Signed-off-by: Bao --- src/mainchain/MainchainGatewayV3.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainchain/MainchainGatewayV3.sol b/src/mainchain/MainchainGatewayV3.sol index 241ee097..240bb04f 100644 --- a/src/mainchain/MainchainGatewayV3.sol +++ b/src/mainchain/MainchainGatewayV3.sol @@ -128,7 +128,7 @@ contract MainchainGatewayV3 is _totalOperatorWeight = totalWeight; } - function initializeV4(address payable wethUnwrapper_) external reinitializer(4) { + function initializeV4(address payable /* wethUnwrapper_ */) external reinitializer(4) { /** @deprecated * * wethUnwrapper = WethUnwrapper(wethUnwrapper_); From f81b08abe5578b6fb87c810800c4b3d759e1ffc0 Mon Sep 17 00:00:00 2001 From: Bao Date: Fri, 23 Aug 2024 11:51:20 +0700 Subject: [PATCH 20/74] Update src/mainchain/MainchainGatewayV3.sol Co-authored-by: tu-do.ron Signed-off-by: Bao --- src/mainchain/MainchainGatewayV3.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainchain/MainchainGatewayV3.sol b/src/mainchain/MainchainGatewayV3.sol index 240bb04f..2d230211 100644 --- a/src/mainchain/MainchainGatewayV3.sol +++ b/src/mainchain/MainchainGatewayV3.sol @@ -51,7 +51,7 @@ contract MainchainGatewayV3 is uint96 private _totalOperatorWeight; mapping(address operator => uint96 weight) private _operatorWeight; - /// @custom:deprecated Previously `_wethUnwrapper` (uint256) + /// @custom:deprecated Previously `_wethUnwrapper` (address) uint256 private ______deprecatedWethUnwrapper; constructor() { From 0e45084d93b7a50374ece76c946814126d5a37f1 Mon Sep 17 00:00:00 2001 From: Bao Date: Fri, 23 Aug 2024 13:24:02 +0700 Subject: [PATCH 21/74] script: expect revert with invalid signer (#68) --- script/20240807-ir-recover/20240807-ir-recover.s.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/20240807-ir-recover/20240807-ir-recover.s.sol b/script/20240807-ir-recover/20240807-ir-recover.s.sol index 30a500ee..5700d94b 100644 --- a/script/20240807-ir-recover/20240807-ir-recover.s.sol +++ b/script/20240807-ir-recover/20240807-ir-recover.s.sol @@ -256,7 +256,7 @@ contract Migration__20240807_IR_Recover is Migration { sigs[0].r = 0xb377fd3c624426b0ef33f110dfc9424e6444f9000e8d4a859cd9102e59834544; sigs[0].s = 0x2e7f1f124b131944db2982c70f5ffc4054326facbbca95f161f3f042b58f52f8; - vm.expectRevert(abi.encodeWithSelector(IMainchainGatewayV3.ErrQueryForInsufficientVoteWeight.selector)); + vm.expectRevert(abi.encodeWithSelector(IMainchainGatewayV3.ErrInvalidSigner.selector, 0x11219E77CB5dF1E33e6e2985830d9Ef07f513f02, 0, sigs[0])); _mainchainGW.submitWithdrawal(dummyReceipt, sigs); bool reverted = vm.revertTo(snapshotId); From 38098fed4b2078aa29da98bf74da5bbbf7829c53 Mon Sep 17 00:00:00 2001 From: Bao Date: Fri, 23 Aug 2024 13:48:07 +0700 Subject: [PATCH 22/74] Update src/mainchain/MainchainGatewayV3.sol Co-authored-by: tu-do.ron Signed-off-by: Bao --- src/mainchain/MainchainGatewayV3.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainchain/MainchainGatewayV3.sol b/src/mainchain/MainchainGatewayV3.sol index 2d230211..84282935 100644 --- a/src/mainchain/MainchainGatewayV3.sol +++ b/src/mainchain/MainchainGatewayV3.sol @@ -372,7 +372,7 @@ contract MainchainGatewayV3 is * Withdraw if token is WETH * * `IWETH.withdraw` only sends 2300 gas, which might be insufficient when recipient is a proxy, in this case, gateway proxy. - * However, the storage accesses on Shanghai hardfork are warm-access, only requires additional 100*2 gas. So it should be safe, + * However, the storage accesses of proxy relating variables on Shanghai hardfork are warm-access, only requires additional 100*2 gas. So it should be safe, * no need to go via a mediator of WETH unwrapper. */ if (_roninWeth == _request.tokenAddr) { From 1f9cda8e716d1def4c7c5ac7c29c4d674d4a5ff2 Mon Sep 17 00:00:00 2001 From: nxqbao Date: Fri, 23 Aug 2024 13:47:30 +0700 Subject: [PATCH 23/74] fix(MainchainGatewayV3): rename local var mainchainWETH --- src/mainchain/MainchainGatewayV3.sol | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/mainchain/MainchainGatewayV3.sol b/src/mainchain/MainchainGatewayV3.sol index 84282935..fb2a953c 100644 --- a/src/mainchain/MainchainGatewayV3.sol +++ b/src/mainchain/MainchainGatewayV3.sol @@ -350,16 +350,16 @@ contract MainchainGatewayV3 is */ function _requestDepositFor(Transfer.Request memory _request, address _requester) internal virtual { MappedToken memory _token; - address _roninWeth = address(wrappedNativeToken); + address mainchainWeth = address(wrappedNativeToken); _request.info.validate(); if (_request.tokenAddr == address(0)) { if (_request.info.quantity != msg.value) revert ErrInvalidRequest(); - _token = getRoninToken(_roninWeth); + _token = getRoninToken(mainchainWeth); if (_token.erc != _request.info.erc) revert ErrInvalidTokenStandard(); - _request.tokenAddr = _roninWeth; + _request.tokenAddr = mainchainWeth; } else { if (msg.value != 0) revert ErrInvalidRequest(); @@ -375,8 +375,8 @@ contract MainchainGatewayV3 is * However, the storage accesses of proxy relating variables on Shanghai hardfork are warm-access, only requires additional 100*2 gas. So it should be safe, * no need to go via a mediator of WETH unwrapper. */ - if (_roninWeth == _request.tokenAddr) { - IWETH(_roninWeth).withdraw(_request.info.quantity); + if (mainchainWeth == _request.tokenAddr) { + IWETH(mainchainWeth).withdraw(_request.info.quantity); } } From ca7b1101800f78eda2649e356826532cdce7da55 Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Mon, 19 Aug 2024 14:53:35 +0700 Subject: [PATCH 24/74] script: add more post check in quorum --- .github/workflows/test.yml | 25 +++--- script/PostCheckCI.s.sol | 39 ++++++++ .../PostCheck_BridgeManager_Quorum.s.sol | 88 +++++++++++++++++-- test/libraries/LibTokenInfo.t.sol | 2 +- test/libraries/LibTokenOwner.t.sol | 2 +- 5 files changed, 138 insertions(+), 18 deletions(-) create mode 100644 script/PostCheckCI.s.sol diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 46843fa1..37f9ed61 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,19 +5,19 @@ on: branches: - mainnet - testnet - - 'feature/*' - - 'features/*' - - 'feat/*' - - 'feats/*' + - "feature/*" + - "features/*" + - "feat/*" + - "feats/*" pull_request: branches: - mainnet - testnet - - 'feature/*' - - 'features/*' - - 'feat/*' - - 'feats/*' - - 'release/*' + - "feature/*" + - "features/*" + - "feat/*" + - "feats/*" + - "release/*" env: FOUNDRY_PROFILE: ci @@ -46,6 +46,7 @@ jobs: run: | chmod +x ./update-deps.sh ./update-deps.sh + id: update-deps - name: Run Forge build run: | @@ -53,7 +54,11 @@ jobs: forge build id: build + - name: Run PostCheck CI + run: ./run.sh PostCheckCI -f ronin-mainnet + id: postcheck + - name: Run Forge tests run: | forge test -vvv - id: test \ No newline at end of file + id: test diff --git a/script/PostCheckCI.s.sol b/script/PostCheckCI.s.sol new file mode 100644 index 00000000..415b172f --- /dev/null +++ b/script/PostCheckCI.s.sol @@ -0,0 +1,39 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.19; + +import { console } from "forge-std/console.sol"; +import { TransparentUpgradeableProxy } from "@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol"; +import { DefaultNetwork } from "@fdk/utils/DefaultNetwork.sol"; +import { LibProxy } from "@fdk/libraries/LibProxy.sol"; +import { TNetwork } from "@fdk/types/TNetwork.sol"; +import { Migration } from "./Migration.s.sol"; +import { Contract } from "./utils/Contract.sol"; +import { LibCompanionNetwork } from "./shared/libraries/LibCompanionNetwork.sol"; + +contract PostCheckCI is Migration { + using LibProxy for *; + using LibCompanionNetwork for *; + + function run() external onlyOn(DefaultNetwork.RoninMainnet.key()) { + address payable ronBM = loadContract(Contract.RoninBridgeManager.key()); + _cheatChangePAIfNotSelf(ronBM); + + TNetwork currNetwork = network(); + TNetwork companionNetwork = currNetwork.companionNetwork(); + + (, uint256 prevForkId) = switchTo(companionNetwork); + address payable ethBM = loadContract(Contract.MainchainBridgeManager.key()); + _cheatChangePAIfNotSelf(ethBM); + + switchBack(currNetwork, prevForkId); + } + + function _cheatChangePAIfNotSelf(address payable proxy) private { + address payable pa = proxy.getProxyAdmin(); + if (pa != proxy) { + console.log("Cheat changing proxy admin of %s from %s to %s", vm.getLabel(proxy), pa, proxy); + vm.prank(pa); + TransparentUpgradeableProxy(proxy).changeAdmin(proxy); + } + } +} diff --git a/script/post-check/bridge-manager/quorum/PostCheck_BridgeManager_Quorum.s.sol b/script/post-check/bridge-manager/quorum/PostCheck_BridgeManager_Quorum.s.sol index 1fedfa8a..8313d8b0 100644 --- a/script/post-check/bridge-manager/quorum/PostCheck_BridgeManager_Quorum.s.sol +++ b/script/post-check/bridge-manager/quorum/PostCheck_BridgeManager_Quorum.s.sol @@ -15,17 +15,93 @@ abstract contract PostCheck_BridgeManager_Quorum is BasePostCheck { using LibCompanionNetwork for *; function _validate_BridgeManager_Quorum() internal { - validate_NonZero_MinimumVoteWeight(); + // -------------- BridgeManager Quorum -------------- + validate_NonZero_MinimumVoteWeight_BridgeManager(); + validate_NonZero_TotalWeight_BridgeManager(); + validate_Valid_Threshold_BridgeManager(); + + // -------------- Gateway Quorum -------------- + validate_NonZero_MinimumVoteWeight_Gateway(); + validate_NonZero_TotalWeight_Gateway(); + validate_Valid_Threshold_Gateway(); + } + + function validate_Valid_Threshold_BridgeManager() internal onlyOnRoninNetworkOrLocal onPostCheck("validate_valid_Threshold_BridgeManager") { + (uint256 num, uint256 denom) = IQuorum(roninBridgeManager).getThreshold(); + assertTrue(num > 0 && denom > 0, "Ronin: BridgeManager's Threshold must be greater than 0"); + assertTrue(num <= denom, "Ronin: BridgeManager's Threshold numerator must be less than or equal to denominator"); + TNetwork currNetwork = network(); + + (, TNetwork companionNetwork) = currNetwork.companionNetworkData(); + (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + + (num, denom) = IQuorum(mainchainBridgeManager).getThreshold(); + assertTrue(num > 0 && denom > 0, "Mainchain: BridgeManager's Threshold must be greater than 0"); + assertTrue(num <= denom, "Mainchain: BridgeManager's Threshold numerator must be less than or equal to denominator"); + + switchBack(prevNetwork, prevForkId); + } + + function validate_Valid_Threshold_Gateway() internal onlyOnRoninNetworkOrLocal onPostCheck("validate_Valid_Threshold_Gateway") { + (uint256 num, uint256 denom) = IQuorum(roninGateway).getThreshold(); + assertTrue(num > 0 && denom > 0, "Ronin: Gateway's Threshold must be greater than 0"); + assertTrue(num <= denom, "Ronin: Gateway's Threshold numerator must be less than or equal to denominator"); + TNetwork currNetwork = network(); + + (, TNetwork companionNetwork) = currNetwork.companionNetworkData(); + (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + + (num, denom) = IQuorum(mainchainGateway).getThreshold(); + assertTrue(num > 0 && denom > 0, "Mainchain: Gateway's Threshold must be greater than 0"); + assertTrue(num <= denom, "Mainchain: Gateway's Threshold numerator must be less than or equal to denominator"); + + switchBack(prevNetwork, prevForkId); + } + + function validate_NonZero_TotalWeight_Gateway() internal onlyOnRoninNetworkOrLocal onPostCheck("validate_NonZero_TotalWeight_Gateway") { + assertTrue(IBridgeManager(roninGateway).getTotalWeight() > 0, "Ronin: Gateway's Total weight must be greater than 0"); + TNetwork currNetwork = network(); + + (, TNetwork companionNetwork) = currNetwork.companionNetworkData(); + (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + + assertTrue(IBridgeManager(mainchainGateway).getTotalWeight() > 0, "Mainchain: Gateway's Total weight must be greater than 0"); + + switchBack(prevNetwork, prevForkId); + } + + function validate_NonZero_MinimumVoteWeight_Gateway() internal onlyOnRoninNetworkOrLocal onPostCheck("validate_NonZero_Threshold_Gateway") { + assertTrue(IQuorum(roninGateway).minimumVoteWeight() > 0, "Ronin: Gateway's Minimum vote weight must be greater than 0"); + TNetwork currNetwork = network(); + + (, TNetwork companionNetwork) = currNetwork.companionNetworkData(); + (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + + assertTrue(IQuorum(mainchainGateway).minimumVoteWeight() > 0, "Mainchain: Gateway's Minimum vote weight must be greater than 0"); + + switchBack(prevNetwork, prevForkId); + } + + function validate_NonZero_MinimumVoteWeight_BridgeManager() private onlyOnRoninNetworkOrLocal onPostCheck("validate_NonZero_MinimumVoteWeight") { + assertTrue(IQuorum(roninBridgeManager).minimumVoteWeight() > 0, "Ronin: BridgeManager's Minimum vote weight must be greater than 0"); + TNetwork currNetwork = network(); + + (, TNetwork companionNetwork) = currNetwork.companionNetworkData(); + (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + + assertTrue(IQuorum(mainchainBridgeManager).minimumVoteWeight() > 0, "Mainchain: BridgeManager's Minimum vote weight must be greater than 0"); + + switchBack(prevNetwork, prevForkId); } - function validate_NonZero_MinimumVoteWeight() private onlyOnRoninNetworkOrLocal onPostCheck("validate_NonZero_MinimumVoteWeight") { - assertTrue(IQuorum(roninBridgeManager).minimumVoteWeight() > 0, "Ronin: Minimum vote weight must be greater than 0"); - TNetwork currentNetwork = network(); + function validate_NonZero_TotalWeight_BridgeManager() private onlyOnRoninNetworkOrLocal onPostCheck("validate_NonZero_TotalWeight_BridgeManager") { + assertTrue(IBridgeManager(roninBridgeManager).getTotalWeight() > 0, "Ronin: BridgeManager's Total weight must be greater than 0"); + TNetwork currNetwork = network(); - (, TNetwork companionNetwork) = currentNetwork.companionNetworkData(); + (, TNetwork companionNetwork) = currNetwork.companionNetworkData(); (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); - assertTrue(IQuorum(mainchainBridgeManager).minimumVoteWeight() > 0, "Mainchain: Minimum vote weight must be greater than 0"); + assertTrue(IBridgeManager(mainchainBridgeManager).getTotalWeight() > 0, "Mainchain: BridgeManager's Total weight must be greater than 0"); switchBack(prevNetwork, prevForkId); } diff --git a/test/libraries/LibTokenInfo.t.sol b/test/libraries/LibTokenInfo.t.sol index 18365aed..8d5c8d1a 100644 --- a/test/libraries/LibTokenInfo.t.sol +++ b/test/libraries/LibTokenInfo.t.sol @@ -11,7 +11,7 @@ contract LibTokenInfoTest is Test { typeHash = LibTokenInfo.INFO_TYPE_HASH_SINGLE; } - function testFuzz_hash(uint8 _erc, uint256 id, uint256 quantity) external { + function testFuzz_hash(uint8 _erc, uint256 id, uint256 quantity) external view { _erc = uint8(_bound(_erc, 0, 2)); TokenStandard erc; assembly { diff --git a/test/libraries/LibTokenOwner.t.sol b/test/libraries/LibTokenOwner.t.sol index 3a9651fc..db0e2997 100644 --- a/test/libraries/LibTokenOwner.t.sol +++ b/test/libraries/LibTokenOwner.t.sol @@ -11,7 +11,7 @@ contract LibTokenOwnerTest is Test { _typeHash = LibTokenOwner.OWNER_TYPE_HASH; } - function testFuzz_hash(TokenOwner memory self) external { + function testFuzz_hash(TokenOwner memory self) external view { bytes32 expected = keccak256(abi.encode(_typeHash, self.addr, self.tokenAddr, self.chainId)); bytes32 actual = LibTokenOwner.hash(self); assertEq(actual, expected, "hash mismatch"); From bac6a3f6c9ef56591dfd52913db14bf2abf70f5f Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Mon, 19 Aug 2024 14:53:49 +0700 Subject: [PATCH 25/74] chore: storage layout --- logs/contract-code-sizes.log | 160 ++++++++++-------- ...ation__Deploy_RoninMockERC1155_Testnet.log | 18 ++ ...0716_P1_3_DeployAllContract_RoninChain.log | 12 ++ ...40716_P1_4_DeployAllContract_Mainchain.log | 14 ++ logs/storage/Base.sol:CommonBase.log | 2 +- logs/storage/Base.sol:ScriptBase.log | 2 +- logs/storage/Base.sol:TestBase.log | 2 +- ...aseGeneralConfig.sol:BaseGeneralConfig.log | 46 ++--- .../BaseMigrationV2.sol:BaseMigrationV2.log | 12 -- .../BridgeManager.sol:BridgeManager.log | 3 + ...ster.sol:BridgeManagerCallbackRegister.log | 2 + ...eManagerQuorum.sol:BridgeManagerQuorum.log | 2 + .../BridgeMigration.sol:BridgeMigration.log | 12 -- ...eRewardHarness.sol:BridgeRewardHarness.log | 2 + ...eProposal.sol:CommonGovernanceProposal.log | 8 +- ...ernanceRelay.sol:CommonGovernanceRelay.log | 8 +- .../ContractConfig.sol:ContractConfig.log | 14 +- .../CoreGovernance.sol:CoreGovernance.log | 8 +- logs/storage/ERC1155.sol:ERC1155.log | 3 + .../ERC1155Burnable.sol:ERC1155Burnable.log | 3 + .../ERC1155Pausable.sol:ERC1155Pausable.log | 4 + ...erPauser.sol:ERC1155PresetMinterPauser.log | 6 + .../GeneralConfig.sol:GeneralConfig.log | 45 ++--- ...nfigExtended.sol:GeneralConfigExtended.log | 20 --- ...oreGovernance.sol:GlobalCoreGovernance.log | 10 +- ...eProposal.sol:GlobalGovernanceProposal.log | 10 +- ...ernanceRelay.sol:GlobalGovernanceRelay.log | 10 +- ...ernanceProposal.sol:GovernanceProposal.log | 8 +- .../GovernanceRelay.sol:GovernanceRelay.log | 8 +- ...idgeManager.sol:MainchainBridgeManager.log | 11 +- ...wayBatcher.sol:MainchainGatewayBatcher.log | 3 + ...nchainGatewayV3.sol:MainchainGatewayV3.log | 5 +- .../MigrationConfig.sol:MigrationConfig.log | 2 +- ...ockBridgeManager.sol:MockBridgeManager.log | 3 + .../MockBridgeSlash.sol:MockBridgeSlash.log | 4 +- ...kBridgeTracking.sol:MockBridgeTracking.log | 1 - logs/storage/MockERC1155.sol:MockERC1155.log | 3 + ...idgeManager.sol:MockRoninBridgeManager.log | 11 +- logs/storage/MockSLP.sol:MockSLP.log | 5 + logs/storage/MockUSDC.sol:MockUSDC.log | 5 + .../NetworkConfig.sol:NetworkConfig.log | 10 +- logs/storage/Ownable.sol:Ownable.log | 1 - logs/storage/PostChecker.sol:PostChecker.log | 50 ++++++ logs/storage/ProxyAdmin.sol:ProxyAdmin.log | 1 - .../ReentrancyGuard.sol:ReentrancyGuard.log | 1 + ...inBridgeManager.sol:RoninBridgeManager.log | 11 +- ...ctor.sol:RoninBridgeManagerConstructor.log | 7 + .../RoninMockERC1155.sol:RoninMockERC1155.log | 6 + .../RuntimeConfig.sol:RuntimeConfig.log | 8 +- logs/storage/Script.sol:Script.log | 16 +- .../StdAssertions.sol:StdAssertions.log | 3 +- logs/storage/StdChains.sol:StdChains.log | 10 +- logs/storage/StdCheats.sol:StdCheats.log | 4 +- logs/storage/StdCheats.sol:StdCheatsSafe.log | 2 +- .../storage/StdInvariant.sol:StdInvariant.log | 19 ++- ...serDefinedConfig.sol:UserDefinedConfig.log | 2 + logs/storage/WBTC.sol:WBTC.log | 8 + .../storage/WalletConfig.sol:WalletConfig.log | 10 +- .../WethUnwrapper.sol:WethUnwrapper.log | 1 + logs/storage/test.sol:DSTest.log | 2 - logs/storage/test.sol:Test.log | 39 ++--- 61 files changed, 449 insertions(+), 269 deletions(-) create mode 100644 logs/storage/20240612-deploy-MockERC1155-testnet.sol:Migration__Deploy_RoninMockERC1155_Testnet.log create mode 100644 logs/storage/20240716-p1-3-deploy-all-contract-roninchain.sol:Migration__20240716_P1_3_DeployAllContract_RoninChain.log create mode 100644 logs/storage/20240716-p1-4-deploy-all-contract-roninchain.sol:Migration__20240716_P1_4_DeployAllContract_Mainchain.log delete mode 100644 logs/storage/BaseMigrationV2.sol:BaseMigrationV2.log create mode 100644 logs/storage/BridgeManager.sol:BridgeManager.log create mode 100644 logs/storage/BridgeManagerCallbackRegister.sol:BridgeManagerCallbackRegister.log create mode 100644 logs/storage/BridgeManagerQuorum.sol:BridgeManagerQuorum.log delete mode 100644 logs/storage/BridgeMigration.sol:BridgeMigration.log create mode 100644 logs/storage/BridgeRewardHarness.sol:BridgeRewardHarness.log create mode 100644 logs/storage/ERC1155.sol:ERC1155.log create mode 100644 logs/storage/ERC1155Burnable.sol:ERC1155Burnable.log create mode 100644 logs/storage/ERC1155Pausable.sol:ERC1155Pausable.log create mode 100644 logs/storage/ERC1155PresetMinterPauser.sol:ERC1155PresetMinterPauser.log delete mode 100644 logs/storage/GeneralConfigExtended.sol:GeneralConfigExtended.log create mode 100644 logs/storage/MainchainGatewayBatcher.sol:MainchainGatewayBatcher.log create mode 100644 logs/storage/MockBridgeManager.sol:MockBridgeManager.log delete mode 100644 logs/storage/MockBridgeTracking.sol:MockBridgeTracking.log create mode 100644 logs/storage/MockERC1155.sol:MockERC1155.log create mode 100644 logs/storage/MockSLP.sol:MockSLP.log create mode 100644 logs/storage/MockUSDC.sol:MockUSDC.log delete mode 100644 logs/storage/Ownable.sol:Ownable.log create mode 100644 logs/storage/PostChecker.sol:PostChecker.log delete mode 100644 logs/storage/ProxyAdmin.sol:ProxyAdmin.log create mode 100644 logs/storage/ReentrancyGuard.sol:ReentrancyGuard.log create mode 100644 logs/storage/RoninBridgeManagerConstructor.sol:RoninBridgeManagerConstructor.log create mode 100644 logs/storage/RoninMockERC1155.sol:RoninMockERC1155.log create mode 100644 logs/storage/UserDefinedConfig.sol:UserDefinedConfig.log create mode 100644 logs/storage/WBTC.sol:WBTC.log create mode 100644 logs/storage/WethUnwrapper.sol:WethUnwrapper.log delete mode 100644 logs/storage/test.sol:DSTest.log diff --git a/logs/contract-code-sizes.log b/logs/contract-code-sizes.log index 940034ef..b9766e44 100644 --- a/logs/contract-code-sizes.log +++ b/logs/contract-code-sizes.log @@ -1,72 +1,90 @@ -| Contract | Size (kB) | Margin (kB) | -|-------------------------------------------------|-----------|-------------| -| Address | 0.086 | 24.49 | -| AddressArrayUtils | 0.086 | 24.49 | -| ArtifactFactory | 9.155 | 15.421 | -| Ballot | 0.086 | 24.49 | -| BaseGeneralConfig | 20.128 | 4.448 | -| BridgeOperatorsBallot | 0.166 | 24.41 | -| BridgeReward | 6.032 | 18.544 | -| BridgeSlash | 5.639 | 18.937 | -| BridgeTracking | 6.875 | 17.701 | -| ECDSA | 0.086 | 24.49 | -| ERC1967Proxy | 0.177 | 24.399 | -| ERC20 | 2.173 | 22.403 | -| ERC20PresetMinterPauser | 6.368 | 18.208 | -| ERC721 | 4.363 | 20.213 | -| EnumerableSet | 0.086 | 24.49 | -| ErrorHandler | 0.086 | 24.49 | -| GeneralConfig | 20.136 | 4.44 | -| GeneralConfigExtended | 20.35 | 4.226 | -| GlobalProposal | 0.166 | 24.41 | -| HasBridgeDeprecated | 0.063 | 24.513 | -| HasValidatorDeprecated | 0.063 | 24.513 | -| IsolatedGovernance | 0.086 | 24.49 | -| JSONParserLib | 0.086 | 24.49 | -| LibArray | 0.086 | 24.49 | -| LibArrayUtils | 0.086 | 24.49 | -| LibErrorHandler | 0.086 | 24.49 | -| LibProxy | 0.086 | 24.49 | -| LibSharedAddress | 0.086 | 24.49 | -| LibSort | 0.086 | 24.49 | -| LibString | 0.086 | 24.49 | -| LibTUint256Slot | 0.086 | 24.49 | -| MainchainBridgeManager | 19.361 | 5.215 | -| MainchainGatewayV3 | 18.189 | 6.387 | -| Math | 0.086 | 24.49 | -| MockBridge | 1.293 | 23.283 | -| MockBridgeManager | 1.249 | 23.327 | -| MockBridgeReward | 6.771 | 17.805 | -| MockBridgeSlash | 1.388 | 23.188 | -| MockBridgeTracking | 1.897 | 22.679 | -| MockERC20 | 2.442 | 22.134 | -| MockERC721 | 4.741 | 19.835 | -| MockGatewayForTracking | 1.616 | 22.96 | -| MockRoninBridgeManager | 24.601 | -0.025 | -| MockRoninGatewayV3Extended | 20.048 | 4.528 | -| MockTUint256Slot | 2.73 | 21.846 | -| MockValidatorContract_OnlyTiming_ForHardhatTest | 1.06 | 23.516 | -| MockValidatorSet_ForFoundryTest | 0.172 | 24.404 | -| MockWrappedToken | 2.225 | 22.351 | -| PRBMathUtils | 0.063 | 24.513 | -| PauseEnforcer | 4.548 | 20.028 | -| Proposal | 0.166 | 24.41 | -| ProxyAdmin | 1.684 | 22.892 | -| RoninBridgeManager | 24.601 | -0.025 | -| RoninGatewayV3 | 19.765 | 4.811 | -| StdStyle | 0.086 | 24.49 | -| StorageSlot | 0.086 | 24.49 | -| Strings | 0.086 | 24.49 | -| Token | 0.214 | 24.362 | -| Transfer | 0.166 | 24.41 | -| TransparentUpgradeableProxy | 2.068 | 22.508 | -| TransparentUpgradeableProxyV2 | 2.361 | 22.215 | -| console | 0.086 | 24.49 | -| console2 | 0.086 | 24.49 | -| safeconsole | 0.086 | 24.49 | -| stdError | 0.592 | 23.984 | -| stdJson | 0.086 | 24.49 | -| stdMath | 0.086 | 24.49 | -| stdStorage | 0.086 | 24.49 | -| stdStorageSafe | 0.086 | 24.49 | +| Contract | Size (B) | Margin (B) | +|-------------------------------------------------|----------|------------| +| Address | 86 | 24,490 | +| AddressArrayUtils | 86 | 24,490 | +| Ballot | 86 | 24,490 | +| BaseGeneralConfig | 28,814 | -4,238 | +| BridgeOperatorsBallot | 166 | 24,410 | +| BridgeReward | 6,244 | 18,332 | +| BridgeRewardHarness | 6,805 | 17,771 | +| BridgeSlash | 5,507 | 19,069 | +| BridgeTracking | 6,869 | 17,707 | +| ECDSA | 86 | 24,490 | +| ERC1155 | 4,948 | 19,628 | +| ERC1155Holder | 965 | 23,611 | +| ERC1155PresetMinterPauser | 10,492 | 14,084 | +| ERC1967Proxy | 177 | 24,399 | +| ERC20 | 2,173 | 22,403 | +| ERC20PresetMinterPauser | 6,368 | 18,208 | +| ERC721 | 4,363 | 20,213 | +| EnumerableSet | 86 | 24,490 | +| ErrorHandler | 86 | 24,490 | +| GeneralConfig | 33,011 | -8,435 | +| GlobalProposal | 86 | 24,490 | +| HasBridgeDeprecated | 63 | 24,513 | +| HasValidatorDeprecated | 63 | 24,513 | +| IsolatedGovernance | 86 | 24,490 | +| JSONParserLib | 86 | 24,490 | +| LibArray | 86 | 24,490 | +| LibArtifact | 86 | 24,490 | +| LibCompanionNetwork | 86 | 24,490 | +| LibDeploy | 86 | 24,490 | +| LibErrorHandler | 86 | 24,490 | +| LibProposal | 86 | 24,490 | +| LibProxy | 86 | 24,490 | +| LibRandom | 86 | 24,490 | +| LibRequestBatch | 86 | 24,490 | +| LibSharedAddress | 86 | 24,490 | +| LibString | 86 | 24,490 | +| LibTUint256Slot | 86 | 24,490 | +| LibTimeWarper | 86 | 24,490 | +| LibTokenInfo | 166 | 24,410 | +| LibTokenInfoBatch | 86 | 24,490 | +| LibTokenOwner | 166 | 24,410 | +| MainchainBridgeManager | 20,894 | 3,682 | +| MainchainGatewayBatcher | 4,158 | 20,418 | +| MainchainGatewayV3 | 22,075 | 2,501 | +| Math | 86 | 24,490 | +| MockBridge | 1,293 | 23,283 | +| MockBridgeManager | 2,671 | 21,905 | +| MockBridgeReward | 6,956 | 17,620 | +| MockBridgeSlash | 5,884 | 18,692 | +| MockBridgeTracking | 1,896 | 22,680 | +| MockDiscardEther | 137 | 24,439 | +| MockERC1155 | 6,021 | 18,555 | +| MockERC20 | 2,442 | 22,134 | +| MockERC721 | 4,741 | 19,835 | +| MockGatewayForTracking | 1,616 | 22,960 | +| MockRoninBridgeManager | 24,734 | -158 | +| MockRoninGatewayV3Extended | 21,758 | 2,818 | +| MockSLP | 2,442 | 22,134 | +| MockTUint256Slot | 2,730 | 21,846 | +| MockUSDC | 2,442 | 22,134 | +| MockValidatorContract_OnlyTiming_ForHardhatTest | 1,060 | 23,516 | +| MockValidatorSet_ForFoundryTest | 172 | 24,404 | +| MockWrappedToken | 2,225 | 22,351 | +| PRBMathUtils | 63 | 24,513 | +| PauseEnforcer | 4,548 | 20,028 | +| Proposal | 86 | 24,490 | +| RoninBridgeManager | 24,734 | -158 | +| RoninBridgeManagerConstructor | 15,012 | 9,564 | +| RoninGatewayV3 | 21,455 | 3,121 | +| RoninMockERC1155 | 8,871 | 15,705 | +| StdStyle | 86 | 24,490 | +| StorageSlot | 86 | 24,490 | +| Strings | 86 | 24,490 | +| Transfer | 166 | 24,410 | +| TransparentProxyOZv4_9_5 | 2,188 | 22,388 | +| TransparentProxyV2 | 2,391 | 22,185 | +| TransparentUpgradeableProxy | 2,068 | 22,508 | +| TransparentUpgradeableProxyV2 | 2,361 | 22,215 | +| Uint96ArrayUtils | 86 | 24,490 | +| WBTC | 6,574 | 18,002 | +| WethUnwrapper | 1,218 | 23,358 | +| console | 86 | 24,490 | +| safeconsole | 86 | 24,490 | +| stdJson | 86 | 24,490 | +| stdMath | 86 | 24,490 | +| stdStorage | 86 | 24,490 | +| stdStorageSafe | 86 | 24,490 | diff --git a/logs/storage/20240612-deploy-MockERC1155-testnet.sol:Migration__Deploy_RoninMockERC1155_Testnet.log b/logs/storage/20240612-deploy-MockERC1155-testnet.sol:Migration__Deploy_RoninMockERC1155_Testnet.log new file mode 100644 index 00000000..dc3e10f1 --- /dev/null +++ b/logs/storage/20240612-deploy-MockERC1155-testnet.sol:Migration__Deploy_RoninMockERC1155_Testnet.log @@ -0,0 +1,18 @@ +script/20240612-deploy-mockErc1155-testnet/20240612-deploy-MockERC1155-testnet.sol:Migration__Deploy_RoninMockERC1155_Testnet:stdstore (storage_slot: 0) (offset: 0) (type: struct StdStorage) (numberOfBytes: 256) +script/20240612-deploy-mockErc1155-testnet/20240612-deploy-MockERC1155-testnet.sol:Migration__Deploy_RoninMockERC1155_Testnet:stdChainsInitialized (storage_slot: 8) (offset: 0) (type: bool) (numberOfBytes: 1) +script/20240612-deploy-mockErc1155-testnet/20240612-deploy-MockERC1155-testnet.sol:Migration__Deploy_RoninMockERC1155_Testnet:chains (storage_slot: 9) (offset: 0) (type: mapping(string => struct StdChains.Chain)) (numberOfBytes: 32) +script/20240612-deploy-mockErc1155-testnet/20240612-deploy-MockERC1155-testnet.sol:Migration__Deploy_RoninMockERC1155_Testnet:defaultRpcUrls (storage_slot: 10) (offset: 0) (type: mapping(string => string)) (numberOfBytes: 32) +script/20240612-deploy-mockErc1155-testnet/20240612-deploy-MockERC1155-testnet.sol:Migration__Deploy_RoninMockERC1155_Testnet:idToAlias (storage_slot: 11) (offset: 0) (type: mapping(uint256 => string)) (numberOfBytes: 32) +script/20240612-deploy-mockErc1155-testnet/20240612-deploy-MockERC1155-testnet.sol:Migration__Deploy_RoninMockERC1155_Testnet:fallbackToDefaultRpcUrls (storage_slot: 12) (offset: 0) (type: bool) (numberOfBytes: 1) +script/20240612-deploy-mockErc1155-testnet/20240612-deploy-MockERC1155-testnet.sol:Migration__Deploy_RoninMockERC1155_Testnet:gasMeteringOff (storage_slot: 12) (offset: 1) (type: bool) (numberOfBytes: 1) +script/20240612-deploy-mockErc1155-testnet/20240612-deploy-MockERC1155-testnet.sol:Migration__Deploy_RoninMockERC1155_Testnet:IS_SCRIPT (storage_slot: 12) (offset: 2) (type: bool) (numberOfBytes: 1) +script/20240612-deploy-mockErc1155-testnet/20240612-deploy-MockERC1155-testnet.sol:Migration__Deploy_RoninMockERC1155_Testnet:_failed (storage_slot: 12) (offset: 3) (type: bool) (numberOfBytes: 1) +script/20240612-deploy-mockErc1155-testnet/20240612-deploy-MockERC1155-testnet.sol:Migration__Deploy_RoninMockERC1155_Testnet:_originForkBlockNumber (storage_slot: 13) (offset: 0) (type: uint256) (numberOfBytes: 32) +script/20240612-deploy-mockErc1155-testnet/20240612-deploy-MockERC1155-testnet.sol:Migration__Deploy_RoninMockERC1155_Testnet:_overriddenArgs (storage_slot: 14) (offset: 0) (type: bytes) (numberOfBytes: 32) +script/20240612-deploy-mockErc1155-testnet/20240612-deploy-MockERC1155-testnet.sol:Migration__Deploy_RoninMockERC1155_Testnet:_deployScript (storage_slot: 15) (offset: 0) (type: mapping(TContract => contract IMigrationScript)) (numberOfBytes: 32) +script/20240612-deploy-mockErc1155-testnet/20240612-deploy-MockERC1155-testnet.sol:Migration__Deploy_RoninMockERC1155_Testnet:MINTER_ROLE (storage_slot: 16) (offset: 0) (type: bytes32) (numberOfBytes: 32) +script/20240612-deploy-mockErc1155-testnet/20240612-deploy-MockERC1155-testnet.sol:Migration__Deploy_RoninMockERC1155_Testnet:BURNER_ROLE (storage_slot: 17) (offset: 0) (type: bytes32) (numberOfBytes: 32) +script/20240612-deploy-mockErc1155-testnet/20240612-deploy-MockERC1155-testnet.sol:Migration__Deploy_RoninMockERC1155_Testnet:GatewayV3 (storage_slot: 18) (offset: 0) (type: address) (numberOfBytes: 20) +script/20240612-deploy-mockErc1155-testnet/20240612-deploy-MockERC1155-testnet.sol:Migration__Deploy_RoninMockERC1155_Testnet:defaultAdmin (storage_slot: 19) (offset: 0) (type: address) (numberOfBytes: 20) +script/20240612-deploy-mockErc1155-testnet/20240612-deploy-MockERC1155-testnet.sol:Migration__Deploy_RoninMockERC1155_Testnet:testnetAdmin (storage_slot: 20) (offset: 0) (type: address) (numberOfBytes: 20) +script/20240612-deploy-mockErc1155-testnet/20240612-deploy-MockERC1155-testnet.sol:Migration__Deploy_RoninMockERC1155_Testnet:_mockErc1155 (storage_slot: 21) (offset: 0) (type: contract RoninMockERC1155) (numberOfBytes: 20) \ No newline at end of file diff --git a/logs/storage/20240716-p1-3-deploy-all-contract-roninchain.sol:Migration__20240716_P1_3_DeployAllContract_RoninChain.log b/logs/storage/20240716-p1-3-deploy-all-contract-roninchain.sol:Migration__20240716_P1_3_DeployAllContract_RoninChain.log new file mode 100644 index 00000000..cee692d0 --- /dev/null +++ b/logs/storage/20240716-p1-3-deploy-all-contract-roninchain.sol:Migration__20240716_P1_3_DeployAllContract_RoninChain.log @@ -0,0 +1,12 @@ +script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-3-deploy-all-contract-roninchain.sol:Migration__20240716_P1_3_DeployAllContract_RoninChain:stdstore (storage_slot: 0) (offset: 0) (type: struct StdStorage) (numberOfBytes: 256) +script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-3-deploy-all-contract-roninchain.sol:Migration__20240716_P1_3_DeployAllContract_RoninChain:stdChainsInitialized (storage_slot: 8) (offset: 0) (type: bool) (numberOfBytes: 1) +script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-3-deploy-all-contract-roninchain.sol:Migration__20240716_P1_3_DeployAllContract_RoninChain:chains (storage_slot: 9) (offset: 0) (type: mapping(string => struct StdChains.Chain)) (numberOfBytes: 32) +script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-3-deploy-all-contract-roninchain.sol:Migration__20240716_P1_3_DeployAllContract_RoninChain:defaultRpcUrls (storage_slot: 10) (offset: 0) (type: mapping(string => string)) (numberOfBytes: 32) +script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-3-deploy-all-contract-roninchain.sol:Migration__20240716_P1_3_DeployAllContract_RoninChain:idToAlias (storage_slot: 11) (offset: 0) (type: mapping(uint256 => string)) (numberOfBytes: 32) +script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-3-deploy-all-contract-roninchain.sol:Migration__20240716_P1_3_DeployAllContract_RoninChain:fallbackToDefaultRpcUrls (storage_slot: 12) (offset: 0) (type: bool) (numberOfBytes: 1) +script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-3-deploy-all-contract-roninchain.sol:Migration__20240716_P1_3_DeployAllContract_RoninChain:gasMeteringOff (storage_slot: 12) (offset: 1) (type: bool) (numberOfBytes: 1) +script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-3-deploy-all-contract-roninchain.sol:Migration__20240716_P1_3_DeployAllContract_RoninChain:IS_SCRIPT (storage_slot: 12) (offset: 2) (type: bool) (numberOfBytes: 1) +script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-3-deploy-all-contract-roninchain.sol:Migration__20240716_P1_3_DeployAllContract_RoninChain:_failed (storage_slot: 12) (offset: 3) (type: bool) (numberOfBytes: 1) +script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-3-deploy-all-contract-roninchain.sol:Migration__20240716_P1_3_DeployAllContract_RoninChain:_originForkBlockNumber (storage_slot: 13) (offset: 0) (type: uint256) (numberOfBytes: 32) +script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-3-deploy-all-contract-roninchain.sol:Migration__20240716_P1_3_DeployAllContract_RoninChain:_overriddenArgs (storage_slot: 14) (offset: 0) (type: bytes) (numberOfBytes: 32) +script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-3-deploy-all-contract-roninchain.sol:Migration__20240716_P1_3_DeployAllContract_RoninChain:_deployScript (storage_slot: 15) (offset: 0) (type: mapping(TContract => contract IMigrationScript)) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/20240716-p1-4-deploy-all-contract-roninchain.sol:Migration__20240716_P1_4_DeployAllContract_Mainchain.log b/logs/storage/20240716-p1-4-deploy-all-contract-roninchain.sol:Migration__20240716_P1_4_DeployAllContract_Mainchain.log new file mode 100644 index 00000000..23671507 --- /dev/null +++ b/logs/storage/20240716-p1-4-deploy-all-contract-roninchain.sol:Migration__20240716_P1_4_DeployAllContract_Mainchain.log @@ -0,0 +1,14 @@ +script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-4-deploy-all-contract-roninchain.sol:Migration__20240716_P1_4_DeployAllContract_Mainchain:stdstore (storage_slot: 0) (offset: 0) (type: struct StdStorage) (numberOfBytes: 256) +script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-4-deploy-all-contract-roninchain.sol:Migration__20240716_P1_4_DeployAllContract_Mainchain:stdChainsInitialized (storage_slot: 8) (offset: 0) (type: bool) (numberOfBytes: 1) +script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-4-deploy-all-contract-roninchain.sol:Migration__20240716_P1_4_DeployAllContract_Mainchain:chains (storage_slot: 9) (offset: 0) (type: mapping(string => struct StdChains.Chain)) (numberOfBytes: 32) +script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-4-deploy-all-contract-roninchain.sol:Migration__20240716_P1_4_DeployAllContract_Mainchain:defaultRpcUrls (storage_slot: 10) (offset: 0) (type: mapping(string => string)) (numberOfBytes: 32) +script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-4-deploy-all-contract-roninchain.sol:Migration__20240716_P1_4_DeployAllContract_Mainchain:idToAlias (storage_slot: 11) (offset: 0) (type: mapping(uint256 => string)) (numberOfBytes: 32) +script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-4-deploy-all-contract-roninchain.sol:Migration__20240716_P1_4_DeployAllContract_Mainchain:fallbackToDefaultRpcUrls (storage_slot: 12) (offset: 0) (type: bool) (numberOfBytes: 1) +script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-4-deploy-all-contract-roninchain.sol:Migration__20240716_P1_4_DeployAllContract_Mainchain:gasMeteringOff (storage_slot: 12) (offset: 1) (type: bool) (numberOfBytes: 1) +script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-4-deploy-all-contract-roninchain.sol:Migration__20240716_P1_4_DeployAllContract_Mainchain:IS_SCRIPT (storage_slot: 12) (offset: 2) (type: bool) (numberOfBytes: 1) +script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-4-deploy-all-contract-roninchain.sol:Migration__20240716_P1_4_DeployAllContract_Mainchain:_failed (storage_slot: 12) (offset: 3) (type: bool) (numberOfBytes: 1) +script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-4-deploy-all-contract-roninchain.sol:Migration__20240716_P1_4_DeployAllContract_Mainchain:_originForkBlockNumber (storage_slot: 13) (offset: 0) (type: uint256) (numberOfBytes: 32) +script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-4-deploy-all-contract-roninchain.sol:Migration__20240716_P1_4_DeployAllContract_Mainchain:_overriddenArgs (storage_slot: 14) (offset: 0) (type: bytes) (numberOfBytes: 32) +script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-4-deploy-all-contract-roninchain.sol:Migration__20240716_P1_4_DeployAllContract_Mainchain:_deployScript (storage_slot: 15) (offset: 0) (type: mapping(TContract => contract IMigrationScript)) (numberOfBytes: 32) +script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-4-deploy-all-contract-roninchain.sol:Migration__20240716_P1_4_DeployAllContract_Mainchain:_newMainchainBridgeManager (storage_slot: 16) (offset: 0) (type: contract IMainchainBridgeManager) (numberOfBytes: 20) +script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-4-deploy-all-contract-roninchain.sol:Migration__20240716_P1_4_DeployAllContract_Mainchain:_currMainchainBridgeManager (storage_slot: 17) (offset: 0) (type: contract IMainchainBridgeManager) (numberOfBytes: 20) \ No newline at end of file diff --git a/logs/storage/Base.sol:CommonBase.log b/logs/storage/Base.sol:CommonBase.log index 6370ed55..f5298bd1 100644 --- a/logs/storage/Base.sol:CommonBase.log +++ b/logs/storage/Base.sol:CommonBase.log @@ -1 +1 @@ -lib/forge-std/src/Base.sol:CommonBase:stdstore (storage_slot: 0) (offset: 0) (type: struct StdStorage) (numberOfBytes: 224) \ No newline at end of file +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/Base.sol:CommonBase:stdstore (storage_slot: 0) (offset: 0) (type: struct StdStorage) (numberOfBytes: 256) \ No newline at end of file diff --git a/logs/storage/Base.sol:ScriptBase.log b/logs/storage/Base.sol:ScriptBase.log index 8c099a55..26456d7f 100644 --- a/logs/storage/Base.sol:ScriptBase.log +++ b/logs/storage/Base.sol:ScriptBase.log @@ -1 +1 @@ -lib/forge-std/src/Base.sol:ScriptBase:stdstore (storage_slot: 0) (offset: 0) (type: struct StdStorage) (numberOfBytes: 224) \ No newline at end of file +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/Base.sol:ScriptBase:stdstore (storage_slot: 0) (offset: 0) (type: struct StdStorage) (numberOfBytes: 256) \ No newline at end of file diff --git a/logs/storage/Base.sol:TestBase.log b/logs/storage/Base.sol:TestBase.log index 8756115b..5024beef 100644 --- a/logs/storage/Base.sol:TestBase.log +++ b/logs/storage/Base.sol:TestBase.log @@ -1 +1 @@ -lib/forge-std/src/Base.sol:TestBase:stdstore (storage_slot: 0) (offset: 0) (type: struct StdStorage) (numberOfBytes: 224) \ No newline at end of file +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/Base.sol:TestBase:stdstore (storage_slot: 0) (offset: 0) (type: struct StdStorage) (numberOfBytes: 256) \ No newline at end of file diff --git a/logs/storage/BaseGeneralConfig.sol:BaseGeneralConfig.log b/logs/storage/BaseGeneralConfig.sol:BaseGeneralConfig.log index 8eaddc14..6e51b4f2 100644 --- a/logs/storage/BaseGeneralConfig.sol:BaseGeneralConfig.log +++ b/logs/storage/BaseGeneralConfig.sol:BaseGeneralConfig.log @@ -1,20 +1,26 @@ -lib/foundry-deployment-kit/script/BaseGeneralConfig.sol:BaseGeneralConfig:_resolved (storage_slot: 0) (offset: 0) (type: bool) (numberOfBytes: 1) -lib/foundry-deployment-kit/script/BaseGeneralConfig.sol:BaseGeneralConfig:_option (storage_slot: 1) (offset: 0) (type: struct IRuntimeConfig.Option) (numberOfBytes: 32) -lib/foundry-deployment-kit/script/BaseGeneralConfig.sol:BaseGeneralConfig:_rawCommand (storage_slot: 2) (offset: 0) (type: string) (numberOfBytes: 32) -lib/foundry-deployment-kit/script/BaseGeneralConfig.sol:BaseGeneralConfig:stdstore (storage_slot: 3) (offset: 0) (type: struct StdStorage) (numberOfBytes: 224) -lib/foundry-deployment-kit/script/BaseGeneralConfig.sol:BaseGeneralConfig:_envLabel (storage_slot: 10) (offset: 0) (type: string) (numberOfBytes: 32) -lib/foundry-deployment-kit/script/BaseGeneralConfig.sol:BaseGeneralConfig:_envSender (storage_slot: 11) (offset: 0) (type: address) (numberOfBytes: 20) -lib/foundry-deployment-kit/script/BaseGeneralConfig.sol:BaseGeneralConfig:_trezorSender (storage_slot: 12) (offset: 0) (type: address) (numberOfBytes: 20) -lib/foundry-deployment-kit/script/BaseGeneralConfig.sol:BaseGeneralConfig:_walletOption (storage_slot: 12) (offset: 20) (type: enum IWalletConfig.WalletOption) (numberOfBytes: 1) -lib/foundry-deployment-kit/script/BaseGeneralConfig.sol:BaseGeneralConfig:_absolutePath (storage_slot: 13) (offset: 0) (type: string) (numberOfBytes: 32) -lib/foundry-deployment-kit/script/BaseGeneralConfig.sol:BaseGeneralConfig:_deploymentRoot (storage_slot: 14) (offset: 0) (type: string) (numberOfBytes: 32) -lib/foundry-deployment-kit/script/BaseGeneralConfig.sol:BaseGeneralConfig:_contractNameMap (storage_slot: 15) (offset: 0) (type: mapping(TContract => string)) (numberOfBytes: 32) -lib/foundry-deployment-kit/script/BaseGeneralConfig.sol:BaseGeneralConfig:_contractAbsolutePathMap (storage_slot: 16) (offset: 0) (type: mapping(TContract => string)) (numberOfBytes: 32) -lib/foundry-deployment-kit/script/BaseGeneralConfig.sol:BaseGeneralConfig:_contractAddrSet (storage_slot: 17) (offset: 0) (type: mapping(uint256 => struct EnumerableSet.AddressSet)) (numberOfBytes: 32) -lib/foundry-deployment-kit/script/BaseGeneralConfig.sol:BaseGeneralConfig:_contractAddrMap (storage_slot: 18) (offset: 0) (type: mapping(uint256 => mapping(string => address))) (numberOfBytes: 32) -lib/foundry-deployment-kit/script/BaseGeneralConfig.sol:BaseGeneralConfig:_contractTypeMap (storage_slot: 19) (offset: 0) (type: mapping(uint256 => mapping(address => TContract))) (numberOfBytes: 32) -lib/foundry-deployment-kit/script/BaseGeneralConfig.sol:BaseGeneralConfig:_deploymentRoot (storage_slot: 20) (offset: 0) (type: string) (numberOfBytes: 32) -lib/foundry-deployment-kit/script/BaseGeneralConfig.sol:BaseGeneralConfig:_isForkModeEnabled (storage_slot: 21) (offset: 0) (type: bool) (numberOfBytes: 1) -lib/foundry-deployment-kit/script/BaseGeneralConfig.sol:BaseGeneralConfig:_networkDataMap (storage_slot: 22) (offset: 0) (type: mapping(TNetwork => struct INetworkConfig.NetworkData)) (numberOfBytes: 32) -lib/foundry-deployment-kit/script/BaseGeneralConfig.sol:BaseGeneralConfig:_networkMap (storage_slot: 23) (offset: 0) (type: mapping(uint256 => TNetwork)) (numberOfBytes: 32) -lib/foundry-deployment-kit/script/BaseGeneralConfig.sol:BaseGeneralConfig:_migrationConfig (storage_slot: 24) (offset: 0) (type: bytes) (numberOfBytes: 32) \ No newline at end of file +dependencies/@fdk-0.3.1-beta/script/BaseGeneralConfig.sol:BaseGeneralConfig:_resolved (storage_slot: 0) (offset: 0) (type: bool) (numberOfBytes: 1) +dependencies/@fdk-0.3.1-beta/script/BaseGeneralConfig.sol:BaseGeneralConfig:_option (storage_slot: 1) (offset: 0) (type: struct IRuntimeConfig.Option) (numberOfBytes: 128) +dependencies/@fdk-0.3.1-beta/script/BaseGeneralConfig.sol:BaseGeneralConfig:_rawCommand (storage_slot: 5) (offset: 0) (type: string) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/script/BaseGeneralConfig.sol:BaseGeneralConfig:_isPostChecking (storage_slot: 6) (offset: 0) (type: bool) (numberOfBytes: 1) +dependencies/@fdk-0.3.1-beta/script/BaseGeneralConfig.sol:BaseGeneralConfig:_isPreChecking (storage_slot: 6) (offset: 1) (type: bool) (numberOfBytes: 1) +dependencies/@fdk-0.3.1-beta/script/BaseGeneralConfig.sol:BaseGeneralConfig:stdstore (storage_slot: 7) (offset: 0) (type: struct StdStorage) (numberOfBytes: 256) +dependencies/@fdk-0.3.1-beta/script/BaseGeneralConfig.sol:BaseGeneralConfig:_envLabel (storage_slot: 15) (offset: 0) (type: string) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/script/BaseGeneralConfig.sol:BaseGeneralConfig:_envSender (storage_slot: 16) (offset: 0) (type: address) (numberOfBytes: 20) +dependencies/@fdk-0.3.1-beta/script/BaseGeneralConfig.sol:BaseGeneralConfig:_trezorSender (storage_slot: 17) (offset: 0) (type: address) (numberOfBytes: 20) +dependencies/@fdk-0.3.1-beta/script/BaseGeneralConfig.sol:BaseGeneralConfig:_walletOption (storage_slot: 17) (offset: 20) (type: enum IWalletConfig.WalletOption) (numberOfBytes: 1) +dependencies/@fdk-0.3.1-beta/script/BaseGeneralConfig.sol:BaseGeneralConfig:_absolutePath (storage_slot: 18) (offset: 0) (type: string) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/script/BaseGeneralConfig.sol:BaseGeneralConfig:_deploymentRoot (storage_slot: 19) (offset: 0) (type: string) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/script/BaseGeneralConfig.sol:BaseGeneralConfig:_contractNameMap (storage_slot: 20) (offset: 0) (type: mapping(TContract => string)) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/script/BaseGeneralConfig.sol:BaseGeneralConfig:_contractAbsolutePathMap (storage_slot: 21) (offset: 0) (type: mapping(TContract => string)) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/script/BaseGeneralConfig.sol:BaseGeneralConfig:_contractAddrSet (storage_slot: 22) (offset: 0) (type: mapping(TNetwork => struct EnumerableSet.AddressSet)) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/script/BaseGeneralConfig.sol:BaseGeneralConfig:_contractAddrMap (storage_slot: 23) (offset: 0) (type: mapping(TNetwork => mapping(string => address))) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/script/BaseGeneralConfig.sol:BaseGeneralConfig:_contractTypeMap (storage_slot: 24) (offset: 0) (type: mapping(TNetwork => mapping(address => TContract))) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/script/BaseGeneralConfig.sol:BaseGeneralConfig:_deploymentRoot (storage_slot: 25) (offset: 0) (type: string) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/script/BaseGeneralConfig.sol:BaseGeneralConfig:_isForkModeEnabled (storage_slot: 26) (offset: 0) (type: bool) (numberOfBytes: 1) +dependencies/@fdk-0.3.1-beta/script/BaseGeneralConfig.sol:BaseGeneralConfig:_currentNetwork (storage_slot: 27) (offset: 0) (type: TNetwork) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/script/BaseGeneralConfig.sol:BaseGeneralConfig:_forkId2Network (storage_slot: 28) (offset: 0) (type: mapping(uint256 => TNetwork)) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/script/BaseGeneralConfig.sol:BaseGeneralConfig:_networkDataMap (storage_slot: 29) (offset: 0) (type: mapping(TNetwork => struct INetworkConfig.NetworkData)) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/script/BaseGeneralConfig.sol:BaseGeneralConfig:_forkMap (storage_slot: 30) (offset: 0) (type: mapping(TNetwork => mapping(uint256 => uint256))) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/script/BaseGeneralConfig.sol:BaseGeneralConfig:_migrationConfig (storage_slot: 31) (offset: 0) (type: bytes) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/script/BaseGeneralConfig.sol:BaseGeneralConfig:_userDefinedKeys (storage_slot: 32) (offset: 0) (type: string[]) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/script/BaseGeneralConfig.sol:BaseGeneralConfig:_registry (storage_slot: 33) (offset: 0) (type: mapping(bytes32 => bool)) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/BaseMigrationV2.sol:BaseMigrationV2.log b/logs/storage/BaseMigrationV2.sol:BaseMigrationV2.log deleted file mode 100644 index 3f9c1ed2..00000000 --- a/logs/storage/BaseMigrationV2.sol:BaseMigrationV2.log +++ /dev/null @@ -1,12 +0,0 @@ -script/BaseMigrationV2.sol:BaseMigrationV2:stdstore (storage_slot: 0) (offset: 0) (type: struct StdStorage) (numberOfBytes: 224) -script/BaseMigrationV2.sol:BaseMigrationV2:stdChainsInitialized (storage_slot: 7) (offset: 0) (type: bool) (numberOfBytes: 1) -script/BaseMigrationV2.sol:BaseMigrationV2:chains (storage_slot: 8) (offset: 0) (type: mapping(string => struct StdChains.Chain)) (numberOfBytes: 32) -script/BaseMigrationV2.sol:BaseMigrationV2:defaultRpcUrls (storage_slot: 9) (offset: 0) (type: mapping(string => string)) (numberOfBytes: 32) -script/BaseMigrationV2.sol:BaseMigrationV2:idToAlias (storage_slot: 10) (offset: 0) (type: mapping(uint256 => string)) (numberOfBytes: 32) -script/BaseMigrationV2.sol:BaseMigrationV2:fallbackToDefaultRpcUrls (storage_slot: 11) (offset: 0) (type: bool) (numberOfBytes: 1) -script/BaseMigrationV2.sol:BaseMigrationV2:gasMeteringOff (storage_slot: 11) (offset: 1) (type: bool) (numberOfBytes: 1) -script/BaseMigrationV2.sol:BaseMigrationV2:IS_SCRIPT (storage_slot: 11) (offset: 2) (type: bool) (numberOfBytes: 1) -script/BaseMigrationV2.sol:BaseMigrationV2:IS_TEST (storage_slot: 11) (offset: 3) (type: bool) (numberOfBytes: 1) -script/BaseMigrationV2.sol:BaseMigrationV2:_failed (storage_slot: 11) (offset: 4) (type: bool) (numberOfBytes: 1) -script/BaseMigrationV2.sol:BaseMigrationV2:_overriddenArgs (storage_slot: 12) (offset: 0) (type: bytes) (numberOfBytes: 32) -script/BaseMigrationV2.sol:BaseMigrationV2:_deployScript (storage_slot: 13) (offset: 0) (type: mapping(TContract => contract IMigrationScript)) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/BridgeManager.sol:BridgeManager.log b/logs/storage/BridgeManager.sol:BridgeManager.log new file mode 100644 index 00000000..1aaff0f3 --- /dev/null +++ b/logs/storage/BridgeManager.sol:BridgeManager.log @@ -0,0 +1,3 @@ +src/extensions/bridge-operator-governance/BridgeManager.sol:BridgeManager:_initialized (storage_slot: 0) (offset: 0) (type: uint8) (numberOfBytes: 1) +src/extensions/bridge-operator-governance/BridgeManager.sol:BridgeManager:_initializing (storage_slot: 0) (offset: 1) (type: bool) (numberOfBytes: 1) +src/extensions/bridge-operator-governance/BridgeManager.sol:BridgeManager:DOMAIN_SEPARATOR (storage_slot: 1) (offset: 0) (type: bytes32) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/BridgeManagerCallbackRegister.sol:BridgeManagerCallbackRegister.log b/logs/storage/BridgeManagerCallbackRegister.sol:BridgeManagerCallbackRegister.log new file mode 100644 index 00000000..30e16596 --- /dev/null +++ b/logs/storage/BridgeManagerCallbackRegister.sol:BridgeManagerCallbackRegister.log @@ -0,0 +1,2 @@ +src/extensions/bridge-operator-governance/BridgeManagerCallbackRegister.sol:BridgeManagerCallbackRegister:_initialized (storage_slot: 0) (offset: 0) (type: uint8) (numberOfBytes: 1) +src/extensions/bridge-operator-governance/BridgeManagerCallbackRegister.sol:BridgeManagerCallbackRegister:_initializing (storage_slot: 0) (offset: 1) (type: bool) (numberOfBytes: 1) \ No newline at end of file diff --git a/logs/storage/BridgeManagerQuorum.sol:BridgeManagerQuorum.log b/logs/storage/BridgeManagerQuorum.sol:BridgeManagerQuorum.log new file mode 100644 index 00000000..bbe7fe0b --- /dev/null +++ b/logs/storage/BridgeManagerQuorum.sol:BridgeManagerQuorum.log @@ -0,0 +1,2 @@ +src/extensions/bridge-operator-governance/BridgeManagerQuorum.sol:BridgeManagerQuorum:_initialized (storage_slot: 0) (offset: 0) (type: uint8) (numberOfBytes: 1) +src/extensions/bridge-operator-governance/BridgeManagerQuorum.sol:BridgeManagerQuorum:_initializing (storage_slot: 0) (offset: 1) (type: bool) (numberOfBytes: 1) \ No newline at end of file diff --git a/logs/storage/BridgeMigration.sol:BridgeMigration.log b/logs/storage/BridgeMigration.sol:BridgeMigration.log deleted file mode 100644 index 0de92842..00000000 --- a/logs/storage/BridgeMigration.sol:BridgeMigration.log +++ /dev/null @@ -1,12 +0,0 @@ -script/BridgeMigration.sol:BridgeMigration:stdstore (storage_slot: 0) (offset: 0) (type: struct StdStorage) (numberOfBytes: 224) -script/BridgeMigration.sol:BridgeMigration:stdChainsInitialized (storage_slot: 7) (offset: 0) (type: bool) (numberOfBytes: 1) -script/BridgeMigration.sol:BridgeMigration:chains (storage_slot: 8) (offset: 0) (type: mapping(string => struct StdChains.Chain)) (numberOfBytes: 32) -script/BridgeMigration.sol:BridgeMigration:defaultRpcUrls (storage_slot: 9) (offset: 0) (type: mapping(string => string)) (numberOfBytes: 32) -script/BridgeMigration.sol:BridgeMigration:idToAlias (storage_slot: 10) (offset: 0) (type: mapping(uint256 => string)) (numberOfBytes: 32) -script/BridgeMigration.sol:BridgeMigration:fallbackToDefaultRpcUrls (storage_slot: 11) (offset: 0) (type: bool) (numberOfBytes: 1) -script/BridgeMigration.sol:BridgeMigration:gasMeteringOff (storage_slot: 11) (offset: 1) (type: bool) (numberOfBytes: 1) -script/BridgeMigration.sol:BridgeMigration:IS_SCRIPT (storage_slot: 11) (offset: 2) (type: bool) (numberOfBytes: 1) -script/BridgeMigration.sol:BridgeMigration:IS_TEST (storage_slot: 11) (offset: 3) (type: bool) (numberOfBytes: 1) -script/BridgeMigration.sol:BridgeMigration:_failed (storage_slot: 11) (offset: 4) (type: bool) (numberOfBytes: 1) -script/BridgeMigration.sol:BridgeMigration:_overriddenArgs (storage_slot: 12) (offset: 0) (type: bytes) (numberOfBytes: 32) -script/BridgeMigration.sol:BridgeMigration:_deployScript (storage_slot: 13) (offset: 0) (type: mapping(TContract => contract IMigrationScript)) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/BridgeRewardHarness.sol:BridgeRewardHarness.log b/logs/storage/BridgeRewardHarness.sol:BridgeRewardHarness.log new file mode 100644 index 00000000..0e77b55b --- /dev/null +++ b/logs/storage/BridgeRewardHarness.sol:BridgeRewardHarness.log @@ -0,0 +1,2 @@ +test/harness/BridgeRewardHarness.sol:BridgeRewardHarness:_initialized (storage_slot: 0) (offset: 0) (type: uint8) (numberOfBytes: 1) +test/harness/BridgeRewardHarness.sol:BridgeRewardHarness:_initializing (storage_slot: 0) (offset: 1) (type: bool) (numberOfBytes: 1) \ No newline at end of file diff --git a/logs/storage/CommonGovernanceProposal.sol:CommonGovernanceProposal.log b/logs/storage/CommonGovernanceProposal.sol:CommonGovernanceProposal.log index e4ac499b..10e910fc 100644 --- a/logs/storage/CommonGovernanceProposal.sol:CommonGovernanceProposal.log +++ b/logs/storage/CommonGovernanceProposal.sol:CommonGovernanceProposal.log @@ -1,3 +1,5 @@ -src/extensions/sequential-governance/governance-proposal/CommonGovernanceProposal.sol:CommonGovernanceProposal:round (storage_slot: 0) (offset: 0) (type: mapping(uint256 => uint256)) (numberOfBytes: 32) -src/extensions/sequential-governance/governance-proposal/CommonGovernanceProposal.sol:CommonGovernanceProposal:vote (storage_slot: 1) (offset: 0) (type: mapping(uint256 => mapping(uint256 => struct CoreGovernance.ProposalVote))) (numberOfBytes: 32) -src/extensions/sequential-governance/governance-proposal/CommonGovernanceProposal.sol:CommonGovernanceProposal:_proposalExpiryDuration (storage_slot: 2) (offset: 0) (type: uint256) (numberOfBytes: 32) \ No newline at end of file +src/extensions/sequential-governance/governance-proposal/CommonGovernanceProposal.sol:CommonGovernanceProposal:_initialized (storage_slot: 0) (offset: 0) (type: uint8) (numberOfBytes: 1) +src/extensions/sequential-governance/governance-proposal/CommonGovernanceProposal.sol:CommonGovernanceProposal:_initializing (storage_slot: 0) (offset: 1) (type: bool) (numberOfBytes: 1) +src/extensions/sequential-governance/governance-proposal/CommonGovernanceProposal.sol:CommonGovernanceProposal:round (storage_slot: 1) (offset: 0) (type: mapping(uint256 => uint256)) (numberOfBytes: 32) +src/extensions/sequential-governance/governance-proposal/CommonGovernanceProposal.sol:CommonGovernanceProposal:vote (storage_slot: 2) (offset: 0) (type: mapping(uint256 => mapping(uint256 => struct CoreGovernance.ProposalVote))) (numberOfBytes: 32) +src/extensions/sequential-governance/governance-proposal/CommonGovernanceProposal.sol:CommonGovernanceProposal:_proposalExpiryDuration (storage_slot: 3) (offset: 0) (type: uint256) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/CommonGovernanceRelay.sol:CommonGovernanceRelay.log b/logs/storage/CommonGovernanceRelay.sol:CommonGovernanceRelay.log index b03f97bf..2a54c407 100644 --- a/logs/storage/CommonGovernanceRelay.sol:CommonGovernanceRelay.log +++ b/logs/storage/CommonGovernanceRelay.sol:CommonGovernanceRelay.log @@ -1,3 +1,5 @@ -src/extensions/sequential-governance/governance-relay/CommonGovernanceRelay.sol:CommonGovernanceRelay:round (storage_slot: 0) (offset: 0) (type: mapping(uint256 => uint256)) (numberOfBytes: 32) -src/extensions/sequential-governance/governance-relay/CommonGovernanceRelay.sol:CommonGovernanceRelay:vote (storage_slot: 1) (offset: 0) (type: mapping(uint256 => mapping(uint256 => struct CoreGovernance.ProposalVote))) (numberOfBytes: 32) -src/extensions/sequential-governance/governance-relay/CommonGovernanceRelay.sol:CommonGovernanceRelay:_proposalExpiryDuration (storage_slot: 2) (offset: 0) (type: uint256) (numberOfBytes: 32) \ No newline at end of file +src/extensions/sequential-governance/governance-relay/CommonGovernanceRelay.sol:CommonGovernanceRelay:_initialized (storage_slot: 0) (offset: 0) (type: uint8) (numberOfBytes: 1) +src/extensions/sequential-governance/governance-relay/CommonGovernanceRelay.sol:CommonGovernanceRelay:_initializing (storage_slot: 0) (offset: 1) (type: bool) (numberOfBytes: 1) +src/extensions/sequential-governance/governance-relay/CommonGovernanceRelay.sol:CommonGovernanceRelay:round (storage_slot: 1) (offset: 0) (type: mapping(uint256 => uint256)) (numberOfBytes: 32) +src/extensions/sequential-governance/governance-relay/CommonGovernanceRelay.sol:CommonGovernanceRelay:vote (storage_slot: 2) (offset: 0) (type: mapping(uint256 => mapping(uint256 => struct CoreGovernance.ProposalVote))) (numberOfBytes: 32) +src/extensions/sequential-governance/governance-relay/CommonGovernanceRelay.sol:CommonGovernanceRelay:_proposalExpiryDuration (storage_slot: 3) (offset: 0) (type: uint256) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/ContractConfig.sol:ContractConfig.log b/logs/storage/ContractConfig.sol:ContractConfig.log index a3572a17..29f619f6 100644 --- a/logs/storage/ContractConfig.sol:ContractConfig.log +++ b/logs/storage/ContractConfig.sol:ContractConfig.log @@ -1,7 +1,7 @@ -lib/foundry-deployment-kit/script/configs/ContractConfig.sol:ContractConfig:_absolutePath (storage_slot: 0) (offset: 0) (type: string) (numberOfBytes: 32) -lib/foundry-deployment-kit/script/configs/ContractConfig.sol:ContractConfig:_deploymentRoot (storage_slot: 1) (offset: 0) (type: string) (numberOfBytes: 32) -lib/foundry-deployment-kit/script/configs/ContractConfig.sol:ContractConfig:_contractNameMap (storage_slot: 2) (offset: 0) (type: mapping(TContract => string)) (numberOfBytes: 32) -lib/foundry-deployment-kit/script/configs/ContractConfig.sol:ContractConfig:_contractAbsolutePathMap (storage_slot: 3) (offset: 0) (type: mapping(TContract => string)) (numberOfBytes: 32) -lib/foundry-deployment-kit/script/configs/ContractConfig.sol:ContractConfig:_contractAddrSet (storage_slot: 4) (offset: 0) (type: mapping(uint256 => struct EnumerableSet.AddressSet)) (numberOfBytes: 32) -lib/foundry-deployment-kit/script/configs/ContractConfig.sol:ContractConfig:_contractAddrMap (storage_slot: 5) (offset: 0) (type: mapping(uint256 => mapping(string => address))) (numberOfBytes: 32) -lib/foundry-deployment-kit/script/configs/ContractConfig.sol:ContractConfig:_contractTypeMap (storage_slot: 6) (offset: 0) (type: mapping(uint256 => mapping(address => TContract))) (numberOfBytes: 32) \ No newline at end of file +dependencies/@fdk-0.3.1-beta/script/configs/ContractConfig.sol:ContractConfig:_absolutePath (storage_slot: 0) (offset: 0) (type: string) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/script/configs/ContractConfig.sol:ContractConfig:_deploymentRoot (storage_slot: 1) (offset: 0) (type: string) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/script/configs/ContractConfig.sol:ContractConfig:_contractNameMap (storage_slot: 2) (offset: 0) (type: mapping(TContract => string)) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/script/configs/ContractConfig.sol:ContractConfig:_contractAbsolutePathMap (storage_slot: 3) (offset: 0) (type: mapping(TContract => string)) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/script/configs/ContractConfig.sol:ContractConfig:_contractAddrSet (storage_slot: 4) (offset: 0) (type: mapping(TNetwork => struct EnumerableSet.AddressSet)) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/script/configs/ContractConfig.sol:ContractConfig:_contractAddrMap (storage_slot: 5) (offset: 0) (type: mapping(TNetwork => mapping(string => address))) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/script/configs/ContractConfig.sol:ContractConfig:_contractTypeMap (storage_slot: 6) (offset: 0) (type: mapping(TNetwork => mapping(address => TContract))) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/CoreGovernance.sol:CoreGovernance.log b/logs/storage/CoreGovernance.sol:CoreGovernance.log index 903404ff..0d97717b 100644 --- a/logs/storage/CoreGovernance.sol:CoreGovernance.log +++ b/logs/storage/CoreGovernance.sol:CoreGovernance.log @@ -1,3 +1,5 @@ -src/extensions/sequential-governance/CoreGovernance.sol:CoreGovernance:round (storage_slot: 0) (offset: 0) (type: mapping(uint256 => uint256)) (numberOfBytes: 32) -src/extensions/sequential-governance/CoreGovernance.sol:CoreGovernance:vote (storage_slot: 1) (offset: 0) (type: mapping(uint256 => mapping(uint256 => struct CoreGovernance.ProposalVote))) (numberOfBytes: 32) -src/extensions/sequential-governance/CoreGovernance.sol:CoreGovernance:_proposalExpiryDuration (storage_slot: 2) (offset: 0) (type: uint256) (numberOfBytes: 32) \ No newline at end of file +src/extensions/sequential-governance/CoreGovernance.sol:CoreGovernance:_initialized (storage_slot: 0) (offset: 0) (type: uint8) (numberOfBytes: 1) +src/extensions/sequential-governance/CoreGovernance.sol:CoreGovernance:_initializing (storage_slot: 0) (offset: 1) (type: bool) (numberOfBytes: 1) +src/extensions/sequential-governance/CoreGovernance.sol:CoreGovernance:round (storage_slot: 1) (offset: 0) (type: mapping(uint256 => uint256)) (numberOfBytes: 32) +src/extensions/sequential-governance/CoreGovernance.sol:CoreGovernance:vote (storage_slot: 2) (offset: 0) (type: mapping(uint256 => mapping(uint256 => struct CoreGovernance.ProposalVote))) (numberOfBytes: 32) +src/extensions/sequential-governance/CoreGovernance.sol:CoreGovernance:_proposalExpiryDuration (storage_slot: 3) (offset: 0) (type: uint256) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/ERC1155.sol:ERC1155.log b/logs/storage/ERC1155.sol:ERC1155.log new file mode 100644 index 00000000..413fc010 --- /dev/null +++ b/logs/storage/ERC1155.sol:ERC1155.log @@ -0,0 +1,3 @@ +lib/openzeppelin-contracts/contracts/token/ERC1155/ERC1155.sol:ERC1155:_balances (storage_slot: 0) (offset: 0) (type: mapping(uint256 => mapping(address => uint256))) (numberOfBytes: 32) +lib/openzeppelin-contracts/contracts/token/ERC1155/ERC1155.sol:ERC1155:_operatorApprovals (storage_slot: 1) (offset: 0) (type: mapping(address => mapping(address => bool))) (numberOfBytes: 32) +lib/openzeppelin-contracts/contracts/token/ERC1155/ERC1155.sol:ERC1155:_uri (storage_slot: 2) (offset: 0) (type: string) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/ERC1155Burnable.sol:ERC1155Burnable.log b/logs/storage/ERC1155Burnable.sol:ERC1155Burnable.log new file mode 100644 index 00000000..b9a614b3 --- /dev/null +++ b/logs/storage/ERC1155Burnable.sol:ERC1155Burnable.log @@ -0,0 +1,3 @@ +lib/openzeppelin-contracts/contracts/token/ERC1155/extensions/ERC1155Burnable.sol:ERC1155Burnable:_balances (storage_slot: 0) (offset: 0) (type: mapping(uint256 => mapping(address => uint256))) (numberOfBytes: 32) +lib/openzeppelin-contracts/contracts/token/ERC1155/extensions/ERC1155Burnable.sol:ERC1155Burnable:_operatorApprovals (storage_slot: 1) (offset: 0) (type: mapping(address => mapping(address => bool))) (numberOfBytes: 32) +lib/openzeppelin-contracts/contracts/token/ERC1155/extensions/ERC1155Burnable.sol:ERC1155Burnable:_uri (storage_slot: 2) (offset: 0) (type: string) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/ERC1155Pausable.sol:ERC1155Pausable.log b/logs/storage/ERC1155Pausable.sol:ERC1155Pausable.log new file mode 100644 index 00000000..2ae9460a --- /dev/null +++ b/logs/storage/ERC1155Pausable.sol:ERC1155Pausable.log @@ -0,0 +1,4 @@ +lib/openzeppelin-contracts/contracts/token/ERC1155/extensions/ERC1155Pausable.sol:ERC1155Pausable:_balances (storage_slot: 0) (offset: 0) (type: mapping(uint256 => mapping(address => uint256))) (numberOfBytes: 32) +lib/openzeppelin-contracts/contracts/token/ERC1155/extensions/ERC1155Pausable.sol:ERC1155Pausable:_operatorApprovals (storage_slot: 1) (offset: 0) (type: mapping(address => mapping(address => bool))) (numberOfBytes: 32) +lib/openzeppelin-contracts/contracts/token/ERC1155/extensions/ERC1155Pausable.sol:ERC1155Pausable:_uri (storage_slot: 2) (offset: 0) (type: string) (numberOfBytes: 32) +lib/openzeppelin-contracts/contracts/token/ERC1155/extensions/ERC1155Pausable.sol:ERC1155Pausable:_paused (storage_slot: 3) (offset: 0) (type: bool) (numberOfBytes: 1) \ No newline at end of file diff --git a/logs/storage/ERC1155PresetMinterPauser.sol:ERC1155PresetMinterPauser.log b/logs/storage/ERC1155PresetMinterPauser.sol:ERC1155PresetMinterPauser.log new file mode 100644 index 00000000..100f2eae --- /dev/null +++ b/logs/storage/ERC1155PresetMinterPauser.sol:ERC1155PresetMinterPauser.log @@ -0,0 +1,6 @@ +lib/openzeppelin-contracts/contracts/token/ERC1155/presets/ERC1155PresetMinterPauser.sol:ERC1155PresetMinterPauser:_roles (storage_slot: 0) (offset: 0) (type: mapping(bytes32 => struct AccessControl.RoleData)) (numberOfBytes: 32) +lib/openzeppelin-contracts/contracts/token/ERC1155/presets/ERC1155PresetMinterPauser.sol:ERC1155PresetMinterPauser:_roleMembers (storage_slot: 1) (offset: 0) (type: mapping(bytes32 => struct EnumerableSet.AddressSet)) (numberOfBytes: 32) +lib/openzeppelin-contracts/contracts/token/ERC1155/presets/ERC1155PresetMinterPauser.sol:ERC1155PresetMinterPauser:_balances (storage_slot: 2) (offset: 0) (type: mapping(uint256 => mapping(address => uint256))) (numberOfBytes: 32) +lib/openzeppelin-contracts/contracts/token/ERC1155/presets/ERC1155PresetMinterPauser.sol:ERC1155PresetMinterPauser:_operatorApprovals (storage_slot: 3) (offset: 0) (type: mapping(address => mapping(address => bool))) (numberOfBytes: 32) +lib/openzeppelin-contracts/contracts/token/ERC1155/presets/ERC1155PresetMinterPauser.sol:ERC1155PresetMinterPauser:_uri (storage_slot: 4) (offset: 0) (type: string) (numberOfBytes: 32) +lib/openzeppelin-contracts/contracts/token/ERC1155/presets/ERC1155PresetMinterPauser.sol:ERC1155PresetMinterPauser:_paused (storage_slot: 5) (offset: 0) (type: bool) (numberOfBytes: 1) \ No newline at end of file diff --git a/logs/storage/GeneralConfig.sol:GeneralConfig.log b/logs/storage/GeneralConfig.sol:GeneralConfig.log index 464273c8..d6cebdef 100644 --- a/logs/storage/GeneralConfig.sol:GeneralConfig.log +++ b/logs/storage/GeneralConfig.sol:GeneralConfig.log @@ -1,20 +1,27 @@ script/GeneralConfig.sol:GeneralConfig:_resolved (storage_slot: 0) (offset: 0) (type: bool) (numberOfBytes: 1) -script/GeneralConfig.sol:GeneralConfig:_option (storage_slot: 1) (offset: 0) (type: struct IRuntimeConfig.Option) (numberOfBytes: 32) -script/GeneralConfig.sol:GeneralConfig:_rawCommand (storage_slot: 2) (offset: 0) (type: string) (numberOfBytes: 32) -script/GeneralConfig.sol:GeneralConfig:stdstore (storage_slot: 3) (offset: 0) (type: struct StdStorage) (numberOfBytes: 224) -script/GeneralConfig.sol:GeneralConfig:_envLabel (storage_slot: 10) (offset: 0) (type: string) (numberOfBytes: 32) -script/GeneralConfig.sol:GeneralConfig:_envSender (storage_slot: 11) (offset: 0) (type: address) (numberOfBytes: 20) -script/GeneralConfig.sol:GeneralConfig:_trezorSender (storage_slot: 12) (offset: 0) (type: address) (numberOfBytes: 20) -script/GeneralConfig.sol:GeneralConfig:_walletOption (storage_slot: 12) (offset: 20) (type: enum IWalletConfig.WalletOption) (numberOfBytes: 1) -script/GeneralConfig.sol:GeneralConfig:_absolutePath (storage_slot: 13) (offset: 0) (type: string) (numberOfBytes: 32) -script/GeneralConfig.sol:GeneralConfig:_deploymentRoot (storage_slot: 14) (offset: 0) (type: string) (numberOfBytes: 32) -script/GeneralConfig.sol:GeneralConfig:_contractNameMap (storage_slot: 15) (offset: 0) (type: mapping(TContract => string)) (numberOfBytes: 32) -script/GeneralConfig.sol:GeneralConfig:_contractAbsolutePathMap (storage_slot: 16) (offset: 0) (type: mapping(TContract => string)) (numberOfBytes: 32) -script/GeneralConfig.sol:GeneralConfig:_contractAddrSet (storage_slot: 17) (offset: 0) (type: mapping(uint256 => struct EnumerableSet.AddressSet)) (numberOfBytes: 32) -script/GeneralConfig.sol:GeneralConfig:_contractAddrMap (storage_slot: 18) (offset: 0) (type: mapping(uint256 => mapping(string => address))) (numberOfBytes: 32) -script/GeneralConfig.sol:GeneralConfig:_contractTypeMap (storage_slot: 19) (offset: 0) (type: mapping(uint256 => mapping(address => TContract))) (numberOfBytes: 32) -script/GeneralConfig.sol:GeneralConfig:_deploymentRoot (storage_slot: 20) (offset: 0) (type: string) (numberOfBytes: 32) -script/GeneralConfig.sol:GeneralConfig:_isForkModeEnabled (storage_slot: 21) (offset: 0) (type: bool) (numberOfBytes: 1) -script/GeneralConfig.sol:GeneralConfig:_networkDataMap (storage_slot: 22) (offset: 0) (type: mapping(TNetwork => struct INetworkConfig.NetworkData)) (numberOfBytes: 32) -script/GeneralConfig.sol:GeneralConfig:_networkMap (storage_slot: 23) (offset: 0) (type: mapping(uint256 => TNetwork)) (numberOfBytes: 32) -script/GeneralConfig.sol:GeneralConfig:_migrationConfig (storage_slot: 24) (offset: 0) (type: bytes) (numberOfBytes: 32) \ No newline at end of file +script/GeneralConfig.sol:GeneralConfig:_option (storage_slot: 1) (offset: 0) (type: struct IRuntimeConfig.Option) (numberOfBytes: 128) +script/GeneralConfig.sol:GeneralConfig:_rawCommand (storage_slot: 5) (offset: 0) (type: string) (numberOfBytes: 32) +script/GeneralConfig.sol:GeneralConfig:_isPostChecking (storage_slot: 6) (offset: 0) (type: bool) (numberOfBytes: 1) +script/GeneralConfig.sol:GeneralConfig:_isPreChecking (storage_slot: 6) (offset: 1) (type: bool) (numberOfBytes: 1) +script/GeneralConfig.sol:GeneralConfig:stdstore (storage_slot: 7) (offset: 0) (type: struct StdStorage) (numberOfBytes: 256) +script/GeneralConfig.sol:GeneralConfig:_envLabel (storage_slot: 15) (offset: 0) (type: string) (numberOfBytes: 32) +script/GeneralConfig.sol:GeneralConfig:_envSender (storage_slot: 16) (offset: 0) (type: address) (numberOfBytes: 20) +script/GeneralConfig.sol:GeneralConfig:_trezorSender (storage_slot: 17) (offset: 0) (type: address) (numberOfBytes: 20) +script/GeneralConfig.sol:GeneralConfig:_walletOption (storage_slot: 17) (offset: 20) (type: enum IWalletConfig.WalletOption) (numberOfBytes: 1) +script/GeneralConfig.sol:GeneralConfig:_absolutePath (storage_slot: 18) (offset: 0) (type: string) (numberOfBytes: 32) +script/GeneralConfig.sol:GeneralConfig:_deploymentRoot (storage_slot: 19) (offset: 0) (type: string) (numberOfBytes: 32) +script/GeneralConfig.sol:GeneralConfig:_contractNameMap (storage_slot: 20) (offset: 0) (type: mapping(TContract => string)) (numberOfBytes: 32) +script/GeneralConfig.sol:GeneralConfig:_contractAbsolutePathMap (storage_slot: 21) (offset: 0) (type: mapping(TContract => string)) (numberOfBytes: 32) +script/GeneralConfig.sol:GeneralConfig:_contractAddrSet (storage_slot: 22) (offset: 0) (type: mapping(TNetwork => struct EnumerableSet.AddressSet)) (numberOfBytes: 32) +script/GeneralConfig.sol:GeneralConfig:_contractAddrMap (storage_slot: 23) (offset: 0) (type: mapping(TNetwork => mapping(string => address))) (numberOfBytes: 32) +script/GeneralConfig.sol:GeneralConfig:_contractTypeMap (storage_slot: 24) (offset: 0) (type: mapping(TNetwork => mapping(address => TContract))) (numberOfBytes: 32) +script/GeneralConfig.sol:GeneralConfig:_deploymentRoot (storage_slot: 25) (offset: 0) (type: string) (numberOfBytes: 32) +script/GeneralConfig.sol:GeneralConfig:_isForkModeEnabled (storage_slot: 26) (offset: 0) (type: bool) (numberOfBytes: 1) +script/GeneralConfig.sol:GeneralConfig:_currentNetwork (storage_slot: 27) (offset: 0) (type: TNetwork) (numberOfBytes: 32) +script/GeneralConfig.sol:GeneralConfig:_forkId2Network (storage_slot: 28) (offset: 0) (type: mapping(uint256 => TNetwork)) (numberOfBytes: 32) +script/GeneralConfig.sol:GeneralConfig:_networkDataMap (storage_slot: 29) (offset: 0) (type: mapping(TNetwork => struct INetworkConfig.NetworkData)) (numberOfBytes: 32) +script/GeneralConfig.sol:GeneralConfig:_forkMap (storage_slot: 30) (offset: 0) (type: mapping(TNetwork => mapping(uint256 => uint256))) (numberOfBytes: 32) +script/GeneralConfig.sol:GeneralConfig:_migrationConfig (storage_slot: 31) (offset: 0) (type: bytes) (numberOfBytes: 32) +script/GeneralConfig.sol:GeneralConfig:_userDefinedKeys (storage_slot: 32) (offset: 0) (type: string[]) (numberOfBytes: 32) +script/GeneralConfig.sol:GeneralConfig:_registry (storage_slot: 33) (offset: 0) (type: mapping(bytes32 => bool)) (numberOfBytes: 32) +script/GeneralConfig.sol:GeneralConfig:_localNetwork (storage_slot: 34) (offset: 0) (type: enum IGeneralConfigExtended.LocalNetwork) (numberOfBytes: 1) \ No newline at end of file diff --git a/logs/storage/GeneralConfigExtended.sol:GeneralConfigExtended.log b/logs/storage/GeneralConfigExtended.sol:GeneralConfigExtended.log deleted file mode 100644 index 951968c1..00000000 --- a/logs/storage/GeneralConfigExtended.sol:GeneralConfigExtended.log +++ /dev/null @@ -1,20 +0,0 @@ -script/GeneralConfigExtended.sol:GeneralConfigExtended:_resolved (storage_slot: 0) (offset: 0) (type: bool) (numberOfBytes: 1) -script/GeneralConfigExtended.sol:GeneralConfigExtended:_option (storage_slot: 1) (offset: 0) (type: struct IRuntimeConfig.Option) (numberOfBytes: 32) -script/GeneralConfigExtended.sol:GeneralConfigExtended:_rawCommand (storage_slot: 2) (offset: 0) (type: string) (numberOfBytes: 32) -script/GeneralConfigExtended.sol:GeneralConfigExtended:stdstore (storage_slot: 3) (offset: 0) (type: struct StdStorage) (numberOfBytes: 224) -script/GeneralConfigExtended.sol:GeneralConfigExtended:_envLabel (storage_slot: 10) (offset: 0) (type: string) (numberOfBytes: 32) -script/GeneralConfigExtended.sol:GeneralConfigExtended:_envSender (storage_slot: 11) (offset: 0) (type: address) (numberOfBytes: 20) -script/GeneralConfigExtended.sol:GeneralConfigExtended:_trezorSender (storage_slot: 12) (offset: 0) (type: address) (numberOfBytes: 20) -script/GeneralConfigExtended.sol:GeneralConfigExtended:_walletOption (storage_slot: 12) (offset: 20) (type: enum IWalletConfig.WalletOption) (numberOfBytes: 1) -script/GeneralConfigExtended.sol:GeneralConfigExtended:_absolutePath (storage_slot: 13) (offset: 0) (type: string) (numberOfBytes: 32) -script/GeneralConfigExtended.sol:GeneralConfigExtended:_deploymentRoot (storage_slot: 14) (offset: 0) (type: string) (numberOfBytes: 32) -script/GeneralConfigExtended.sol:GeneralConfigExtended:_contractNameMap (storage_slot: 15) (offset: 0) (type: mapping(TContract => string)) (numberOfBytes: 32) -script/GeneralConfigExtended.sol:GeneralConfigExtended:_contractAbsolutePathMap (storage_slot: 16) (offset: 0) (type: mapping(TContract => string)) (numberOfBytes: 32) -script/GeneralConfigExtended.sol:GeneralConfigExtended:_contractAddrSet (storage_slot: 17) (offset: 0) (type: mapping(uint256 => struct EnumerableSet.AddressSet)) (numberOfBytes: 32) -script/GeneralConfigExtended.sol:GeneralConfigExtended:_contractAddrMap (storage_slot: 18) (offset: 0) (type: mapping(uint256 => mapping(string => address))) (numberOfBytes: 32) -script/GeneralConfigExtended.sol:GeneralConfigExtended:_contractTypeMap (storage_slot: 19) (offset: 0) (type: mapping(uint256 => mapping(address => TContract))) (numberOfBytes: 32) -script/GeneralConfigExtended.sol:GeneralConfigExtended:_deploymentRoot (storage_slot: 20) (offset: 0) (type: string) (numberOfBytes: 32) -script/GeneralConfigExtended.sol:GeneralConfigExtended:_isForkModeEnabled (storage_slot: 21) (offset: 0) (type: bool) (numberOfBytes: 1) -script/GeneralConfigExtended.sol:GeneralConfigExtended:_networkDataMap (storage_slot: 22) (offset: 0) (type: mapping(TNetwork => struct INetworkConfig.NetworkData)) (numberOfBytes: 32) -script/GeneralConfigExtended.sol:GeneralConfigExtended:_networkMap (storage_slot: 23) (offset: 0) (type: mapping(uint256 => TNetwork)) (numberOfBytes: 32) -script/GeneralConfigExtended.sol:GeneralConfigExtended:_migrationConfig (storage_slot: 24) (offset: 0) (type: bytes) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/GlobalCoreGovernance.sol:GlobalCoreGovernance.log b/logs/storage/GlobalCoreGovernance.sol:GlobalCoreGovernance.log index bd247be9..128230d2 100644 --- a/logs/storage/GlobalCoreGovernance.sol:GlobalCoreGovernance.log +++ b/logs/storage/GlobalCoreGovernance.sol:GlobalCoreGovernance.log @@ -1,4 +1,6 @@ -src/extensions/sequential-governance/GlobalCoreGovernance.sol:GlobalCoreGovernance:round (storage_slot: 0) (offset: 0) (type: mapping(uint256 => uint256)) (numberOfBytes: 32) -src/extensions/sequential-governance/GlobalCoreGovernance.sol:GlobalCoreGovernance:vote (storage_slot: 1) (offset: 0) (type: mapping(uint256 => mapping(uint256 => struct CoreGovernance.ProposalVote))) (numberOfBytes: 32) -src/extensions/sequential-governance/GlobalCoreGovernance.sol:GlobalCoreGovernance:_proposalExpiryDuration (storage_slot: 2) (offset: 0) (type: uint256) (numberOfBytes: 32) -src/extensions/sequential-governance/GlobalCoreGovernance.sol:GlobalCoreGovernance:_targetOptionsMap (storage_slot: 3) (offset: 0) (type: mapping(enum GlobalProposal.TargetOption => address)) (numberOfBytes: 32) \ No newline at end of file +src/extensions/sequential-governance/GlobalCoreGovernance.sol:GlobalCoreGovernance:_initialized (storage_slot: 0) (offset: 0) (type: uint8) (numberOfBytes: 1) +src/extensions/sequential-governance/GlobalCoreGovernance.sol:GlobalCoreGovernance:_initializing (storage_slot: 0) (offset: 1) (type: bool) (numberOfBytes: 1) +src/extensions/sequential-governance/GlobalCoreGovernance.sol:GlobalCoreGovernance:round (storage_slot: 1) (offset: 0) (type: mapping(uint256 => uint256)) (numberOfBytes: 32) +src/extensions/sequential-governance/GlobalCoreGovernance.sol:GlobalCoreGovernance:vote (storage_slot: 2) (offset: 0) (type: mapping(uint256 => mapping(uint256 => struct CoreGovernance.ProposalVote))) (numberOfBytes: 32) +src/extensions/sequential-governance/GlobalCoreGovernance.sol:GlobalCoreGovernance:_proposalExpiryDuration (storage_slot: 3) (offset: 0) (type: uint256) (numberOfBytes: 32) +src/extensions/sequential-governance/GlobalCoreGovernance.sol:GlobalCoreGovernance:_targetOptionsMap (storage_slot: 4) (offset: 0) (type: mapping(enum GlobalProposal.TargetOption => address)) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/GlobalGovernanceProposal.sol:GlobalGovernanceProposal.log b/logs/storage/GlobalGovernanceProposal.sol:GlobalGovernanceProposal.log index e9212551..dff04f9f 100644 --- a/logs/storage/GlobalGovernanceProposal.sol:GlobalGovernanceProposal.log +++ b/logs/storage/GlobalGovernanceProposal.sol:GlobalGovernanceProposal.log @@ -1,4 +1,6 @@ -src/extensions/sequential-governance/governance-proposal/GlobalGovernanceProposal.sol:GlobalGovernanceProposal:round (storage_slot: 0) (offset: 0) (type: mapping(uint256 => uint256)) (numberOfBytes: 32) -src/extensions/sequential-governance/governance-proposal/GlobalGovernanceProposal.sol:GlobalGovernanceProposal:vote (storage_slot: 1) (offset: 0) (type: mapping(uint256 => mapping(uint256 => struct CoreGovernance.ProposalVote))) (numberOfBytes: 32) -src/extensions/sequential-governance/governance-proposal/GlobalGovernanceProposal.sol:GlobalGovernanceProposal:_proposalExpiryDuration (storage_slot: 2) (offset: 0) (type: uint256) (numberOfBytes: 32) -src/extensions/sequential-governance/governance-proposal/GlobalGovernanceProposal.sol:GlobalGovernanceProposal:_targetOptionsMap (storage_slot: 3) (offset: 0) (type: mapping(enum GlobalProposal.TargetOption => address)) (numberOfBytes: 32) \ No newline at end of file +src/extensions/sequential-governance/governance-proposal/GlobalGovernanceProposal.sol:GlobalGovernanceProposal:_initialized (storage_slot: 0) (offset: 0) (type: uint8) (numberOfBytes: 1) +src/extensions/sequential-governance/governance-proposal/GlobalGovernanceProposal.sol:GlobalGovernanceProposal:_initializing (storage_slot: 0) (offset: 1) (type: bool) (numberOfBytes: 1) +src/extensions/sequential-governance/governance-proposal/GlobalGovernanceProposal.sol:GlobalGovernanceProposal:round (storage_slot: 1) (offset: 0) (type: mapping(uint256 => uint256)) (numberOfBytes: 32) +src/extensions/sequential-governance/governance-proposal/GlobalGovernanceProposal.sol:GlobalGovernanceProposal:vote (storage_slot: 2) (offset: 0) (type: mapping(uint256 => mapping(uint256 => struct CoreGovernance.ProposalVote))) (numberOfBytes: 32) +src/extensions/sequential-governance/governance-proposal/GlobalGovernanceProposal.sol:GlobalGovernanceProposal:_proposalExpiryDuration (storage_slot: 3) (offset: 0) (type: uint256) (numberOfBytes: 32) +src/extensions/sequential-governance/governance-proposal/GlobalGovernanceProposal.sol:GlobalGovernanceProposal:_targetOptionsMap (storage_slot: 4) (offset: 0) (type: mapping(enum GlobalProposal.TargetOption => address)) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/GlobalGovernanceRelay.sol:GlobalGovernanceRelay.log b/logs/storage/GlobalGovernanceRelay.sol:GlobalGovernanceRelay.log index b5c8c879..28303f1f 100644 --- a/logs/storage/GlobalGovernanceRelay.sol:GlobalGovernanceRelay.log +++ b/logs/storage/GlobalGovernanceRelay.sol:GlobalGovernanceRelay.log @@ -1,4 +1,6 @@ -src/extensions/sequential-governance/governance-relay/GlobalGovernanceRelay.sol:GlobalGovernanceRelay:round (storage_slot: 0) (offset: 0) (type: mapping(uint256 => uint256)) (numberOfBytes: 32) -src/extensions/sequential-governance/governance-relay/GlobalGovernanceRelay.sol:GlobalGovernanceRelay:vote (storage_slot: 1) (offset: 0) (type: mapping(uint256 => mapping(uint256 => struct CoreGovernance.ProposalVote))) (numberOfBytes: 32) -src/extensions/sequential-governance/governance-relay/GlobalGovernanceRelay.sol:GlobalGovernanceRelay:_proposalExpiryDuration (storage_slot: 2) (offset: 0) (type: uint256) (numberOfBytes: 32) -src/extensions/sequential-governance/governance-relay/GlobalGovernanceRelay.sol:GlobalGovernanceRelay:_targetOptionsMap (storage_slot: 3) (offset: 0) (type: mapping(enum GlobalProposal.TargetOption => address)) (numberOfBytes: 32) \ No newline at end of file +src/extensions/sequential-governance/governance-relay/GlobalGovernanceRelay.sol:GlobalGovernanceRelay:_initialized (storage_slot: 0) (offset: 0) (type: uint8) (numberOfBytes: 1) +src/extensions/sequential-governance/governance-relay/GlobalGovernanceRelay.sol:GlobalGovernanceRelay:_initializing (storage_slot: 0) (offset: 1) (type: bool) (numberOfBytes: 1) +src/extensions/sequential-governance/governance-relay/GlobalGovernanceRelay.sol:GlobalGovernanceRelay:round (storage_slot: 1) (offset: 0) (type: mapping(uint256 => uint256)) (numberOfBytes: 32) +src/extensions/sequential-governance/governance-relay/GlobalGovernanceRelay.sol:GlobalGovernanceRelay:vote (storage_slot: 2) (offset: 0) (type: mapping(uint256 => mapping(uint256 => struct CoreGovernance.ProposalVote))) (numberOfBytes: 32) +src/extensions/sequential-governance/governance-relay/GlobalGovernanceRelay.sol:GlobalGovernanceRelay:_proposalExpiryDuration (storage_slot: 3) (offset: 0) (type: uint256) (numberOfBytes: 32) +src/extensions/sequential-governance/governance-relay/GlobalGovernanceRelay.sol:GlobalGovernanceRelay:_targetOptionsMap (storage_slot: 4) (offset: 0) (type: mapping(enum GlobalProposal.TargetOption => address)) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/GovernanceProposal.sol:GovernanceProposal.log b/logs/storage/GovernanceProposal.sol:GovernanceProposal.log index 0f55e0f4..ba79585c 100644 --- a/logs/storage/GovernanceProposal.sol:GovernanceProposal.log +++ b/logs/storage/GovernanceProposal.sol:GovernanceProposal.log @@ -1,3 +1,5 @@ -src/extensions/sequential-governance/governance-proposal/GovernanceProposal.sol:GovernanceProposal:round (storage_slot: 0) (offset: 0) (type: mapping(uint256 => uint256)) (numberOfBytes: 32) -src/extensions/sequential-governance/governance-proposal/GovernanceProposal.sol:GovernanceProposal:vote (storage_slot: 1) (offset: 0) (type: mapping(uint256 => mapping(uint256 => struct CoreGovernance.ProposalVote))) (numberOfBytes: 32) -src/extensions/sequential-governance/governance-proposal/GovernanceProposal.sol:GovernanceProposal:_proposalExpiryDuration (storage_slot: 2) (offset: 0) (type: uint256) (numberOfBytes: 32) \ No newline at end of file +src/extensions/sequential-governance/governance-proposal/GovernanceProposal.sol:GovernanceProposal:_initialized (storage_slot: 0) (offset: 0) (type: uint8) (numberOfBytes: 1) +src/extensions/sequential-governance/governance-proposal/GovernanceProposal.sol:GovernanceProposal:_initializing (storage_slot: 0) (offset: 1) (type: bool) (numberOfBytes: 1) +src/extensions/sequential-governance/governance-proposal/GovernanceProposal.sol:GovernanceProposal:round (storage_slot: 1) (offset: 0) (type: mapping(uint256 => uint256)) (numberOfBytes: 32) +src/extensions/sequential-governance/governance-proposal/GovernanceProposal.sol:GovernanceProposal:vote (storage_slot: 2) (offset: 0) (type: mapping(uint256 => mapping(uint256 => struct CoreGovernance.ProposalVote))) (numberOfBytes: 32) +src/extensions/sequential-governance/governance-proposal/GovernanceProposal.sol:GovernanceProposal:_proposalExpiryDuration (storage_slot: 3) (offset: 0) (type: uint256) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/GovernanceRelay.sol:GovernanceRelay.log b/logs/storage/GovernanceRelay.sol:GovernanceRelay.log index 49fe5eb2..a6722130 100644 --- a/logs/storage/GovernanceRelay.sol:GovernanceRelay.log +++ b/logs/storage/GovernanceRelay.sol:GovernanceRelay.log @@ -1,3 +1,5 @@ -src/extensions/sequential-governance/governance-relay/GovernanceRelay.sol:GovernanceRelay:round (storage_slot: 0) (offset: 0) (type: mapping(uint256 => uint256)) (numberOfBytes: 32) -src/extensions/sequential-governance/governance-relay/GovernanceRelay.sol:GovernanceRelay:vote (storage_slot: 1) (offset: 0) (type: mapping(uint256 => mapping(uint256 => struct CoreGovernance.ProposalVote))) (numberOfBytes: 32) -src/extensions/sequential-governance/governance-relay/GovernanceRelay.sol:GovernanceRelay:_proposalExpiryDuration (storage_slot: 2) (offset: 0) (type: uint256) (numberOfBytes: 32) \ No newline at end of file +src/extensions/sequential-governance/governance-relay/GovernanceRelay.sol:GovernanceRelay:_initialized (storage_slot: 0) (offset: 0) (type: uint8) (numberOfBytes: 1) +src/extensions/sequential-governance/governance-relay/GovernanceRelay.sol:GovernanceRelay:_initializing (storage_slot: 0) (offset: 1) (type: bool) (numberOfBytes: 1) +src/extensions/sequential-governance/governance-relay/GovernanceRelay.sol:GovernanceRelay:round (storage_slot: 1) (offset: 0) (type: mapping(uint256 => uint256)) (numberOfBytes: 32) +src/extensions/sequential-governance/governance-relay/GovernanceRelay.sol:GovernanceRelay:vote (storage_slot: 2) (offset: 0) (type: mapping(uint256 => mapping(uint256 => struct CoreGovernance.ProposalVote))) (numberOfBytes: 32) +src/extensions/sequential-governance/governance-relay/GovernanceRelay.sol:GovernanceRelay:_proposalExpiryDuration (storage_slot: 3) (offset: 0) (type: uint256) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/MainchainBridgeManager.sol:MainchainBridgeManager.log b/logs/storage/MainchainBridgeManager.sol:MainchainBridgeManager.log index 0de39d59..2b876432 100644 --- a/logs/storage/MainchainBridgeManager.sol:MainchainBridgeManager.log +++ b/logs/storage/MainchainBridgeManager.sol:MainchainBridgeManager.log @@ -1,4 +1,7 @@ -src/mainchain/MainchainBridgeManager.sol:MainchainBridgeManager:round (storage_slot: 0) (offset: 0) (type: mapping(uint256 => uint256)) (numberOfBytes: 32) -src/mainchain/MainchainBridgeManager.sol:MainchainBridgeManager:vote (storage_slot: 1) (offset: 0) (type: mapping(uint256 => mapping(uint256 => struct CoreGovernance.ProposalVote))) (numberOfBytes: 32) -src/mainchain/MainchainBridgeManager.sol:MainchainBridgeManager:_proposalExpiryDuration (storage_slot: 2) (offset: 0) (type: uint256) (numberOfBytes: 32) -src/mainchain/MainchainBridgeManager.sol:MainchainBridgeManager:_targetOptionsMap (storage_slot: 3) (offset: 0) (type: mapping(enum GlobalProposal.TargetOption => address)) (numberOfBytes: 32) \ No newline at end of file +src/mainchain/MainchainBridgeManager.sol:MainchainBridgeManager:_initialized (storage_slot: 0) (offset: 0) (type: uint8) (numberOfBytes: 1) +src/mainchain/MainchainBridgeManager.sol:MainchainBridgeManager:_initializing (storage_slot: 0) (offset: 1) (type: bool) (numberOfBytes: 1) +src/mainchain/MainchainBridgeManager.sol:MainchainBridgeManager:DOMAIN_SEPARATOR (storage_slot: 1) (offset: 0) (type: bytes32) (numberOfBytes: 32) +src/mainchain/MainchainBridgeManager.sol:MainchainBridgeManager:round (storage_slot: 2) (offset: 0) (type: mapping(uint256 => uint256)) (numberOfBytes: 32) +src/mainchain/MainchainBridgeManager.sol:MainchainBridgeManager:vote (storage_slot: 3) (offset: 0) (type: mapping(uint256 => mapping(uint256 => struct CoreGovernance.ProposalVote))) (numberOfBytes: 32) +src/mainchain/MainchainBridgeManager.sol:MainchainBridgeManager:_proposalExpiryDuration (storage_slot: 4) (offset: 0) (type: uint256) (numberOfBytes: 32) +src/mainchain/MainchainBridgeManager.sol:MainchainBridgeManager:_targetOptionsMap (storage_slot: 5) (offset: 0) (type: mapping(enum GlobalProposal.TargetOption => address)) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/MainchainGatewayBatcher.sol:MainchainGatewayBatcher.log b/logs/storage/MainchainGatewayBatcher.sol:MainchainGatewayBatcher.log new file mode 100644 index 00000000..c4609e80 --- /dev/null +++ b/logs/storage/MainchainGatewayBatcher.sol:MainchainGatewayBatcher.log @@ -0,0 +1,3 @@ +src/mainchain/MainchainGatewayBatcher.sol:MainchainGatewayBatcher:_initialized (storage_slot: 0) (offset: 0) (type: uint8) (numberOfBytes: 1) +src/mainchain/MainchainGatewayBatcher.sol:MainchainGatewayBatcher:_initializing (storage_slot: 0) (offset: 1) (type: bool) (numberOfBytes: 1) +src/mainchain/MainchainGatewayBatcher.sol:MainchainGatewayBatcher:_mainchainGateway (storage_slot: 0) (offset: 2) (type: contract MainchainGatewayV3) (numberOfBytes: 20) \ No newline at end of file diff --git a/logs/storage/MainchainGatewayV3.sol:MainchainGatewayV3.log b/logs/storage/MainchainGatewayV3.sol:MainchainGatewayV3.log index dd887ab6..06eec253 100644 --- a/logs/storage/MainchainGatewayV3.sol:MainchainGatewayV3.log +++ b/logs/storage/MainchainGatewayV3.sol:MainchainGatewayV3.log @@ -26,4 +26,7 @@ src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3:_roninToken (storage_slo src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3:withdrawalHash (storage_slot: 121) (offset: 0) (type: mapping(uint256 => bytes32)) (numberOfBytes: 32) src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3:withdrawalLocked (storage_slot: 122) (offset: 0) (type: mapping(uint256 => bool)) (numberOfBytes: 32) src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3:______deprecatedBridgeOperatorAddedBlock (storage_slot: 123) (offset: 0) (type: uint256) (numberOfBytes: 32) -src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3:______deprecatedBridgeOperators (storage_slot: 124) (offset: 0) (type: uint256) (numberOfBytes: 32) \ No newline at end of file +src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3:______deprecatedBridgeOperators (storage_slot: 124) (offset: 0) (type: uint256) (numberOfBytes: 32) +src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3:_totalOperatorWeight (storage_slot: 125) (offset: 0) (type: uint96) (numberOfBytes: 12) +src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3:_operatorWeight (storage_slot: 126) (offset: 0) (type: mapping(address => uint96)) (numberOfBytes: 32) +src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3:wethUnwrapper (storage_slot: 127) (offset: 0) (type: contract WethUnwrapper) (numberOfBytes: 20) \ No newline at end of file diff --git a/logs/storage/MigrationConfig.sol:MigrationConfig.log b/logs/storage/MigrationConfig.sol:MigrationConfig.log index 6665c25c..3e989b32 100644 --- a/logs/storage/MigrationConfig.sol:MigrationConfig.log +++ b/logs/storage/MigrationConfig.sol:MigrationConfig.log @@ -1 +1 @@ -lib/foundry-deployment-kit/script/configs/MigrationConfig.sol:MigrationConfig:_migrationConfig (storage_slot: 0) (offset: 0) (type: bytes) (numberOfBytes: 32) \ No newline at end of file +dependencies/@fdk-0.3.1-beta/script/configs/MigrationConfig.sol:MigrationConfig:_migrationConfig (storage_slot: 0) (offset: 0) (type: bytes) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/MockBridgeManager.sol:MockBridgeManager.log b/logs/storage/MockBridgeManager.sol:MockBridgeManager.log new file mode 100644 index 00000000..7266f70d --- /dev/null +++ b/logs/storage/MockBridgeManager.sol:MockBridgeManager.log @@ -0,0 +1,3 @@ +src/mocks/ronin/MockBridgeManager.sol:MockBridgeManager:_initialized (storage_slot: 0) (offset: 0) (type: uint8) (numberOfBytes: 1) +src/mocks/ronin/MockBridgeManager.sol:MockBridgeManager:_initializing (storage_slot: 0) (offset: 1) (type: bool) (numberOfBytes: 1) +src/mocks/ronin/MockBridgeManager.sol:MockBridgeManager:DOMAIN_SEPARATOR (storage_slot: 1) (offset: 0) (type: bytes32) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/MockBridgeSlash.sol:MockBridgeSlash.log b/logs/storage/MockBridgeSlash.sol:MockBridgeSlash.log index 7cb6ad3a..76494c4c 100644 --- a/logs/storage/MockBridgeSlash.sol:MockBridgeSlash.log +++ b/logs/storage/MockBridgeSlash.sol:MockBridgeSlash.log @@ -1 +1,3 @@ -test/mocks/MockBridgeSlash.sol:MockBridgeSlash:_slashMap (storage_slot: 0) (offset: 0) (type: mapping(address => uint256)) (numberOfBytes: 32) \ No newline at end of file +src/mocks/ronin/MockBridgeSlash.sol:MockBridgeSlash:_initialized (storage_slot: 0) (offset: 0) (type: uint8) (numberOfBytes: 1) +src/mocks/ronin/MockBridgeSlash.sol:MockBridgeSlash:_initializing (storage_slot: 0) (offset: 1) (type: bool) (numberOfBytes: 1) +src/mocks/ronin/MockBridgeSlash.sol:MockBridgeSlash:_startedAtPeriod (storage_slot: 1) (offset: 0) (type: uint256) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/MockBridgeTracking.sol:MockBridgeTracking.log b/logs/storage/MockBridgeTracking.sol:MockBridgeTracking.log deleted file mode 100644 index 24c45928..00000000 --- a/logs/storage/MockBridgeTracking.sol:MockBridgeTracking.log +++ /dev/null @@ -1 +0,0 @@ -test/mocks/MockBridgeTracking.sol:MockBridgeTracking:_tracks (storage_slot: 0) (offset: 0) (type: mapping(uint256 => struct MockBridgeTracking.PeriodTracking)) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/MockERC1155.sol:MockERC1155.log b/logs/storage/MockERC1155.sol:MockERC1155.log new file mode 100644 index 00000000..ff5d17aa --- /dev/null +++ b/logs/storage/MockERC1155.sol:MockERC1155.log @@ -0,0 +1,3 @@ +src/mocks/token/MockERC1155.sol:MockERC1155:_balances (storage_slot: 0) (offset: 0) (type: mapping(uint256 => mapping(address => uint256))) (numberOfBytes: 32) +src/mocks/token/MockERC1155.sol:MockERC1155:_operatorApprovals (storage_slot: 1) (offset: 0) (type: mapping(address => mapping(address => bool))) (numberOfBytes: 32) +src/mocks/token/MockERC1155.sol:MockERC1155:_uri (storage_slot: 2) (offset: 0) (type: string) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/MockRoninBridgeManager.sol:MockRoninBridgeManager.log b/logs/storage/MockRoninBridgeManager.sol:MockRoninBridgeManager.log index 7e0188d4..cf7b84af 100644 --- a/logs/storage/MockRoninBridgeManager.sol:MockRoninBridgeManager.log +++ b/logs/storage/MockRoninBridgeManager.sol:MockRoninBridgeManager.log @@ -1,4 +1,7 @@ -src/mocks/ronin/MockRoninBridgeManager.sol:MockRoninBridgeManager:round (storage_slot: 0) (offset: 0) (type: mapping(uint256 => uint256)) (numberOfBytes: 32) -src/mocks/ronin/MockRoninBridgeManager.sol:MockRoninBridgeManager:vote (storage_slot: 1) (offset: 0) (type: mapping(uint256 => mapping(uint256 => struct CoreGovernance.ProposalVote))) (numberOfBytes: 32) -src/mocks/ronin/MockRoninBridgeManager.sol:MockRoninBridgeManager:_proposalExpiryDuration (storage_slot: 2) (offset: 0) (type: uint256) (numberOfBytes: 32) -src/mocks/ronin/MockRoninBridgeManager.sol:MockRoninBridgeManager:_targetOptionsMap (storage_slot: 3) (offset: 0) (type: mapping(enum GlobalProposal.TargetOption => address)) (numberOfBytes: 32) \ No newline at end of file +src/mocks/ronin/MockRoninBridgeManager.sol:MockRoninBridgeManager:_initialized (storage_slot: 0) (offset: 0) (type: uint8) (numberOfBytes: 1) +src/mocks/ronin/MockRoninBridgeManager.sol:MockRoninBridgeManager:_initializing (storage_slot: 0) (offset: 1) (type: bool) (numberOfBytes: 1) +src/mocks/ronin/MockRoninBridgeManager.sol:MockRoninBridgeManager:DOMAIN_SEPARATOR (storage_slot: 1) (offset: 0) (type: bytes32) (numberOfBytes: 32) +src/mocks/ronin/MockRoninBridgeManager.sol:MockRoninBridgeManager:round (storage_slot: 2) (offset: 0) (type: mapping(uint256 => uint256)) (numberOfBytes: 32) +src/mocks/ronin/MockRoninBridgeManager.sol:MockRoninBridgeManager:vote (storage_slot: 3) (offset: 0) (type: mapping(uint256 => mapping(uint256 => struct CoreGovernance.ProposalVote))) (numberOfBytes: 32) +src/mocks/ronin/MockRoninBridgeManager.sol:MockRoninBridgeManager:_proposalExpiryDuration (storage_slot: 4) (offset: 0) (type: uint256) (numberOfBytes: 32) +src/mocks/ronin/MockRoninBridgeManager.sol:MockRoninBridgeManager:_targetOptionsMap (storage_slot: 5) (offset: 0) (type: mapping(enum GlobalProposal.TargetOption => address)) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/MockSLP.sol:MockSLP.log b/logs/storage/MockSLP.sol:MockSLP.log new file mode 100644 index 00000000..fcf2679d --- /dev/null +++ b/logs/storage/MockSLP.sol:MockSLP.log @@ -0,0 +1,5 @@ +src/mocks/token/MockSLP.sol:MockSLP:_balances (storage_slot: 0) (offset: 0) (type: mapping(address => uint256)) (numberOfBytes: 32) +src/mocks/token/MockSLP.sol:MockSLP:_allowances (storage_slot: 1) (offset: 0) (type: mapping(address => mapping(address => uint256))) (numberOfBytes: 32) +src/mocks/token/MockSLP.sol:MockSLP:_totalSupply (storage_slot: 2) (offset: 0) (type: uint256) (numberOfBytes: 32) +src/mocks/token/MockSLP.sol:MockSLP:_name (storage_slot: 3) (offset: 0) (type: string) (numberOfBytes: 32) +src/mocks/token/MockSLP.sol:MockSLP:_symbol (storage_slot: 4) (offset: 0) (type: string) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/MockUSDC.sol:MockUSDC.log b/logs/storage/MockUSDC.sol:MockUSDC.log new file mode 100644 index 00000000..31633ec5 --- /dev/null +++ b/logs/storage/MockUSDC.sol:MockUSDC.log @@ -0,0 +1,5 @@ +src/mocks/token/MockUSDC.sol:MockUSDC:_balances (storage_slot: 0) (offset: 0) (type: mapping(address => uint256)) (numberOfBytes: 32) +src/mocks/token/MockUSDC.sol:MockUSDC:_allowances (storage_slot: 1) (offset: 0) (type: mapping(address => mapping(address => uint256))) (numberOfBytes: 32) +src/mocks/token/MockUSDC.sol:MockUSDC:_totalSupply (storage_slot: 2) (offset: 0) (type: uint256) (numberOfBytes: 32) +src/mocks/token/MockUSDC.sol:MockUSDC:_name (storage_slot: 3) (offset: 0) (type: string) (numberOfBytes: 32) +src/mocks/token/MockUSDC.sol:MockUSDC:_symbol (storage_slot: 4) (offset: 0) (type: string) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/NetworkConfig.sol:NetworkConfig.log b/logs/storage/NetworkConfig.sol:NetworkConfig.log index 17280194..36b81ac2 100644 --- a/logs/storage/NetworkConfig.sol:NetworkConfig.log +++ b/logs/storage/NetworkConfig.sol:NetworkConfig.log @@ -1,4 +1,6 @@ -lib/foundry-deployment-kit/script/configs/NetworkConfig.sol:NetworkConfig:_deploymentRoot (storage_slot: 0) (offset: 0) (type: string) (numberOfBytes: 32) -lib/foundry-deployment-kit/script/configs/NetworkConfig.sol:NetworkConfig:_isForkModeEnabled (storage_slot: 1) (offset: 0) (type: bool) (numberOfBytes: 1) -lib/foundry-deployment-kit/script/configs/NetworkConfig.sol:NetworkConfig:_networkDataMap (storage_slot: 2) (offset: 0) (type: mapping(TNetwork => struct INetworkConfig.NetworkData)) (numberOfBytes: 32) -lib/foundry-deployment-kit/script/configs/NetworkConfig.sol:NetworkConfig:_networkMap (storage_slot: 3) (offset: 0) (type: mapping(uint256 => TNetwork)) (numberOfBytes: 32) \ No newline at end of file +dependencies/@fdk-0.3.1-beta/script/configs/NetworkConfig.sol:NetworkConfig:_deploymentRoot (storage_slot: 0) (offset: 0) (type: string) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/script/configs/NetworkConfig.sol:NetworkConfig:_isForkModeEnabled (storage_slot: 1) (offset: 0) (type: bool) (numberOfBytes: 1) +dependencies/@fdk-0.3.1-beta/script/configs/NetworkConfig.sol:NetworkConfig:_currentNetwork (storage_slot: 2) (offset: 0) (type: TNetwork) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/script/configs/NetworkConfig.sol:NetworkConfig:_forkId2Network (storage_slot: 3) (offset: 0) (type: mapping(uint256 => TNetwork)) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/script/configs/NetworkConfig.sol:NetworkConfig:_networkDataMap (storage_slot: 4) (offset: 0) (type: mapping(TNetwork => struct INetworkConfig.NetworkData)) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/script/configs/NetworkConfig.sol:NetworkConfig:_forkMap (storage_slot: 5) (offset: 0) (type: mapping(TNetwork => mapping(uint256 => uint256))) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/Ownable.sol:Ownable.log b/logs/storage/Ownable.sol:Ownable.log deleted file mode 100644 index 91fd8cb0..00000000 --- a/logs/storage/Ownable.sol:Ownable.log +++ /dev/null @@ -1 +0,0 @@ -lib/foundry-deployment-kit/lib/openzeppelin-contracts/contracts/access/Ownable.sol:Ownable:_owner (storage_slot: 0) (offset: 0) (type: address) (numberOfBytes: 20) \ No newline at end of file diff --git a/logs/storage/PostChecker.sol:PostChecker.log b/logs/storage/PostChecker.sol:PostChecker.log new file mode 100644 index 00000000..962f4e59 --- /dev/null +++ b/logs/storage/PostChecker.sol:PostChecker.log @@ -0,0 +1,50 @@ +script/PostChecker.sol:PostChecker:stdstore (storage_slot: 0) (offset: 0) (type: struct StdStorage) (numberOfBytes: 256) +script/PostChecker.sol:PostChecker:stdChainsInitialized (storage_slot: 8) (offset: 0) (type: bool) (numberOfBytes: 1) +script/PostChecker.sol:PostChecker:chains (storage_slot: 9) (offset: 0) (type: mapping(string => struct StdChains.Chain)) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:defaultRpcUrls (storage_slot: 10) (offset: 0) (type: mapping(string => string)) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:idToAlias (storage_slot: 11) (offset: 0) (type: mapping(uint256 => string)) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:fallbackToDefaultRpcUrls (storage_slot: 12) (offset: 0) (type: bool) (numberOfBytes: 1) +script/PostChecker.sol:PostChecker:gasMeteringOff (storage_slot: 12) (offset: 1) (type: bool) (numberOfBytes: 1) +script/PostChecker.sol:PostChecker:IS_SCRIPT (storage_slot: 12) (offset: 2) (type: bool) (numberOfBytes: 1) +script/PostChecker.sol:PostChecker:_failed (storage_slot: 12) (offset: 3) (type: bool) (numberOfBytes: 1) +script/PostChecker.sol:PostChecker:_originForkBlockNumber (storage_slot: 13) (offset: 0) (type: uint256) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:_overriddenArgs (storage_slot: 14) (offset: 0) (type: bytes) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:_deployScript (storage_slot: 15) (offset: 0) (type: mapping(TContract => contract IMigrationScript)) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:seed (storage_slot: 16) (offset: 0) (type: uint256) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:bridgeSlash (storage_slot: 17) (offset: 0) (type: address payable) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:bridgeReward (storage_slot: 18) (offset: 0) (type: address payable) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:bridgeTracking (storage_slot: 19) (offset: 0) (type: address payable) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:roninBridgeManager (storage_slot: 20) (offset: 0) (type: address payable) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:roninGateway (storage_slot: 21) (offset: 0) (type: address payable) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:mainchainGateway (storage_slot: 22) (offset: 0) (type: address payable) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:mainchainBridgeManager (storage_slot: 23) (offset: 0) (type: address payable) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:cheatGovernor (storage_slot: 24) (offset: 0) (type: address) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:cheatOperator (storage_slot: 25) (offset: 0) (type: address) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:cheatGovernorPk (storage_slot: 26) (offset: 0) (type: uint256) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:cheatOperatorPk (storage_slot: 27) (offset: 0) (type: uint256) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:gwDomainSeparator (storage_slot: 28) (offset: 0) (type: bytes32) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:_voteWeights (storage_slot: 29) (offset: 0) (type: uint96[]) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:_addingGovernors (storage_slot: 30) (offset: 0) (type: address[]) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:_addingOperators (storage_slot: 31) (offset: 0) (type: address[]) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:voteWeight (storage_slot: 32) (offset: 0) (type: uint256) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:seedStr (storage_slot: 33) (offset: 0) (type: string) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:any (storage_slot: 34) (offset: 0) (type: address) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:operator (storage_slot: 35) (offset: 0) (type: address) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:governor (storage_slot: 36) (offset: 0) (type: address) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:seedStr (storage_slot: 37) (offset: 0) (type: string) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:operatorToRemove (storage_slot: 38) (offset: 0) (type: address) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:voteWeightToRemove (storage_slot: 39) (offset: 0) (type: uint256) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:any (storage_slot: 40) (offset: 0) (type: address) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:user (storage_slot: 41) (offset: 0) (type: address) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:quantity (storage_slot: 42) (offset: 0) (type: uint256) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:depositRequest (storage_slot: 43) (offset: 0) (type: struct Transfer.Request) (numberOfBytes: 160) +script/PostChecker.sol:PostChecker:withdrawRequest (storage_slot: 48) (offset: 0) (type: struct Transfer.Request) (numberOfBytes: 160) +script/PostChecker.sol:PostChecker:roninERC20 (storage_slot: 53) (offset: 0) (type: contract MockERC20) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:mainchainERC20 (storage_slot: 54) (offset: 0) (type: contract MockERC20) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:roninTokens (storage_slot: 55) (offset: 0) (type: address[]) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:mainchainTokens (storage_slot: 56) (offset: 0) (type: address[]) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:standards (storage_slot: 57) (offset: 0) (type: enum TokenStandard[]) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:roninChainId (storage_slot: 58) (offset: 0) (type: uint256) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:mainchainChainId (storage_slot: 59) (offset: 0) (type: uint256) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:currentNetwork (storage_slot: 60) (offset: 0) (type: TNetwork) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:companionNetwork (storage_slot: 61) (offset: 0) (type: TNetwork) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/ProxyAdmin.sol:ProxyAdmin.log b/logs/storage/ProxyAdmin.sol:ProxyAdmin.log deleted file mode 100644 index 83c22cc2..00000000 --- a/logs/storage/ProxyAdmin.sol:ProxyAdmin.log +++ /dev/null @@ -1 +0,0 @@ -lib/foundry-deployment-kit/lib/openzeppelin-contracts/contracts/proxy/transparent/ProxyAdmin.sol:ProxyAdmin:_owner (storage_slot: 0) (offset: 0) (type: address) (numberOfBytes: 20) \ No newline at end of file diff --git a/logs/storage/ReentrancyGuard.sol:ReentrancyGuard.log b/logs/storage/ReentrancyGuard.sol:ReentrancyGuard.log new file mode 100644 index 00000000..030c7832 --- /dev/null +++ b/logs/storage/ReentrancyGuard.sol:ReentrancyGuard.log @@ -0,0 +1 @@ +lib/openzeppelin-contracts/contracts/security/ReentrancyGuard.sol:ReentrancyGuard:_status (storage_slot: 0) (offset: 0) (type: uint256) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/RoninBridgeManager.sol:RoninBridgeManager.log b/logs/storage/RoninBridgeManager.sol:RoninBridgeManager.log index 8e49038d..a253afd2 100644 --- a/logs/storage/RoninBridgeManager.sol:RoninBridgeManager.log +++ b/logs/storage/RoninBridgeManager.sol:RoninBridgeManager.log @@ -1,4 +1,7 @@ -src/ronin/gateway/RoninBridgeManager.sol:RoninBridgeManager:round (storage_slot: 0) (offset: 0) (type: mapping(uint256 => uint256)) (numberOfBytes: 32) -src/ronin/gateway/RoninBridgeManager.sol:RoninBridgeManager:vote (storage_slot: 1) (offset: 0) (type: mapping(uint256 => mapping(uint256 => struct CoreGovernance.ProposalVote))) (numberOfBytes: 32) -src/ronin/gateway/RoninBridgeManager.sol:RoninBridgeManager:_proposalExpiryDuration (storage_slot: 2) (offset: 0) (type: uint256) (numberOfBytes: 32) -src/ronin/gateway/RoninBridgeManager.sol:RoninBridgeManager:_targetOptionsMap (storage_slot: 3) (offset: 0) (type: mapping(enum GlobalProposal.TargetOption => address)) (numberOfBytes: 32) \ No newline at end of file +src/ronin/gateway/RoninBridgeManager.sol:RoninBridgeManager:_initialized (storage_slot: 0) (offset: 0) (type: uint8) (numberOfBytes: 1) +src/ronin/gateway/RoninBridgeManager.sol:RoninBridgeManager:_initializing (storage_slot: 0) (offset: 1) (type: bool) (numberOfBytes: 1) +src/ronin/gateway/RoninBridgeManager.sol:RoninBridgeManager:DOMAIN_SEPARATOR (storage_slot: 1) (offset: 0) (type: bytes32) (numberOfBytes: 32) +src/ronin/gateway/RoninBridgeManager.sol:RoninBridgeManager:round (storage_slot: 2) (offset: 0) (type: mapping(uint256 => uint256)) (numberOfBytes: 32) +src/ronin/gateway/RoninBridgeManager.sol:RoninBridgeManager:vote (storage_slot: 3) (offset: 0) (type: mapping(uint256 => mapping(uint256 => struct CoreGovernance.ProposalVote))) (numberOfBytes: 32) +src/ronin/gateway/RoninBridgeManager.sol:RoninBridgeManager:_proposalExpiryDuration (storage_slot: 4) (offset: 0) (type: uint256) (numberOfBytes: 32) +src/ronin/gateway/RoninBridgeManager.sol:RoninBridgeManager:_targetOptionsMap (storage_slot: 5) (offset: 0) (type: mapping(enum GlobalProposal.TargetOption => address)) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/RoninBridgeManagerConstructor.sol:RoninBridgeManagerConstructor.log b/logs/storage/RoninBridgeManagerConstructor.sol:RoninBridgeManagerConstructor.log new file mode 100644 index 00000000..822a1f7b --- /dev/null +++ b/logs/storage/RoninBridgeManagerConstructor.sol:RoninBridgeManagerConstructor.log @@ -0,0 +1,7 @@ +src/ronin/gateway/RoninBridgeManagerConstructor.sol:RoninBridgeManagerConstructor:_initialized (storage_slot: 0) (offset: 0) (type: uint8) (numberOfBytes: 1) +src/ronin/gateway/RoninBridgeManagerConstructor.sol:RoninBridgeManagerConstructor:_initializing (storage_slot: 0) (offset: 1) (type: bool) (numberOfBytes: 1) +src/ronin/gateway/RoninBridgeManagerConstructor.sol:RoninBridgeManagerConstructor:DOMAIN_SEPARATOR (storage_slot: 1) (offset: 0) (type: bytes32) (numberOfBytes: 32) +src/ronin/gateway/RoninBridgeManagerConstructor.sol:RoninBridgeManagerConstructor:round (storage_slot: 2) (offset: 0) (type: mapping(uint256 => uint256)) (numberOfBytes: 32) +src/ronin/gateway/RoninBridgeManagerConstructor.sol:RoninBridgeManagerConstructor:vote (storage_slot: 3) (offset: 0) (type: mapping(uint256 => mapping(uint256 => struct CoreGovernance.ProposalVote))) (numberOfBytes: 32) +src/ronin/gateway/RoninBridgeManagerConstructor.sol:RoninBridgeManagerConstructor:_proposalExpiryDuration (storage_slot: 4) (offset: 0) (type: uint256) (numberOfBytes: 32) +src/ronin/gateway/RoninBridgeManagerConstructor.sol:RoninBridgeManagerConstructor:_targetOptionsMap (storage_slot: 5) (offset: 0) (type: mapping(enum GlobalProposal.TargetOption => address)) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/RoninMockERC1155.sol:RoninMockERC1155.log b/logs/storage/RoninMockERC1155.sol:RoninMockERC1155.log new file mode 100644 index 00000000..b7ce7883 --- /dev/null +++ b/logs/storage/RoninMockERC1155.sol:RoninMockERC1155.log @@ -0,0 +1,6 @@ +src/mocks/token/RoninMockERC1155.sol:RoninMockERC1155:_balances (storage_slot: 0) (offset: 0) (type: mapping(uint256 => mapping(address => uint256))) (numberOfBytes: 32) +src/mocks/token/RoninMockERC1155.sol:RoninMockERC1155:_operatorApprovals (storage_slot: 1) (offset: 0) (type: mapping(address => mapping(address => bool))) (numberOfBytes: 32) +src/mocks/token/RoninMockERC1155.sol:RoninMockERC1155:_uri (storage_slot: 2) (offset: 0) (type: string) (numberOfBytes: 32) +src/mocks/token/RoninMockERC1155.sol:RoninMockERC1155:_roles (storage_slot: 3) (offset: 0) (type: mapping(bytes32 => struct AccessControl.RoleData)) (numberOfBytes: 32) +src/mocks/token/RoninMockERC1155.sol:RoninMockERC1155:_name (storage_slot: 4) (offset: 0) (type: string) (numberOfBytes: 32) +src/mocks/token/RoninMockERC1155.sol:RoninMockERC1155:_symbol (storage_slot: 5) (offset: 0) (type: string) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/RuntimeConfig.sol:RuntimeConfig.log b/logs/storage/RuntimeConfig.sol:RuntimeConfig.log index a4cd3542..66bf651c 100644 --- a/logs/storage/RuntimeConfig.sol:RuntimeConfig.log +++ b/logs/storage/RuntimeConfig.sol:RuntimeConfig.log @@ -1,3 +1,5 @@ -lib/foundry-deployment-kit/script/configs/RuntimeConfig.sol:RuntimeConfig:_resolved (storage_slot: 0) (offset: 0) (type: bool) (numberOfBytes: 1) -lib/foundry-deployment-kit/script/configs/RuntimeConfig.sol:RuntimeConfig:_option (storage_slot: 1) (offset: 0) (type: struct IRuntimeConfig.Option) (numberOfBytes: 32) -lib/foundry-deployment-kit/script/configs/RuntimeConfig.sol:RuntimeConfig:_rawCommand (storage_slot: 2) (offset: 0) (type: string) (numberOfBytes: 32) \ No newline at end of file +dependencies/@fdk-0.3.1-beta/script/configs/RuntimeConfig.sol:RuntimeConfig:_resolved (storage_slot: 0) (offset: 0) (type: bool) (numberOfBytes: 1) +dependencies/@fdk-0.3.1-beta/script/configs/RuntimeConfig.sol:RuntimeConfig:_option (storage_slot: 1) (offset: 0) (type: struct IRuntimeConfig.Option) (numberOfBytes: 128) +dependencies/@fdk-0.3.1-beta/script/configs/RuntimeConfig.sol:RuntimeConfig:_rawCommand (storage_slot: 5) (offset: 0) (type: string) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/script/configs/RuntimeConfig.sol:RuntimeConfig:_isPostChecking (storage_slot: 6) (offset: 0) (type: bool) (numberOfBytes: 1) +dependencies/@fdk-0.3.1-beta/script/configs/RuntimeConfig.sol:RuntimeConfig:_isPreChecking (storage_slot: 6) (offset: 1) (type: bool) (numberOfBytes: 1) \ No newline at end of file diff --git a/logs/storage/Script.sol:Script.log b/logs/storage/Script.sol:Script.log index 12e34d2b..a91923ed 100644 --- a/logs/storage/Script.sol:Script.log +++ b/logs/storage/Script.sol:Script.log @@ -1,8 +1,8 @@ -lib/foundry-deployment-kit/lib/forge-std/src/Script.sol:Script:stdstore (storage_slot: 0) (offset: 0) (type: struct StdStorage) (numberOfBytes: 224) -lib/foundry-deployment-kit/lib/forge-std/src/Script.sol:Script:stdChainsInitialized (storage_slot: 7) (offset: 0) (type: bool) (numberOfBytes: 1) -lib/foundry-deployment-kit/lib/forge-std/src/Script.sol:Script:chains (storage_slot: 8) (offset: 0) (type: mapping(string => struct StdChains.Chain)) (numberOfBytes: 32) -lib/foundry-deployment-kit/lib/forge-std/src/Script.sol:Script:defaultRpcUrls (storage_slot: 9) (offset: 0) (type: mapping(string => string)) (numberOfBytes: 32) -lib/foundry-deployment-kit/lib/forge-std/src/Script.sol:Script:idToAlias (storage_slot: 10) (offset: 0) (type: mapping(uint256 => string)) (numberOfBytes: 32) -lib/foundry-deployment-kit/lib/forge-std/src/Script.sol:Script:fallbackToDefaultRpcUrls (storage_slot: 11) (offset: 0) (type: bool) (numberOfBytes: 1) -lib/foundry-deployment-kit/lib/forge-std/src/Script.sol:Script:gasMeteringOff (storage_slot: 11) (offset: 1) (type: bool) (numberOfBytes: 1) -lib/foundry-deployment-kit/lib/forge-std/src/Script.sol:Script:IS_SCRIPT (storage_slot: 11) (offset: 2) (type: bool) (numberOfBytes: 1) \ No newline at end of file +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/Script.sol:Script:stdstore (storage_slot: 0) (offset: 0) (type: struct StdStorage) (numberOfBytes: 256) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/Script.sol:Script:stdChainsInitialized (storage_slot: 8) (offset: 0) (type: bool) (numberOfBytes: 1) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/Script.sol:Script:chains (storage_slot: 9) (offset: 0) (type: mapping(string => struct StdChains.Chain)) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/Script.sol:Script:defaultRpcUrls (storage_slot: 10) (offset: 0) (type: mapping(string => string)) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/Script.sol:Script:idToAlias (storage_slot: 11) (offset: 0) (type: mapping(uint256 => string)) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/Script.sol:Script:fallbackToDefaultRpcUrls (storage_slot: 12) (offset: 0) (type: bool) (numberOfBytes: 1) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/Script.sol:Script:gasMeteringOff (storage_slot: 12) (offset: 1) (type: bool) (numberOfBytes: 1) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/Script.sol:Script:IS_SCRIPT (storage_slot: 12) (offset: 2) (type: bool) (numberOfBytes: 1) \ No newline at end of file diff --git a/logs/storage/StdAssertions.sol:StdAssertions.log b/logs/storage/StdAssertions.sol:StdAssertions.log index 842900a4..cc02f64d 100644 --- a/logs/storage/StdAssertions.sol:StdAssertions.log +++ b/logs/storage/StdAssertions.sol:StdAssertions.log @@ -1,2 +1 @@ -lib/forge-std/src/StdAssertions.sol:StdAssertions:IS_TEST (storage_slot: 0) (offset: 0) (type: bool) (numberOfBytes: 1) -lib/forge-std/src/StdAssertions.sol:StdAssertions:_failed (storage_slot: 0) (offset: 1) (type: bool) (numberOfBytes: 1) \ No newline at end of file +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/StdAssertions.sol:StdAssertions:_failed (storage_slot: 0) (offset: 0) (type: bool) (numberOfBytes: 1) \ No newline at end of file diff --git a/logs/storage/StdChains.sol:StdChains.log b/logs/storage/StdChains.sol:StdChains.log index e38d8f5e..6830a3ed 100644 --- a/logs/storage/StdChains.sol:StdChains.log +++ b/logs/storage/StdChains.sol:StdChains.log @@ -1,5 +1,5 @@ -lib/forge-std/src/StdChains.sol:StdChains:stdChainsInitialized (storage_slot: 0) (offset: 0) (type: bool) (numberOfBytes: 1) -lib/forge-std/src/StdChains.sol:StdChains:chains (storage_slot: 1) (offset: 0) (type: mapping(string => struct StdChains.Chain)) (numberOfBytes: 32) -lib/forge-std/src/StdChains.sol:StdChains:defaultRpcUrls (storage_slot: 2) (offset: 0) (type: mapping(string => string)) (numberOfBytes: 32) -lib/forge-std/src/StdChains.sol:StdChains:idToAlias (storage_slot: 3) (offset: 0) (type: mapping(uint256 => string)) (numberOfBytes: 32) -lib/forge-std/src/StdChains.sol:StdChains:fallbackToDefaultRpcUrls (storage_slot: 4) (offset: 0) (type: bool) (numberOfBytes: 1) \ No newline at end of file +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/StdChains.sol:StdChains:stdChainsInitialized (storage_slot: 0) (offset: 0) (type: bool) (numberOfBytes: 1) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/StdChains.sol:StdChains:chains (storage_slot: 1) (offset: 0) (type: mapping(string => struct StdChains.Chain)) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/StdChains.sol:StdChains:defaultRpcUrls (storage_slot: 2) (offset: 0) (type: mapping(string => string)) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/StdChains.sol:StdChains:idToAlias (storage_slot: 3) (offset: 0) (type: mapping(uint256 => string)) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/StdChains.sol:StdChains:fallbackToDefaultRpcUrls (storage_slot: 4) (offset: 0) (type: bool) (numberOfBytes: 1) \ No newline at end of file diff --git a/logs/storage/StdCheats.sol:StdCheats.log b/logs/storage/StdCheats.sol:StdCheats.log index 1fdff3d3..fd5ab91f 100644 --- a/logs/storage/StdCheats.sol:StdCheats.log +++ b/logs/storage/StdCheats.sol:StdCheats.log @@ -1,2 +1,2 @@ -lib/forge-std/src/StdCheats.sol:StdCheats:gasMeteringOff (storage_slot: 0) (offset: 0) (type: bool) (numberOfBytes: 1) -lib/forge-std/src/StdCheats.sol:StdCheats:stdstore (storage_slot: 1) (offset: 0) (type: struct StdStorage) (numberOfBytes: 224) \ No newline at end of file +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/StdCheats.sol:StdCheats:gasMeteringOff (storage_slot: 0) (offset: 0) (type: bool) (numberOfBytes: 1) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/StdCheats.sol:StdCheats:stdstore (storage_slot: 1) (offset: 0) (type: struct StdStorage) (numberOfBytes: 256) \ No newline at end of file diff --git a/logs/storage/StdCheats.sol:StdCheatsSafe.log b/logs/storage/StdCheats.sol:StdCheatsSafe.log index 372cbe11..77e56262 100644 --- a/logs/storage/StdCheats.sol:StdCheatsSafe.log +++ b/logs/storage/StdCheats.sol:StdCheatsSafe.log @@ -1 +1 @@ -lib/forge-std/src/StdCheats.sol:StdCheatsSafe:gasMeteringOff (storage_slot: 0) (offset: 0) (type: bool) (numberOfBytes: 1) \ No newline at end of file +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/StdCheats.sol:StdCheatsSafe:gasMeteringOff (storage_slot: 0) (offset: 0) (type: bool) (numberOfBytes: 1) \ No newline at end of file diff --git a/logs/storage/StdInvariant.sol:StdInvariant.log b/logs/storage/StdInvariant.sol:StdInvariant.log index 68417b13..bb1473f0 100644 --- a/logs/storage/StdInvariant.sol:StdInvariant.log +++ b/logs/storage/StdInvariant.sol:StdInvariant.log @@ -1,9 +1,10 @@ -lib/forge-std/src/StdInvariant.sol:StdInvariant:_excludedContracts (storage_slot: 0) (offset: 0) (type: address[]) (numberOfBytes: 32) -lib/forge-std/src/StdInvariant.sol:StdInvariant:_excludedSenders (storage_slot: 1) (offset: 0) (type: address[]) (numberOfBytes: 32) -lib/forge-std/src/StdInvariant.sol:StdInvariant:_targetedContracts (storage_slot: 2) (offset: 0) (type: address[]) (numberOfBytes: 32) -lib/forge-std/src/StdInvariant.sol:StdInvariant:_targetedSenders (storage_slot: 3) (offset: 0) (type: address[]) (numberOfBytes: 32) -lib/forge-std/src/StdInvariant.sol:StdInvariant:_excludedArtifacts (storage_slot: 4) (offset: 0) (type: string[]) (numberOfBytes: 32) -lib/forge-std/src/StdInvariant.sol:StdInvariant:_targetedArtifacts (storage_slot: 5) (offset: 0) (type: string[]) (numberOfBytes: 32) -lib/forge-std/src/StdInvariant.sol:StdInvariant:_targetedArtifactSelectors (storage_slot: 6) (offset: 0) (type: struct StdInvariant.FuzzSelector[]) (numberOfBytes: 32) -lib/forge-std/src/StdInvariant.sol:StdInvariant:_targetedSelectors (storage_slot: 7) (offset: 0) (type: struct StdInvariant.FuzzSelector[]) (numberOfBytes: 32) -lib/forge-std/src/StdInvariant.sol:StdInvariant:_targetedInterfaces (storage_slot: 8) (offset: 0) (type: struct StdInvariant.FuzzInterface[]) (numberOfBytes: 32) \ No newline at end of file +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/StdInvariant.sol:StdInvariant:_excludedContracts (storage_slot: 0) (offset: 0) (type: address[]) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/StdInvariant.sol:StdInvariant:_excludedSenders (storage_slot: 1) (offset: 0) (type: address[]) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/StdInvariant.sol:StdInvariant:_targetedContracts (storage_slot: 2) (offset: 0) (type: address[]) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/StdInvariant.sol:StdInvariant:_targetedSenders (storage_slot: 3) (offset: 0) (type: address[]) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/StdInvariant.sol:StdInvariant:_excludedArtifacts (storage_slot: 4) (offset: 0) (type: string[]) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/StdInvariant.sol:StdInvariant:_targetedArtifacts (storage_slot: 5) (offset: 0) (type: string[]) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/StdInvariant.sol:StdInvariant:_targetedArtifactSelectors (storage_slot: 6) (offset: 0) (type: struct StdInvariant.FuzzArtifactSelector[]) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/StdInvariant.sol:StdInvariant:_excludedSelectors (storage_slot: 7) (offset: 0) (type: struct StdInvariant.FuzzSelector[]) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/StdInvariant.sol:StdInvariant:_targetedSelectors (storage_slot: 8) (offset: 0) (type: struct StdInvariant.FuzzSelector[]) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/StdInvariant.sol:StdInvariant:_targetedInterfaces (storage_slot: 9) (offset: 0) (type: struct StdInvariant.FuzzInterface[]) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/UserDefinedConfig.sol:UserDefinedConfig.log b/logs/storage/UserDefinedConfig.sol:UserDefinedConfig.log new file mode 100644 index 00000000..a8d3fdaf --- /dev/null +++ b/logs/storage/UserDefinedConfig.sol:UserDefinedConfig.log @@ -0,0 +1,2 @@ +dependencies/@fdk-0.3.1-beta/script/configs/UserDefinedConfig.sol:UserDefinedConfig:_userDefinedKeys (storage_slot: 0) (offset: 0) (type: string[]) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/script/configs/UserDefinedConfig.sol:UserDefinedConfig:_registry (storage_slot: 1) (offset: 0) (type: mapping(bytes32 => bool)) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/WBTC.sol:WBTC.log b/logs/storage/WBTC.sol:WBTC.log new file mode 100644 index 00000000..f0c4759d --- /dev/null +++ b/logs/storage/WBTC.sol:WBTC.log @@ -0,0 +1,8 @@ +src/tokens/erc20/WBTC.sol:WBTC:_roles (storage_slot: 0) (offset: 0) (type: mapping(bytes32 => struct AccessControl.RoleData)) (numberOfBytes: 32) +src/tokens/erc20/WBTC.sol:WBTC:_roleMembers (storage_slot: 1) (offset: 0) (type: mapping(bytes32 => struct EnumerableSet.AddressSet)) (numberOfBytes: 32) +src/tokens/erc20/WBTC.sol:WBTC:_balances (storage_slot: 2) (offset: 0) (type: mapping(address => uint256)) (numberOfBytes: 32) +src/tokens/erc20/WBTC.sol:WBTC:_allowances (storage_slot: 3) (offset: 0) (type: mapping(address => mapping(address => uint256))) (numberOfBytes: 32) +src/tokens/erc20/WBTC.sol:WBTC:_totalSupply (storage_slot: 4) (offset: 0) (type: uint256) (numberOfBytes: 32) +src/tokens/erc20/WBTC.sol:WBTC:_name (storage_slot: 5) (offset: 0) (type: string) (numberOfBytes: 32) +src/tokens/erc20/WBTC.sol:WBTC:_symbol (storage_slot: 6) (offset: 0) (type: string) (numberOfBytes: 32) +src/tokens/erc20/WBTC.sol:WBTC:_paused (storage_slot: 7) (offset: 0) (type: bool) (numberOfBytes: 1) \ No newline at end of file diff --git a/logs/storage/WalletConfig.sol:WalletConfig.log b/logs/storage/WalletConfig.sol:WalletConfig.log index 40a8cc72..ce1d05ab 100644 --- a/logs/storage/WalletConfig.sol:WalletConfig.log +++ b/logs/storage/WalletConfig.sol:WalletConfig.log @@ -1,5 +1,5 @@ -lib/foundry-deployment-kit/script/configs/WalletConfig.sol:WalletConfig:stdstore (storage_slot: 0) (offset: 0) (type: struct StdStorage) (numberOfBytes: 224) -lib/foundry-deployment-kit/script/configs/WalletConfig.sol:WalletConfig:_envLabel (storage_slot: 7) (offset: 0) (type: string) (numberOfBytes: 32) -lib/foundry-deployment-kit/script/configs/WalletConfig.sol:WalletConfig:_envSender (storage_slot: 8) (offset: 0) (type: address) (numberOfBytes: 20) -lib/foundry-deployment-kit/script/configs/WalletConfig.sol:WalletConfig:_trezorSender (storage_slot: 9) (offset: 0) (type: address) (numberOfBytes: 20) -lib/foundry-deployment-kit/script/configs/WalletConfig.sol:WalletConfig:_walletOption (storage_slot: 9) (offset: 20) (type: enum IWalletConfig.WalletOption) (numberOfBytes: 1) \ No newline at end of file +dependencies/@fdk-0.3.1-beta/script/configs/WalletConfig.sol:WalletConfig:stdstore (storage_slot: 0) (offset: 0) (type: struct StdStorage) (numberOfBytes: 256) +dependencies/@fdk-0.3.1-beta/script/configs/WalletConfig.sol:WalletConfig:_envLabel (storage_slot: 8) (offset: 0) (type: string) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/script/configs/WalletConfig.sol:WalletConfig:_envSender (storage_slot: 9) (offset: 0) (type: address) (numberOfBytes: 20) +dependencies/@fdk-0.3.1-beta/script/configs/WalletConfig.sol:WalletConfig:_trezorSender (storage_slot: 10) (offset: 0) (type: address) (numberOfBytes: 20) +dependencies/@fdk-0.3.1-beta/script/configs/WalletConfig.sol:WalletConfig:_walletOption (storage_slot: 10) (offset: 20) (type: enum IWalletConfig.WalletOption) (numberOfBytes: 1) \ No newline at end of file diff --git a/logs/storage/WethUnwrapper.sol:WethUnwrapper.log b/logs/storage/WethUnwrapper.sol:WethUnwrapper.log new file mode 100644 index 00000000..5632f329 --- /dev/null +++ b/logs/storage/WethUnwrapper.sol:WethUnwrapper.log @@ -0,0 +1 @@ +src/extensions/WethUnwrapper.sol:WethUnwrapper:_status (storage_slot: 0) (offset: 0) (type: uint256) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/test.sol:DSTest.log b/logs/storage/test.sol:DSTest.log deleted file mode 100644 index 2f26342f..00000000 --- a/logs/storage/test.sol:DSTest.log +++ /dev/null @@ -1,2 +0,0 @@ -lib/forge-std/lib/ds-test/src/test.sol:DSTest:IS_TEST (storage_slot: 0) (offset: 0) (type: bool) (numberOfBytes: 1) -lib/forge-std/lib/ds-test/src/test.sol:DSTest:_failed (storage_slot: 0) (offset: 1) (type: bool) (numberOfBytes: 1) \ No newline at end of file diff --git a/logs/storage/test.sol:Test.log b/logs/storage/test.sol:Test.log index 3f20a76f..06525040 100644 --- a/logs/storage/test.sol:Test.log +++ b/logs/storage/test.sol:Test.log @@ -1,19 +1,20 @@ -lib/forge-std/src/Test.sol:Test:stdstore (storage_slot: 0) (offset: 0) (type: struct StdStorage) (numberOfBytes: 224) -lib/forge-std/src/Test.sol:Test:IS_TEST (storage_slot: 7) (offset: 0) (type: bool) (numberOfBytes: 1) -lib/forge-std/src/Test.sol:Test:_failed (storage_slot: 7) (offset: 1) (type: bool) (numberOfBytes: 1) -lib/forge-std/src/Test.sol:Test:stdChainsInitialized (storage_slot: 7) (offset: 2) (type: bool) (numberOfBytes: 1) -lib/forge-std/src/Test.sol:Test:chains (storage_slot: 8) (offset: 0) (type: mapping(string => struct StdChains.Chain)) (numberOfBytes: 32) -lib/forge-std/src/Test.sol:Test:defaultRpcUrls (storage_slot: 9) (offset: 0) (type: mapping(string => string)) (numberOfBytes: 32) -lib/forge-std/src/Test.sol:Test:idToAlias (storage_slot: 10) (offset: 0) (type: mapping(uint256 => string)) (numberOfBytes: 32) -lib/forge-std/src/Test.sol:Test:fallbackToDefaultRpcUrls (storage_slot: 11) (offset: 0) (type: bool) (numberOfBytes: 1) -lib/forge-std/src/Test.sol:Test:gasMeteringOff (storage_slot: 11) (offset: 1) (type: bool) (numberOfBytes: 1) -lib/forge-std/src/Test.sol:Test:stdstore (storage_slot: 12) (offset: 0) (type: struct StdStorage) (numberOfBytes: 224) -lib/forge-std/src/Test.sol:Test:_excludedContracts (storage_slot: 19) (offset: 0) (type: address[]) (numberOfBytes: 32) -lib/forge-std/src/Test.sol:Test:_excludedSenders (storage_slot: 20) (offset: 0) (type: address[]) (numberOfBytes: 32) -lib/forge-std/src/Test.sol:Test:_targetedContracts (storage_slot: 21) (offset: 0) (type: address[]) (numberOfBytes: 32) -lib/forge-std/src/Test.sol:Test:_targetedSenders (storage_slot: 22) (offset: 0) (type: address[]) (numberOfBytes: 32) -lib/forge-std/src/Test.sol:Test:_excludedArtifacts (storage_slot: 23) (offset: 0) (type: string[]) (numberOfBytes: 32) -lib/forge-std/src/Test.sol:Test:_targetedArtifacts (storage_slot: 24) (offset: 0) (type: string[]) (numberOfBytes: 32) -lib/forge-std/src/Test.sol:Test:_targetedArtifactSelectors (storage_slot: 25) (offset: 0) (type: struct StdInvariant.FuzzSelector[]) (numberOfBytes: 32) -lib/forge-std/src/Test.sol:Test:_targetedSelectors (storage_slot: 26) (offset: 0) (type: struct StdInvariant.FuzzSelector[]) (numberOfBytes: 32) -lib/forge-std/src/Test.sol:Test:_targetedInterfaces (storage_slot: 27) (offset: 0) (type: struct StdInvariant.FuzzInterface[]) (numberOfBytes: 32) \ No newline at end of file +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/Test.sol:Test:stdstore (storage_slot: 0) (offset: 0) (type: struct StdStorage) (numberOfBytes: 256) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/Test.sol:Test:_failed (storage_slot: 8) (offset: 0) (type: bool) (numberOfBytes: 1) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/Test.sol:Test:stdChainsInitialized (storage_slot: 8) (offset: 1) (type: bool) (numberOfBytes: 1) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/Test.sol:Test:chains (storage_slot: 9) (offset: 0) (type: mapping(string => struct StdChains.Chain)) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/Test.sol:Test:defaultRpcUrls (storage_slot: 10) (offset: 0) (type: mapping(string => string)) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/Test.sol:Test:idToAlias (storage_slot: 11) (offset: 0) (type: mapping(uint256 => string)) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/Test.sol:Test:fallbackToDefaultRpcUrls (storage_slot: 12) (offset: 0) (type: bool) (numberOfBytes: 1) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/Test.sol:Test:gasMeteringOff (storage_slot: 12) (offset: 1) (type: bool) (numberOfBytes: 1) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/Test.sol:Test:stdstore (storage_slot: 13) (offset: 0) (type: struct StdStorage) (numberOfBytes: 256) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/Test.sol:Test:_excludedContracts (storage_slot: 21) (offset: 0) (type: address[]) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/Test.sol:Test:_excludedSenders (storage_slot: 22) (offset: 0) (type: address[]) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/Test.sol:Test:_targetedContracts (storage_slot: 23) (offset: 0) (type: address[]) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/Test.sol:Test:_targetedSenders (storage_slot: 24) (offset: 0) (type: address[]) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/Test.sol:Test:_excludedArtifacts (storage_slot: 25) (offset: 0) (type: string[]) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/Test.sol:Test:_targetedArtifacts (storage_slot: 26) (offset: 0) (type: string[]) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/Test.sol:Test:_targetedArtifactSelectors (storage_slot: 27) (offset: 0) (type: struct StdInvariant.FuzzArtifactSelector[]) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/Test.sol:Test:_excludedSelectors (storage_slot: 28) (offset: 0) (type: struct StdInvariant.FuzzSelector[]) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/Test.sol:Test:_targetedSelectors (storage_slot: 29) (offset: 0) (type: struct StdInvariant.FuzzSelector[]) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/Test.sol:Test:_targetedInterfaces (storage_slot: 30) (offset: 0) (type: struct StdInvariant.FuzzInterface[]) (numberOfBytes: 32) +dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/Test.sol:Test:IS_TEST (storage_slot: 31) (offset: 0) (type: bool) (numberOfBytes: 1) \ No newline at end of file From 88b49b311ff0d439c92d98ec58e3384398da64dc Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Tue, 20 Aug 2024 02:28:46 +0700 Subject: [PATCH 26/74] update postcheck --- .../ethereum/MainchainBridgeManager.json | 2212 ----------------- script/Migration.s.sol | 4 +- script/PostChecker.sol | 20 +- .../ITransparentUpgradeableProxyV2.sol | 21 + script/post-check/BasePostCheck.s.sol | 150 +- .../PostCheck_BridgeManager.s.sol | 2 +- ...ridgeManager_CRUD_addBridgeOperators.s.sol | 83 +- ...geManager_CRUD_removeBridgeOperators.s.sol | 62 +- .../PostCheck_BridgeManager_Proposal.s.sol | 184 +- .../PostCheck_BridgeManager_Quorum.s.sol | 24 +- ...PostCheck_Gateway_DepositAndWithdraw.s.sol | 373 +-- script/shared/libraries/LibArray.sol | 52 +- 12 files changed, 547 insertions(+), 2640 deletions(-) delete mode 100644 deployments/ethereum/MainchainBridgeManager.json create mode 100644 script/interfaces/ITransparentUpgradeableProxyV2.sol diff --git a/deployments/ethereum/MainchainBridgeManager.json b/deployments/ethereum/MainchainBridgeManager.json deleted file mode 100644 index 8c682a30..00000000 --- a/deployments/ethereum/MainchainBridgeManager.json +++ /dev/null @@ -1,2212 +0,0 @@ -{ - "address": "0xa71456fA88a5f6a4696D0446E690Db4a5913fab0", - "abi": [ - { - "inputs": [ - { - "internalType": "uint256", - "name": "num", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "denom", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "roninChainId", - "type": "uint256" - }, - { - "internalType": "address", - "name": "bridgeContract", - "type": "address" - }, - { - "internalType": "address[]", - "name": "callbackRegisters", - "type": "address[]" - }, - { - "internalType": "address[]", - "name": "bridgeOperators", - "type": "address[]" - }, - { - "internalType": "address[]", - "name": "governors", - "type": "address[]" - }, - { - "internalType": "uint96[]", - "name": "voteWeights", - "type": "uint96[]" - }, - { - "internalType": "enum GlobalProposal.TargetOption[]", - "name": "targetOptions", - "type": "uint8[]" - }, - { - "internalType": "address[]", - "name": "targets", - "type": "address[]" - } - ], - "stateMutability": "payable", - "type": "constructor" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "bridgeOperator", - "type": "address" - } - ], - "name": "ErrBridgeOperatorAlreadyExisted", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "bridgeOperator", - "type": "address" - } - ], - "name": "ErrBridgeOperatorUpdateFailed", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "enum ContractType", - "name": "contractType", - "type": "uint8" - } - ], - "name": "ErrContractTypeNotFound", - "type": "error" - }, - { - "inputs": [], - "name": "ErrCurrentProposalIsNotCompleted", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "msgSig", - "type": "bytes4" - } - ], - "name": "ErrDuplicated", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "proposalHash", - "type": "bytes32" - } - ], - "name": "ErrInsufficientGas", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "msgSig", - "type": "bytes4" - } - ], - "name": "ErrInvalidArguments", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "msgSig", - "type": "bytes4" - }, - { - "internalType": "uint256", - "name": "actual", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - } - ], - "name": "ErrInvalidChainId", - "type": "error" - }, - { - "inputs": [], - "name": "ErrInvalidExpiryTimestamp", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "msgSig", - "type": "bytes4" - } - ], - "name": "ErrInvalidOrder", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "msgSig", - "type": "bytes4" - } - ], - "name": "ErrInvalidProposalNonce", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "msgSig", - "type": "bytes4" - } - ], - "name": "ErrInvalidThreshold", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "msgSig", - "type": "bytes4" - } - ], - "name": "ErrInvalidVoteWeight", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "msgSig", - "type": "bytes4" - } - ], - "name": "ErrLengthMismatch", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "msgSig", - "type": "bytes4" - } - ], - "name": "ErrOnlySelfCall", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "msgSig", - "type": "bytes4" - } - ], - "name": "ErrRelayFailed", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "msgSig", - "type": "bytes4" - }, - { - "internalType": "enum RoleAccess", - "name": "expectedRole", - "type": "uint8" - } - ], - "name": "ErrUnauthorized", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - }, - { - "internalType": "address", - "name": "addr", - "type": "address" - } - ], - "name": "ErrUnsupportedInterface", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "msgSig", - "type": "bytes4" - } - ], - "name": "ErrUnsupportedVoteType", - "type": "error" - }, - { - "inputs": [], - "name": "ErrVoteIsFinalized", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "msgSig", - "type": "bytes4" - } - ], - "name": "ErrZeroAddress", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "addr", - "type": "address" - } - ], - "name": "ErrZeroCodeContract", - "type": "error" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "governor", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "fromBridgeOperator", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "toBridgeOperator", - "type": "address" - } - ], - "name": "BridgeOperatorUpdated", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bool[]", - "name": "statuses", - "type": "bool[]" - }, - { - "indexed": false, - "internalType": "uint96[]", - "name": "voteWeights", - "type": "uint96[]" - }, - { - "indexed": false, - "internalType": "address[]", - "name": "governors", - "type": "address[]" - }, - { - "indexed": false, - "internalType": "address[]", - "name": "bridgeOperators", - "type": "address[]" - } - ], - "name": "BridgeOperatorsAdded", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bool[]", - "name": "statuses", - "type": "bool[]" - }, - { - "indexed": false, - "internalType": "address[]", - "name": "bridgeOperators", - "type": "address[]" - } - ], - "name": "BridgeOperatorsRemoved", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "enum ContractType", - "name": "contractType", - "type": "uint8" - }, - { - "indexed": true, - "internalType": "address", - "name": "addr", - "type": "address" - } - ], - "name": "ContractUpdated", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "uint256", - "name": "round", - "type": "uint256" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "proposalHash", - "type": "bytes32" - }, - { - "components": [ - { - "internalType": "uint256", - "name": "nonce", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "chainId", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "expiryTimestamp", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "targets", - "type": "address[]" - }, - { - "internalType": "uint256[]", - "name": "values", - "type": "uint256[]" - }, - { - "internalType": "bytes[]", - "name": "calldatas", - "type": "bytes[]" - }, - { - "internalType": "uint256[]", - "name": "gasAmounts", - "type": "uint256[]" - } - ], - "indexed": false, - "internalType": "struct Proposal.ProposalDetail", - "name": "proposal", - "type": "tuple" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "globalProposalHash", - "type": "bytes32" - }, - { - "components": [ - { - "internalType": "uint256", - "name": "nonce", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "expiryTimestamp", - "type": "uint256" - }, - { - "internalType": "enum GlobalProposal.TargetOption[]", - "name": "targetOptions", - "type": "uint8[]" - }, - { - "internalType": "uint256[]", - "name": "values", - "type": "uint256[]" - }, - { - "internalType": "bytes[]", - "name": "calldatas", - "type": "bytes[]" - }, - { - "internalType": "uint256[]", - "name": "gasAmounts", - "type": "uint256[]" - } - ], - "indexed": false, - "internalType": "struct GlobalProposal.GlobalProposalDetail", - "name": "globalProposal", - "type": "tuple" - }, - { - "indexed": false, - "internalType": "address", - "name": "creator", - "type": "address" - } - ], - "name": "GlobalProposalCreated", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes", - "name": "callData", - "type": "bytes" - }, - { - "indexed": false, - "internalType": "address[]", - "name": "registers", - "type": "address[]" - }, - { - "indexed": false, - "internalType": "bool[]", - "name": "statuses", - "type": "bool[]" - }, - { - "indexed": false, - "internalType": "bytes[]", - "name": "returnDatas", - "type": "bytes[]" - } - ], - "name": "Notified", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "proposalHash", - "type": "bytes32" - } - ], - "name": "ProposalApproved", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "uint256", - "name": "chainId", - "type": "uint256" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "round", - "type": "uint256" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "proposalHash", - "type": "bytes32" - }, - { - "components": [ - { - "internalType": "uint256", - "name": "nonce", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "chainId", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "expiryTimestamp", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "targets", - "type": "address[]" - }, - { - "internalType": "uint256[]", - "name": "values", - "type": "uint256[]" - }, - { - "internalType": "bytes[]", - "name": "calldatas", - "type": "bytes[]" - }, - { - "internalType": "uint256[]", - "name": "gasAmounts", - "type": "uint256[]" - } - ], - "indexed": false, - "internalType": "struct Proposal.ProposalDetail", - "name": "proposal", - "type": "tuple" - }, - { - "indexed": false, - "internalType": "address", - "name": "creator", - "type": "address" - } - ], - "name": "ProposalCreated", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "proposalHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bool[]", - "name": "successCalls", - "type": "bool[]" - }, - { - "indexed": false, - "internalType": "bytes[]", - "name": "returnDatas", - "type": "bytes[]" - } - ], - "name": "ProposalExecuted", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "proposalHash", - "type": "bytes32" - } - ], - "name": "ProposalExpired", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "uint256", - "name": "duration", - "type": "uint256" - } - ], - "name": "ProposalExpiryDurationChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "proposalHash", - "type": "bytes32" - } - ], - "name": "ProposalRejected", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "proposalHash", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "voter", - "type": "address" - }, - { - "indexed": false, - "internalType": "enum Ballot.VoteType", - "name": "support", - "type": "uint8" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "weight", - "type": "uint256" - } - ], - "name": "ProposalVoted", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "enum GlobalProposal.TargetOption", - "name": "targetOption", - "type": "uint8" - }, - { - "indexed": true, - "internalType": "address", - "name": "addr", - "type": "address" - } - ], - "name": "TargetOptionUpdated", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "uint256", - "name": "nonce", - "type": "uint256" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "numerator", - "type": "uint256" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "denominator", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "previousNumerator", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "previousDenominator", - "type": "uint256" - } - ], - "name": "ThresholdUpdated", - "type": "event" - }, - { - "inputs": [], - "name": "DOMAIN_SEPARATOR", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint96[]", - "name": "voteWeights", - "type": "uint96[]" - }, - { - "internalType": "address[]", - "name": "governors", - "type": "address[]" - }, - { - "internalType": "address[]", - "name": "bridgeOperators", - "type": "address[]" - } - ], - "name": "addBridgeOperators", - "outputs": [ - { - "internalType": "bool[]", - "name": "addeds", - "type": "bool[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_voteWeight", - "type": "uint256" - } - ], - "name": "checkThreshold", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address[]", - "name": "governors", - "type": "address[]" - } - ], - "name": "getBridgeOperatorOf", - "outputs": [ - { - "internalType": "address[]", - "name": "bridgeOperators", - "type": "address[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "bridgeOperator", - "type": "address" - } - ], - "name": "getBridgeOperatorWeight", - "outputs": [ - { - "internalType": "uint96", - "name": "weight", - "type": "uint96" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getBridgeOperators", - "outputs": [ - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getCallbackRegisters", - "outputs": [ - { - "internalType": "address[]", - "name": "registers", - "type": "address[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "enum ContractType", - "name": "contractType", - "type": "uint8" - } - ], - "name": "getContract", - "outputs": [ - { - "internalType": "address", - "name": "contract_", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getFullBridgeOperatorInfos", - "outputs": [ - { - "internalType": "address[]", - "name": "governors", - "type": "address[]" - }, - { - "internalType": "address[]", - "name": "bridgeOperators", - "type": "address[]" - }, - { - "internalType": "uint96[]", - "name": "weights", - "type": "uint96[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "governor", - "type": "address" - } - ], - "name": "getGovernorWeight", - "outputs": [ - { - "internalType": "uint96", - "name": "weight", - "type": "uint96" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address[]", - "name": "governors", - "type": "address[]" - } - ], - "name": "getGovernorWeights", - "outputs": [ - { - "internalType": "uint96[]", - "name": "weights", - "type": "uint96[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getGovernors", - "outputs": [ - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address[]", - "name": "bridgeOperators", - "type": "address[]" - } - ], - "name": "getGovernorsOf", - "outputs": [ - { - "internalType": "address[]", - "name": "governors", - "type": "address[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getProposalExpiryDuration", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getThreshold", - "outputs": [ - { - "internalType": "uint256", - "name": "num_", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "denom_", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getTotalWeight", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_round", - "type": "uint256" - } - ], - "name": "globalProposalRelayed", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "addr", - "type": "address" - } - ], - "name": "isBridgeOperator", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "minimumVoteWeight", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address[]", - "name": "registers", - "type": "address[]" - } - ], - "name": "registerCallbacks", - "outputs": [ - { - "internalType": "bool[]", - "name": "registereds", - "type": "bool[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "uint256", - "name": "nonce", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "expiryTimestamp", - "type": "uint256" - }, - { - "internalType": "enum GlobalProposal.TargetOption[]", - "name": "targetOptions", - "type": "uint8[]" - }, - { - "internalType": "uint256[]", - "name": "values", - "type": "uint256[]" - }, - { - "internalType": "bytes[]", - "name": "calldatas", - "type": "bytes[]" - }, - { - "internalType": "uint256[]", - "name": "gasAmounts", - "type": "uint256[]" - } - ], - "internalType": "struct GlobalProposal.GlobalProposalDetail", - "name": "globalProposal", - "type": "tuple" - }, - { - "internalType": "enum Ballot.VoteType[]", - "name": "supports_", - "type": "uint8[]" - }, - { - "components": [ - { - "internalType": "uint8", - "name": "v", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "r", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "s", - "type": "bytes32" - } - ], - "internalType": "struct SignatureConsumer.Signature[]", - "name": "signatures", - "type": "tuple[]" - } - ], - "name": "relayGlobalProposal", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "uint256", - "name": "nonce", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "chainId", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "expiryTimestamp", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "targets", - "type": "address[]" - }, - { - "internalType": "uint256[]", - "name": "values", - "type": "uint256[]" - }, - { - "internalType": "bytes[]", - "name": "calldatas", - "type": "bytes[]" - }, - { - "internalType": "uint256[]", - "name": "gasAmounts", - "type": "uint256[]" - } - ], - "internalType": "struct Proposal.ProposalDetail", - "name": "proposal", - "type": "tuple" - }, - { - "internalType": "enum Ballot.VoteType[]", - "name": "supports_", - "type": "uint8[]" - }, - { - "components": [ - { - "internalType": "uint8", - "name": "v", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "r", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "s", - "type": "bytes32" - } - ], - "internalType": "struct SignatureConsumer.Signature[]", - "name": "signatures", - "type": "tuple[]" - } - ], - "name": "relayProposal", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address[]", - "name": "bridgeOperators", - "type": "address[]" - } - ], - "name": "removeBridgeOperators", - "outputs": [ - { - "internalType": "bool[]", - "name": "removeds", - "type": "bool[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "enum GlobalProposal.TargetOption[]", - "name": "targetOptions", - "type": "uint8[]" - } - ], - "name": "resolveTargets", - "outputs": [ - { - "internalType": "address[]", - "name": "targets", - "type": "address[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "round", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "enum ContractType", - "name": "contractType", - "type": "uint8" - }, - { - "internalType": "address", - "name": "addr", - "type": "address" - } - ], - "name": "setContract", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "numerator", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "denominator", - "type": "uint256" - } - ], - "name": "setThreshold", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address[]", - "name": "governors", - "type": "address[]" - } - ], - "name": "sumGovernorsWeight", - "outputs": [ - { - "internalType": "uint256", - "name": "sum", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "totalBridgeOperator", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address[]", - "name": "registers", - "type": "address[]" - } - ], - "name": "unregisterCallbacks", - "outputs": [ - { - "internalType": "bool[]", - "name": "unregistereds", - "type": "bool[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newBridgeOperator", - "type": "address" - } - ], - "name": "updateBridgeOperator", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "enum GlobalProposal.TargetOption[]", - "name": "targetOptions", - "type": "uint8[]" - }, - { - "internalType": "address[]", - "name": "targets", - "type": "address[]" - } - ], - "name": "updateManyTargetOption", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "vote", - "outputs": [ - { - "internalType": "enum VoteStatusConsumer.VoteStatus", - "name": "status", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "hash", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "againstVoteWeight", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "forVoteWeight", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "expiryTimestamp", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "transactionHash": "0x32eecd93f9c09035bc4a6f9ed5e78da877b9918d50137b13820668e48f059485", - "receipt": { - "to": null, - "from": "0xba0000a467FA5d2BCbB78209728dbD2753b41f25", - "contractAddress": "0xa71456fA88a5f6a4696D0446E690Db4a5913fab0", - "transactionIndex": 89, - "gasUsed": "4722481", - "logsBloom": "0x042200000000000000000000000000000000800000002400001000000000000000004000000000100000000000000000000100000000000102000000000c0004000000000000800000000000000000000000000000040005000400000000000000000000020000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000080000000000004400000000000000000000001000010100000000400000000000002000000000000000000040000000000000000000000000000000000000800000001000000000000460000000020000000000000800000000000000000000008000008200000000001000", - "blockHash": "0x30be9623b906151095a8c5166a99d05d37ea50438ac2f2c747fd40684f154c1e", - "transactionHash": "0x32eecd93f9c09035bc4a6f9ed5e78da877b9918d50137b13820668e48f059485", - "logs": [ - { - "transactionIndex": 89, - "blockNumber": 18325619, - "transactionHash": "0x32eecd93f9c09035bc4a6f9ed5e78da877b9918d50137b13820668e48f059485", - "address": "0xa71456fA88a5f6a4696D0446E690Db4a5913fab0", - "topics": [ - "0x976f8a9c5bdf8248dec172376d6e2b80a8e3df2f0328e381c6db8e1cf138c0f8", - "0x0000000000000000000000000000000000000000000000000000000000000001", - "0x0000000000000000000000000000000000000000000000000000000000000046", - "0x0000000000000000000000000000000000000000000000000000000000000064" - ], - "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - "logIndex": 279, - "blockHash": "0x30be9623b906151095a8c5166a99d05d37ea50438ac2f2c747fd40684f154c1e" - }, - { - "transactionIndex": 89, - "blockNumber": 18325619, - "transactionHash": "0x32eecd93f9c09035bc4a6f9ed5e78da877b9918d50137b13820668e48f059485", - "address": "0xa71456fA88a5f6a4696D0446E690Db4a5913fab0", - "topics": [ - "0x865d1c228a8ea13709cfe61f346f7ff67f1bbd4a18ff31ad3e7147350d317c59", - "0x0000000000000000000000000000000000000000000000000000000000000002", - "0x00000000000000000000000064192819ac13ef72bf6b5ae239ac672b43a9af08" - ], - "data": "0x", - "logIndex": 280, - "blockHash": "0x30be9623b906151095a8c5166a99d05d37ea50438ac2f2c747fd40684f154c1e" - }, - { - "transactionIndex": 89, - "blockNumber": 18325619, - "transactionHash": "0x32eecd93f9c09035bc4a6f9ed5e78da877b9918d50137b13820668e48f059485", - "address": "0xa71456fA88a5f6a4696D0446E690Db4a5913fab0", - "topics": [ - "0x897810999654e525e272b5909785c4d0ceaee1bbf9c87d9091a37558b0423b78" - ], - "data": "0x000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000010000000000000000000000003200a8eb56767c3760e108aa27c65bfff036d8e6000000000000000000000000000000000000000000000000000000000000000100000000000000000000000032015e8b982c61bc8a593816fdbf03a603eec823", - "logIndex": 281, - "blockHash": "0x30be9623b906151095a8c5166a99d05d37ea50438ac2f2c747fd40684f154c1e" - }, - { - "transactionIndex": 89, - "blockNumber": 18325619, - "transactionHash": "0x32eecd93f9c09035bc4a6f9ed5e78da877b9918d50137b13820668e48f059485", - "address": "0xa71456fA88a5f6a4696D0446E690Db4a5913fab0", - "topics": [ - "0xe5cd1c123a8cf63fa1b7229678db61fe8ae99dbbd27889370b6667c8cae97da1", - "0x8000000000000000000000000000000000000000000000000000000000000000" - ], - "data": "0x", - "logIndex": 282, - "blockHash": "0x30be9623b906151095a8c5166a99d05d37ea50438ac2f2c747fd40684f154c1e" - }, - { - "transactionIndex": 89, - "blockNumber": 18325619, - "transactionHash": "0x32eecd93f9c09035bc4a6f9ed5e78da877b9918d50137b13820668e48f059485", - "address": "0xa71456fA88a5f6a4696D0446E690Db4a5913fab0", - "topics": [ - "0x356c8c57e9e84b99b1cb58b13c985b2c979f78cbdf4d0fa70fe2a98bb09a099d", - "0x0000000000000000000000000000000000000000000000000000000000000000", - "0x000000000000000000000000a71456fa88a5f6a4696d0446e690db4a5913fab0" - ], - "data": "0x", - "logIndex": 283, - "blockHash": "0x30be9623b906151095a8c5166a99d05d37ea50438ac2f2c747fd40684f154c1e" - }, - { - "transactionIndex": 89, - "blockNumber": 18325619, - "transactionHash": "0x32eecd93f9c09035bc4a6f9ed5e78da877b9918d50137b13820668e48f059485", - "address": "0xa71456fA88a5f6a4696D0446E690Db4a5913fab0", - "topics": [ - "0x356c8c57e9e84b99b1cb58b13c985b2c979f78cbdf4d0fa70fe2a98bb09a099d", - "0x0000000000000000000000000000000000000000000000000000000000000001", - "0x00000000000000000000000064192819ac13ef72bf6b5ae239ac672b43a9af08" - ], - "data": "0x", - "logIndex": 284, - "blockHash": "0x30be9623b906151095a8c5166a99d05d37ea50438ac2f2c747fd40684f154c1e" - } - ], - "blockNumber": 18325619, - "cumulativeGasUsed": "17942081", - "status": 1, - "byzantium": true - }, - "args": [ - 70, - 100, - 2020, - "0x64192819ac13ef72bf6b5ae239ac672b43a9af08", - [], - [ - "0x32015E8B982c61bc8a593816FdBf03A603EEC823" - ], - [ - "0x3200A8eb56767c3760e108Aa27C65bfFF036d8E6" - ], - [ - 100 - ], - [ - 1 - ], - [ - "0x64192819ac13ef72bf6b5ae239ac672b43a9af08" - ] - ], - "numDeployments": 1, - "solcInputHash": "d5751a51f1eb067d18a7dec1633f85eb", - "metadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"num\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"denom\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"roninChainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"bridgeContract\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"callbackRegisters\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"bridgeOperators\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"governors\",\"type\":\"address[]\"},{\"internalType\":\"uint96[]\",\"name\":\"voteWeights\",\"type\":\"uint96[]\"},{\"internalType\":\"enum GlobalProposal.TargetOption[]\",\"name\":\"targetOptions\",\"type\":\"uint8[]\"},{\"internalType\":\"address[]\",\"name\":\"targets\",\"type\":\"address[]\"}],\"stateMutability\":\"payable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"bridgeOperator\",\"type\":\"address\"}],\"name\":\"ErrBridgeOperatorAlreadyExisted\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"bridgeOperator\",\"type\":\"address\"}],\"name\":\"ErrBridgeOperatorUpdateFailed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"enum ContractType\",\"name\":\"contractType\",\"type\":\"uint8\"}],\"name\":\"ErrContractTypeNotFound\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ErrCurrentProposalIsNotCompleted\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"msgSig\",\"type\":\"bytes4\"}],\"name\":\"ErrDuplicated\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"proposalHash\",\"type\":\"bytes32\"}],\"name\":\"ErrInsufficientGas\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"msgSig\",\"type\":\"bytes4\"}],\"name\":\"ErrInvalidArguments\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"msgSig\",\"type\":\"bytes4\"},{\"internalType\":\"uint256\",\"name\":\"actual\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expected\",\"type\":\"uint256\"}],\"name\":\"ErrInvalidChainId\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ErrInvalidExpiryTimestamp\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"msgSig\",\"type\":\"bytes4\"}],\"name\":\"ErrInvalidOrder\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"msgSig\",\"type\":\"bytes4\"}],\"name\":\"ErrInvalidProposalNonce\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"msgSig\",\"type\":\"bytes4\"}],\"name\":\"ErrInvalidThreshold\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"msgSig\",\"type\":\"bytes4\"}],\"name\":\"ErrInvalidVoteWeight\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"msgSig\",\"type\":\"bytes4\"}],\"name\":\"ErrLengthMismatch\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"msgSig\",\"type\":\"bytes4\"}],\"name\":\"ErrOnlySelfCall\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"msgSig\",\"type\":\"bytes4\"}],\"name\":\"ErrRelayFailed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"msgSig\",\"type\":\"bytes4\"},{\"internalType\":\"enum RoleAccess\",\"name\":\"expectedRole\",\"type\":\"uint8\"}],\"name\":\"ErrUnauthorized\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"},{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"ErrUnsupportedInterface\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"msgSig\",\"type\":\"bytes4\"}],\"name\":\"ErrUnsupportedVoteType\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ErrVoteIsFinalized\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"msgSig\",\"type\":\"bytes4\"}],\"name\":\"ErrZeroAddress\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"ErrZeroCodeContract\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"governor\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"fromBridgeOperator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"toBridgeOperator\",\"type\":\"address\"}],\"name\":\"BridgeOperatorUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bool[]\",\"name\":\"statuses\",\"type\":\"bool[]\"},{\"indexed\":false,\"internalType\":\"uint96[]\",\"name\":\"voteWeights\",\"type\":\"uint96[]\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"governors\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"bridgeOperators\",\"type\":\"address[]\"}],\"name\":\"BridgeOperatorsAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bool[]\",\"name\":\"statuses\",\"type\":\"bool[]\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"bridgeOperators\",\"type\":\"address[]\"}],\"name\":\"BridgeOperatorsRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"enum ContractType\",\"name\":\"contractType\",\"type\":\"uint8\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"ContractUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"round\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"proposalHash\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiryTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"targets\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes[]\",\"name\":\"calldatas\",\"type\":\"bytes[]\"},{\"internalType\":\"uint256[]\",\"name\":\"gasAmounts\",\"type\":\"uint256[]\"}],\"indexed\":false,\"internalType\":\"struct Proposal.ProposalDetail\",\"name\":\"proposal\",\"type\":\"tuple\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"globalProposalHash\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiryTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"enum GlobalProposal.TargetOption[]\",\"name\":\"targetOptions\",\"type\":\"uint8[]\"},{\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes[]\",\"name\":\"calldatas\",\"type\":\"bytes[]\"},{\"internalType\":\"uint256[]\",\"name\":\"gasAmounts\",\"type\":\"uint256[]\"}],\"indexed\":false,\"internalType\":\"struct GlobalProposal.GlobalProposalDetail\",\"name\":\"globalProposal\",\"type\":\"tuple\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"}],\"name\":\"GlobalProposalCreated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"registers\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"bool[]\",\"name\":\"statuses\",\"type\":\"bool[]\"},{\"indexed\":false,\"internalType\":\"bytes[]\",\"name\":\"returnDatas\",\"type\":\"bytes[]\"}],\"name\":\"Notified\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"proposalHash\",\"type\":\"bytes32\"}],\"name\":\"ProposalApproved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"round\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"proposalHash\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiryTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"targets\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes[]\",\"name\":\"calldatas\",\"type\":\"bytes[]\"},{\"internalType\":\"uint256[]\",\"name\":\"gasAmounts\",\"type\":\"uint256[]\"}],\"indexed\":false,\"internalType\":\"struct Proposal.ProposalDetail\",\"name\":\"proposal\",\"type\":\"tuple\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"}],\"name\":\"ProposalCreated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"proposalHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bool[]\",\"name\":\"successCalls\",\"type\":\"bool[]\"},{\"indexed\":false,\"internalType\":\"bytes[]\",\"name\":\"returnDatas\",\"type\":\"bytes[]\"}],\"name\":\"ProposalExecuted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"proposalHash\",\"type\":\"bytes32\"}],\"name\":\"ProposalExpired\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"duration\",\"type\":\"uint256\"}],\"name\":\"ProposalExpiryDurationChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"proposalHash\",\"type\":\"bytes32\"}],\"name\":\"ProposalRejected\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"proposalHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"voter\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"enum Ballot.VoteType\",\"name\":\"support\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"weight\",\"type\":\"uint256\"}],\"name\":\"ProposalVoted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"enum GlobalProposal.TargetOption\",\"name\":\"targetOption\",\"type\":\"uint8\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"TargetOptionUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"numerator\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"denominator\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"previousNumerator\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"previousDenominator\",\"type\":\"uint256\"}],\"name\":\"ThresholdUpdated\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint96[]\",\"name\":\"voteWeights\",\"type\":\"uint96[]\"},{\"internalType\":\"address[]\",\"name\":\"governors\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"bridgeOperators\",\"type\":\"address[]\"}],\"name\":\"addBridgeOperators\",\"outputs\":[{\"internalType\":\"bool[]\",\"name\":\"addeds\",\"type\":\"bool[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_voteWeight\",\"type\":\"uint256\"}],\"name\":\"checkThreshold\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"governors\",\"type\":\"address[]\"}],\"name\":\"getBridgeOperatorOf\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"bridgeOperators\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"bridgeOperator\",\"type\":\"address\"}],\"name\":\"getBridgeOperatorWeight\",\"outputs\":[{\"internalType\":\"uint96\",\"name\":\"weight\",\"type\":\"uint96\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getBridgeOperators\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCallbackRegisters\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"registers\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enum ContractType\",\"name\":\"contractType\",\"type\":\"uint8\"}],\"name\":\"getContract\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"contract_\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getFullBridgeOperatorInfos\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"governors\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"bridgeOperators\",\"type\":\"address[]\"},{\"internalType\":\"uint96[]\",\"name\":\"weights\",\"type\":\"uint96[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"governor\",\"type\":\"address\"}],\"name\":\"getGovernorWeight\",\"outputs\":[{\"internalType\":\"uint96\",\"name\":\"weight\",\"type\":\"uint96\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"governors\",\"type\":\"address[]\"}],\"name\":\"getGovernorWeights\",\"outputs\":[{\"internalType\":\"uint96[]\",\"name\":\"weights\",\"type\":\"uint96[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getGovernors\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"bridgeOperators\",\"type\":\"address[]\"}],\"name\":\"getGovernorsOf\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"governors\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getProposalExpiryDuration\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getThreshold\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"num_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"denom_\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalWeight\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_round\",\"type\":\"uint256\"}],\"name\":\"globalProposalRelayed\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"isBridgeOperator\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minimumVoteWeight\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"registers\",\"type\":\"address[]\"}],\"name\":\"registerCallbacks\",\"outputs\":[{\"internalType\":\"bool[]\",\"name\":\"registereds\",\"type\":\"bool[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiryTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"enum GlobalProposal.TargetOption[]\",\"name\":\"targetOptions\",\"type\":\"uint8[]\"},{\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes[]\",\"name\":\"calldatas\",\"type\":\"bytes[]\"},{\"internalType\":\"uint256[]\",\"name\":\"gasAmounts\",\"type\":\"uint256[]\"}],\"internalType\":\"struct GlobalProposal.GlobalProposalDetail\",\"name\":\"globalProposal\",\"type\":\"tuple\"},{\"internalType\":\"enum Ballot.VoteType[]\",\"name\":\"supports_\",\"type\":\"uint8[]\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"struct SignatureConsumer.Signature[]\",\"name\":\"signatures\",\"type\":\"tuple[]\"}],\"name\":\"relayGlobalProposal\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiryTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"targets\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes[]\",\"name\":\"calldatas\",\"type\":\"bytes[]\"},{\"internalType\":\"uint256[]\",\"name\":\"gasAmounts\",\"type\":\"uint256[]\"}],\"internalType\":\"struct Proposal.ProposalDetail\",\"name\":\"proposal\",\"type\":\"tuple\"},{\"internalType\":\"enum Ballot.VoteType[]\",\"name\":\"supports_\",\"type\":\"uint8[]\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"struct SignatureConsumer.Signature[]\",\"name\":\"signatures\",\"type\":\"tuple[]\"}],\"name\":\"relayProposal\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"bridgeOperators\",\"type\":\"address[]\"}],\"name\":\"removeBridgeOperators\",\"outputs\":[{\"internalType\":\"bool[]\",\"name\":\"removeds\",\"type\":\"bool[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enum GlobalProposal.TargetOption[]\",\"name\":\"targetOptions\",\"type\":\"uint8[]\"}],\"name\":\"resolveTargets\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"targets\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"round\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enum ContractType\",\"name\":\"contractType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"setContract\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"numerator\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"denominator\",\"type\":\"uint256\"}],\"name\":\"setThreshold\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"governors\",\"type\":\"address[]\"}],\"name\":\"sumGovernorsWeight\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"sum\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalBridgeOperator\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"registers\",\"type\":\"address[]\"}],\"name\":\"unregisterCallbacks\",\"outputs\":[{\"internalType\":\"bool[]\",\"name\":\"unregistereds\",\"type\":\"bool[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newBridgeOperator\",\"type\":\"address\"}],\"name\":\"updateBridgeOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enum GlobalProposal.TargetOption[]\",\"name\":\"targetOptions\",\"type\":\"uint8[]\"},{\"internalType\":\"address[]\",\"name\":\"targets\",\"type\":\"address[]\"}],\"name\":\"updateManyTargetOption\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"vote\",\"outputs\":[{\"internalType\":\"enum VoteStatusConsumer.VoteStatus\",\"name\":\"status\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"againstVoteWeight\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"forVoteWeight\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiryTimestamp\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"errors\":{\"ErrBridgeOperatorAlreadyExisted(address)\":[{\"details\":\"Error thrown when attempting to add a bridge operator that already exists in the contract. This error indicates that the provided bridge operator address is already registered as a bridge operator in the contract.\"}],\"ErrBridgeOperatorUpdateFailed(address)\":[{\"details\":\"Error raised when a bridge operator update operation fails.\",\"params\":{\"bridgeOperator\":\"The address of the bridge operator that failed to update.\"}}],\"ErrContractTypeNotFound(uint8)\":[{\"details\":\"Error of invalid role.\"}],\"ErrCurrentProposalIsNotCompleted()\":[{\"details\":\"Error thrown when the current proposal is not completed.\"}],\"ErrDuplicated(bytes4)\":[{\"details\":\"Error thrown when a duplicated element is detected in an array.\",\"params\":{\"msgSig\":\"The function signature that invoke the error.\"}}],\"ErrInsufficientGas(bytes32)\":[{\"details\":\"Error thrown when there is insufficient gas to execute a function.\"}],\"ErrInvalidArguments(bytes4)\":[{\"details\":\"Error indicating that arguments are invalid.\"}],\"ErrInvalidChainId(bytes4,uint256,uint256)\":[{\"details\":\"Error indicating that the chain ID is invalid.\",\"params\":{\"actual\":\"Current chain ID that executing function.\",\"expected\":\"Expected chain ID required for the tx to success.\",\"msgSig\":\"The function signature (bytes4) of the operation that encountered an invalid chain ID.\"}}],\"ErrInvalidExpiryTimestamp()\":[{\"details\":\"Error thrown when an invalid expiry timestamp is provided.\"}],\"ErrInvalidOrder(bytes4)\":[{\"details\":\"Error indicating that an order is invalid.\",\"params\":{\"msgSig\":\"The function signature (bytes4) of the operation that encountered an invalid order.\"}}],\"ErrInvalidProposalNonce(bytes4)\":[{\"details\":\"Error indicating that the proposal nonce is invalid.\",\"params\":{\"msgSig\":\"The function signature (bytes4) of the operation that encountered an invalid proposal nonce.\"}}],\"ErrInvalidThreshold(bytes4)\":[{\"details\":\"Error indicating that the provided threshold is invalid for a specific function signature.\",\"params\":{\"msgSig\":\"The function signature (bytes4) that the invalid threshold applies to.\"}}],\"ErrInvalidVoteWeight(bytes4)\":[{\"details\":\"Error indicating that a vote weight is invalid for a specific function signature.\",\"params\":{\"msgSig\":\"The function signature (bytes4) that encountered an invalid vote weight.\"}}],\"ErrLengthMismatch(bytes4)\":[{\"details\":\"Error indicating a mismatch in the length of input parameters or arrays for a specific function.\",\"params\":{\"msgSig\":\"The function signature (bytes4) that has a length mismatch.\"}}],\"ErrOnlySelfCall(bytes4)\":[{\"details\":\"Error indicating that a function can only be called by the contract itself.\",\"params\":{\"msgSig\":\"The function signature (bytes4) that can only be called by the contract itself.\"}}],\"ErrRelayFailed(bytes4)\":[{\"details\":\"Error indicating that a relay call has failed.\",\"params\":{\"msgSig\":\"The function signature (bytes4) of the relay call that failed.\"}}],\"ErrUnauthorized(bytes4,uint8)\":[{\"details\":\"Error indicating that the caller is unauthorized to perform a specific function.\",\"params\":{\"expectedRole\":\"The role required to perform the function.\",\"msgSig\":\"The function signature (bytes4) that the caller is unauthorized to perform.\"}}],\"ErrUnsupportedInterface(bytes4,address)\":[{\"details\":\"The error indicating an unsupported interface.\",\"params\":{\"addr\":\"The address where the unsupported interface was encountered.\",\"interfaceId\":\"The bytes4 interface identifier that is not supported.\"}}],\"ErrUnsupportedVoteType(bytes4)\":[{\"details\":\"Error indicating that a vote type is not supported.\",\"params\":{\"msgSig\":\"The function signature (bytes4) of the operation that encountered an unsupported vote type.\"}}],\"ErrVoteIsFinalized()\":[{\"details\":\"Error thrown when attempting to interact with a finalized vote.\"}],\"ErrZeroAddress(bytes4)\":[{\"details\":\"Error indicating that given address is null when it should not.\"}],\"ErrZeroCodeContract(address)\":[{\"details\":\"Error of set to non-contract.\"}]},\"kind\":\"dev\",\"methods\":{\"addBridgeOperators(uint96[],address[],address[])\":{\"details\":\"Adds multiple bridge operators.\",\"params\":{\"bridgeOperators\":\"An array of addresses representing the bridge operators to add.\",\"governors\":\"An array of addresses of hot/cold wallets for bridge operator to update their node address.\"},\"returns\":{\"addeds\":\"An array of booleans indicating whether each bridge operator was added successfully. Note: return boolean array `addeds` indicates whether a group (voteWeight, governor, operator) are recorded. It is expected that FE/BE staticcall to the function first to get the return values and handle it correctly. Governors are expected to see the outcome of this function and decide if they want to vote for the proposal or not. Example Usage: Making an `eth_call` in ethers.js ``` const {addeds} = await bridgeManagerContract.callStatic.addBridgeOperators( voteWeights, governors, bridgeOperators, // overriding the caller to the contract itself since we use `onlySelfCall` guard {from: bridgeManagerContract.address} ) const filteredOperators = bridgeOperators.filter((_, index) => addeds[index]); const filteredWeights = weights.filter((_, index) => addeds[index]); const filteredGovernors = governors.filter((_, index) => addeds[index]); // ... (Process or use the information as required) ... ```\"}},\"checkThreshold(uint256)\":{\"details\":\"Checks whether the `_voteWeight` passes the threshold.\"},\"getBridgeOperatorOf(address[])\":{\"details\":\"Returns an array of bridge operators correspoding to governor addresses.\",\"returns\":{\"bridgeOperators\":\"An array containing the addresses of all bridge operators.\"}},\"getBridgeOperatorWeight(address)\":{\"details\":\"External function to retrieve the vote weight of a specific bridge operator.\",\"params\":{\"bridgeOperator\":\"The address of the bridge operator to get the vote weight for.\"},\"returns\":{\"weight\":\"The vote weight of the specified bridge operator.\"}},\"getBridgeOperators()\":{\"details\":\"Returns an array of all bridge operators.\",\"returns\":{\"_0\":\"An array containing the addresses of all bridge operators.\"}},\"getCallbackRegisters()\":{\"details\":\"Retrieves the addresses of registered callbacks.\",\"returns\":{\"registers\":\"An array containing the addresses of registered callbacks.\"}},\"getContract(uint8)\":{\"details\":\"Returns the address of a contract with a specific role. Throws an error if no contract is set for the specified role.\",\"params\":{\"contractType\":\"The role of the contract to retrieve.\"},\"returns\":{\"contract_\":\"The address of the contract with the specified role.\"}},\"getFullBridgeOperatorInfos()\":{\"details\":\"Retrieves the full information of all registered bridge operators. This external function allows external callers to obtain the full information of all the registered bridge operators. The returned arrays include the addresses of governors, bridge operators, and their corresponding vote weights.\",\"returns\":{\"bridgeOperators\":\"An array of addresses representing the registered bridge operators.\",\"governors\":\"An array of addresses representing the governors of each bridge operator.\",\"weights\":\"An array of uint256 values representing the vote weights of each bridge operator. Note: The length of each array will be the same, and the order of elements corresponds to the same bridge operator. Example Usage: ``` (address[] memory governors, address[] memory bridgeOperators, uint256[] memory weights) = getFullBridgeOperatorInfos(); for (uint256 i = 0; i < bridgeOperators.length; i++) { // Access individual information for each bridge operator. address governor = governors[i]; address bridgeOperator = bridgeOperators[i]; uint256 weight = weights[i]; // ... (Process or use the information as required) ... } ```\"}},\"getGovernorWeight(address)\":{\"details\":\"External function to retrieve the vote weight of a specific governor.\",\"params\":{\"governor\":\"The address of the governor to get the vote weight for.\"},\"returns\":{\"weight\":\"voteWeight The vote weight of the specified governor.\"}},\"getGovernorWeights(address[])\":{\"details\":\"Returns the weights of a list of governor addresses.\"},\"getGovernors()\":{\"details\":\"Returns an array of all governors.\",\"returns\":{\"_0\":\"An array containing the addresses of all governors.\"}},\"getGovernorsOf(address[])\":{\"details\":\"Retrieves the governors corresponding to a given array of bridge operators. This external function allows external callers to obtain the governors associated with a given array of bridge operators. The function takes an input array `bridgeOperators` containing bridge operator addresses and returns an array of corresponding governors.\",\"params\":{\"bridgeOperators\":\"An array of bridge operator addresses for which governors are to be retrieved.\"},\"returns\":{\"governors\":\"An array of addresses representing the governors corresponding to the provided bridge operators.\"}},\"getProposalExpiryDuration()\":{\"details\":\"Returns the expiry duration for a new proposal.\"},\"getThreshold()\":{\"details\":\"Returns the threshold.\"},\"getTotalWeight()\":{\"details\":\"Returns total weights.\"},\"globalProposalRelayed(uint256)\":{\"details\":\"Returns whether the voter `_voter` casted vote for the proposal.\"},\"isBridgeOperator(address)\":{\"details\":\"Checks if the given address is a bridge operator.\",\"params\":{\"addr\":\"The address to check.\"},\"returns\":{\"_0\":\"A boolean indicating whether the address is a bridge operator.\"}},\"minimumVoteWeight()\":{\"details\":\"Returns the minimum vote weight to pass the threshold.\"},\"registerCallbacks(address[])\":{\"details\":\"Registers multiple callbacks with the bridge.\",\"params\":{\"registers\":\"The array of callback addresses to register.\"},\"returns\":{\"registereds\":\"An array indicating the success status of each registration.\"}},\"relayGlobalProposal((uint256,uint256,uint8[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])\":{\"details\":\"See `GovernanceRelay-_relayGlobalProposal`. Requirements: - The method caller is governor.\"},\"relayProposal((uint256,uint256,uint256,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])\":{\"details\":\"See `GovernanceRelay-_relayProposal`. Requirements: - The method caller is governor.\"},\"removeBridgeOperators(address[])\":{\"details\":\"Removes multiple bridge operators.\",\"params\":{\"bridgeOperators\":\"An array of addresses representing the bridge operators to remove.\"},\"returns\":{\"removeds\":\"An array of booleans indicating whether each bridge operator was removed successfully. * Note: return boolean array `removeds` indicates whether a group (voteWeight, governor, operator) are recorded. It is expected that FE/BE staticcall to the function first to get the return values and handle it correctly. Governors are expected to see the outcome of this function and decide if they want to vote for the proposal or not. Example Usage: Making an `eth_call` in ethers.js ``` const {removeds} = await bridgeManagerContract.callStatic.removeBridgeOperators( bridgeOperators, // overriding the caller to the contract itself since we use `onlySelfCall` guard {from: bridgeManagerContract.address} ) const filteredOperators = bridgeOperators.filter((_, index) => removeds[index]); // ... (Process or use the information as required) ... ```\"}},\"resolveTargets(uint8[])\":{\"details\":\"Returns corresponding address of target options. Return address(0) on non-existent target.\"},\"setContract(uint8,address)\":{\"details\":\"Sets the address of a contract with a specific role. Emits the event {ContractUpdated}.\",\"params\":{\"addr\":\"The address of the contract to set.\",\"contractType\":\"The role of the contract to set.\"}},\"setThreshold(uint256,uint256)\":{\"details\":\"Sets the threshold. Requirements: - The method caller is admin. Emits the `ThresholdUpdated` event.\"},\"sumGovernorsWeight(address[])\":{\"details\":\"Returns total weights of the governor list.\"},\"totalBridgeOperator()\":{\"details\":\"Returns the total number of bridge operators.\",\"returns\":{\"_0\":\"The total number of bridge operators.\"}},\"unregisterCallbacks(address[])\":{\"details\":\"Unregisters multiple callbacks from the bridge.\",\"params\":{\"registers\":\"The array of callback addresses to unregister.\"},\"returns\":{\"unregistereds\":\"An array indicating the success status of each unregistration.\"}},\"updateBridgeOperator(address)\":{\"details\":\"Governor updates their corresponding governor and/or operator address. Requirements: - The caller must the governor of the operator that is requested changes.\",\"params\":{\"bridgeOperator\":\"The address of the bridge operator to update.\"}},\"updateManyTargetOption(uint8[],address[])\":{\"details\":\"Updates list of `targetOptions` to `targets`. Requirement: - Only allow self-call through proposal. \"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"round(uint256)\":{\"notice\":\"chain id = 0 for global proposal\"},\"updateBridgeOperator(address)\":{\"notice\":\"This method checks authorization by querying the corresponding operator of the msg.sender and then attempts to remove it from the `_bridgeOperatorSet` for gas optimization. In case we allow a governor can leave their operator address blank null `address(0)`, consider add authorization check.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/mainchain/MainchainBridgeManager.sol\":\"MainchainBridgeManager\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/interfaces/draft-IERC1822.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.5.0) (interfaces/draft-IERC1822.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified\\n * proxy whose upgrades are fully controlled by the current implementation.\\n */\\ninterface IERC1822Proxiable {\\n /**\\n * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation\\n * address.\\n *\\n * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\\n * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\\n * function revert if invoked through a proxy.\\n */\\n function proxiableUUID() external view returns (bytes32);\\n}\\n\",\"keccak256\":\"0x1d4afe6cb24200cc4545eed814ecf5847277dfe5d613a1707aad5fceecebcfff\",\"license\":\"MIT\"},\"@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (proxy/ERC1967/ERC1967Proxy.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../Proxy.sol\\\";\\nimport \\\"./ERC1967Upgrade.sol\\\";\\n\\n/**\\n * @dev This contract implements an upgradeable proxy. It is upgradeable because calls are delegated to an\\n * implementation address that can be changed. This address is stored in storage in the location specified by\\n * https://eips.ethereum.org/EIPS/eip-1967[EIP1967], so that it doesn't conflict with the storage layout of the\\n * implementation behind the proxy.\\n */\\ncontract ERC1967Proxy is Proxy, ERC1967Upgrade {\\n /**\\n * @dev Initializes the upgradeable proxy with an initial implementation specified by `_logic`.\\n *\\n * If `_data` is nonempty, it's used as data in a delegate call to `_logic`. This will typically be an encoded\\n * function call, and allows initializing the storage of the proxy like a Solidity constructor.\\n */\\n constructor(address _logic, bytes memory _data) payable {\\n _upgradeToAndCall(_logic, _data, false);\\n }\\n\\n /**\\n * @dev Returns the current implementation address.\\n */\\n function _implementation() internal view virtual override returns (address impl) {\\n return ERC1967Upgrade._getImplementation();\\n }\\n}\\n\",\"keccak256\":\"0xa2b22da3032e50b55f95ec1d13336102d675f341167aa76db571ef7f8bb7975d\",\"license\":\"MIT\"},\"@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.5.0) (proxy/ERC1967/ERC1967Upgrade.sol)\\n\\npragma solidity ^0.8.2;\\n\\nimport \\\"../beacon/IBeacon.sol\\\";\\nimport \\\"../../interfaces/draft-IERC1822.sol\\\";\\nimport \\\"../../utils/Address.sol\\\";\\nimport \\\"../../utils/StorageSlot.sol\\\";\\n\\n/**\\n * @dev This abstract contract provides getters and event emitting update functions for\\n * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.\\n *\\n * _Available since v4.1._\\n *\\n * @custom:oz-upgrades-unsafe-allow delegatecall\\n */\\nabstract contract ERC1967Upgrade {\\n // This is the keccak-256 hash of \\\"eip1967.proxy.rollback\\\" subtracted by 1\\n bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143;\\n\\n /**\\n * @dev Storage slot with the address of the current implementation.\\n * This is the keccak-256 hash of \\\"eip1967.proxy.implementation\\\" subtracted by 1, and is\\n * validated in the constructor.\\n */\\n bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\\n\\n /**\\n * @dev Emitted when the implementation is upgraded.\\n */\\n event Upgraded(address indexed implementation);\\n\\n /**\\n * @dev Returns the current implementation address.\\n */\\n function _getImplementation() internal view returns (address) {\\n return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\\n }\\n\\n /**\\n * @dev Stores a new address in the EIP1967 implementation slot.\\n */\\n function _setImplementation(address newImplementation) private {\\n require(Address.isContract(newImplementation), \\\"ERC1967: new implementation is not a contract\\\");\\n StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\\n }\\n\\n /**\\n * @dev Perform implementation upgrade\\n *\\n * Emits an {Upgraded} event.\\n */\\n function _upgradeTo(address newImplementation) internal {\\n _setImplementation(newImplementation);\\n emit Upgraded(newImplementation);\\n }\\n\\n /**\\n * @dev Perform implementation upgrade with additional setup call.\\n *\\n * Emits an {Upgraded} event.\\n */\\n function _upgradeToAndCall(\\n address newImplementation,\\n bytes memory data,\\n bool forceCall\\n ) internal {\\n _upgradeTo(newImplementation);\\n if (data.length > 0 || forceCall) {\\n Address.functionDelegateCall(newImplementation, data);\\n }\\n }\\n\\n /**\\n * @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call.\\n *\\n * Emits an {Upgraded} event.\\n */\\n function _upgradeToAndCallUUPS(\\n address newImplementation,\\n bytes memory data,\\n bool forceCall\\n ) internal {\\n // Upgrades from old implementations will perform a rollback test. This test requires the new\\n // implementation to upgrade back to the old, non-ERC1822 compliant, implementation. Removing\\n // this special case will break upgrade paths from old UUPS implementation to new ones.\\n if (StorageSlot.getBooleanSlot(_ROLLBACK_SLOT).value) {\\n _setImplementation(newImplementation);\\n } else {\\n try IERC1822Proxiable(newImplementation).proxiableUUID() returns (bytes32 slot) {\\n require(slot == _IMPLEMENTATION_SLOT, \\\"ERC1967Upgrade: unsupported proxiableUUID\\\");\\n } catch {\\n revert(\\\"ERC1967Upgrade: new implementation is not UUPS\\\");\\n }\\n _upgradeToAndCall(newImplementation, data, forceCall);\\n }\\n }\\n\\n /**\\n * @dev Storage slot with the admin of the contract.\\n * This is the keccak-256 hash of \\\"eip1967.proxy.admin\\\" subtracted by 1, and is\\n * validated in the constructor.\\n */\\n bytes32 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;\\n\\n /**\\n * @dev Emitted when the admin account has changed.\\n */\\n event AdminChanged(address previousAdmin, address newAdmin);\\n\\n /**\\n * @dev Returns the current admin.\\n */\\n function _getAdmin() internal view returns (address) {\\n return StorageSlot.getAddressSlot(_ADMIN_SLOT).value;\\n }\\n\\n /**\\n * @dev Stores a new address in the EIP1967 admin slot.\\n */\\n function _setAdmin(address newAdmin) private {\\n require(newAdmin != address(0), \\\"ERC1967: new admin is the zero address\\\");\\n StorageSlot.getAddressSlot(_ADMIN_SLOT).value = newAdmin;\\n }\\n\\n /**\\n * @dev Changes the admin of the proxy.\\n *\\n * Emits an {AdminChanged} event.\\n */\\n function _changeAdmin(address newAdmin) internal {\\n emit AdminChanged(_getAdmin(), newAdmin);\\n _setAdmin(newAdmin);\\n }\\n\\n /**\\n * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.\\n * This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor.\\n */\\n bytes32 internal constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;\\n\\n /**\\n * @dev Emitted when the beacon is upgraded.\\n */\\n event BeaconUpgraded(address indexed beacon);\\n\\n /**\\n * @dev Returns the current beacon.\\n */\\n function _getBeacon() internal view returns (address) {\\n return StorageSlot.getAddressSlot(_BEACON_SLOT).value;\\n }\\n\\n /**\\n * @dev Stores a new beacon in the EIP1967 beacon slot.\\n */\\n function _setBeacon(address newBeacon) private {\\n require(Address.isContract(newBeacon), \\\"ERC1967: new beacon is not a contract\\\");\\n require(\\n Address.isContract(IBeacon(newBeacon).implementation()),\\n \\\"ERC1967: beacon implementation is not a contract\\\"\\n );\\n StorageSlot.getAddressSlot(_BEACON_SLOT).value = newBeacon;\\n }\\n\\n /**\\n * @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does\\n * not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that).\\n *\\n * Emits a {BeaconUpgraded} event.\\n */\\n function _upgradeBeaconToAndCall(\\n address newBeacon,\\n bytes memory data,\\n bool forceCall\\n ) internal {\\n _setBeacon(newBeacon);\\n emit BeaconUpgraded(newBeacon);\\n if (data.length > 0 || forceCall) {\\n Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data);\\n }\\n }\\n}\\n\",\"keccak256\":\"0xabf3f59bc0e5423eae45e459dbe92e7052c6983628d39008590edc852a62f94a\",\"license\":\"MIT\"},\"@openzeppelin/contracts/proxy/Proxy.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.6.0) (proxy/Proxy.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM\\n * instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to\\n * be specified by overriding the virtual {_implementation} function.\\n *\\n * Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a\\n * different contract through the {_delegate} function.\\n *\\n * The success and return data of the delegated call will be returned back to the caller of the proxy.\\n */\\nabstract contract Proxy {\\n /**\\n * @dev Delegates the current call to `implementation`.\\n *\\n * This function does not return to its internal call site, it will return directly to the external caller.\\n */\\n function _delegate(address implementation) internal virtual {\\n assembly {\\n // Copy msg.data. We take full control of memory in this inline assembly\\n // block because it will not return to Solidity code. We overwrite the\\n // Solidity scratch pad at memory position 0.\\n calldatacopy(0, 0, calldatasize())\\n\\n // Call the implementation.\\n // out and outsize are 0 because we don't know the size yet.\\n let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0)\\n\\n // Copy the returned data.\\n returndatacopy(0, 0, returndatasize())\\n\\n switch result\\n // delegatecall returns 0 on error.\\n case 0 {\\n revert(0, returndatasize())\\n }\\n default {\\n return(0, returndatasize())\\n }\\n }\\n }\\n\\n /**\\n * @dev This is a virtual function that should be overridden so it returns the address to which the fallback function\\n * and {_fallback} should delegate.\\n */\\n function _implementation() internal view virtual returns (address);\\n\\n /**\\n * @dev Delegates the current call to the address returned by `_implementation()`.\\n *\\n * This function does not return to its internal call site, it will return directly to the external caller.\\n */\\n function _fallback() internal virtual {\\n _beforeFallback();\\n _delegate(_implementation());\\n }\\n\\n /**\\n * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other\\n * function in the contract matches the call data.\\n */\\n fallback() external payable virtual {\\n _fallback();\\n }\\n\\n /**\\n * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data\\n * is empty.\\n */\\n receive() external payable virtual {\\n _fallback();\\n }\\n\\n /**\\n * @dev Hook that is called before falling back to the implementation. Can happen as part of a manual `_fallback`\\n * call, or as part of the Solidity `fallback` or `receive` functions.\\n *\\n * If overridden should call `super._beforeFallback()`.\\n */\\n function _beforeFallback() internal virtual {}\\n}\\n\",\"keccak256\":\"0xc130fe33f1b2132158531a87734153293f6d07bc263ff4ac90e85da9c82c0e27\",\"license\":\"MIT\"},\"@openzeppelin/contracts/proxy/beacon/IBeacon.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (proxy/beacon/IBeacon.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev This is the interface that {BeaconProxy} expects of its beacon.\\n */\\ninterface IBeacon {\\n /**\\n * @dev Must return an address that can be used as a delegate call target.\\n *\\n * {BeaconProxy} will check that this address is a contract.\\n */\\n function implementation() external view returns (address);\\n}\\n\",\"keccak256\":\"0xd50a3421ac379ccb1be435fa646d66a65c986b4924f0849839f08692f39dde61\",\"license\":\"MIT\"},\"@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (proxy/transparent/TransparentUpgradeableProxy.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../ERC1967/ERC1967Proxy.sol\\\";\\n\\n/**\\n * @dev This contract implements a proxy that is upgradeable by an admin.\\n *\\n * To avoid https://medium.com/nomic-labs-blog/malicious-backdoors-in-ethereum-proxies-62629adf3357[proxy selector\\n * clashing], which can potentially be used in an attack, this contract uses the\\n * https://blog.openzeppelin.com/the-transparent-proxy-pattern/[transparent proxy pattern]. This pattern implies two\\n * things that go hand in hand:\\n *\\n * 1. If any account other than the admin calls the proxy, the call will be forwarded to the implementation, even if\\n * that call matches one of the admin functions exposed by the proxy itself.\\n * 2. If the admin calls the proxy, it can access the admin functions, but its calls will never be forwarded to the\\n * implementation. If the admin tries to call a function on the implementation it will fail with an error that says\\n * \\\"admin cannot fallback to proxy target\\\".\\n *\\n * These properties mean that the admin account can only be used for admin actions like upgrading the proxy or changing\\n * the admin, so it's best if it's a dedicated account that is not used for anything else. This will avoid headaches due\\n * to sudden errors when trying to call a function from the proxy implementation.\\n *\\n * Our recommendation is for the dedicated account to be an instance of the {ProxyAdmin} contract. If set up this way,\\n * you should think of the `ProxyAdmin` instance as the real administrative interface of your proxy.\\n */\\ncontract TransparentUpgradeableProxy is ERC1967Proxy {\\n /**\\n * @dev Initializes an upgradeable proxy managed by `_admin`, backed by the implementation at `_logic`, and\\n * optionally initialized with `_data` as explained in {ERC1967Proxy-constructor}.\\n */\\n constructor(\\n address _logic,\\n address admin_,\\n bytes memory _data\\n ) payable ERC1967Proxy(_logic, _data) {\\n _changeAdmin(admin_);\\n }\\n\\n /**\\n * @dev Modifier used internally that will delegate the call to the implementation unless the sender is the admin.\\n */\\n modifier ifAdmin() {\\n if (msg.sender == _getAdmin()) {\\n _;\\n } else {\\n _fallback();\\n }\\n }\\n\\n /**\\n * @dev Returns the current admin.\\n *\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyAdmin}.\\n *\\n * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the\\n * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.\\n * `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`\\n */\\n function admin() external ifAdmin returns (address admin_) {\\n admin_ = _getAdmin();\\n }\\n\\n /**\\n * @dev Returns the current implementation.\\n *\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyImplementation}.\\n *\\n * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the\\n * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.\\n * `0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc`\\n */\\n function implementation() external ifAdmin returns (address implementation_) {\\n implementation_ = _implementation();\\n }\\n\\n /**\\n * @dev Changes the admin of the proxy.\\n *\\n * Emits an {AdminChanged} event.\\n *\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-changeProxyAdmin}.\\n */\\n function changeAdmin(address newAdmin) external virtual ifAdmin {\\n _changeAdmin(newAdmin);\\n }\\n\\n /**\\n * @dev Upgrade the implementation of the proxy.\\n *\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-upgrade}.\\n */\\n function upgradeTo(address newImplementation) external ifAdmin {\\n _upgradeToAndCall(newImplementation, bytes(\\\"\\\"), false);\\n }\\n\\n /**\\n * @dev Upgrade the implementation of the proxy, and then call a function from the new implementation as specified\\n * by `data`, which should be an encoded function call. This is useful to initialize new storage variables in the\\n * proxied contract.\\n *\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-upgradeAndCall}.\\n */\\n function upgradeToAndCall(address newImplementation, bytes calldata data) external payable ifAdmin {\\n _upgradeToAndCall(newImplementation, data, true);\\n }\\n\\n /**\\n * @dev Returns the current admin.\\n */\\n function _admin() internal view virtual returns (address) {\\n return _getAdmin();\\n }\\n\\n /**\\n * @dev Makes sure the admin cannot access the fallback function. See {Proxy-_beforeFallback}.\\n */\\n function _beforeFallback() internal virtual override {\\n require(msg.sender != _getAdmin(), \\\"TransparentUpgradeableProxy: admin cannot fallback to proxy target\\\");\\n super._beforeFallback();\\n }\\n}\\n\",\"keccak256\":\"0xa6a787e7a901af6511e19aa53e1a00352db215a011d2c7a438d0582dd5da76f9\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/Address.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)\\n\\npragma solidity ^0.8.1;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary Address {\\n /**\\n * @dev Returns true if `account` is a contract.\\n *\\n * [IMPORTANT]\\n * ====\\n * It is unsafe to assume that an address for which this function returns\\n * false is an externally-owned account (EOA) and not a contract.\\n *\\n * Among others, `isContract` will return false for the following\\n * types of addresses:\\n *\\n * - an externally-owned account\\n * - a contract in construction\\n * - an address where a contract will be created\\n * - an address where a contract lived, but was destroyed\\n * ====\\n *\\n * [IMPORTANT]\\n * ====\\n * You shouldn't rely on `isContract` to protect against flash loan attacks!\\n *\\n * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\n * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\n * constructor.\\n * ====\\n */\\n function isContract(address account) internal view returns (bool) {\\n // This method relies on extcodesize/address.code.length, which returns 0\\n // for contracts in construction, since the code is only stored at the end\\n // of the constructor execution.\\n\\n return account.code.length > 0;\\n }\\n\\n /**\\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n * `recipient`, forwarding all available gas and reverting on errors.\\n *\\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n * imposed by `transfer`, making them unable to receive funds via\\n * `transfer`. {sendValue} removes this limitation.\\n *\\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n *\\n * IMPORTANT: because control is transferred to `recipient`, care must be\\n * taken to not create reentrancy vulnerabilities. Consider using\\n * {ReentrancyGuard} or the\\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n */\\n function sendValue(address payable recipient, uint256 amount) internal {\\n require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n (bool success, ) = recipient.call{value: amount}(\\\"\\\");\\n require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n }\\n\\n /**\\n * @dev Performs a Solidity function call using a low level `call`. A\\n * plain `call` is an unsafe replacement for a function call: use this\\n * function instead.\\n *\\n * If `target` reverts with a revert reason, it is bubbled up by this\\n * function (like regular Solidity function calls).\\n *\\n * Returns the raw returned data. To convert to the expected return value,\\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n *\\n * Requirements:\\n *\\n * - `target` must be a contract.\\n * - calling `target` with `data` must not revert.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionCall(target, data, \\\"Address: low-level call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n * `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, 0, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but also transferring `value` wei to `target`.\\n *\\n * Requirements:\\n *\\n * - the calling contract must have an ETH balance of at least `value`.\\n * - the called Solidity function must be `payable`.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(\\n address target,\\n bytes memory data,\\n uint256 value\\n ) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n * with `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(\\n address target,\\n bytes memory data,\\n uint256 value,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n require(isContract(target), \\\"Address: call to non-contract\\\");\\n\\n (bool success, bytes memory returndata) = target.call{value: value}(data);\\n return verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal view returns (bytes memory) {\\n require(isContract(target), \\\"Address: static call to non-contract\\\");\\n\\n (bool success, bytes memory returndata) = target.staticcall(data);\\n return verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a delegate call.\\n *\\n * _Available since v3.4._\\n */\\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionDelegateCall(target, data, \\\"Address: low-level delegate call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a delegate call.\\n *\\n * _Available since v3.4._\\n */\\n function functionDelegateCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n require(isContract(target), \\\"Address: delegate call to non-contract\\\");\\n\\n (bool success, bytes memory returndata) = target.delegatecall(data);\\n return verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the\\n * revert reason using the provided one.\\n *\\n * _Available since v4.3._\\n */\\n function verifyCallResult(\\n bool success,\\n bytes memory returndata,\\n string memory errorMessage\\n ) internal pure returns (bytes memory) {\\n if (success) {\\n return returndata;\\n } else {\\n // Look for revert reason and bubble it up if present\\n if (returndata.length > 0) {\\n // The easiest way to bubble the revert reason is using memory via assembly\\n /// @solidity memory-safe-assembly\\n assembly {\\n let returndata_size := mload(returndata)\\n revert(add(32, returndata), returndata_size)\\n }\\n } else {\\n revert(errorMessage);\\n }\\n }\\n }\\n}\\n\",\"keccak256\":\"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/StorageSlot.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/StorageSlot.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Library for reading and writing primitive types to specific storage slots.\\n *\\n * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\\n * This library helps with reading and writing to such slots without the need for inline assembly.\\n *\\n * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\\n *\\n * Example usage to set ERC1967 implementation slot:\\n * ```\\n * contract ERC1967 {\\n * bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\\n *\\n * function _getImplementation() internal view returns (address) {\\n * return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\\n * }\\n *\\n * function _setImplementation(address newImplementation) internal {\\n * require(Address.isContract(newImplementation), \\\"ERC1967: new implementation is not a contract\\\");\\n * StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\\n * }\\n * }\\n * ```\\n *\\n * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._\\n */\\nlibrary StorageSlot {\\n struct AddressSlot {\\n address value;\\n }\\n\\n struct BooleanSlot {\\n bool value;\\n }\\n\\n struct Bytes32Slot {\\n bytes32 value;\\n }\\n\\n struct Uint256Slot {\\n uint256 value;\\n }\\n\\n /**\\n * @dev Returns an `AddressSlot` with member `value` located at `slot`.\\n */\\n function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `BooleanSlot` with member `value` located at `slot`.\\n */\\n function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.\\n */\\n function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `Uint256Slot` with member `value` located at `slot`.\\n */\\n function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := slot\\n }\\n }\\n}\\n\",\"keccak256\":\"0xd5c50c54bf02740ebd122ff06832546cb5fa84486d52695a9ccfd11666e0c81d\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/Strings.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev String operations.\\n */\\nlibrary Strings {\\n bytes16 private constant _HEX_SYMBOLS = \\\"0123456789abcdef\\\";\\n uint8 private constant _ADDRESS_LENGTH = 20;\\n\\n /**\\n * @dev Converts a `uint256` to its ASCII `string` decimal representation.\\n */\\n function toString(uint256 value) internal pure returns (string memory) {\\n // Inspired by OraclizeAPI's implementation - MIT licence\\n // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\\n\\n if (value == 0) {\\n return \\\"0\\\";\\n }\\n uint256 temp = value;\\n uint256 digits;\\n while (temp != 0) {\\n digits++;\\n temp /= 10;\\n }\\n bytes memory buffer = new bytes(digits);\\n while (value != 0) {\\n digits -= 1;\\n buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));\\n value /= 10;\\n }\\n return string(buffer);\\n }\\n\\n /**\\n * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.\\n */\\n function toHexString(uint256 value) internal pure returns (string memory) {\\n if (value == 0) {\\n return \\\"0x00\\\";\\n }\\n uint256 temp = value;\\n uint256 length = 0;\\n while (temp != 0) {\\n length++;\\n temp >>= 8;\\n }\\n return toHexString(value, length);\\n }\\n\\n /**\\n * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.\\n */\\n function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {\\n bytes memory buffer = new bytes(2 * length + 2);\\n buffer[0] = \\\"0\\\";\\n buffer[1] = \\\"x\\\";\\n for (uint256 i = 2 * length + 1; i > 1; --i) {\\n buffer[i] = _HEX_SYMBOLS[value & 0xf];\\n value >>= 4;\\n }\\n require(value == 0, \\\"Strings: hex length insufficient\\\");\\n return string(buffer);\\n }\\n\\n /**\\n * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.\\n */\\n function toHexString(address addr) internal pure returns (string memory) {\\n return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);\\n }\\n}\\n\",\"keccak256\":\"0xaf159a8b1923ad2a26d516089bceca9bdeaeacd04be50983ea00ba63070f08a3\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/cryptography/ECDSA.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.3) (utils/cryptography/ECDSA.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../Strings.sol\\\";\\n\\n/**\\n * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.\\n *\\n * These functions can be used to verify that a message was signed by the holder\\n * of the private keys of a given address.\\n */\\nlibrary ECDSA {\\n enum RecoverError {\\n NoError,\\n InvalidSignature,\\n InvalidSignatureLength,\\n InvalidSignatureS,\\n InvalidSignatureV\\n }\\n\\n function _throwError(RecoverError error) private pure {\\n if (error == RecoverError.NoError) {\\n return; // no error: do nothing\\n } else if (error == RecoverError.InvalidSignature) {\\n revert(\\\"ECDSA: invalid signature\\\");\\n } else if (error == RecoverError.InvalidSignatureLength) {\\n revert(\\\"ECDSA: invalid signature length\\\");\\n } else if (error == RecoverError.InvalidSignatureS) {\\n revert(\\\"ECDSA: invalid signature 's' value\\\");\\n } else if (error == RecoverError.InvalidSignatureV) {\\n revert(\\\"ECDSA: invalid signature 'v' value\\\");\\n }\\n }\\n\\n /**\\n * @dev Returns the address that signed a hashed message (`hash`) with\\n * `signature` or error string. This address can then be used for verification purposes.\\n *\\n * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:\\n * this function rejects them by requiring the `s` value to be in the lower\\n * half order, and the `v` value to be either 27 or 28.\\n *\\n * IMPORTANT: `hash` _must_ be the result of a hash operation for the\\n * verification to be secure: it is possible to craft signatures that\\n * recover to arbitrary addresses for non-hashed data. A safe way to ensure\\n * this is by receiving a hash of the original message (which may otherwise\\n * be too long), and then calling {toEthSignedMessageHash} on it.\\n *\\n * Documentation for signature generation:\\n * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]\\n * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]\\n *\\n * _Available since v4.3._\\n */\\n function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {\\n if (signature.length == 65) {\\n bytes32 r;\\n bytes32 s;\\n uint8 v;\\n // ecrecover takes the signature parameters, and the only way to get them\\n // currently is to use assembly.\\n /// @solidity memory-safe-assembly\\n assembly {\\n r := mload(add(signature, 0x20))\\n s := mload(add(signature, 0x40))\\n v := byte(0, mload(add(signature, 0x60)))\\n }\\n return tryRecover(hash, v, r, s);\\n } else {\\n return (address(0), RecoverError.InvalidSignatureLength);\\n }\\n }\\n\\n /**\\n * @dev Returns the address that signed a hashed message (`hash`) with\\n * `signature`. This address can then be used for verification purposes.\\n *\\n * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:\\n * this function rejects them by requiring the `s` value to be in the lower\\n * half order, and the `v` value to be either 27 or 28.\\n *\\n * IMPORTANT: `hash` _must_ be the result of a hash operation for the\\n * verification to be secure: it is possible to craft signatures that\\n * recover to arbitrary addresses for non-hashed data. A safe way to ensure\\n * this is by receiving a hash of the original message (which may otherwise\\n * be too long), and then calling {toEthSignedMessageHash} on it.\\n */\\n function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {\\n (address recovered, RecoverError error) = tryRecover(hash, signature);\\n _throwError(error);\\n return recovered;\\n }\\n\\n /**\\n * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.\\n *\\n * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]\\n *\\n * _Available since v4.3._\\n */\\n function tryRecover(\\n bytes32 hash,\\n bytes32 r,\\n bytes32 vs\\n ) internal pure returns (address, RecoverError) {\\n bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);\\n uint8 v = uint8((uint256(vs) >> 255) + 27);\\n return tryRecover(hash, v, r, s);\\n }\\n\\n /**\\n * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.\\n *\\n * _Available since v4.2._\\n */\\n function recover(\\n bytes32 hash,\\n bytes32 r,\\n bytes32 vs\\n ) internal pure returns (address) {\\n (address recovered, RecoverError error) = tryRecover(hash, r, vs);\\n _throwError(error);\\n return recovered;\\n }\\n\\n /**\\n * @dev Overload of {ECDSA-tryRecover} that receives the `v`,\\n * `r` and `s` signature fields separately.\\n *\\n * _Available since v4.3._\\n */\\n function tryRecover(\\n bytes32 hash,\\n uint8 v,\\n bytes32 r,\\n bytes32 s\\n ) internal pure returns (address, RecoverError) {\\n // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature\\n // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines\\n // the valid range for s in (301): 0 < s < secp256k1n \\u00f7 2 + 1, and for v in (302): v \\u2208 {27, 28}. Most\\n // signatures from current libraries generate a unique signature with an s-value in the lower half order.\\n //\\n // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value\\n // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or\\n // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept\\n // these malleable signatures as well.\\n if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {\\n return (address(0), RecoverError.InvalidSignatureS);\\n }\\n if (v != 27 && v != 28) {\\n return (address(0), RecoverError.InvalidSignatureV);\\n }\\n\\n // If the signature is valid (and not malleable), return the signer address\\n address signer = ecrecover(hash, v, r, s);\\n if (signer == address(0)) {\\n return (address(0), RecoverError.InvalidSignature);\\n }\\n\\n return (signer, RecoverError.NoError);\\n }\\n\\n /**\\n * @dev Overload of {ECDSA-recover} that receives the `v`,\\n * `r` and `s` signature fields separately.\\n */\\n function recover(\\n bytes32 hash,\\n uint8 v,\\n bytes32 r,\\n bytes32 s\\n ) internal pure returns (address) {\\n (address recovered, RecoverError error) = tryRecover(hash, v, r, s);\\n _throwError(error);\\n return recovered;\\n }\\n\\n /**\\n * @dev Returns an Ethereum Signed Message, created from a `hash`. This\\n * produces hash corresponding to the one signed with the\\n * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]\\n * JSON-RPC method as part of EIP-191.\\n *\\n * See {recover}.\\n */\\n function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {\\n // 32 is the length in bytes of hash,\\n // enforced by the type signature above\\n return keccak256(abi.encodePacked(\\\"\\\\x19Ethereum Signed Message:\\\\n32\\\", hash));\\n }\\n\\n /**\\n * @dev Returns an Ethereum Signed Message, created from `s`. This\\n * produces hash corresponding to the one signed with the\\n * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]\\n * JSON-RPC method as part of EIP-191.\\n *\\n * See {recover}.\\n */\\n function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {\\n return keccak256(abi.encodePacked(\\\"\\\\x19Ethereum Signed Message:\\\\n\\\", Strings.toString(s.length), s));\\n }\\n\\n /**\\n * @dev Returns an Ethereum Signed Typed Data, created from a\\n * `domainSeparator` and a `structHash`. This produces hash corresponding\\n * to the one signed with the\\n * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]\\n * JSON-RPC method as part of EIP-712.\\n *\\n * See {recover}.\\n */\\n function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {\\n return keccak256(abi.encodePacked(\\\"\\\\x19\\\\x01\\\", domainSeparator, structHash));\\n }\\n}\\n\",\"keccak256\":\"0xdb7f5c28fc61cda0bd8ab60ce288e206b791643bcd3ba464a70cbec18895a2f5\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Interface of the ERC165 standard, as defined in the\\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\\n *\\n * Implementers can declare support of contract interfaces, which can then be\\n * queried by others ({ERC165Checker}).\\n *\\n * For an implementation, see {ERC165}.\\n */\\ninterface IERC165 {\\n /**\\n * @dev Returns true if this contract implements the interface defined by\\n * `interfaceId`. See the corresponding\\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\\n * to learn more about how these ids are created.\\n *\\n * This function call must use less than 30 000 gas.\\n */\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\n}\\n\",\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/structs/EnumerableSet.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/structs/EnumerableSet.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Library for managing\\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\\n * types.\\n *\\n * Sets have the following properties:\\n *\\n * - Elements are added, removed, and checked for existence in constant time\\n * (O(1)).\\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\\n *\\n * ```\\n * contract Example {\\n * // Add the library methods\\n * using EnumerableSet for EnumerableSet.AddressSet;\\n *\\n * // Declare a set state variable\\n * EnumerableSet.AddressSet private mySet;\\n * }\\n * ```\\n *\\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\\n * and `uint256` (`UintSet`) are supported.\\n *\\n * [WARNING]\\n * ====\\n * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure unusable.\\n * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.\\n *\\n * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an array of EnumerableSet.\\n * ====\\n */\\nlibrary EnumerableSet {\\n // To implement this library for multiple types with as little code\\n // repetition as possible, we write it in terms of a generic Set type with\\n // bytes32 values.\\n // The Set implementation uses private functions, and user-facing\\n // implementations (such as AddressSet) are just wrappers around the\\n // underlying Set.\\n // This means that we can only create new EnumerableSets for types that fit\\n // in bytes32.\\n\\n struct Set {\\n // Storage of set values\\n bytes32[] _values;\\n // Position of the value in the `values` array, plus 1 because index 0\\n // means a value is not in the set.\\n mapping(bytes32 => uint256) _indexes;\\n }\\n\\n /**\\n * @dev Add a value to a set. O(1).\\n *\\n * Returns true if the value was added to the set, that is if it was not\\n * already present.\\n */\\n function _add(Set storage set, bytes32 value) private returns (bool) {\\n if (!_contains(set, value)) {\\n set._values.push(value);\\n // The value is stored at length-1, but we add 1 to all indexes\\n // and use 0 as a sentinel value\\n set._indexes[value] = set._values.length;\\n return true;\\n } else {\\n return false;\\n }\\n }\\n\\n /**\\n * @dev Removes a value from a set. O(1).\\n *\\n * Returns true if the value was removed from the set, that is if it was\\n * present.\\n */\\n function _remove(Set storage set, bytes32 value) private returns (bool) {\\n // We read and store the value's index to prevent multiple reads from the same storage slot\\n uint256 valueIndex = set._indexes[value];\\n\\n if (valueIndex != 0) {\\n // Equivalent to contains(set, value)\\n // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\\n // the array, and then remove the last element (sometimes called as 'swap and pop').\\n // This modifies the order of the array, as noted in {at}.\\n\\n uint256 toDeleteIndex = valueIndex - 1;\\n uint256 lastIndex = set._values.length - 1;\\n\\n if (lastIndex != toDeleteIndex) {\\n bytes32 lastValue = set._values[lastIndex];\\n\\n // Move the last value to the index where the value to delete is\\n set._values[toDeleteIndex] = lastValue;\\n // Update the index for the moved value\\n set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex\\n }\\n\\n // Delete the slot where the moved value was stored\\n set._values.pop();\\n\\n // Delete the index for the deleted slot\\n delete set._indexes[value];\\n\\n return true;\\n } else {\\n return false;\\n }\\n }\\n\\n /**\\n * @dev Returns true if the value is in the set. O(1).\\n */\\n function _contains(Set storage set, bytes32 value) private view returns (bool) {\\n return set._indexes[value] != 0;\\n }\\n\\n /**\\n * @dev Returns the number of values on the set. O(1).\\n */\\n function _length(Set storage set) private view returns (uint256) {\\n return set._values.length;\\n }\\n\\n /**\\n * @dev Returns the value stored at position `index` in the set. O(1).\\n *\\n * Note that there are no guarantees on the ordering of values inside the\\n * array, and it may change when more values are added or removed.\\n *\\n * Requirements:\\n *\\n * - `index` must be strictly less than {length}.\\n */\\n function _at(Set storage set, uint256 index) private view returns (bytes32) {\\n return set._values[index];\\n }\\n\\n /**\\n * @dev Return the entire set in an array\\n *\\n * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\\n * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\\n * this function has an unbounded cost, and using it as part of a state-changing function may render the function\\n * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\\n */\\n function _values(Set storage set) private view returns (bytes32[] memory) {\\n return set._values;\\n }\\n\\n // Bytes32Set\\n\\n struct Bytes32Set {\\n Set _inner;\\n }\\n\\n /**\\n * @dev Add a value to a set. O(1).\\n *\\n * Returns true if the value was added to the set, that is if it was not\\n * already present.\\n */\\n function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\\n return _add(set._inner, value);\\n }\\n\\n /**\\n * @dev Removes a value from a set. O(1).\\n *\\n * Returns true if the value was removed from the set, that is if it was\\n * present.\\n */\\n function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {\\n return _remove(set._inner, value);\\n }\\n\\n /**\\n * @dev Returns true if the value is in the set. O(1).\\n */\\n function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {\\n return _contains(set._inner, value);\\n }\\n\\n /**\\n * @dev Returns the number of values in the set. O(1).\\n */\\n function length(Bytes32Set storage set) internal view returns (uint256) {\\n return _length(set._inner);\\n }\\n\\n /**\\n * @dev Returns the value stored at position `index` in the set. O(1).\\n *\\n * Note that there are no guarantees on the ordering of values inside the\\n * array, and it may change when more values are added or removed.\\n *\\n * Requirements:\\n *\\n * - `index` must be strictly less than {length}.\\n */\\n function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {\\n return _at(set._inner, index);\\n }\\n\\n /**\\n * @dev Return the entire set in an array\\n *\\n * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\\n * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\\n * this function has an unbounded cost, and using it as part of a state-changing function may render the function\\n * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\\n */\\n function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {\\n return _values(set._inner);\\n }\\n\\n // AddressSet\\n\\n struct AddressSet {\\n Set _inner;\\n }\\n\\n /**\\n * @dev Add a value to a set. O(1).\\n *\\n * Returns true if the value was added to the set, that is if it was not\\n * already present.\\n */\\n function add(AddressSet storage set, address value) internal returns (bool) {\\n return _add(set._inner, bytes32(uint256(uint160(value))));\\n }\\n\\n /**\\n * @dev Removes a value from a set. O(1).\\n *\\n * Returns true if the value was removed from the set, that is if it was\\n * present.\\n */\\n function remove(AddressSet storage set, address value) internal returns (bool) {\\n return _remove(set._inner, bytes32(uint256(uint160(value))));\\n }\\n\\n /**\\n * @dev Returns true if the value is in the set. O(1).\\n */\\n function contains(AddressSet storage set, address value) internal view returns (bool) {\\n return _contains(set._inner, bytes32(uint256(uint160(value))));\\n }\\n\\n /**\\n * @dev Returns the number of values in the set. O(1).\\n */\\n function length(AddressSet storage set) internal view returns (uint256) {\\n return _length(set._inner);\\n }\\n\\n /**\\n * @dev Returns the value stored at position `index` in the set. O(1).\\n *\\n * Note that there are no guarantees on the ordering of values inside the\\n * array, and it may change when more values are added or removed.\\n *\\n * Requirements:\\n *\\n * - `index` must be strictly less than {length}.\\n */\\n function at(AddressSet storage set, uint256 index) internal view returns (address) {\\n return address(uint160(uint256(_at(set._inner, index))));\\n }\\n\\n /**\\n * @dev Return the entire set in an array\\n *\\n * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\\n * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\\n * this function has an unbounded cost, and using it as part of a state-changing function may render the function\\n * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\\n */\\n function values(AddressSet storage set) internal view returns (address[] memory) {\\n bytes32[] memory store = _values(set._inner);\\n address[] memory result;\\n\\n /// @solidity memory-safe-assembly\\n assembly {\\n result := store\\n }\\n\\n return result;\\n }\\n\\n // UintSet\\n\\n struct UintSet {\\n Set _inner;\\n }\\n\\n /**\\n * @dev Add a value to a set. O(1).\\n *\\n * Returns true if the value was added to the set, that is if it was not\\n * already present.\\n */\\n function add(UintSet storage set, uint256 value) internal returns (bool) {\\n return _add(set._inner, bytes32(value));\\n }\\n\\n /**\\n * @dev Removes a value from a set. O(1).\\n *\\n * Returns true if the value was removed from the set, that is if it was\\n * present.\\n */\\n function remove(UintSet storage set, uint256 value) internal returns (bool) {\\n return _remove(set._inner, bytes32(value));\\n }\\n\\n /**\\n * @dev Returns true if the value is in the set. O(1).\\n */\\n function contains(UintSet storage set, uint256 value) internal view returns (bool) {\\n return _contains(set._inner, bytes32(value));\\n }\\n\\n /**\\n * @dev Returns the number of values on the set. O(1).\\n */\\n function length(UintSet storage set) internal view returns (uint256) {\\n return _length(set._inner);\\n }\\n\\n /**\\n * @dev Returns the value stored at position `index` in the set. O(1).\\n *\\n * Note that there are no guarantees on the ordering of values inside the\\n * array, and it may change when more values are added or removed.\\n *\\n * Requirements:\\n *\\n * - `index` must be strictly less than {length}.\\n */\\n function at(UintSet storage set, uint256 index) internal view returns (uint256) {\\n return uint256(_at(set._inner, index));\\n }\\n\\n /**\\n * @dev Return the entire set in an array\\n *\\n * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\\n * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\\n * this function has an unbounded cost, and using it as part of a state-changing function may render the function\\n * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\\n */\\n function values(UintSet storage set) internal view returns (uint256[] memory) {\\n bytes32[] memory store = _values(set._inner);\\n uint256[] memory result;\\n\\n /// @solidity memory-safe-assembly\\n assembly {\\n result := store\\n }\\n\\n return result;\\n }\\n}\\n\",\"keccak256\":\"0x5050943b32b6a8f282573d166b2e9d87ab7eb4dbba4ab6acf36ecb54fe6995e4\",\"license\":\"MIT\"},\"contracts/extensions/TransparentUpgradeableProxyV2.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport \\\"@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol\\\";\\n\\ncontract TransparentUpgradeableProxyV2 is TransparentUpgradeableProxy {\\n constructor(\\n address _logic,\\n address admin_,\\n bytes memory _data\\n ) payable TransparentUpgradeableProxy(_logic, admin_, _data) {}\\n\\n /**\\n * @dev Calls a function from the current implementation as specified by `_data`, which should be an encoded function call.\\n *\\n * Requirements:\\n * - Only the admin can call this function.\\n *\\n * Note: The proxy admin is not allowed to interact with the proxy logic through the fallback function to avoid\\n * triggering some unexpected logic. This is to allow the administrator to explicitly call the proxy, please consider\\n * reviewing the encoded data `_data` and the method which is called before using this.\\n *\\n */\\n function functionDelegateCall(bytes memory _data) public payable ifAdmin {\\n address _addr = _implementation();\\n assembly {\\n let _result := delegatecall(gas(), _addr, add(_data, 32), mload(_data), 0, 0)\\n returndatacopy(0, 0, returndatasize())\\n switch _result\\n case 0 {\\n revert(0, returndatasize())\\n }\\n default {\\n return(0, returndatasize())\\n }\\n }\\n }\\n}\\n\",\"keccak256\":\"0x6609392ea7d3174439b5715100bee82528fe6e4aff28927d48c27db8475e88c5\",\"license\":\"MIT\"},\"contracts/extensions/bridge-operator-governance/BridgeManager.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport { IBridgeManagerCallback, EnumerableSet, BridgeManagerCallbackRegister } from \\\"./BridgeManagerCallbackRegister.sol\\\";\\nimport { IHasContracts, HasContracts } from \\\"../../extensions/collections/HasContracts.sol\\\";\\nimport { IQuorum } from \\\"../../interfaces/IQuorum.sol\\\";\\nimport { IBridgeManager } from \\\"../../interfaces/bridge/IBridgeManager.sol\\\";\\nimport { AddressArrayUtils } from \\\"../../libraries/AddressArrayUtils.sol\\\";\\nimport { ContractType } from \\\"../../utils/ContractType.sol\\\";\\nimport { RoleAccess } from \\\"../../utils/RoleAccess.sol\\\";\\nimport { TUint256Slot } from \\\"../../types/Types.sol\\\";\\nimport \\\"../../utils/CommonErrors.sol\\\";\\n\\nabstract contract BridgeManager is IQuorum, IBridgeManager, BridgeManagerCallbackRegister, HasContracts {\\n using AddressArrayUtils for address[];\\n using EnumerableSet for EnumerableSet.AddressSet;\\n\\n /// @dev value is equal to keccak256(\\\"@ronin.dpos.gateway.BridgeAdmin.governorToBridgeOperatorInfo.slot\\\") - 1\\n bytes32 private constant GOVERNOR_TO_BRIDGE_OPERATOR_INFO_SLOT =\\n 0x88547008e60f5748911f2e59feb3093b7e4c2e87b2dd69d61f112fcc932de8e3;\\n /// @dev value is equal to keccak256(\\\"@ronin.dpos.gateway.BridgeAdmin.govenorOf.slot\\\") - 1\\n bytes32 private constant GOVENOR_OF_SLOT = 0x8400683eb2cb350596d73644c0c89fe45f108600003457374f4ab3e87b4f3aa3;\\n /// @dev value is equal to keccak256(\\\"@ronin.dpos.gateway.BridgeAdmin.governors.slot\\\") - 1\\n bytes32 private constant GOVERNOR_SET_SLOT = 0x546f6b46ab35b030b6816596b352aef78857377176c8b24baa2046a62cf1998c;\\n /// @dev value is equal to keccak256(\\\"@ronin.dpos.gateway.BridgeAdmin.bridgeOperators.slot\\\") - 1\\n bytes32 private constant BRIDGE_OPERATOR_SET_SLOT =\\n 0xd38c234075fde25875da8a6b7e36b58b86681d483271a99eeeee1d78e258a24d;\\n\\n /**\\n * @dev The numerator value used for calculations in the contract.\\n * @notice value is equal to keccak256(\\\"@ronin.dpos.gateway.BridgeAdmin.numerator.slot\\\") - 1\\n */\\n TUint256Slot internal constant NUMERATOR_SLOT =\\n TUint256Slot.wrap(0xc55405a488814eaa0e2a685a0131142785b8d033d311c8c8244e34a7c12ca40f);\\n\\n /**\\n * @dev The denominator value used for calculations in the contract.\\n * @notice value is equal to keccak256(\\\"@ronin.dpos.gateway.BridgeAdmin.denominator.slot\\\") - 1\\n */\\n TUint256Slot internal constant DENOMINATOR_SLOT =\\n TUint256Slot.wrap(0xac1ff16a4f04f2a37a9ba5252a69baa100b460e517d1f8019c054a5ad698f9ff);\\n\\n /**\\n * @dev The nonce value used for tracking nonces in the contract.\\n * @notice value is equal to keccak256(\\\"@ronin.dpos.gateway.BridgeAdmin.nonce.slot\\\") - 1\\n */\\n TUint256Slot internal constant NONCE_SLOT =\\n TUint256Slot.wrap(0x92872d32822c9d44b36a2537d3e0d4c46fc4de1ce154ccfaed560a8a58445f1d);\\n\\n /**\\n * @dev The total weight value used for storing the cumulative weight in the contract.\\n * @notice value is equal to keccak256(\\\"@ronin.dpos.gateway.BridgeAdmin.totalWeights.slot\\\") - 1\\n */\\n TUint256Slot internal constant TOTAL_WEIGHTS_SLOT =\\n TUint256Slot.wrap(0x6924fe71b0c8b61aea02ca498b5f53b29bd95726278b1fe4eb791bb24a42644c);\\n\\n /**\\n * @inheritdoc IBridgeManager\\n */\\n bytes32 public immutable DOMAIN_SEPARATOR;\\n\\n modifier onlyGovernor() virtual {\\n _requireGovernor(msg.sender);\\n _;\\n }\\n\\n constructor(\\n uint256 num,\\n uint256 denom,\\n uint256 roninChainId,\\n address bridgeContract,\\n address[] memory callbackRegisters,\\n address[] memory bridgeOperators,\\n address[] memory governors,\\n uint96[] memory voteWeights\\n ) payable BridgeManagerCallbackRegister(callbackRegisters) {\\n NONCE_SLOT.store(1);\\n\\n _setThreshold(num, denom);\\n _setContract(ContractType.BRIDGE, bridgeContract);\\n\\n DOMAIN_SEPARATOR = keccak256(\\n abi.encode(\\n keccak256(\\\"EIP712Domain(string name,string version,bytes32 salt)\\\"),\\n keccak256(\\\"BridgeAdmin\\\"), // name hash\\n keccak256(\\\"2\\\"), // version hash\\n keccak256(abi.encode(\\\"BRIDGE_ADMIN\\\", roninChainId)) // salt\\n )\\n );\\n\\n _addBridgeOperators(voteWeights, governors, bridgeOperators);\\n }\\n\\n /**\\n * @inheritdoc IBridgeManager\\n */\\n function addBridgeOperators(\\n uint96[] calldata voteWeights,\\n address[] calldata governors,\\n address[] calldata bridgeOperators\\n ) external onlySelfCall returns (bool[] memory addeds) {\\n addeds = _addBridgeOperators(voteWeights, governors, bridgeOperators);\\n }\\n\\n /**\\n * @inheritdoc IBridgeManager\\n */\\n function removeBridgeOperators(\\n address[] calldata bridgeOperators\\n ) external onlySelfCall returns (bool[] memory removeds) {\\n removeds = _removeBridgeOperators(bridgeOperators);\\n }\\n\\n /**\\n * @inheritdoc IBridgeManager\\n * @notice This method checks authorization by querying the corresponding operator of the msg.sender and then\\n * attempts to remove it from the `_bridgeOperatorSet` for gas optimization. In case we allow a governor can leave\\n * their operator address blank null `address(0)`, consider add authorization check.\\n */\\n function updateBridgeOperator(address newBridgeOperator) external onlyGovernor {\\n _requireNonZeroAddress(newBridgeOperator);\\n\\n // Queries the previous bridge operator\\n mapping(address => BridgeOperatorInfo) storage _gorvernorToBridgeOperatorInfo = _getGovernorToBridgeOperatorInfo();\\n address currentBridgeOperator = _gorvernorToBridgeOperatorInfo[msg.sender].addr;\\n if (currentBridgeOperator == newBridgeOperator) {\\n revert ErrBridgeOperatorAlreadyExisted(newBridgeOperator);\\n }\\n\\n // Tries replace the bridge operator\\n EnumerableSet.AddressSet storage _bridgeOperatorSet = _getBridgeOperatorSet();\\n bool updated = _bridgeOperatorSet.remove(currentBridgeOperator) && _bridgeOperatorSet.add(newBridgeOperator);\\n if (!updated) revert ErrBridgeOperatorUpdateFailed(newBridgeOperator);\\n\\n mapping(address => address) storage _governorOf = _getGovernorOf();\\n delete _governorOf[currentBridgeOperator];\\n _governorOf[newBridgeOperator] = msg.sender;\\n _gorvernorToBridgeOperatorInfo[msg.sender].addr = newBridgeOperator;\\n\\n _notifyRegisters(\\n IBridgeManagerCallback.onBridgeOperatorUpdated.selector,\\n abi.encode(currentBridgeOperator, newBridgeOperator)\\n );\\n\\n emit BridgeOperatorUpdated(msg.sender, currentBridgeOperator, newBridgeOperator);\\n }\\n\\n /**\\n * @inheritdoc IHasContracts\\n */\\n function setContract(ContractType contractType, address addr) external override onlySelfCall {\\n _requireHasCode(addr);\\n _setContract(contractType, addr);\\n }\\n\\n /**\\n * @inheritdoc IQuorum\\n */\\n function setThreshold(\\n uint256 numerator,\\n uint256 denominator\\n ) external override onlySelfCall returns (uint256, uint256) {\\n return _setThreshold(numerator, denominator);\\n }\\n\\n /**\\n * @inheritdoc IBridgeManager\\n */\\n function getTotalWeight() public view returns (uint256) {\\n return TOTAL_WEIGHTS_SLOT.load();\\n }\\n\\n /**\\n * @inheritdoc IBridgeManager\\n */\\n function getGovernorWeights(address[] calldata governors) external view returns (uint96[] memory weights) {\\n weights = _getGovernorWeights(governors);\\n }\\n\\n /**\\n * @inheritdoc IBridgeManager\\n */\\n function getGovernorWeight(address governor) external view returns (uint96 weight) {\\n weight = _getGovernorWeight(governor);\\n }\\n\\n /**\\n * @inheritdoc IBridgeManager\\n */\\n function sumGovernorsWeight(\\n address[] calldata governors\\n ) external view nonDuplicate(governors) returns (uint256 sum) {\\n sum = _sumGovernorsWeight(governors);\\n }\\n\\n /**\\n * @inheritdoc IBridgeManager\\n */\\n function totalBridgeOperator() external view returns (uint256) {\\n return _getBridgeOperatorSet().length();\\n }\\n\\n /**\\n * @inheritdoc IBridgeManager\\n */\\n function isBridgeOperator(address addr) external view returns (bool) {\\n return _getBridgeOperatorSet().contains(addr);\\n }\\n\\n /**\\n * @inheritdoc IBridgeManager\\n */\\n function getBridgeOperators() external view returns (address[] memory) {\\n return _getBridgeOperators();\\n }\\n\\n /**\\n * @inheritdoc IBridgeManager\\n */\\n function getGovernors() external view returns (address[] memory) {\\n return _getGovernors();\\n }\\n\\n /**\\n * @inheritdoc IBridgeManager\\n */\\n function getBridgeOperatorOf(address[] memory governors) public view returns (address[] memory bridgeOperators) {\\n uint256 length = governors.length;\\n bridgeOperators = new address[](length);\\n\\n mapping(address => BridgeOperatorInfo) storage _gorvernorToBridgeOperator = _getGovernorToBridgeOperatorInfo();\\n for (uint256 i; i < length; ) {\\n bridgeOperators[i] = _gorvernorToBridgeOperator[governors[i]].addr;\\n unchecked {\\n ++i;\\n }\\n }\\n }\\n\\n /**\\n * @inheritdoc IBridgeManager\\n */\\n function getGovernorsOf(address[] calldata bridgeOperators) external view returns (address[] memory governors) {\\n uint256 length = bridgeOperators.length;\\n governors = new address[](length);\\n mapping(address => address) storage _governorOf = _getGovernorOf();\\n\\n for (uint256 i; i < length; ) {\\n governors[i] = _governorOf[bridgeOperators[i]];\\n unchecked {\\n ++i;\\n }\\n }\\n }\\n\\n /**\\n * @inheritdoc IBridgeManager\\n */\\n function getFullBridgeOperatorInfos()\\n external\\n view\\n returns (address[] memory governors, address[] memory bridgeOperators, uint96[] memory weights)\\n {\\n governors = _getGovernors();\\n bridgeOperators = getBridgeOperatorOf(governors);\\n weights = _getGovernorWeights(governors);\\n }\\n\\n /**\\n * @inheritdoc IBridgeManager\\n */\\n function getBridgeOperatorWeight(address bridgeOperator) external view returns (uint96 weight) {\\n mapping(address => address) storage _governorOf = _getGovernorOf();\\n mapping(address => BridgeOperatorInfo) storage _governorToBridgeOperatorInfo = _getGovernorToBridgeOperatorInfo();\\n weight = _governorToBridgeOperatorInfo[_governorOf[bridgeOperator]].voteWeight;\\n }\\n\\n /**\\n * @inheritdoc IQuorum\\n */\\n function minimumVoteWeight() public view virtual returns (uint256) {\\n return (NUMERATOR_SLOT.mul(TOTAL_WEIGHTS_SLOT.load()) + DENOMINATOR_SLOT.load() - 1) / DENOMINATOR_SLOT.load();\\n }\\n\\n /**\\n * @inheritdoc IQuorum\\n */\\n function getThreshold() external view virtual returns (uint256 num_, uint256 denom_) {\\n return (NUMERATOR_SLOT.load(), DENOMINATOR_SLOT.load());\\n }\\n\\n /**\\n * @inheritdoc IQuorum\\n */\\n function checkThreshold(uint256 _voteWeight) external view virtual returns (bool) {\\n return _voteWeight * DENOMINATOR_SLOT.load() >= NUMERATOR_SLOT.mul(TOTAL_WEIGHTS_SLOT.load());\\n }\\n\\n /**\\n * @dev Internal function to add bridge operators.\\n *\\n * This function adds the specified `bridgeOperators` to the bridge operator set and establishes the associated mappings.\\n *\\n * Requirements:\\n * - The caller must have the necessary permission to add bridge operators.\\n * - The lengths of `voteWeights`, `governors`, and `bridgeOperators` arrays must be equal.\\n *\\n * @param voteWeights An array of uint256 values representing the vote weights for each bridge operator.\\n * @param governors An array of addresses representing the governors for each bridge operator.\\n * @return addeds An array of boolean values indicating whether each bridge operator was successfully added.\\n */\\n function _addBridgeOperators(\\n uint96[] memory voteWeights,\\n address[] memory governors,\\n address[] memory bridgeOperators\\n ) internal nonDuplicate(governors.extend(bridgeOperators)) returns (bool[] memory addeds) {\\n uint256 length = bridgeOperators.length;\\n if (!(length == voteWeights.length && length == governors.length)) revert ErrLengthMismatch(msg.sig);\\n addeds = new bool[](length);\\n // simply skip add operations if inputs are empty.\\n if (length == 0) return addeds;\\n\\n EnumerableSet.AddressSet storage _governorSet = _getGovernorsSet();\\n mapping(address => address) storage _governorOf = _getGovernorOf();\\n EnumerableSet.AddressSet storage _bridgeOperatorSet = _getBridgeOperatorSet();\\n mapping(address => BridgeOperatorInfo) storage _governorToBridgeOperatorInfo = _getGovernorToBridgeOperatorInfo();\\n\\n address governor;\\n address bridgeOperator;\\n uint256 accumulatedWeight;\\n BridgeOperatorInfo memory bridgeOperatorInfo;\\n\\n for (uint256 i; i < length; ) {\\n governor = governors[i];\\n bridgeOperator = bridgeOperators[i];\\n\\n _requireNonZeroAddress(governor);\\n _requireNonZeroAddress(bridgeOperator);\\n if (voteWeights[i] == 0) revert ErrInvalidVoteWeight(msg.sig);\\n\\n addeds[i] = !(_governorSet.contains(governor) ||\\n _governorSet.contains(bridgeOperator) ||\\n _bridgeOperatorSet.contains(governor) ||\\n _bridgeOperatorSet.contains(bridgeOperator));\\n\\n if (addeds[i]) {\\n _governorSet.add(governor);\\n _bridgeOperatorSet.add(bridgeOperator);\\n _governorOf[bridgeOperator] = governor;\\n bridgeOperatorInfo.addr = bridgeOperator;\\n accumulatedWeight += bridgeOperatorInfo.voteWeight = voteWeights[i];\\n _governorToBridgeOperatorInfo[governor] = bridgeOperatorInfo;\\n }\\n\\n unchecked {\\n ++i;\\n }\\n }\\n\\n TOTAL_WEIGHTS_SLOT.addAssign(accumulatedWeight);\\n\\n _notifyRegisters(IBridgeManagerCallback.onBridgeOperatorsAdded.selector, abi.encode(bridgeOperators, addeds));\\n\\n emit BridgeOperatorsAdded(addeds, voteWeights, governors, bridgeOperators);\\n }\\n\\n /**\\n * @dev Internal function to remove bridge operators.\\n *\\n * This function removes the specified `bridgeOperators` from the bridge operator set and related mappings.\\n *\\n * Requirements:\\n * - The caller must have the necessary permission to remove bridge operators.\\n *\\n * @param bridgeOperators An array of addresses representing the bridge operators to be removed.\\n * @return removeds An array of boolean values indicating whether each bridge operator was successfully removed.\\n */\\n function _removeBridgeOperators(\\n address[] memory bridgeOperators\\n ) internal nonDuplicate(bridgeOperators) returns (bool[] memory removeds) {\\n uint256 length = bridgeOperators.length;\\n removeds = new bool[](length);\\n // simply skip remove operations if inputs are empty.\\n if (length == 0) return removeds;\\n\\n mapping(address => address) storage _governorOf = _getGovernorOf();\\n EnumerableSet.AddressSet storage _governorSet = _getGovernorsSet();\\n EnumerableSet.AddressSet storage _bridgeOperatorSet = _getBridgeOperatorSet();\\n mapping(address => BridgeOperatorInfo) storage _governorToBridgeOperatorInfo = _getGovernorToBridgeOperatorInfo();\\n\\n address governor;\\n address bridgeOperator;\\n uint256 accumulatedWeight;\\n BridgeOperatorInfo memory bridgeOperatorInfo;\\n\\n for (uint256 i; i < length; ) {\\n bridgeOperator = bridgeOperators[i];\\n governor = _governorOf[bridgeOperator];\\n\\n _requireNonZeroAddress(governor);\\n _requireNonZeroAddress(bridgeOperator);\\n\\n bridgeOperatorInfo = _governorToBridgeOperatorInfo[governor];\\n if (bridgeOperatorInfo.addr != bridgeOperator) revert ErrInvalidArguments(msg.sig);\\n\\n removeds[i] = _bridgeOperatorSet.contains(bridgeOperator) && _governorSet.contains(governor);\\n if (removeds[i]) {\\n _governorSet.remove(governor);\\n _bridgeOperatorSet.remove(bridgeOperator);\\n\\n delete _governorOf[bridgeOperator];\\n delete _governorToBridgeOperatorInfo[governor];\\n accumulatedWeight += bridgeOperatorInfo.voteWeight;\\n }\\n\\n unchecked {\\n ++i;\\n }\\n }\\n\\n TOTAL_WEIGHTS_SLOT.subAssign(accumulatedWeight);\\n\\n _notifyRegisters(IBridgeManagerCallback.onBridgeOperatorsRemoved.selector, abi.encode(bridgeOperators, removeds));\\n\\n emit BridgeOperatorsRemoved(removeds, bridgeOperators);\\n }\\n\\n /**\\n * @dev Sets threshold and returns the old one.\\n *\\n * Emits the `ThresholdUpdated` event.\\n *\\n */\\n function _setThreshold(\\n uint256 numerator,\\n uint256 denominator\\n ) internal virtual returns (uint256 previousNum, uint256 previousDenom) {\\n if (numerator > denominator) revert ErrInvalidThreshold(msg.sig);\\n\\n previousNum = NUMERATOR_SLOT.load();\\n previousDenom = DENOMINATOR_SLOT.load();\\n NUMERATOR_SLOT.store(numerator);\\n DENOMINATOR_SLOT.store(denominator);\\n\\n emit ThresholdUpdated(NONCE_SLOT.postIncrement(), numerator, denominator, previousNum, previousDenom);\\n }\\n\\n /**\\n * @dev Internal function to get all bridge operators.\\n * @return bridgeOperators An array containing all the registered bridge operator addresses.\\n */\\n function _getBridgeOperators() internal view returns (address[] memory) {\\n return _getBridgeOperatorSet().values();\\n }\\n\\n /**\\n * @dev Internal function to get all governors.\\n * @return governors An array containing all the registered governor addresses.\\n */\\n function _getGovernors() internal view returns (address[] memory) {\\n return _getGovernorsSet().values();\\n }\\n\\n /**\\n * @dev Internal function to get the vote weights of a given array of governors.\\n * @param governors An array containing the addresses of governors.\\n * @return weights An array containing the vote weights of the corresponding governors.\\n */\\n function _getGovernorWeights(address[] memory governors) internal view returns (uint96[] memory weights) {\\n uint256 length = governors.length;\\n weights = new uint96[](length);\\n mapping(address => BridgeOperatorInfo) storage _governorToBridgeOperatorInfo = _getGovernorToBridgeOperatorInfo();\\n for (uint256 i; i < length; ) {\\n weights[i] = _governorToBridgeOperatorInfo[governors[i]].voteWeight;\\n unchecked {\\n ++i;\\n }\\n }\\n }\\n\\n /**\\n * @dev Internal function to calculate the sum of vote weights for a given array of governors.\\n * @param governors An array containing the addresses of governors to calculate the sum of vote weights.\\n * @return sum The total sum of vote weights for the provided governors.\\n * @notice The input array `governors` must contain unique addresses to avoid duplicate calculations.\\n */\\n function _sumGovernorsWeight(address[] memory governors) internal view nonDuplicate(governors) returns (uint256 sum) {\\n mapping(address => BridgeOperatorInfo) storage _governorToBridgeOperatorInfo = _getGovernorToBridgeOperatorInfo();\\n\\n for (uint256 i; i < governors.length; ) {\\n sum += _governorToBridgeOperatorInfo[governors[i]].voteWeight;\\n\\n unchecked {\\n ++i;\\n }\\n }\\n }\\n\\n /**\\n * @dev Internal function to require that the caller has governor role access.\\n * @param addr The address to check for governor role access.\\n * @dev If the address does not have governor role access (vote weight is zero), a revert with the corresponding error message is triggered.\\n */\\n function _requireGovernor(address addr) internal view {\\n if (_getGovernorWeight(addr) == 0) {\\n revert ErrUnauthorized(msg.sig, RoleAccess.GOVERNOR);\\n }\\n }\\n\\n /**\\n * @dev Internal function to retrieve the vote weight of a specific governor.\\n * @param governor The address of the governor to get the vote weight for.\\n * @return voteWeight The vote weight of the specified governor.\\n */\\n function _getGovernorWeight(address governor) internal view returns (uint96) {\\n return _getGovernorToBridgeOperatorInfo()[governor].voteWeight;\\n }\\n\\n /**\\n * @dev Internal function to access the address set of bridge operators.\\n * @return bridgeOperators the storage address set.\\n */\\n function _getBridgeOperatorSet() internal pure returns (EnumerableSet.AddressSet storage bridgeOperators) {\\n assembly (\\\"memory-safe\\\") {\\n bridgeOperators.slot := BRIDGE_OPERATOR_SET_SLOT\\n }\\n }\\n\\n /**\\n * @dev Internal function to access the address set of bridge operators.\\n * @return governors the storage address set.\\n */\\n function _getGovernorsSet() internal pure returns (EnumerableSet.AddressSet storage governors) {\\n assembly (\\\"memory-safe\\\") {\\n governors.slot := GOVERNOR_SET_SLOT\\n }\\n }\\n\\n /**\\n * @dev Internal function to access the mapping from governor => BridgeOperatorInfo.\\n * @return governorToBridgeOperatorInfo the mapping from governor => BridgeOperatorInfo.\\n */\\n function _getGovernorToBridgeOperatorInfo()\\n internal\\n pure\\n returns (mapping(address => BridgeOperatorInfo) storage governorToBridgeOperatorInfo)\\n {\\n assembly (\\\"memory-safe\\\") {\\n governorToBridgeOperatorInfo.slot := GOVERNOR_TO_BRIDGE_OPERATOR_INFO_SLOT\\n }\\n }\\n\\n /**\\n * @dev Internal function to access the mapping from bridge operator => governor.\\n * @return governorOf the mapping from bridge operator => governor.\\n */\\n function _getGovernorOf() internal pure returns (mapping(address => address) storage governorOf) {\\n assembly (\\\"memory-safe\\\") {\\n governorOf.slot := GOVENOR_OF_SLOT\\n }\\n }\\n}\\n\",\"keccak256\":\"0xed4094d87c13f38dc4b76b52b8b238447d99cdc2ad452f322ddc891b1217d572\",\"license\":\"MIT\"},\"contracts/extensions/bridge-operator-governance/BridgeManagerCallbackRegister.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport { EnumerableSet } from \\\"@openzeppelin/contracts/utils/structs/EnumerableSet.sol\\\";\\nimport { IBridgeManagerCallbackRegister } from \\\"../../interfaces/bridge/IBridgeManagerCallbackRegister.sol\\\";\\nimport { IBridgeManagerCallback } from \\\"../../interfaces/bridge/IBridgeManagerCallback.sol\\\";\\nimport { TransparentUpgradeableProxyV2, IdentityGuard } from \\\"../../utils/IdentityGuard.sol\\\";\\n\\n/**\\n * @title BridgeManagerCallbackRegister\\n * @dev A contract that manages callback registrations and execution for a bridge.\\n */\\nabstract contract BridgeManagerCallbackRegister is IdentityGuard, IBridgeManagerCallbackRegister {\\n using EnumerableSet for EnumerableSet.AddressSet;\\n\\n /**\\n * @dev Storage slot for the address set of callback registers.\\n * @dev Value is equal to keccak256(\\\"@ronin.dpos.gateway.BridgeAdmin.callbackRegisters.slot\\\") - 1.\\n */\\n bytes32 private constant CALLBACK_REGISTERS_SLOT = 0x5da136eb38f8d8e354915fc8a767c0dc81d49de5fb65d5477122a82ddd976240;\\n\\n constructor(address[] memory callbackRegisters) payable {\\n _registerCallbacks(callbackRegisters);\\n }\\n\\n /**\\n * @inheritdoc IBridgeManagerCallbackRegister\\n */\\n function registerCallbacks(address[] calldata registers) external onlySelfCall returns (bool[] memory registereds) {\\n registereds = _registerCallbacks(registers);\\n }\\n\\n /**\\n * @inheritdoc IBridgeManagerCallbackRegister\\n */\\n function unregisterCallbacks(\\n address[] calldata registers\\n ) external onlySelfCall returns (bool[] memory unregistereds) {\\n unregistereds = _unregisterCallbacks(registers);\\n }\\n\\n /**\\n * @inheritdoc IBridgeManagerCallbackRegister\\n */\\n function getCallbackRegisters() external view returns (address[] memory registers) {\\n registers = _getCallbackRegisters().values();\\n }\\n\\n /**\\n * @dev Internal function to register multiple callbacks with the bridge.\\n * @param registers The array of callback addresses to register.\\n * @return registereds An array indicating the success status of each registration.\\n */\\n function _registerCallbacks(\\n address[] memory registers\\n ) internal nonDuplicate(registers) returns (bool[] memory registereds) {\\n uint256 length = registers.length;\\n registereds = new bool[](length);\\n if (length == 0) return registereds;\\n\\n EnumerableSet.AddressSet storage _callbackRegisters = _getCallbackRegisters();\\n address register;\\n bytes4 callbackInterface = type(IBridgeManagerCallback).interfaceId;\\n\\n for (uint256 i; i < length; ) {\\n register = registers[i];\\n\\n _requireHasCode(register);\\n _requireSupportsInterface(register, callbackInterface);\\n\\n registereds[i] = _callbackRegisters.add(register);\\n\\n unchecked {\\n ++i;\\n }\\n }\\n }\\n\\n /**\\n * @dev Internal function to unregister multiple callbacks from the bridge.\\n * @param registers The array of callback addresses to unregister.\\n * @return unregistereds An array indicating the success status of each unregistration.\\n */\\n function _unregisterCallbacks(\\n address[] memory registers\\n ) internal nonDuplicate(registers) returns (bool[] memory unregistereds) {\\n uint256 length = registers.length;\\n unregistereds = new bool[](length);\\n EnumerableSet.AddressSet storage _callbackRegisters = _getCallbackRegisters();\\n\\n for (uint256 i; i < length; ) {\\n unregistereds[i] = _callbackRegisters.remove(registers[i]);\\n\\n unchecked {\\n ++i;\\n }\\n }\\n }\\n\\n /**\\n * @dev Internal function to notify all registered callbacks with the provided function signature and data.\\n * @param callbackFnSig The function signature of the callback method.\\n * @param inputs The data to pass to the callback method.\\n */\\n function _notifyRegisters(bytes4 callbackFnSig, bytes memory inputs) internal {\\n address[] memory registers = _getCallbackRegisters().values();\\n uint256 length = registers.length;\\n if (length == 0) return;\\n\\n bool[] memory successes = new bool[](length);\\n bytes[] memory returnDatas = new bytes[](length);\\n bytes memory callData = abi.encodePacked(callbackFnSig, inputs);\\n bytes memory proxyCallData = abi.encodeCall(TransparentUpgradeableProxyV2.functionDelegateCall, (callData));\\n\\n for (uint256 i; i < length; ) {\\n (successes[i], returnDatas[i]) = registers[i].call(callData);\\n if (!successes[i]) {\\n (successes[i], returnDatas[i]) = registers[i].call(proxyCallData);\\n }\\n\\n unchecked {\\n ++i;\\n }\\n }\\n\\n emit Notified(callData, registers, successes, returnDatas);\\n }\\n\\n /**\\n * @dev Internal function to retrieve the address set of callback registers.\\n * @return callbackRegisters The storage reference to the callback registers.\\n */\\n function _getCallbackRegisters() internal pure returns (EnumerableSet.AddressSet storage callbackRegisters) {\\n assembly (\\\"memory-safe\\\") {\\n callbackRegisters.slot := CALLBACK_REGISTERS_SLOT\\n }\\n }\\n}\\n\",\"keccak256\":\"0x0fd58e2e9955d95cfde1ccd8b120fbb3d5bbf7b41143c09217833bd1d01590ce\",\"license\":\"MIT\"},\"contracts/extensions/collections/HasContracts.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport { HasProxyAdmin } from \\\"./HasProxyAdmin.sol\\\";\\nimport \\\"../../interfaces/collections/IHasContracts.sol\\\";\\nimport { IdentityGuard } from \\\"../../utils/IdentityGuard.sol\\\";\\nimport { ErrUnexpectedInternalCall } from \\\"../../utils/CommonErrors.sol\\\";\\n\\n/**\\n * @title HasContracts\\n * @dev A contract that provides functionality to manage multiple contracts with different roles.\\n */\\nabstract contract HasContracts is HasProxyAdmin, IHasContracts, IdentityGuard {\\n /// @dev value is equal to keccak256(\\\"@ronin.dpos.collections.HasContracts.slot\\\") - 1\\n bytes32 private constant _STORAGE_SLOT = 0xdea3103d22025c269050bea94c0c84688877f12fa22b7e6d2d5d78a9a49aa1cb;\\n\\n /**\\n * @dev Modifier to restrict access to functions only to contracts with a specific role.\\n * @param contractType The contract type that allowed to call\\n */\\n modifier onlyContract(ContractType contractType) virtual {\\n _requireContract(contractType);\\n _;\\n }\\n\\n /**\\n * @inheritdoc IHasContracts\\n */\\n function setContract(ContractType contractType, address addr) external virtual onlyAdmin {\\n _requireHasCode(addr);\\n _setContract(contractType, addr);\\n }\\n\\n /**\\n * @inheritdoc IHasContracts\\n */\\n function getContract(ContractType contractType) public view returns (address contract_) {\\n contract_ = _getContractMap()[uint8(contractType)];\\n if (contract_ == address(0)) revert ErrContractTypeNotFound(contractType);\\n }\\n\\n /**\\n * @dev Internal function to set the address of a contract with a specific role.\\n * @param contractType The contract type of the contract to set.\\n * @param addr The address of the contract to set.\\n */\\n function _setContract(ContractType contractType, address addr) internal virtual {\\n _getContractMap()[uint8(contractType)] = addr;\\n emit ContractUpdated(contractType, addr);\\n }\\n\\n /**\\n * @dev Internal function to access the mapping of contract addresses with roles.\\n * @return contracts_ The mapping of contract addresses with roles.\\n */\\n function _getContractMap() private pure returns (mapping(uint8 => address) storage contracts_) {\\n assembly {\\n contracts_.slot := _STORAGE_SLOT\\n }\\n }\\n\\n /**\\n * @dev Internal function to check if the calling contract has a specific role.\\n * @param contractType The contract type that the calling contract must have.\\n * @dev Throws an error if the calling contract does not have the specified role.\\n */\\n function _requireContract(ContractType contractType) private view {\\n if (msg.sender != getContract(contractType)) {\\n revert ErrUnexpectedInternalCall(msg.sig, contractType, msg.sender);\\n }\\n }\\n}\\n\",\"keccak256\":\"0x9e1dceb68827adfb8c8184662f29ab5fe14e292a632878150e3b0b6c61bc1dce\",\"license\":\"MIT\"},\"contracts/extensions/collections/HasProxyAdmin.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport \\\"@openzeppelin/contracts/utils/StorageSlot.sol\\\";\\nimport \\\"../../utils/CommonErrors.sol\\\";\\n\\nabstract contract HasProxyAdmin {\\n // bytes32(uint256(keccak256(\\\"eip1967.proxy.admin\\\")) - 1));\\n bytes32 private constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;\\n\\n modifier onlyAdmin() {\\n _requireAdmin();\\n _;\\n }\\n\\n /**\\n * @dev Returns proxy admin.\\n */\\n function _getAdmin() internal view virtual returns (address) {\\n return StorageSlot.getAddressSlot(_ADMIN_SLOT).value;\\n }\\n\\n function _requireAdmin() internal view {\\n if (msg.sender != _getAdmin()) revert ErrUnauthorized(msg.sig, RoleAccess.ADMIN);\\n }\\n}\\n\",\"keccak256\":\"0x0916021d04ea0c93c54978dc2fd46575fd2bd867369fbf9ce49f316939ddaf25\",\"license\":\"MIT\"},\"contracts/extensions/sequential-governance/CoreGovernance.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport \\\"../../libraries/Proposal.sol\\\";\\nimport \\\"../../libraries/GlobalProposal.sol\\\";\\nimport \\\"../../utils/CommonErrors.sol\\\";\\nimport \\\"../../libraries/Ballot.sol\\\";\\nimport \\\"../../interfaces/consumers/ChainTypeConsumer.sol\\\";\\nimport \\\"../../interfaces/consumers/SignatureConsumer.sol\\\";\\nimport \\\"../../interfaces/consumers/VoteStatusConsumer.sol\\\";\\n\\nabstract contract CoreGovernance is SignatureConsumer, VoteStatusConsumer, ChainTypeConsumer {\\n using Proposal for Proposal.ProposalDetail;\\n\\n /**\\n * @dev Error thrown when attempting to interact with a finalized vote.\\n */\\n error ErrVoteIsFinalized();\\n\\n /**\\n * @dev Error thrown when the current proposal is not completed.\\n */\\n error ErrCurrentProposalIsNotCompleted();\\n\\n struct ProposalVote {\\n VoteStatus status;\\n bytes32 hash;\\n uint256 againstVoteWeight; // Total weight of against votes\\n uint256 forVoteWeight; // Total weight of for votes\\n address[] forVoteds; // Array of addresses voting for\\n address[] againstVoteds; // Array of addresses voting against\\n uint256 expiryTimestamp;\\n mapping(address => Signature) sig;\\n mapping(address => bool) voted;\\n }\\n\\n /// @dev Emitted when a proposal is created\\n event ProposalCreated(\\n uint256 indexed chainId,\\n uint256 indexed round,\\n bytes32 indexed proposalHash,\\n Proposal.ProposalDetail proposal,\\n address creator\\n );\\n /// @dev Emitted when the proposal is voted\\n event ProposalVoted(bytes32 indexed proposalHash, address indexed voter, Ballot.VoteType support, uint256 weight);\\n /// @dev Emitted when the proposal is approved\\n event ProposalApproved(bytes32 indexed proposalHash);\\n /// @dev Emitted when the vote is reject\\n event ProposalRejected(bytes32 indexed proposalHash);\\n /// @dev Emitted when the vote is expired\\n event ProposalExpired(bytes32 indexed proposalHash);\\n /// @dev Emitted when the proposal is executed\\n event ProposalExecuted(bytes32 indexed proposalHash, bool[] successCalls, bytes[] returnDatas);\\n /// @dev Emitted when the proposal expiry duration is changed.\\n event ProposalExpiryDurationChanged(uint256 indexed duration);\\n\\n /// @dev Mapping from chain id => vote round\\n /// @notice chain id = 0 for global proposal\\n mapping(uint256 => uint256) public round;\\n /// @dev Mapping from chain id => vote round => proposal vote\\n mapping(uint256 => mapping(uint256 => ProposalVote)) public vote;\\n\\n uint256 internal _proposalExpiryDuration;\\n\\n constructor(uint256 _expiryDuration) {\\n _setProposalExpiryDuration(_expiryDuration);\\n }\\n\\n /**\\n * @dev Creates new voting round by calculating the `_round` number of chain `_chainId`.\\n * Increases the `_round` number if the previous one is not expired. Delete the previous proposal\\n * if it is expired and not increase the `_round`.\\n */\\n function _createVotingRound(uint256 _chainId) internal returns (uint256 _round) {\\n _round = round[_chainId];\\n // Skip checking for the first ever round\\n if (_round == 0) {\\n _round = round[_chainId] = 1;\\n } else {\\n ProposalVote storage _latestProposalVote = vote[_chainId][_round];\\n bool _isExpired = _tryDeleteExpiredVotingRound(_latestProposalVote);\\n // Skip increasing round number if the latest round is expired, allow the vote to be overridden\\n if (!_isExpired) {\\n if (_latestProposalVote.status == VoteStatus.Pending) revert ErrCurrentProposalIsNotCompleted();\\n unchecked {\\n _round = ++round[_chainId];\\n }\\n }\\n }\\n }\\n\\n /**\\n * @dev Saves new round voting for the proposal `_proposalHash` of chain `_chainId`.\\n */\\n function _saveVotingRound(ProposalVote storage _vote, bytes32 _proposalHash, uint256 _expiryTimestamp) internal {\\n _vote.hash = _proposalHash;\\n _vote.expiryTimestamp = _expiryTimestamp;\\n }\\n\\n /**\\n * @dev Proposes for a new proposal.\\n *\\n * Requirements:\\n * - The chain id is not equal to 0.\\n *\\n * Emits the `ProposalCreated` event.\\n *\\n */\\n function _proposeProposal(\\n uint256 chainId,\\n uint256 expiryTimestamp,\\n address[] memory targets,\\n uint256[] memory values,\\n bytes[] memory calldatas,\\n uint256[] memory gasAmounts,\\n address creator\\n ) internal virtual returns (Proposal.ProposalDetail memory proposal) {\\n if (chainId == 0) revert ErrInvalidChainId(msg.sig, 0, block.chainid);\\n uint256 round_ = _createVotingRound(chainId);\\n\\n proposal = Proposal.ProposalDetail(round_, chainId, expiryTimestamp, targets, values, calldatas, gasAmounts);\\n proposal.validate(_proposalExpiryDuration);\\n\\n bytes32 proposalHash = proposal.hash();\\n _saveVotingRound(vote[chainId][round_], proposalHash, expiryTimestamp);\\n emit ProposalCreated(chainId, round_, proposalHash, proposal, creator);\\n }\\n\\n /**\\n * @dev Proposes proposal struct.\\n *\\n * Requirements:\\n * - The chain id is not equal to 0.\\n * - The proposal nonce is equal to the new round.\\n *\\n * Emits the `ProposalCreated` event.\\n *\\n */\\n function _proposeProposalStruct(\\n Proposal.ProposalDetail memory proposal,\\n address creator\\n ) internal virtual returns (uint256 round_) {\\n uint256 chainId = proposal.chainId;\\n if (chainId == 0) revert ErrInvalidChainId(msg.sig, 0, block.chainid);\\n proposal.validate(_proposalExpiryDuration);\\n\\n bytes32 proposalHash = proposal.hash();\\n round_ = _createVotingRound(chainId);\\n _saveVotingRound(vote[chainId][round_], proposalHash, proposal.expiryTimestamp);\\n if (round_ != proposal.nonce) revert ErrInvalidProposalNonce(msg.sig);\\n emit ProposalCreated(chainId, round_, proposalHash, proposal, creator);\\n }\\n\\n /**\\n * @dev Casts vote for the proposal with data and returns whether the voting is done.\\n *\\n * Requirements:\\n * - The proposal nonce is equal to the round.\\n * - The vote is not finalized.\\n * - The voter has not voted for the round.\\n *\\n * Emits the `ProposalVoted` event. Emits the `ProposalApproved`, `ProposalExecuted` or `ProposalRejected` once the\\n * proposal is approved, executed or rejected.\\n *\\n */\\n function _castVote(\\n Proposal.ProposalDetail memory proposal,\\n Ballot.VoteType support,\\n uint256 minimumForVoteWeight,\\n uint256 minimumAgainstVoteWeight,\\n address voter,\\n Signature memory signature,\\n uint256 voterWeight\\n ) internal virtual returns (bool done) {\\n uint256 chainId = proposal.chainId;\\n uint256 round_ = proposal.nonce;\\n ProposalVote storage _vote = vote[chainId][round_];\\n\\n if (_tryDeleteExpiredVotingRound(_vote)) {\\n return true;\\n }\\n\\n if (round[proposal.chainId] != round_) revert ErrInvalidProposalNonce(msg.sig);\\n if (_vote.status != VoteStatus.Pending) revert ErrVoteIsFinalized();\\n if (_voted(_vote, voter)) revert ErrAlreadyVoted(voter);\\n\\n _vote.voted[voter] = true;\\n // Stores the signature if it is not empty\\n if (signature.r > 0 || signature.s > 0 || signature.v > 0) {\\n _vote.sig[voter] = signature;\\n }\\n emit ProposalVoted(_vote.hash, voter, support, voterWeight);\\n\\n uint256 _forVoteWeight;\\n uint256 _againstVoteWeight;\\n if (support == Ballot.VoteType.For) {\\n _vote.forVoteds.push(voter);\\n _forVoteWeight = _vote.forVoteWeight += voterWeight;\\n } else if (support == Ballot.VoteType.Against) {\\n _vote.againstVoteds.push(voter);\\n _againstVoteWeight = _vote.againstVoteWeight += voterWeight;\\n } else revert ErrUnsupportedVoteType(msg.sig);\\n\\n if (_forVoteWeight >= minimumForVoteWeight) {\\n done = true;\\n _vote.status = VoteStatus.Approved;\\n emit ProposalApproved(_vote.hash);\\n _tryExecute(_vote, proposal);\\n } else if (_againstVoteWeight >= minimumAgainstVoteWeight) {\\n done = true;\\n _vote.status = VoteStatus.Rejected;\\n emit ProposalRejected(_vote.hash);\\n }\\n }\\n\\n /**\\n * @dev When the contract is on Ronin chain, checks whether the proposal is expired and delete it if is expired.\\n *\\n * Emits the event `ProposalExpired` if the vote is expired.\\n *\\n * Note: This function assumes the vote `_proposalVote` is already created, consider verifying the vote's existence\\n * before or it will emit an unexpected event of `ProposalExpired`.\\n */\\n function _tryDeleteExpiredVotingRound(ProposalVote storage proposalVote) internal returns (bool isExpired) {\\n isExpired =\\n _getChainType() == ChainType.RoninChain &&\\n proposalVote.status == VoteStatus.Pending &&\\n proposalVote.expiryTimestamp <= block.timestamp;\\n\\n if (isExpired) {\\n emit ProposalExpired(proposalVote.hash);\\n\\n for (uint256 _i; _i < proposalVote.forVoteds.length; ) {\\n delete proposalVote.voted[proposalVote.forVoteds[_i]];\\n delete proposalVote.sig[proposalVote.forVoteds[_i]];\\n\\n unchecked {\\n ++_i;\\n }\\n }\\n for (uint256 _i; _i < proposalVote.againstVoteds.length; ) {\\n delete proposalVote.voted[proposalVote.againstVoteds[_i]];\\n delete proposalVote.sig[proposalVote.againstVoteds[_i]];\\n\\n unchecked {\\n ++_i;\\n }\\n }\\n delete proposalVote.status;\\n delete proposalVote.hash;\\n delete proposalVote.againstVoteWeight;\\n delete proposalVote.forVoteWeight;\\n delete proposalVote.forVoteds;\\n delete proposalVote.againstVoteds;\\n delete proposalVote.expiryTimestamp;\\n }\\n }\\n\\n /**\\n * @dev Executes the proposal and update the vote status once the proposal is executable.\\n */\\n function _tryExecute(ProposalVote storage vote_, Proposal.ProposalDetail memory proposal) internal {\\n if (proposal.executable()) {\\n vote_.status = VoteStatus.Executed;\\n (bool[] memory _successCalls, bytes[] memory _returnDatas) = proposal.execute();\\n emit ProposalExecuted(vote_.hash, _successCalls, _returnDatas);\\n }\\n }\\n\\n /**\\n * @dev Sets the expiry duration for a new proposal.\\n */\\n function _setProposalExpiryDuration(uint256 expiryDuration) internal {\\n _proposalExpiryDuration = expiryDuration;\\n emit ProposalExpiryDurationChanged(expiryDuration);\\n }\\n\\n /**\\n * @dev Returns the expiry duration for a new proposal.\\n */\\n function _getProposalExpiryDuration() internal view returns (uint256) {\\n return _proposalExpiryDuration;\\n }\\n\\n /**\\n * @dev Returns whether the voter casted for the proposal.\\n */\\n function _voted(ProposalVote storage vote_, address voter) internal view returns (bool) {\\n return vote_.voted[voter];\\n }\\n\\n /**\\n * @dev Returns total weight from validators.\\n */\\n function _getTotalWeight() internal view virtual returns (uint256);\\n\\n /**\\n * @dev Returns minimum vote to pass a proposal.\\n */\\n function _getMinimumVoteWeight() internal view virtual returns (uint256);\\n\\n /**\\n * @dev Returns current context is running on whether Ronin chain or on mainchain.\\n */\\n function _getChainType() internal view virtual returns (ChainType);\\n}\\n\",\"keccak256\":\"0xc6056209e8f6a0d9edced67388a4037c6fafffb68a3c7b2fe5759c487bb1d81c\",\"license\":\"MIT\"},\"contracts/extensions/sequential-governance/GlobalCoreGovernance.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport \\\"../../libraries/Proposal.sol\\\";\\nimport \\\"../../libraries/GlobalProposal.sol\\\";\\nimport \\\"./CoreGovernance.sol\\\";\\n\\nabstract contract GlobalCoreGovernance is CoreGovernance {\\n using Proposal for Proposal.ProposalDetail;\\n using GlobalProposal for GlobalProposal.GlobalProposalDetail;\\n\\n mapping(GlobalProposal.TargetOption => address) internal _targetOptionsMap;\\n\\n /// @dev Emitted when a proposal is created\\n event GlobalProposalCreated(\\n uint256 indexed round,\\n bytes32 indexed proposalHash,\\n Proposal.ProposalDetail proposal,\\n bytes32 globalProposalHash,\\n GlobalProposal.GlobalProposalDetail globalProposal,\\n address creator\\n );\\n\\n /// @dev Emitted when the target options are updated\\n event TargetOptionUpdated(GlobalProposal.TargetOption indexed targetOption, address indexed addr);\\n\\n constructor(GlobalProposal.TargetOption[] memory targetOptions, address[] memory addrs) {\\n _updateTargetOption(GlobalProposal.TargetOption.BridgeManager, address(this));\\n _updateManyTargetOption(targetOptions, addrs);\\n }\\n\\n /**\\n * @dev Proposes for a global proposal.\\n *\\n * Emits the `GlobalProposalCreated` event.\\n *\\n */\\n function _proposeGlobal(\\n uint256 expiryTimestamp,\\n GlobalProposal.TargetOption[] calldata targetOptions,\\n uint256[] memory values,\\n bytes[] memory calldatas,\\n uint256[] memory gasAmounts,\\n address creator\\n ) internal virtual {\\n uint256 round_ = _createVotingRound(0);\\n GlobalProposal.GlobalProposalDetail memory globalProposal = GlobalProposal.GlobalProposalDetail(\\n round_,\\n expiryTimestamp,\\n targetOptions,\\n values,\\n calldatas,\\n gasAmounts\\n );\\n Proposal.ProposalDetail memory proposal = globalProposal.intoProposalDetail(\\n _resolveTargets({ targetOptions: targetOptions, strict: true })\\n );\\n proposal.validate(_proposalExpiryDuration);\\n\\n bytes32 proposalHash = proposal.hash();\\n _saveVotingRound(vote[0][round_], proposalHash, expiryTimestamp);\\n emit GlobalProposalCreated(round_, proposalHash, proposal, globalProposal.hash(), globalProposal, creator);\\n }\\n\\n /**\\n * @dev Proposes global proposal struct.\\n *\\n * Requirements:\\n * - The proposal nonce is equal to the new round.\\n *\\n * Emits the `GlobalProposalCreated` event.\\n *\\n */\\n function _proposeGlobalStruct(\\n GlobalProposal.GlobalProposalDetail memory globalProposal,\\n address creator\\n ) internal virtual returns (Proposal.ProposalDetail memory proposal) {\\n proposal = globalProposal.intoProposalDetail(\\n _resolveTargets({ targetOptions: globalProposal.targetOptions, strict: true })\\n );\\n proposal.validate(_proposalExpiryDuration);\\n\\n bytes32 proposalHash = proposal.hash();\\n uint256 round_ = _createVotingRound(0);\\n _saveVotingRound(vote[0][round_], proposalHash, globalProposal.expiryTimestamp);\\n\\n if (round_ != proposal.nonce) revert ErrInvalidProposalNonce(msg.sig);\\n emit GlobalProposalCreated(round_, proposalHash, proposal, globalProposal.hash(), globalProposal, creator);\\n }\\n\\n /**\\n * @dev Returns corresponding address of target options. Return address(0) on non-existent target.\\n */\\n function resolveTargets(\\n GlobalProposal.TargetOption[] calldata targetOptions\\n ) external view returns (address[] memory targets) {\\n return _resolveTargets({ targetOptions: targetOptions, strict: false });\\n }\\n\\n /**\\n * @dev Internal helper of {resolveTargets}.\\n *\\n * @param strict When the param is set to `true`, revert on non-existent target.\\n */\\n function _resolveTargets(\\n GlobalProposal.TargetOption[] memory targetOptions,\\n bool strict\\n ) internal view returns (address[] memory targets) {\\n targets = new address[](targetOptions.length);\\n\\n for (uint256 i; i < targetOptions.length; ) {\\n targets[i] = _targetOptionsMap[targetOptions[i]];\\n if (strict && targets[i] == address(0)) revert ErrInvalidArguments(msg.sig);\\n unchecked {\\n ++i;\\n }\\n }\\n }\\n\\n /**\\n * @dev Updates list of `targetOptions` to `targets`.\\n *\\n * Requirement:\\n * - Only allow self-call through proposal.\\n * */\\n function updateManyTargetOption(\\n GlobalProposal.TargetOption[] memory targetOptions,\\n address[] memory targets\\n ) external {\\n // HACK: Cannot reuse the existing library due to too deep stack\\n if (msg.sender != address(this)) revert ErrOnlySelfCall(msg.sig);\\n _updateManyTargetOption(targetOptions, targets);\\n }\\n\\n /**\\n * @dev Updates list of `targetOptions` to `targets`.\\n */\\n function _updateManyTargetOption(\\n GlobalProposal.TargetOption[] memory targetOptions,\\n address[] memory targets\\n ) internal {\\n for (uint256 i; i < targetOptions.length; ) {\\n if (targets[i] == address(this)) revert ErrInvalidArguments(msg.sig);\\n _updateTargetOption(targetOptions[i], targets[i]);\\n unchecked {\\n ++i;\\n }\\n }\\n }\\n\\n /**\\n * @dev Updates `targetOption` to `target`.\\n *\\n * Requirement:\\n * - Emit a `TargetOptionUpdated` event.\\n */\\n function _updateTargetOption(GlobalProposal.TargetOption targetOption, address target) internal {\\n _targetOptionsMap[targetOption] = target;\\n emit TargetOptionUpdated(targetOption, target);\\n }\\n}\\n\",\"keccak256\":\"0x986444cade6313dd1ce4137f3338e4fc296769f5cf669f057cd2838e5ae0e54f\",\"license\":\"MIT\"},\"contracts/extensions/sequential-governance/governance-relay/CommonGovernanceRelay.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport \\\"../CoreGovernance.sol\\\";\\n\\nabstract contract CommonGovernanceRelay is CoreGovernance {\\n using Proposal for Proposal.ProposalDetail;\\n using GlobalProposal for GlobalProposal.GlobalProposalDetail;\\n\\n /**\\n * @dev Relays votes by signatures.\\n *\\n * @notice Does not store the voter signature into storage.\\n *\\n */\\n function _relayVotesBySignatures(\\n Proposal.ProposalDetail memory _proposal,\\n Ballot.VoteType[] calldata _supports,\\n Signature[] calldata _signatures,\\n bytes32 _forDigest,\\n bytes32 _againstDigest\\n ) internal {\\n if (!(_supports.length > 0 && _supports.length == _signatures.length)) revert ErrLengthMismatch(msg.sig);\\n\\n uint256 _forVoteCount;\\n uint256 _againstVoteCount;\\n address[] memory _forVoteSigners = new address[](_signatures.length);\\n address[] memory _againstVoteSigners = new address[](_signatures.length);\\n\\n {\\n address _signer;\\n address _lastSigner;\\n Ballot.VoteType _support;\\n Signature calldata _sig;\\n\\n for (uint256 _i; _i < _signatures.length; ) {\\n _sig = _signatures[_i];\\n _support = _supports[_i];\\n\\n if (_support == Ballot.VoteType.For) {\\n _signer = ECDSA.recover(_forDigest, _sig.v, _sig.r, _sig.s);\\n _forVoteSigners[_forVoteCount++] = _signer;\\n } else if (_support == Ballot.VoteType.Against) {\\n _signer = ECDSA.recover(_againstDigest, _sig.v, _sig.r, _sig.s);\\n _againstVoteSigners[_againstVoteCount++] = _signer;\\n } else revert ErrUnsupportedVoteType(msg.sig);\\n\\n if (_lastSigner >= _signer) revert ErrInvalidOrder(msg.sig);\\n _lastSigner = _signer;\\n\\n unchecked {\\n ++_i;\\n }\\n }\\n }\\n\\n assembly {\\n mstore(_forVoteSigners, _forVoteCount)\\n mstore(_againstVoteSigners, _againstVoteCount)\\n }\\n\\n ProposalVote storage _vote = vote[_proposal.chainId][_proposal.nonce];\\n uint256 _minimumForVoteWeight = _getMinimumVoteWeight();\\n uint256 _totalForVoteWeight = _sumWeight(_forVoteSigners);\\n if (_totalForVoteWeight >= _minimumForVoteWeight) {\\n if (_totalForVoteWeight == 0) revert ErrInvalidVoteWeight(msg.sig);\\n _vote.status = VoteStatus.Approved;\\n emit ProposalApproved(_vote.hash);\\n _tryExecute(_vote, _proposal);\\n return;\\n }\\n\\n uint256 _minimumAgainstVoteWeight = _getTotalWeight() - _minimumForVoteWeight + 1;\\n uint256 _totalAgainstVoteWeight = _sumWeight(_againstVoteSigners);\\n if (_totalAgainstVoteWeight >= _minimumAgainstVoteWeight) {\\n if (_totalAgainstVoteWeight == 0) revert ErrInvalidVoteWeight(msg.sig);\\n _vote.status = VoteStatus.Rejected;\\n emit ProposalRejected(_vote.hash);\\n return;\\n }\\n\\n revert ErrRelayFailed(msg.sig);\\n }\\n\\n /**\\n * @dev Returns the weight of the governor list.\\n */\\n function _sumWeight(address[] memory _governors) internal view virtual returns (uint256);\\n}\\n\",\"keccak256\":\"0x80c58038f403fd189647669c2f5f913c9c5dd16be3d1b60b296903ce70c9634b\",\"license\":\"MIT\"},\"contracts/extensions/sequential-governance/governance-relay/GlobalGovernanceRelay.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport \\\"../GlobalCoreGovernance.sol\\\";\\nimport \\\"./CommonGovernanceRelay.sol\\\";\\n\\nabstract contract GlobalGovernanceRelay is CommonGovernanceRelay, GlobalCoreGovernance {\\n using GlobalProposal for GlobalProposal.GlobalProposalDetail;\\n\\n /**\\n * @dev Returns whether the voter `_voter` casted vote for the proposal.\\n */\\n function globalProposalRelayed(uint256 _round) external view returns (bool) {\\n return vote[0][_round].status != VoteStatus.Pending;\\n }\\n\\n /**\\n * @dev Relays voted global proposal.\\n *\\n * Requirements:\\n * - The relay proposal is finalized.\\n *\\n */\\n function _relayGlobalProposal(\\n GlobalProposal.GlobalProposalDetail calldata globalProposal,\\n Ballot.VoteType[] calldata supports_,\\n Signature[] calldata signatures,\\n bytes32 domainSeparator,\\n address creator\\n ) internal {\\n Proposal.ProposalDetail memory _proposal = _proposeGlobalStruct(globalProposal, creator);\\n bytes32 globalProposalHash = globalProposal.hash();\\n _relayVotesBySignatures(\\n _proposal,\\n supports_,\\n signatures,\\n ECDSA.toTypedDataHash(domainSeparator, Ballot.hash(globalProposalHash, Ballot.VoteType.For)),\\n ECDSA.toTypedDataHash(domainSeparator, Ballot.hash(globalProposalHash, Ballot.VoteType.Against))\\n );\\n }\\n}\\n\",\"keccak256\":\"0xe2c192ec663e10953b2754fa154fef64e26b8c470d25272883a9c149623746c8\",\"license\":\"MIT\"},\"contracts/extensions/sequential-governance/governance-relay/GovernanceRelay.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport \\\"../CoreGovernance.sol\\\";\\nimport \\\"./CommonGovernanceRelay.sol\\\";\\n\\nabstract contract GovernanceRelay is CoreGovernance, CommonGovernanceRelay {\\n using Proposal for Proposal.ProposalDetail;\\n using GlobalProposal for GlobalProposal.GlobalProposalDetail;\\n\\n /**\\n * @dev Relays voted proposal.\\n *\\n * Requirements:\\n * - The relay proposal is finalized.\\n *\\n */\\n function _relayProposal(\\n Proposal.ProposalDetail calldata _proposal,\\n Ballot.VoteType[] calldata _supports,\\n Signature[] calldata _signatures,\\n bytes32 _domainSeparator,\\n address _creator\\n ) internal {\\n _proposeProposalStruct(_proposal, _creator);\\n bytes32 _proposalHash = _proposal.hash();\\n _relayVotesBySignatures(\\n _proposal,\\n _supports,\\n _signatures,\\n ECDSA.toTypedDataHash(_domainSeparator, Ballot.hash(_proposalHash, Ballot.VoteType.For)),\\n ECDSA.toTypedDataHash(_domainSeparator, Ballot.hash(_proposalHash, Ballot.VoteType.Against))\\n );\\n }\\n}\\n\",\"keccak256\":\"0xb21d764010845c562d1554168cf103b332755764107f6510eeddc1f03c82bc33\",\"license\":\"MIT\"},\"contracts/interfaces/IQuorum.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\ninterface IQuorum {\\n /// @dev Emitted when the threshold is updated\\n event ThresholdUpdated(\\n uint256 indexed nonce,\\n uint256 indexed numerator,\\n uint256 indexed denominator,\\n uint256 previousNumerator,\\n uint256 previousDenominator\\n );\\n\\n /**\\n * @dev Returns the threshold.\\n */\\n function getThreshold() external view returns (uint256 _num, uint256 _denom);\\n\\n /**\\n * @dev Checks whether the `_voteWeight` passes the threshold.\\n */\\n function checkThreshold(uint256 _voteWeight) external view returns (bool);\\n\\n /**\\n * @dev Returns the minimum vote weight to pass the threshold.\\n */\\n function minimumVoteWeight() external view returns (uint256);\\n\\n /**\\n * @dev Sets the threshold.\\n *\\n * Requirements:\\n * - The method caller is admin.\\n *\\n * Emits the `ThresholdUpdated` event.\\n *\\n */\\n function setThreshold(\\n uint256 _numerator,\\n uint256 _denominator\\n ) external returns (uint256 _previousNum, uint256 _previousDenom);\\n}\\n\",\"keccak256\":\"0x6b7920b04a73a0e1ff7404aa1a3b5fc738fc0b6154839480f666fd69b55123f0\",\"license\":\"MIT\"},\"contracts/interfaces/bridge/IBridgeManager.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport { IBridgeManagerEvents } from \\\"./events/IBridgeManagerEvents.sol\\\";\\n\\n/**\\n * @title IBridgeManager\\n * @dev The interface for managing bridge operators.\\n */\\ninterface IBridgeManager is IBridgeManagerEvents {\\n /**\\n * @dev The domain separator used for computing hash digests in the contract.\\n */\\n function DOMAIN_SEPARATOR() external view returns (bytes32);\\n\\n /**\\n * @dev Returns the total number of bridge operators.\\n * @return The total number of bridge operators.\\n */\\n function totalBridgeOperator() external view returns (uint256);\\n\\n /**\\n * @dev Checks if the given address is a bridge operator.\\n * @param addr The address to check.\\n * @return A boolean indicating whether the address is a bridge operator.\\n */\\n function isBridgeOperator(address addr) external view returns (bool);\\n\\n /**\\n * @dev Retrieves the full information of all registered bridge operators.\\n *\\n * This external function allows external callers to obtain the full information of all the registered bridge operators.\\n * The returned arrays include the addresses of governors, bridge operators, and their corresponding vote weights.\\n *\\n * @return governors An array of addresses representing the governors of each bridge operator.\\n * @return bridgeOperators An array of addresses representing the registered bridge operators.\\n * @return weights An array of uint256 values representing the vote weights of each bridge operator.\\n *\\n * Note: The length of each array will be the same, and the order of elements corresponds to the same bridge operator.\\n *\\n * Example Usage:\\n * ```\\n * (address[] memory governors, address[] memory bridgeOperators, uint256[] memory weights) = getFullBridgeOperatorInfos();\\n * for (uint256 i = 0; i < bridgeOperators.length; i++) {\\n * // Access individual information for each bridge operator.\\n * address governor = governors[i];\\n * address bridgeOperator = bridgeOperators[i];\\n * uint256 weight = weights[i];\\n * // ... (Process or use the information as required) ...\\n * }\\n * ```\\n *\\n */\\n function getFullBridgeOperatorInfos()\\n external\\n view\\n returns (address[] memory governors, address[] memory bridgeOperators, uint96[] memory weights);\\n\\n /**\\n * @dev Returns total weights of the governor list.\\n */\\n function sumGovernorsWeight(address[] calldata governors) external view returns (uint256 sum);\\n\\n /**\\n * @dev Returns total weights.\\n */\\n function getTotalWeight() external view returns (uint256);\\n\\n /**\\n * @dev Returns an array of all bridge operators.\\n * @return An array containing the addresses of all bridge operators.\\n */\\n function getBridgeOperators() external view returns (address[] memory);\\n\\n /**\\n * @dev Returns an array of bridge operators correspoding to governor addresses.\\n * @return bridgeOperators_ An array containing the addresses of all bridge operators.\\n */\\n function getBridgeOperatorOf(address[] calldata gorvernors) external view returns (address[] memory bridgeOperators_);\\n\\n /**\\n * @dev Retrieves the governors corresponding to a given array of bridge operators.\\n * This external function allows external callers to obtain the governors associated with a given array of bridge operators.\\n * The function takes an input array `bridgeOperators` containing bridge operator addresses and returns an array of corresponding governors.\\n * @param bridgeOperators An array of bridge operator addresses for which governors are to be retrieved.\\n * @return governors An array of addresses representing the governors corresponding to the provided bridge operators.\\n */\\n function getGovernorsOf(address[] calldata bridgeOperators) external view returns (address[] memory governors);\\n\\n /**\\n * @dev External function to retrieve the vote weight of a specific governor.\\n * @param governor The address of the governor to get the vote weight for.\\n * @return voteWeight The vote weight of the specified governor.\\n */\\n function getGovernorWeight(address governor) external view returns (uint96);\\n\\n /**\\n * @dev External function to retrieve the vote weight of a specific bridge operator.\\n * @param bridgeOperator The address of the bridge operator to get the vote weight for.\\n * @return weight The vote weight of the specified bridge operator.\\n */\\n function getBridgeOperatorWeight(address bridgeOperator) external view returns (uint96 weight);\\n\\n /**\\n * @dev Returns the weights of a list of governor addresses.\\n */\\n function getGovernorWeights(address[] calldata governors) external view returns (uint96[] memory weights);\\n\\n /**\\n * @dev Returns an array of all governors.\\n * @return An array containing the addresses of all governors.\\n */\\n function getGovernors() external view returns (address[] memory);\\n\\n /**\\n * @dev Adds multiple bridge operators.\\n * @param governors An array of addresses of hot/cold wallets for bridge operator to update their node address.\\n * @param bridgeOperators An array of addresses representing the bridge operators to add.\\n * @return addeds An array of booleans indicating whether each bridge operator was added successfully.\\n *\\n * Note: return boolean array `addeds` indicates whether a group (voteWeight, governor, operator) are recorded.\\n * It is expected that FE/BE staticcall to the function first to get the return values and handle it correctly.\\n * Governors are expected to see the outcome of this function and decide if they want to vote for the proposal or not.\\n *\\n * Example Usage:\\n * Making an `eth_call` in ethers.js\\n * ```\\n * const {addeds} = await bridgeManagerContract.callStatic.addBridgeOperators(\\n * voteWeights,\\n * governors,\\n * bridgeOperators,\\n * // overriding the caller to the contract itself since we use `onlySelfCall` guard\\n * {from: bridgeManagerContract.address}\\n * )\\n * const filteredOperators = bridgeOperators.filter((_, index) => addeds[index]);\\n * const filteredWeights = weights.filter((_, index) => addeds[index]);\\n * const filteredGovernors = governors.filter((_, index) => addeds[index]);\\n * // ... (Process or use the information as required) ...\\n * ```\\n */\\n function addBridgeOperators(\\n uint96[] calldata voteWeights,\\n address[] calldata governors,\\n address[] calldata bridgeOperators\\n ) external returns (bool[] memory addeds);\\n\\n /**\\n * @dev Removes multiple bridge operators.\\n * @param bridgeOperators An array of addresses representing the bridge operators to remove.\\n * @return removeds An array of booleans indicating whether each bridge operator was removed successfully.\\n *\\n * * Note: return boolean array `removeds` indicates whether a group (voteWeight, governor, operator) are recorded.\\n * It is expected that FE/BE staticcall to the function first to get the return values and handle it correctly.\\n * Governors are expected to see the outcome of this function and decide if they want to vote for the proposal or not.\\n *\\n * Example Usage:\\n * Making an `eth_call` in ethers.js\\n * ```\\n * const {removeds} = await bridgeManagerContract.callStatic.removeBridgeOperators(\\n * bridgeOperators,\\n * // overriding the caller to the contract itself since we use `onlySelfCall` guard\\n * {from: bridgeManagerContract.address}\\n * )\\n * const filteredOperators = bridgeOperators.filter((_, index) => removeds[index]);\\n * // ... (Process or use the information as required) ...\\n * ```\\n */\\n function removeBridgeOperators(address[] calldata bridgeOperators) external returns (bool[] memory removeds);\\n\\n /**\\n * @dev Governor updates their corresponding governor and/or operator address.\\n * Requirements:\\n * - The caller must the governor of the operator that is requested changes.\\n * @param bridgeOperator The address of the bridge operator to update.\\n */\\n function updateBridgeOperator(address bridgeOperator) external;\\n}\\n\",\"keccak256\":\"0x9339ce2f14bc1e4d0e368a351506ff5735bcbc0a2e41aa633149198bbed76a60\",\"license\":\"MIT\"},\"contracts/interfaces/bridge/IBridgeManagerCallback.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport { IERC165 } from \\\"@openzeppelin/contracts/utils/introspection/IERC165.sol\\\";\\n\\n/**\\n * @title IBridgeManagerCallback\\n * @dev Interface for the callback functions to be implemented by the Bridge Manager contract.\\n */\\ninterface IBridgeManagerCallback is IERC165 {\\n /**\\n * @dev Handles the event when bridge operators are added.\\n * @param bridgeOperators The addresses of the bridge operators.\\n * @param addeds The corresponding boolean values indicating whether the operators were added or not.\\n * @return selector The selector of the function being called.\\n */\\n function onBridgeOperatorsAdded(\\n address[] memory bridgeOperators,\\n bool[] memory addeds\\n ) external returns (bytes4 selector);\\n\\n /**\\n * @dev Handles the event when bridge operators are removed.\\n * @param bridgeOperators The addresses of the bridge operators.\\n * @param removeds The corresponding boolean values indicating whether the operators were removed or not.\\n * @return selector The selector of the function being called.\\n */\\n function onBridgeOperatorsRemoved(\\n address[] memory bridgeOperators,\\n bool[] memory removeds\\n ) external returns (bytes4 selector);\\n\\n /**\\n * @dev Handles the event when a bridge operator is updated.\\n * @param currentBridgeOperator The address of the current bridge operator.\\n * @param newbridgeOperator The new address of the bridge operator.\\n * @return selector The selector of the function being called.\\n */\\n function onBridgeOperatorUpdated(\\n address currentBridgeOperator,\\n address newbridgeOperator\\n ) external returns (bytes4 selector);\\n}\\n\",\"keccak256\":\"0xfd6868a1041577a463b6c96713edcb18063dc817154d09710abfd5783e4629ee\",\"license\":\"MIT\"},\"contracts/interfaces/bridge/IBridgeManagerCallbackRegister.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\ninterface IBridgeManagerCallbackRegister {\\n /**\\n * @dev Emitted when the contract notifies multiple registers with statuses and return data.\\n */\\n event Notified(bytes callData, address[] registers, bool[] statuses, bytes[] returnDatas);\\n\\n /**\\n * @dev Retrieves the addresses of registered callbacks.\\n * @return registers An array containing the addresses of registered callbacks.\\n */\\n function getCallbackRegisters() external view returns (address[] memory registers);\\n\\n /**\\n * @dev Registers multiple callbacks with the bridge.\\n * @param registers The array of callback addresses to register.\\n * @return registereds An array indicating the success status of each registration.\\n */\\n function registerCallbacks(address[] calldata registers) external returns (bool[] memory registereds);\\n\\n /**\\n * @dev Unregisters multiple callbacks from the bridge.\\n * @param registers The array of callback addresses to unregister.\\n * @return unregistereds An array indicating the success status of each unregistration.\\n */\\n function unregisterCallbacks(address[] calldata registers) external returns (bool[] memory unregistereds);\\n}\\n\",\"keccak256\":\"0xadbcf65ee9d55f4aa037216d71a279fe41855fe572a4a8734e6f69954aea98f4\",\"license\":\"MIT\"},\"contracts/interfaces/bridge/events/IBridgeManagerEvents.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\ninterface IBridgeManagerEvents {\\n /**\\n * @dev The structure representing information about a bridge operator.\\n * @param addr The address of the bridge operator.\\n * @param voteWeight The vote weight assigned to the bridge operator.\\n */\\n struct BridgeOperatorInfo {\\n address addr;\\n uint96 voteWeight;\\n }\\n\\n /**\\n * @dev Emitted when new bridge operators are added.\\n * @param statuses The array of boolean values represents whether the corresponding bridge operator is added successfully.\\n * @param voteWeights The array of vote weights assigned to the added bridge operators.\\n * @param governors The array of addresses representing the governors associated with the added bridge operators.\\n * @param bridgeOperators The array of addresses representing the added bridge operators.\\n */\\n event BridgeOperatorsAdded(bool[] statuses, uint96[] voteWeights, address[] governors, address[] bridgeOperators);\\n\\n /**\\n * @dev Emitted when bridge operators are removed.\\n * @param statuses The array of boolean values representing the statuses of the removed bridge operators.\\n * @param bridgeOperators The array of addresses representing the removed bridge operators.\\n */\\n event BridgeOperatorsRemoved(bool[] statuses, address[] bridgeOperators);\\n\\n /**\\n * @dev Emitted when a bridge operator is updated.\\n * @param governor The address of the governor initiating the update.\\n * @param fromBridgeOperator The address of the bridge operator being updated.\\n * @param toBridgeOperator The updated address of the bridge operator.\\n */\\n event BridgeOperatorUpdated(\\n address indexed governor,\\n address indexed fromBridgeOperator,\\n address indexed toBridgeOperator\\n );\\n}\\n\",\"keccak256\":\"0x217fff41c4a9ca72d142c5a2120bb1b5e67bf5bf5aa0f6128450116aebc07b8d\",\"license\":\"MIT\"},\"contracts/interfaces/collections/IHasContracts.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.9;\\n\\nimport { ContractType } from \\\"../../utils/ContractType.sol\\\";\\n\\ninterface IHasContracts {\\n /// @dev Error of invalid role.\\n error ErrContractTypeNotFound(ContractType contractType);\\n\\n /// @dev Emitted when a contract is updated.\\n event ContractUpdated(ContractType indexed contractType, address indexed addr);\\n\\n /**\\n * @dev Returns the address of a contract with a specific role.\\n * Throws an error if no contract is set for the specified role.\\n *\\n * @param contractType The role of the contract to retrieve.\\n * @return contract_ The address of the contract with the specified role.\\n */\\n function getContract(ContractType contractType) external view returns (address contract_);\\n\\n /**\\n * @dev Sets the address of a contract with a specific role.\\n * Emits the event {ContractUpdated}.\\n * @param contractType The role of the contract to set.\\n * @param addr The address of the contract to set.\\n */\\n function setContract(ContractType contractType, address addr) external;\\n}\\n\",\"keccak256\":\"0x99d8213d857e30d367155abd15dc42730afdfbbac3a22dfb3b95ffea2083a92e\",\"license\":\"MIT\"},\"contracts/interfaces/consumers/ChainTypeConsumer.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\ninterface ChainTypeConsumer {\\n enum ChainType {\\n RoninChain,\\n Mainchain\\n }\\n}\\n\",\"keccak256\":\"0xe0d20e00c8d237f8e0fb881abf1ff1ef114173bcb428f06f689c581666a22db7\",\"license\":\"MIT\"},\"contracts/interfaces/consumers/SignatureConsumer.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\ninterface SignatureConsumer {\\n struct Signature {\\n uint8 v;\\n bytes32 r;\\n bytes32 s;\\n }\\n}\\n\",\"keccak256\":\"0xd370e350722067097dec1a5c31bda6e47e83417fa5c3288293bb910028cd136b\",\"license\":\"MIT\"},\"contracts/interfaces/consumers/VoteStatusConsumer.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\ninterface VoteStatusConsumer {\\n enum VoteStatus {\\n Pending,\\n Approved,\\n Executed,\\n Rejected,\\n Expired\\n }\\n}\\n\",\"keccak256\":\"0xa5045232c0c053fcf31fb3fe71942344444159c48d5f1b2063dbb06b6a1c9752\",\"license\":\"MIT\"},\"contracts/libraries/AddressArrayUtils.sol\":{\"content\":\"// SPDX-License-Identifier: UNLICENSED\\n\\npragma solidity ^0.8.0;\\n\\nlibrary AddressArrayUtils {\\n /**\\n * @dev Error thrown when a duplicated element is detected in an array.\\n * @param msgSig The function signature that invoke the error.\\n */\\n error ErrDuplicated(bytes4 msgSig);\\n\\n /**\\n * @dev Returns whether or not there's a duplicate. Runs in O(n^2).\\n * @param A Array to search\\n * @return Returns true if duplicate, false otherwise\\n */\\n function hasDuplicate(address[] memory A) internal pure returns (bool) {\\n if (A.length == 0) {\\n return false;\\n }\\n unchecked {\\n for (uint256 i = 0; i < A.length - 1; i++) {\\n for (uint256 j = i + 1; j < A.length; j++) {\\n if (A[i] == A[j]) {\\n return true;\\n }\\n }\\n }\\n }\\n return false;\\n }\\n\\n /**\\n * @dev Returns whether two arrays of addresses are equal or not.\\n */\\n function isEqual(address[] memory _this, address[] memory _other) internal pure returns (bool yes_) {\\n // Hashing two arrays and compare their hash\\n assembly {\\n let _thisHash := keccak256(add(_this, 32), mul(mload(_this), 32))\\n let _otherHash := keccak256(add(_other, 32), mul(mload(_other), 32))\\n yes_ := eq(_thisHash, _otherHash)\\n }\\n }\\n\\n /**\\n * @dev Return the concatenated array from a and b.\\n */\\n function extend(address[] memory a, address[] memory b) internal pure returns (address[] memory c) {\\n uint256 lengthA = a.length;\\n uint256 lengthB = b.length;\\n unchecked {\\n c = new address[](lengthA + lengthB);\\n }\\n uint256 i;\\n for (; i < lengthA; ) {\\n c[i] = a[i];\\n unchecked {\\n ++i;\\n }\\n }\\n for (uint256 j; j < lengthB; ) {\\n c[i] = b[j];\\n unchecked {\\n ++i;\\n ++j;\\n }\\n }\\n }\\n}\\n\",\"keccak256\":\"0xaf760162653a85d6e1b24df4d33c74076f778470112f421a02050fb981242001\",\"license\":\"UNLICENSED\"},\"contracts/libraries/Ballot.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport \\\"@openzeppelin/contracts/utils/cryptography/ECDSA.sol\\\";\\n\\nlibrary Ballot {\\n using ECDSA for bytes32;\\n\\n enum VoteType {\\n For,\\n Against\\n }\\n\\n // keccak256(\\\"Ballot(bytes32 proposalHash,uint8 support)\\\");\\n bytes32 private constant BALLOT_TYPEHASH = 0xd900570327c4c0df8dd6bdd522b7da7e39145dd049d2fd4602276adcd511e3c2;\\n\\n function hash(bytes32 _proposalHash, VoteType _support) internal pure returns (bytes32 digest) {\\n // return keccak256(abi.encode(BALLOT_TYPEHASH, _proposalHash, _support));\\n assembly {\\n let ptr := mload(0x40)\\n mstore(ptr, BALLOT_TYPEHASH)\\n mstore(add(ptr, 0x20), _proposalHash)\\n mstore(add(ptr, 0x40), _support)\\n digest := keccak256(ptr, 0x60)\\n }\\n }\\n}\\n\",\"keccak256\":\"0xaa1e66bcd86baa6f18c7c5e9b67496535f229cbd2e2ecb4c66bcbfed2b1365de\",\"license\":\"MIT\"},\"contracts/libraries/GlobalProposal.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport \\\"./Proposal.sol\\\";\\n\\nlibrary GlobalProposal {\\n /**\\n * @dev Error thrown when attempting to interact with an unsupported target.\\n */\\n error ErrUnsupportedTarget(bytes32 proposalHash, uint256 targetNumber);\\n\\n enum TargetOption {\\n /* 0 */ BridgeManager,\\n /* 1 */ GatewayContract,\\n /* 2 */ BridgeReward,\\n /* 3 */ BridgeSlash,\\n /* 4 */ BridgeTracking\\n }\\n\\n struct GlobalProposalDetail {\\n // Nonce to make sure proposals are executed in order\\n uint256 nonce;\\n uint256 expiryTimestamp;\\n TargetOption[] targetOptions;\\n uint256[] values;\\n bytes[] calldatas;\\n uint256[] gasAmounts;\\n }\\n\\n // keccak256(\\\"GlobalProposalDetail(uint256 nonce,uint256 expiryTimestamp,uint8[] targetOptions,uint256[] values,bytes[] calldatas,uint256[] gasAmounts)\\\");\\n bytes32 public constant TYPE_HASH = 0x1463f426c05aff2c1a7a0957a71c9898bc8b47142540538e79ee25ee91141350;\\n\\n /**\\n * @dev Returns struct hash of the proposal.\\n */\\n function hash(GlobalProposalDetail memory self) internal pure returns (bytes32 digest_) {\\n uint256[] memory values = self.values;\\n TargetOption[] memory targets = self.targetOptions;\\n bytes32[] memory calldataHashList = new bytes32[](self.calldatas.length);\\n uint256[] memory gasAmounts = self.gasAmounts;\\n\\n for (uint256 i; i < calldataHashList.length; ) {\\n calldataHashList[i] = keccak256(self.calldatas[i]);\\n\\n unchecked {\\n ++i;\\n }\\n }\\n\\n /*\\n * return\\n * keccak256(\\n * abi.encode(\\n * TYPE_HASH,\\n * _proposal.nonce,\\n * _proposal.expiryTimestamp,\\n * _targetsHash,\\n * _valuesHash,\\n * _calldatasHash,\\n * _gasAmountsHash\\n * )\\n * );\\n */\\n assembly {\\n let ptr := mload(0x40)\\n mstore(ptr, TYPE_HASH)\\n mstore(add(ptr, 0x20), mload(self)) // _proposal.nonce\\n mstore(add(ptr, 0x40), mload(add(self, 0x20))) // _proposal.expiryTimestamp\\n\\n let arrayHashed\\n arrayHashed := keccak256(add(targets, 32), mul(mload(targets), 32)) // targetsHash\\n mstore(add(ptr, 0x60), arrayHashed)\\n arrayHashed := keccak256(add(values, 32), mul(mload(values), 32)) // _valuesHash\\n mstore(add(ptr, 0x80), arrayHashed)\\n arrayHashed := keccak256(add(calldataHashList, 32), mul(mload(calldataHashList), 32)) // _calldatasHash\\n mstore(add(ptr, 0xa0), arrayHashed)\\n arrayHashed := keccak256(add(gasAmounts, 32), mul(mload(gasAmounts), 32)) // _gasAmountsHash\\n mstore(add(ptr, 0xc0), arrayHashed)\\n digest_ := keccak256(ptr, 0xe0)\\n }\\n }\\n\\n /**\\n * @dev Converts into the normal proposal.\\n */\\n function intoProposalDetail(\\n GlobalProposalDetail memory self,\\n address[] memory targets\\n ) internal pure returns (Proposal.ProposalDetail memory detail_) {\\n detail_.nonce = self.nonce;\\n detail_.expiryTimestamp = self.expiryTimestamp;\\n detail_.chainId = 0;\\n detail_.targets = new address[](self.targetOptions.length);\\n detail_.values = self.values;\\n detail_.calldatas = self.calldatas;\\n detail_.gasAmounts = self.gasAmounts;\\n\\n for (uint256 i; i < self.targetOptions.length; ) {\\n detail_.targets[i] = targets[i];\\n unchecked {\\n ++i;\\n }\\n }\\n }\\n}\\n\",\"keccak256\":\"0x2716e1baf467abab71d89efa01ce0dc9164531ab4221d2758233a81b6d906474\",\"license\":\"MIT\"},\"contracts/libraries/Proposal.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport { ErrInvalidChainId, ErrLengthMismatch } from \\\"../utils/CommonErrors.sol\\\";\\n\\nlibrary Proposal {\\n /**\\n * @dev Error thrown when there is insufficient gas to execute a function.\\n */\\n error ErrInsufficientGas(bytes32 proposalHash);\\n\\n /**\\n * @dev Error thrown when an invalid expiry timestamp is provided.\\n */\\n error ErrInvalidExpiryTimestamp();\\n\\n struct ProposalDetail {\\n // Nonce to make sure proposals are executed in order\\n uint256 nonce;\\n // Value 0: all chain should run this proposal\\n // Other values: only specifc chain has to execute\\n uint256 chainId;\\n uint256 expiryTimestamp;\\n address[] targets;\\n uint256[] values;\\n bytes[] calldatas;\\n uint256[] gasAmounts;\\n }\\n\\n // keccak256(\\\"ProposalDetail(uint256 nonce,uint256 chainId,uint256 expiryTimestamp,address[] targets,uint256[] values,bytes[] calldatas,uint256[] gasAmounts)\\\");\\n bytes32 public constant TYPE_HASH = 0xd051578048e6ff0bbc9fca3b65a42088dbde10f36ca841de566711087ad9b08a;\\n\\n /**\\n * @dev Validates the proposal.\\n */\\n function validate(ProposalDetail memory _proposal, uint256 _maxExpiryDuration) internal view {\\n if (\\n !(_proposal.targets.length > 0 &&\\n _proposal.targets.length == _proposal.values.length &&\\n _proposal.targets.length == _proposal.calldatas.length &&\\n _proposal.targets.length == _proposal.gasAmounts.length)\\n ) {\\n revert ErrLengthMismatch(msg.sig);\\n }\\n\\n if (_proposal.expiryTimestamp > block.timestamp + _maxExpiryDuration) {\\n revert ErrInvalidExpiryTimestamp();\\n }\\n }\\n\\n /**\\n * @dev Returns struct hash of the proposal.\\n */\\n function hash(ProposalDetail memory _proposal) internal pure returns (bytes32 digest_) {\\n uint256[] memory _values = _proposal.values;\\n address[] memory _targets = _proposal.targets;\\n bytes32[] memory _calldataHashList = new bytes32[](_proposal.calldatas.length);\\n uint256[] memory _gasAmounts = _proposal.gasAmounts;\\n\\n for (uint256 _i; _i < _calldataHashList.length; ) {\\n _calldataHashList[_i] = keccak256(_proposal.calldatas[_i]);\\n\\n unchecked {\\n ++_i;\\n }\\n }\\n\\n // return\\n // keccak256(\\n // abi.encode(\\n // TYPE_HASH,\\n // _proposal.nonce,\\n // _proposal.chainId,\\n // _targetsHash,\\n // _valuesHash,\\n // _calldatasHash,\\n // _gasAmountsHash\\n // )\\n // );\\n // /\\n assembly {\\n let ptr := mload(0x40)\\n mstore(ptr, TYPE_HASH)\\n mstore(add(ptr, 0x20), mload(_proposal)) // _proposal.nonce\\n mstore(add(ptr, 0x40), mload(add(_proposal, 0x20))) // _proposal.chainId\\n mstore(add(ptr, 0x60), mload(add(_proposal, 0x40))) // expiry timestamp\\n\\n let arrayHashed\\n arrayHashed := keccak256(add(_targets, 32), mul(mload(_targets), 32)) // targetsHash\\n mstore(add(ptr, 0x80), arrayHashed)\\n arrayHashed := keccak256(add(_values, 32), mul(mload(_values), 32)) // _valuesHash\\n mstore(add(ptr, 0xa0), arrayHashed)\\n arrayHashed := keccak256(add(_calldataHashList, 32), mul(mload(_calldataHashList), 32)) // _calldatasHash\\n mstore(add(ptr, 0xc0), arrayHashed)\\n arrayHashed := keccak256(add(_gasAmounts, 32), mul(mload(_gasAmounts), 32)) // _gasAmountsHash\\n mstore(add(ptr, 0xe0), arrayHashed)\\n digest_ := keccak256(ptr, 0x100)\\n }\\n }\\n\\n /**\\n * @dev Returns whether the proposal is executable for the current chain.\\n *\\n * @notice Does not check whether the call result is successful or not. Please use `execute` instead.\\n *\\n */\\n function executable(ProposalDetail memory _proposal) internal view returns (bool _result) {\\n return _proposal.chainId == 0 || _proposal.chainId == block.chainid;\\n }\\n\\n /**\\n * @dev Executes the proposal.\\n */\\n function execute(\\n ProposalDetail memory _proposal\\n ) internal returns (bool[] memory _successCalls, bytes[] memory _returnDatas) {\\n if (!executable(_proposal)) revert ErrInvalidChainId(msg.sig, _proposal.chainId, block.chainid);\\n\\n _successCalls = new bool[](_proposal.targets.length);\\n _returnDatas = new bytes[](_proposal.targets.length);\\n for (uint256 _i = 0; _i < _proposal.targets.length; ) {\\n if (gasleft() <= _proposal.gasAmounts[_i]) revert ErrInsufficientGas(hash(_proposal));\\n\\n (_successCalls[_i], _returnDatas[_i]) = _proposal.targets[_i].call{\\n value: _proposal.values[_i],\\n gas: _proposal.gasAmounts[_i]\\n }(_proposal.calldatas[_i]);\\n\\n unchecked {\\n ++_i;\\n }\\n }\\n }\\n}\\n\",\"keccak256\":\"0xbc29aa4e69db7eef0034fdb795181124f86bcf2bc07b5e4a202100dbdce7f7a1\",\"license\":\"MIT\"},\"contracts/mainchain/MainchainBridgeManager.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport { CoreGovernance } from \\\"../extensions/sequential-governance/CoreGovernance.sol\\\";\\nimport { GlobalCoreGovernance, GlobalGovernanceRelay } from \\\"../extensions/sequential-governance/governance-relay/GlobalGovernanceRelay.sol\\\";\\nimport { GovernanceRelay } from \\\"../extensions/sequential-governance/governance-relay/GovernanceRelay.sol\\\";\\nimport { ContractType, BridgeManager } from \\\"../extensions/bridge-operator-governance/BridgeManager.sol\\\";\\nimport { Ballot } from \\\"../libraries/Ballot.sol\\\";\\nimport { Proposal } from \\\"../libraries/Proposal.sol\\\";\\nimport { GlobalProposal } from \\\"../libraries/GlobalProposal.sol\\\";\\nimport \\\"../utils/CommonErrors.sol\\\";\\n\\ncontract MainchainBridgeManager is BridgeManager, GovernanceRelay, GlobalGovernanceRelay {\\n uint256 private constant DEFAULT_EXPIRY_DURATION = 1 << 255;\\n\\n constructor(\\n uint256 num,\\n uint256 denom,\\n uint256 roninChainId,\\n address bridgeContract,\\n address[] memory callbackRegisters,\\n address[] memory bridgeOperators,\\n address[] memory governors,\\n uint96[] memory voteWeights,\\n GlobalProposal.TargetOption[] memory targetOptions,\\n address[] memory targets\\n )\\n payable\\n CoreGovernance(DEFAULT_EXPIRY_DURATION)\\n GlobalCoreGovernance(targetOptions, targets)\\n BridgeManager(num, denom, roninChainId, bridgeContract, callbackRegisters, bridgeOperators, governors, voteWeights)\\n {}\\n\\n /**\\n * @dev See `GovernanceRelay-_relayProposal`.\\n *\\n * Requirements:\\n * - The method caller is governor.\\n */\\n function relayProposal(\\n Proposal.ProposalDetail calldata proposal,\\n Ballot.VoteType[] calldata supports_,\\n Signature[] calldata signatures\\n ) external onlyGovernor {\\n _relayProposal(proposal, supports_, signatures, DOMAIN_SEPARATOR, msg.sender);\\n }\\n\\n /**\\n * @dev See `GovernanceRelay-_relayGlobalProposal`.\\n *\\n * Requirements:\\n * - The method caller is governor.\\n */\\n function relayGlobalProposal(\\n GlobalProposal.GlobalProposalDetail calldata globalProposal,\\n Ballot.VoteType[] calldata supports_,\\n Signature[] calldata signatures\\n ) external onlyGovernor {\\n _relayGlobalProposal({\\n globalProposal: globalProposal,\\n supports_: supports_,\\n signatures: signatures,\\n domainSeparator: DOMAIN_SEPARATOR,\\n creator: msg.sender\\n });\\n }\\n\\n /**\\n * @dev Internal function to retrieve the minimum vote weight required for governance actions.\\n * @return minimumVoteWeight The minimum vote weight required for governance actions.\\n */\\n function _getMinimumVoteWeight() internal view override returns (uint256) {\\n return minimumVoteWeight();\\n }\\n\\n /**\\n * @dev Returns the expiry duration for a new proposal.\\n */\\n function getProposalExpiryDuration() external view returns (uint256) {\\n return _getProposalExpiryDuration();\\n }\\n\\n /**\\n * @dev Internal function to retrieve the total weights of all governors.\\n * @return totalWeights The total weights of all governors combined.\\n */\\n function _getTotalWeight() internal view override returns (uint256) {\\n return getTotalWeight();\\n }\\n\\n /**\\n * @dev Internal function to calculate the sum of weights for a given array of governors.\\n * @param governors An array containing the addresses of governors to calculate the sum of weights.\\n * @return sumWeights The sum of weights for the provided governors.\\n */\\n function _sumWeight(address[] memory governors) internal view override returns (uint256) {\\n return _sumGovernorsWeight(governors);\\n }\\n\\n /**\\n * @dev Internal function to retrieve the chain type of the contract.\\n * @return chainType The chain type, indicating the type of the chain the contract operates on (e.g., Mainchain).\\n */\\n function _getChainType() internal pure override returns (ChainType) {\\n return ChainType.Mainchain;\\n }\\n}\\n\",\"keccak256\":\"0xb365eb9fefd1c284a86aa97f0bd0d7eb5406d09c87832d1048b2c18d6c08d48a\",\"license\":\"MIT\"},\"contracts/types/Types.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport { LibTUint256Slot } from \\\"./operations/LibTUint256Slot.sol\\\";\\n\\ntype TUint256Slot is bytes32;\\n\\nusing {\\n LibTUint256Slot.add,\\n LibTUint256Slot.sub,\\n LibTUint256Slot.mul,\\n LibTUint256Slot.div,\\n LibTUint256Slot.load,\\n LibTUint256Slot.store,\\n LibTUint256Slot.addAssign,\\n LibTUint256Slot.subAssign,\\n LibTUint256Slot.preDecrement,\\n LibTUint256Slot.postDecrement,\\n LibTUint256Slot.preIncrement,\\n LibTUint256Slot.postIncrement\\n} for TUint256Slot global;\\n\",\"keccak256\":\"0x20ab58f1c9ae4936f9dd9891d064301d78ef508c1dd2ce0c19a7b5b81d530e36\",\"license\":\"MIT\"},\"contracts/types/operations/LibTUint256Slot.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.17;\\n\\nimport { TUint256Slot } from \\\"../Types.sol\\\";\\n\\n/**\\n * @title LibTUint256Slot\\n * @dev Library for handling unsigned 256-bit integers.\\n */\\nlibrary LibTUint256Slot {\\n /// @dev value is equal to bytes4(keccak256(\\\"Panic(uint256)\\\"))\\n /// @dev see: https://github.com/foundry-rs/forge-std/blob/master/src/StdError.sol\\n uint256 private constant PANIC_ERROR_SIGNATURE = 0x4e487b71;\\n /// @dev error code for {Arithmetic over/underflow} error\\n uint256 private constant ARITHMETIC_ERROR_CODE = 0x11;\\n /// @dev error code for {Division or modulo by 0} error\\n uint256 private constant DIVISION_ERROR_CODE = 0x12;\\n\\n /**\\n * @dev Loads the value of the TUint256Slot variable.\\n * @param self The TUint256Slot variable.\\n * @return val The loaded value.\\n */\\n function load(TUint256Slot self) internal view returns (uint256 val) {\\n assembly {\\n val := sload(self)\\n }\\n }\\n\\n /**\\n * @dev Stores a value into the TUint256Slot variable.\\n * @param self The TUint256Slot variable.\\n * @param other The value to be stored.\\n */\\n function store(TUint256Slot self, uint256 other) internal {\\n assembly {\\n sstore(self, other)\\n }\\n }\\n\\n /**\\n * @dev Multiplies the TUint256Slot variable by a given value.\\n * @param self The TUint256Slot variable.\\n * @param other The value to multiply by.\\n * @return res The resulting value after multiplication.\\n */\\n function mul(TUint256Slot self, uint256 other) internal view returns (uint256 res) {\\n assembly {\\n let storedVal := sload(self)\\n if iszero(iszero(storedVal)) {\\n res := mul(storedVal, other)\\n\\n // Overflow check\\n if iszero(eq(other, div(res, storedVal))) {\\n // Store 4 bytes the function selector of Panic(uint256)\\n // Equivalent to revert Panic(uint256)\\n mstore(0x00, PANIC_ERROR_SIGNATURE)\\n // Store 4 bytes of division error code in the next slot\\n mstore(0x20, ARITHMETIC_ERROR_CODE)\\n // Revert 36 bytes of error starting from 0x1c\\n revert(0x1c, 0x24)\\n }\\n }\\n }\\n }\\n\\n /**\\n * @dev Divides the TUint256Slot variable by a given value.\\n * @param self The TUint256Slot variable.\\n * @param other The value to divide by.\\n * @return res The resulting value after division.\\n */\\n function div(TUint256Slot self, uint256 other) internal view returns (uint256 res) {\\n assembly {\\n let storedVal := sload(self)\\n // revert if divide by zero\\n if iszero(other) {\\n // Store 4 bytes the function selector of Panic(uint256)\\n // Equivalent to revert Panic(uint256)\\n mstore(0x00, PANIC_ERROR_SIGNATURE)\\n // Store 4 bytes of division error code in the next slot\\n mstore(0x20, DIVISION_ERROR_CODE)\\n // Revert 36 bytes of error starting from 0x1c\\n revert(0x1c, 0x24)\\n }\\n res := div(storedVal, other)\\n }\\n }\\n\\n /**\\n * @dev Subtracts a given value from the TUint256Slot variable.\\n * @param self The TUint256Slot variable.\\n * @param other The value to subtract.\\n * @return res The resulting value after subtraction.\\n */\\n function sub(TUint256Slot self, uint256 other) internal view returns (uint256 res) {\\n assembly {\\n let storedVal := sload(self)\\n\\n // Underflow check\\n if lt(storedVal, other) {\\n // Store 4 bytes the function selector of Panic(uint256)\\n // Equivalent to revert Panic(uint256)\\n mstore(0x00, PANIC_ERROR_SIGNATURE)\\n // Store 4 bytes of division error code in the next slot\\n mstore(0x20, ARITHMETIC_ERROR_CODE)\\n // Revert 36 bytes of error starting from 0x1c\\n revert(0x1c, 0x24)\\n }\\n\\n res := sub(storedVal, other)\\n }\\n }\\n\\n /**\\n * @dev Adds a given value to the TUint256Slot variable.\\n * @param self The TUint256Slot variable.\\n * @param other The value to add.\\n * @return res The resulting value after addition.\\n */\\n function add(TUint256Slot self, uint256 other) internal view returns (uint256 res) {\\n assembly {\\n let storedVal := sload(self)\\n res := add(storedVal, other)\\n\\n // Overflow check\\n if lt(res, other) {\\n // Store 4 bytes the function selector of Panic(uint256)\\n // Equivalent to revert Panic(uint256)\\n mstore(0x00, PANIC_ERROR_SIGNATURE)\\n // Store 4 bytes of division error code in the next slot\\n mstore(0x20, ARITHMETIC_ERROR_CODE)\\n // Revert 36 bytes of error starting from 0x1c\\n revert(0x1c, 0x24)\\n }\\n }\\n }\\n\\n /**\\n * @dev Increments the TUint256Slot variable by 1 and returns the new value.\\n * @param self The TUint256Slot variable.\\n * @return res The resulting value after incrementing.\\n */\\n function preIncrement(TUint256Slot self) internal returns (uint256 res) {\\n res = addAssign(self, 1);\\n }\\n\\n /**\\n * @dev Increments the TUint256Slot variable by 1 and returns the original value.\\n * @param self The TUint256Slot variable.\\n * @return res The original value before incrementing.\\n */\\n function postIncrement(TUint256Slot self) internal returns (uint256 res) {\\n res = load(self);\\n store(self, res + 1);\\n }\\n\\n /**\\n * @dev Decrements the TUint256Slot variable by 1 and returns the new value.\\n * @param self The TUint256Slot variable.\\n * @return res The resulting value after decrementing.\\n */\\n function preDecrement(TUint256Slot self) internal returns (uint256 res) {\\n res = subAssign(self, 1);\\n }\\n\\n /**\\n * @dev Decrements the TUint256Slot variable by 1 and returns the new value.\\n * @param self The TUint256Slot variable.\\n * @return res The resulting value before decrementing.\\n */\\n function postDecrement(TUint256Slot self) internal returns (uint256 res) {\\n res = load(self);\\n store(self, res - 1);\\n }\\n\\n /**\\n * @dev Adds a given value to the TUint256Slot variable and stores the result.\\n * @param self The TUint256Slot variable.\\n * @param other The value to add.\\n * @return res The resulting value after addition and storage.\\n */\\n function addAssign(TUint256Slot self, uint256 other) internal returns (uint256 res) {\\n store(self, res = add(self, other));\\n }\\n\\n /**\\n * @dev Subtracts a given value from the TUint256Slot variable and stores the result.\\n * @param self The TUint256Slot variable.\\n * @param other The value to subtract.\\n * @return res The resulting value after subtraction and storage.\\n */\\n function subAssign(TUint256Slot self, uint256 other) internal returns (uint256 res) {\\n store(self, res = sub(self, other));\\n }\\n}\\n\",\"keccak256\":\"0xe10c089459baf373494d76b00e582d49f6e43c500ab0f1657d53afc2fa472cbb\",\"license\":\"MIT\"},\"contracts/utils/CommonErrors.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport { ContractType } from \\\"./ContractType.sol\\\";\\nimport { RoleAccess } from \\\"./RoleAccess.sol\\\";\\n\\nerror ErrSyncTooFarPeriod(uint256 period, uint256 latestRewardedPeriod);\\n/**\\n * @dev Error thrown when an address is expected to be an already created externally owned account (EOA).\\n * This error indicates that the provided address is invalid for certain contract operations that require already created EOA.\\n */\\nerror ErrAddressIsNotCreatedEOA(address addr, bytes32 codehash);\\n/**\\n * @dev Error raised when a bridge operator update operation fails.\\n * @param bridgeOperator The address of the bridge operator that failed to update.\\n */\\nerror ErrBridgeOperatorUpdateFailed(address bridgeOperator);\\n/**\\n * @dev Error thrown when attempting to add a bridge operator that already exists in the contract.\\n * This error indicates that the provided bridge operator address is already registered as a bridge operator in the contract.\\n */\\nerror ErrBridgeOperatorAlreadyExisted(address bridgeOperator);\\n/**\\n * @dev The error indicating an unsupported interface.\\n * @param interfaceId The bytes4 interface identifier that is not supported.\\n * @param addr The address where the unsupported interface was encountered.\\n */\\nerror ErrUnsupportedInterface(bytes4 interfaceId, address addr);\\n/**\\n * @dev Error thrown when the return data from a callback function is invalid.\\n * @param callbackFnSig The signature of the callback function that returned invalid data.\\n * @param register The address of the register where the callback function was invoked.\\n * @param returnData The invalid return data received from the callback function.\\n */\\nerror ErrInvalidReturnData(bytes4 callbackFnSig, address register, bytes returnData);\\n/**\\n * @dev Error of set to non-contract.\\n */\\nerror ErrZeroCodeContract(address addr);\\n/**\\n * @dev Error indicating that arguments are invalid.\\n */\\nerror ErrInvalidArguments(bytes4 msgSig);\\n/**\\n * @dev Error indicating that given address is null when it should not.\\n */\\nerror ErrZeroAddress(bytes4 msgSig);\\n/**\\n * @dev Error indicating that the provided threshold is invalid for a specific function signature.\\n * @param msgSig The function signature (bytes4) that the invalid threshold applies to.\\n */\\nerror ErrInvalidThreshold(bytes4 msgSig);\\n\\n/**\\n * @dev Error indicating that a function can only be called by the contract itself.\\n * @param msgSig The function signature (bytes4) that can only be called by the contract itself.\\n */\\nerror ErrOnlySelfCall(bytes4 msgSig);\\n\\n/**\\n * @dev Error indicating that the caller is unauthorized to perform a specific function.\\n * @param msgSig The function signature (bytes4) that the caller is unauthorized to perform.\\n * @param expectedRole The role required to perform the function.\\n */\\nerror ErrUnauthorized(bytes4 msgSig, RoleAccess expectedRole);\\n\\n/**\\n * @dev Error indicating that the caller is unauthorized to perform a specific function.\\n * @param msgSig The function signature (bytes4) that the caller is unauthorized to perform.\\n */\\nerror ErrUnauthorizedCall(bytes4 msgSig);\\n\\n/**\\n * @dev Error indicating that the caller is unauthorized to perform a specific function.\\n * @param msgSig The function signature (bytes4).\\n * @param expectedContractType The contract type required to perform the function.\\n * @param actual The actual address that called to the function.\\n */\\nerror ErrUnexpectedInternalCall(bytes4 msgSig, ContractType expectedContractType, address actual);\\n\\n/**\\n * @dev Error indicating that an array is empty when it should contain elements.\\n */\\nerror ErrEmptyArray();\\n\\n/**\\n * @dev Error indicating a mismatch in the length of input parameters or arrays for a specific function.\\n * @param msgSig The function signature (bytes4) that has a length mismatch.\\n */\\nerror ErrLengthMismatch(bytes4 msgSig);\\n\\n/**\\n * @dev Error indicating that a proxy call to an external contract has failed.\\n * @param msgSig The function signature (bytes4) of the proxy call that failed.\\n * @param extCallSig The function signature (bytes4) of the external contract call that failed.\\n */\\nerror ErrProxyCallFailed(bytes4 msgSig, bytes4 extCallSig);\\n\\n/**\\n * @dev Error indicating that a function tried to call a precompiled contract that is not allowed.\\n * @param msgSig The function signature (bytes4) that attempted to call a precompiled contract.\\n */\\nerror ErrCallPrecompiled(bytes4 msgSig);\\n\\n/**\\n * @dev Error indicating that a native token transfer has failed.\\n * @param msgSig The function signature (bytes4) of the token transfer that failed.\\n */\\nerror ErrNativeTransferFailed(bytes4 msgSig);\\n\\n/**\\n * @dev Error indicating that an order is invalid.\\n * @param msgSig The function signature (bytes4) of the operation that encountered an invalid order.\\n */\\nerror ErrInvalidOrder(bytes4 msgSig);\\n\\n/**\\n * @dev Error indicating that the chain ID is invalid.\\n * @param msgSig The function signature (bytes4) of the operation that encountered an invalid chain ID.\\n * @param actual Current chain ID that executing function.\\n * @param expected Expected chain ID required for the tx to success.\\n */\\nerror ErrInvalidChainId(bytes4 msgSig, uint256 actual, uint256 expected);\\n\\n/**\\n * @dev Error indicating that a vote type is not supported.\\n * @param msgSig The function signature (bytes4) of the operation that encountered an unsupported vote type.\\n */\\nerror ErrUnsupportedVoteType(bytes4 msgSig);\\n\\n/**\\n * @dev Error indicating that the proposal nonce is invalid.\\n * @param msgSig The function signature (bytes4) of the operation that encountered an invalid proposal nonce.\\n */\\nerror ErrInvalidProposalNonce(bytes4 msgSig);\\n\\n/**\\n * @dev Error indicating that a voter has already voted.\\n * @param voter The address of the voter who has already voted.\\n */\\nerror ErrAlreadyVoted(address voter);\\n\\n/**\\n * @dev Error indicating that a signature is invalid for a specific function signature.\\n * @param msgSig The function signature (bytes4) that encountered an invalid signature.\\n */\\nerror ErrInvalidSignatures(bytes4 msgSig);\\n\\n/**\\n * @dev Error indicating that a relay call has failed.\\n * @param msgSig The function signature (bytes4) of the relay call that failed.\\n */\\nerror ErrRelayFailed(bytes4 msgSig);\\n/**\\n * @dev Error indicating that a vote weight is invalid for a specific function signature.\\n * @param msgSig The function signature (bytes4) that encountered an invalid vote weight.\\n */\\nerror ErrInvalidVoteWeight(bytes4 msgSig);\\n\\n/**\\n * @dev Error indicating that a query was made for an outdated bridge operator set.\\n */\\nerror ErrQueryForOutdatedBridgeOperatorSet();\\n\\n/**\\n * @dev Error indicating that a request is invalid.\\n */\\nerror ErrInvalidRequest();\\n\\n/**\\n * @dev Error indicating that a token standard is invalid.\\n */\\nerror ErrInvalidTokenStandard();\\n\\n/**\\n * @dev Error indicating that a token is not supported.\\n */\\nerror ErrUnsupportedToken();\\n\\n/**\\n * @dev Error indicating that a receipt kind is invalid.\\n */\\nerror ErrInvalidReceiptKind();\\n\\n/**\\n * @dev Error indicating that a receipt is invalid.\\n */\\nerror ErrInvalidReceipt();\\n\\n/**\\n * @dev Error indicating that an address is not payable.\\n */\\nerror ErrNonpayableAddress(address);\\n\\n/**\\n * @dev Error indicating that the period is already processed, i.e. scattered reward.\\n */\\nerror ErrPeriodAlreadyProcessed(uint256 requestingPeriod, uint256 latestPeriod);\\n\\n/**\\n * @dev Error thrown when an invalid vote hash is provided.\\n */\\nerror ErrInvalidVoteHash();\\n\\n/**\\n * @dev Error thrown when querying for an empty vote.\\n */\\nerror ErrQueryForEmptyVote();\\n\\n/**\\n * @dev Error thrown when querying for an expired vote.\\n */\\nerror ErrQueryForExpiredVote();\\n\\n/**\\n * @dev Error thrown when querying for a non-existent vote.\\n */\\nerror ErrQueryForNonExistentVote();\\n\\n/**\\n * @dev Error indicating that the method is only called once per block.\\n */\\nerror ErrOncePerBlock();\\n\\n/**\\n * @dev Error of method caller must be coinbase\\n */\\nerror ErrCallerMustBeCoinbase();\\n\",\"keccak256\":\"0x22942c8fea2d1ca863ac1f9c1662d714b8ac0856684e36f8aaf19508648c1053\",\"license\":\"MIT\"},\"contracts/utils/ContractType.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nenum ContractType {\\n /* 0 */ UNKNOWN,\\n /* 1 */ PAUSE_ENFORCER,\\n /* 2 */ BRIDGE,\\n /* 3 */ BRIDGE_TRACKING,\\n /* 4 */ GOVERNANCE_ADMIN,\\n /* 5 */ MAINTENANCE,\\n /* 6 */ SLASH_INDICATOR,\\n /* 7 */ STAKING_VESTING,\\n /* 8 */ VALIDATOR,\\n /* 9 */ STAKING,\\n /* 10 */ RONIN_TRUSTED_ORGANIZATION,\\n /* 11 */ BRIDGE_MANAGER,\\n /* 12 */ BRIDGE_SLASH,\\n /* 13 */ BRIDGE_REWARD,\\n /* 14 */ FAST_FINALITY_TRACKING,\\n /* 15 */ PROFILE\\n}\\n\",\"keccak256\":\"0x7f547a44265f4c4b03d8971f7fc5eaa2e6064ea8cd509c1b761108f9800dab68\",\"license\":\"MIT\"},\"contracts/utils/IdentityGuard.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport { AddressArrayUtils } from \\\"../libraries/AddressArrayUtils.sol\\\";\\nimport { IERC165 } from \\\"@openzeppelin/contracts/utils/introspection/IERC165.sol\\\";\\nimport { TransparentUpgradeableProxyV2 } from \\\"../extensions/TransparentUpgradeableProxyV2.sol\\\";\\nimport { ErrAddressIsNotCreatedEOA, ErrZeroAddress, ErrOnlySelfCall, ErrZeroCodeContract, ErrUnsupportedInterface } from \\\"./CommonErrors.sol\\\";\\n\\nabstract contract IdentityGuard {\\n using AddressArrayUtils for address[];\\n\\n /// @dev value is equal to keccak256(abi.encode())\\n /// @dev see: https://eips.ethereum.org/EIPS/eip-1052\\n bytes32 internal constant CREATED_ACCOUNT_HASH = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;\\n\\n /**\\n * @dev Modifier to restrict functions to only be called by this contract.\\n * @dev Reverts if the caller is not this contract.\\n */\\n modifier onlySelfCall() virtual {\\n _requireSelfCall();\\n _;\\n }\\n\\n /**\\n * @dev Modifier to ensure that the elements in the `arr` array are non-duplicates.\\n * It calls the internal `_checkDuplicate` function to perform the duplicate check.\\n *\\n * Requirements:\\n * - The elements in the `arr` array must not contain any duplicates.\\n */\\n modifier nonDuplicate(address[] memory arr) virtual {\\n _requireNonDuplicate(arr);\\n _;\\n }\\n\\n /**\\n * @dev Internal method to check the method caller.\\n * @dev Reverts if the method caller is not this contract.\\n */\\n function _requireSelfCall() internal view virtual {\\n if (msg.sender != address(this)) revert ErrOnlySelfCall(msg.sig);\\n }\\n\\n /**\\n * @dev Internal function to check if a contract address has code.\\n * @param addr The address of the contract to check.\\n * @dev Throws an error if the contract address has no code.\\n */\\n function _requireHasCode(address addr) internal view {\\n if (addr.code.length == 0) revert ErrZeroCodeContract(addr);\\n }\\n\\n /**\\n * @dev Checks if an address is zero and reverts if it is.\\n * @param addr The address to check.\\n */\\n function _requireNonZeroAddress(address addr) internal pure {\\n if (addr == address(0)) revert ErrZeroAddress(msg.sig);\\n }\\n\\n /**\\n * @dev Check if arr is empty and revert if it is.\\n * Checks if an array contains any duplicate addresses and reverts if duplicates are found.\\n * @param arr The array of addresses to check.\\n */\\n function _requireNonDuplicate(address[] memory arr) internal pure {\\n if (arr.hasDuplicate()) revert AddressArrayUtils.ErrDuplicated(msg.sig);\\n }\\n\\n /**\\n * @dev Internal function to require that the provided address is a created externally owned account (EOA).\\n * This internal function is used to ensure that the provided address is a valid externally owned account (EOA).\\n * It checks the codehash of the address against a predefined constant to confirm that the address is a created EOA.\\n * @notice This method only works with non-state EOA accounts\\n */\\n function _requireCreatedEOA(address addr) internal view {\\n _requireNonZeroAddress(addr);\\n bytes32 codehash = addr.codehash;\\n if (codehash != CREATED_ACCOUNT_HASH) revert ErrAddressIsNotCreatedEOA(addr, codehash);\\n }\\n\\n /**\\n * @dev Internal function to require that the specified contract supports the given interface. This method handle in\\n * both case that the callee is either or not the proxy admin of the caller. If the contract does not support the\\n * interface `interfaceId` or EIP165, a revert with the corresponding error message is triggered.\\n *\\n * @param contractAddr The address of the contract to check for interface support.\\n * @param interfaceId The interface ID to check for support.\\n */\\n function _requireSupportsInterface(address contractAddr, bytes4 interfaceId) internal view {\\n bytes memory supportsInterfaceParams = abi.encodeCall(IERC165.supportsInterface, (interfaceId));\\n (bool success, bytes memory returnOrRevertData) = contractAddr.staticcall(supportsInterfaceParams);\\n if (!success) {\\n (success, returnOrRevertData) = contractAddr.staticcall(\\n abi.encodeCall(TransparentUpgradeableProxyV2.functionDelegateCall, (supportsInterfaceParams))\\n );\\n if (!success) revert ErrUnsupportedInterface(interfaceId, contractAddr);\\n }\\n if (!abi.decode(returnOrRevertData, (bool))) revert ErrUnsupportedInterface(interfaceId, contractAddr);\\n }\\n}\\n\",\"keccak256\":\"0x2d0dfcef3636945bc1785c1fa5a05f5203c79cbb81b2eee92a3ac6a2378c2ce5\",\"license\":\"MIT\"},\"contracts/utils/RoleAccess.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nenum RoleAccess {\\n /* 0 */ UNKNOWN,\\n /* 1 */ ADMIN,\\n /* 2 */ COINBASE,\\n /* 3 */ GOVERNOR,\\n /* 4 */ CANDIDATE_ADMIN,\\n /* 5 */ WITHDRAWAL_MIGRATOR,\\n /* 6 */ __DEPRECATED_BRIDGE_OPERATOR,\\n /* 7 */ BLOCK_PRODUCER,\\n /* 8 */ VALIDATOR_CANDIDATE,\\n /* 9 */ CONSENSUS,\\n /* 10 */ TREASURY\\n}\\n\",\"keccak256\":\"0x7da4631824b53be17e246102ad59458f91f2395710561ac9bface18d35fb2502\",\"license\":\"MIT\"}},\"version\":1}", - "bytecode": "0x60a06040526040516200668038038062006680833981016040819052620000269162001625565b8181600160ff1b8c8c8c8c8c8c8c8c836200004181620001bd565b50506200007060016000805160206200666083398151915260001b620002da60201b62000ed61790919060201c565b6200007c8888620002de565b506200008c90506002866200044e565b604080516020808201839052600c60608301526b212924a223a2afa0a226a4a760a11b6080808401919091528284018a905283518084038201815260a0840185528051908301207f599a80fcaa47b95e2323ab4d34d34e0cc9feda4b843edafcc30c7bdf60ea15bf60c08501527f9d3fa1662ea89365eb7af36506f0ad5413bd7e078960d8481ff4718763aaa8e960e08501527fad7c5bef027816a800da1736444fb58a807ef4c9603b7848673f7e3a68eb14a561010085015261012080850191909152845180850390910181526101409093019093528151910120905262000177818385620004f8565b50505050505050505062000191816200098b60201b60201c565b506200019f600030620009be565b620001ab828262000a5a565b50505050505050505050505062001a6e565b606081620001cb8162000b1d565b8251806001600160401b03811115620001e857620001e862001444565b60405190808252806020026020018201604052801562000212578160200160208202803683370190505b50925080600003620002255750620002d4565b6000805160206200662083398151915260006314d72edb60e21b815b84811015620002ce578781815181106200025f576200025f62001760565b602002602001015192506200027a8362000b6460201b60201c565b62000286838362000b9c565b620002a0838562000d7b60201b62000eda1790919060201c565b878281518110620002b557620002b562001760565b9115156020928302919091019091015260010162000241565b50505050505b50919050565b9055565b6000808284111562000316576040516387f6f09560e01b81526001600160e01b03196000351660048201526024015b60405180910390fd5b6200033e6000805160206200664083398151915260001b62000d9b60201b62000eef1760201c565b9150620003797fac1ff16a4f04f2a37a9ba5252a69baa100b460e517d1f8019c054a5ad698f9ff60001b62000d9b60201b62000eef1760201c565b9050620003a7846000805160206200664083398151915260001b620002da60201b62000ed61790919060201c565b620003e4837fac1ff16a4f04f2a37a9ba5252a69baa100b460e517d1f8019c054a5ad698f9ff60001b620002da60201b62000ed61790919060201c565b82846200040e6000805160206200666083398151915260001b62000d9f60201b62000ef31760201c565b60408051868152602081018690527f976f8a9c5bdf8248dec172376d6e2b80a8e3df2f0328e381c6db8e1cf138c0f8910160405180910390a49250929050565b807fdea3103d22025c269050bea94c0c84688877f12fa22b7e6d2d5d78a9a49aa1cb600084600f81111562000487576200048762001776565b60ff168152602081019190915260400160002080546001600160a01b0319166001600160a01b03928316179055811682600f811115620004cb57620004cb62001776565b6040517f865d1c228a8ea13709cfe61f346f7ff67f1bbd4a18ff31ad3e7147350d317c5990600090a35050565b606062000514828462000dc360201b62000f0e1790919060201c565b6200051f8162000b1d565b8251855181148015620005325750845181145b6200055f576040516306b5667560e21b81526001600160e01b03196000351660048201526024016200030d565b806001600160401b038111156200057a576200057a62001444565b604051908082528060200260200182016040528015620005a4578160200160208202803683370190505b50925080600003620005b7575062000983565b604080518082019091526000808252602082018190527f546f6b46ab35b030b6816596b352aef78857377176c8b24baa2046a62cf1998c917f8400683eb2cb350596d73644c0c89fe45f108600003457374f4ab3e87b4f3aa3917fd38c234075fde25875da8a6b7e36b58b86681d483271a99eeeee1d78e258a24d917f88547008e60f5748911f2e59feb3093b7e4c2e87b2dd69d61f112fcc932de8e3919081908190815b89811015620008c4578d81815181106200067a576200067a62001760565b602002602001015194508c818151811062000699576200069962001760565b60200260200101519350620006b48562000ee160201b60201c565b620006bf8462000ee1565b8e8181518110620006d457620006d462001760565b60200260200101516001600160601b03166000036200071557604051637f11b8a360e11b81526001600160e01b03196000351660048201526024016200030d565b6200072f858a62000f1860201b620010181790919060201c565b8062000750575062000750848a62000f1860201b620010181790919060201c565b8062000771575062000771858862000f1860201b620010181790919060201c565b8062000792575062000792848862000f1860201b620010181790919060201c565b158c8281518110620007a857620007a862001760565b6020026020010190151590811515815250508b8181518110620007cf57620007cf62001760565b602002602001015115620008bb57620007f7858a62000d7b60201b62000eda1790919060201c565b5062000812848862000d7b60201b62000eda1790919060201c565b506001600160a01b03848116600081815260208b90526040902080546001600160a01b0319169288169290921790915582528e518f90829081106200085b576200085b62001760565b6020908102919091018101516001600160601b03169083018190526200088290846200178c565b6001600160a01b038087166000908152602089815260409091208551918601516001600160601b0316600160a01b029190921617905592505b6001016200065c565b5062000902827f6924fe71b0c8b61aea02ca498b5f53b29bd95726278b1fe4eb791bb24a42644c60001b62000f3b60201b6200103a1790919060201c565b506200093a635ebae8a060e01b8d8d6040516020016200092492919062001828565b60408051601f1981840301815291905262000f55565b7f897810999654e525e272b5909785c4d0ceaee1bbf9c87d9091a37558b0423b788b8f8f8f6040516200097194939291906200185a565b60405180910390a15050505050505050505b509392505050565b600281905560405181907fe5cd1c123a8cf63fa1b7229678db61fe8ae99dbbd27889370b6667c8cae97da190600090a250565b8060036000846004811115620009d857620009d862001776565b6004811115620009ec57620009ec62001776565b8152602081019190915260400160002080546001600160a01b0319166001600160a01b03928316179055811682600481111562000a2d5762000a2d62001776565b6040517f356c8c57e9e84b99b1cb58b13c985b2c979f78cbdf4d0fa70fe2a98bb09a099d90600090a35050565b60005b825181101562000b1857306001600160a01b031682828151811062000a865762000a8662001760565b60200260200101516001600160a01b03160362000ac55760405163053265f160e01b81526001600160e01b03196000351660048201526024016200030d565b62000b0f83828151811062000ade5762000ade62001760565b602002602001015183838151811062000afb5762000afb62001760565b6020026020010151620009be60201b60201c565b60010162000a5d565b505050565b62000b33816200129b60201b620010511760201c565b1562000b6157604051630d697db160e11b81526001600160e01b03196000351660048201526024016200030d565b50565b806001600160a01b03163b60000362000b6157604051630bfc64a360e21b81526001600160a01b03821660048201526024016200030d565b6040516001600160e01b03198216602482015260009060440160408051601f198184030181529181526020820180516001600160e01b03166301ffc9a760e01b1790525190915060009081906001600160a01b0386169062000c0090859062001910565b600060405180830381855afa9150503d806000811462000c3d576040519150601f19603f3d011682016040523d82523d6000602084013e62000c42565b606091505b50915091508162000d2457846001600160a01b03168360405160240162000c6a91906200195c565b60408051601f198184030181529181526020820180516001600160e01b03166325da93a560e11b1790525162000ca1919062001910565b600060405180830381855afa9150503d806000811462000cde576040519150601f19603f3d011682016040523d82523d6000602084013e62000ce3565b606091505b5090925090508162000d245760405163069d427960e11b81526001600160e01b0319851660048201526001600160a01b03861660248201526044016200030d565b8080602001905181019062000d3a919062001971565b62000d745760405163069d427960e11b81526001600160e01b0319851660048201526001600160a01b03861660248201526044016200030d565b5050505050565b600062000d92836001600160a01b03841662001346565b90505b92915050565b5490565b600062000daa825490565b905062000dbe82620002da8360016200178c565b919050565b81518151606091908082016001600160401b0381111562000de85762000de862001444565b60405190808252806020026020018201604052801562000e12578160200160208202803683370190505b50925060005b8281101562000e745785818151811062000e365762000e3662001760565b602002602001015184828151811062000e535762000e5362001760565b6001600160a01b039092166020928302919091019091015260010162000e18565b60005b8281101562000ed75785818151811062000e955762000e9562001760565b602002602001015185838151811062000eb25762000eb262001760565b6001600160a01b03909216602092830291909101909101526001918201910162000e77565b5050505092915050565b6001600160a01b03811662000b615760405163104c66df60e31b81526001600160e01b03196000351660048201526024016200030d565b6001600160a01b0381166000908152600183016020526040812054151562000d92565b600062000d958362000f4e818562001398565b9250829055565b600062000f7c60008051602062006620833981519152620013b860201b620010f01760201c565b8051909150600081900362000f915750505050565b6000816001600160401b0381111562000fae5762000fae62001444565b60405190808252806020026020018201604052801562000fd8578160200160208202803683370190505b5090506000826001600160401b0381111562000ff85762000ff862001444565b6040519080825280602002602001820160405280156200102d57816020015b6060815260200190600190039081620010175790505b509050600086866040516020016200104792919062001995565b60405160208183030381529060405290506000816040516024016200106d91906200195c565b60408051601f198184030181529190526020810180516001600160e01b03166325da93a560e11b179052905060005b858110156200125157868181518110620010ba57620010ba62001760565b60200260200101516001600160a01b031683604051620010db919062001910565b6000604051808303816000865af19150503d80600081146200111a576040519150601f19603f3d011682016040523d82523d6000602084013e6200111f565b606091505b5086838151811062001135576200113562001760565b6020026020010186848151811062001151576200115162001760565b60200260200101829052821515151581525050508481815181106200117a576200117a62001760565b602002602001015162001248578681815181106200119c576200119c62001760565b60200260200101516001600160a01b031682604051620011bd919062001910565b6000604051808303816000865af19150503d8060008114620011fc576040519150601f19603f3d011682016040523d82523d6000602084013e62001201565b606091505b5086838151811062001217576200121762001760565b6020026020010186848151811062001233576200123362001760565b60200260200101829052821515151581525050505b6001016200109c565b507fc0b07a27e66788f39cc91405f012f34066b16f31b4bda9438c52f2dae0cc5b6382878686604051620012899493929190620019c8565b60405180910390a15050505050505050565b60008151600003620012af57506000919050565b60005b60018351038110156200133d57600181015b83518110156200133357838181518110620012e357620012e362001760565b60200260200101516001600160a01b031684838151811062001309576200130962001760565b60200260200101516001600160a01b0316036200132a575060019392505050565b600101620012c4565b50600101620012b2565b50600092915050565b60008181526001830160205260408120546200138f5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000d95565b50600062000d95565b815481018181101562000d9557634e487b7160005260116020526024601cfd5b60606000620013c783620013ce565b9392505050565b6060816000018054806020026020016040519081016040528092919081815260200182805480156200142057602002820191906000526020600020905b8154815260200190600101908083116200140b575b50505050509050919050565b80516001600160a01b038116811462000dbe57600080fd5b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171562001485576200148562001444565b604052919050565b60006001600160401b03821115620014a957620014a962001444565b5060051b60200190565b600082601f830112620014c557600080fd5b81516020620014de620014d8836200148d565b6200145a565b82815260059290921b84018101918181019086841115620014fe57600080fd5b8286015b84811015620015245762001516816200142c565b835291830191830162001502565b509695505050505050565b600082601f8301126200154157600080fd5b8151602062001554620014d8836200148d565b82815260059290921b840181019181810190868411156200157457600080fd5b8286015b84811015620015245780516001600160601b03811681146200159a5760008081fd5b835291830191830162001578565b600082601f830112620015ba57600080fd5b81516020620015cd620014d8836200148d565b828152600592831b8501820192828201919087851115620015ed57600080fd5b8387015b85811015620016185780518281106200160a5760008081fd5b8452928401928401620015f1565b5090979650505050505050565b6000806000806000806000806000806101408b8d0312156200164657600080fd5b8a51995060208b0151985060408b015197506200166660608c016200142c565b60808c01519097506001600160401b03808211156200168457600080fd5b620016928e838f01620014b3565b975060a08d0151915080821115620016a957600080fd5b620016b78e838f01620014b3565b965060c08d0151915080821115620016ce57600080fd5b620016dc8e838f01620014b3565b955060e08d0151915080821115620016f357600080fd5b620017018e838f016200152f565b94506101008d01519150808211156200171957600080fd5b620017278e838f01620015a8565b93506101208d01519150808211156200173f57600080fd5b506200174e8d828e01620014b3565b9150509295989b9194979a5092959850565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b8082018082111562000d9557634e487b7160e01b600052601160045260246000fd5b600081518084526020808501945080840160005b83811015620017e95781516001600160a01b031687529582019590820190600101620017c2565b509495945050505050565b600081518084526020808501945080840160005b83811015620017e957815115158752958201959082019060010162001808565b6040815260006200183d6040830185620017ae565b8281036020840152620018518185620017f4565b95945050505050565b6080815260006200186f6080830187620017f4565b82810360208481019190915286518083528782019282019060005b81811015620018b15784516001600160601b0316835293830193918301916001016200188a565b50508481036040860152620018c78188620017ae565b925050508281036060840152620018df8185620017ae565b979650505050505050565b60005b8381101562001907578181015183820152602001620018ed565b50506000910152565b6000825162001924818460208701620018ea565b9190910192915050565b6000815180845262001948816020860160208601620018ea565b601f01601f19169290920160200192915050565b60208152600062000d9260208301846200192e565b6000602082840312156200198457600080fd5b81518015158114620013c757600080fd5b6001600160e01b0319831681528151600090620019ba816004850160208701620018ea565b919091016004019392505050565b608081526000620019dd60808301876200192e565b602083820381850152620019f28288620017ae565b9150838203604085015262001a088287620017f4565b915083820360608501528185518084528284019150828160051b85010183880160005b8381101562001a5d57601f1987840301855262001a4a8383516200192e565b9486019492509085019060010162001a2b565b50909b9a5050505050505050505050565b608051614b8862001a98600039600081816102c5015281816107c501526108510152614b886000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c80639b19dbfd1161011a578063cc7e6b3b116100ad578063de981f1b1161007c578063de981f1b1461050c578063e75235b814610537578063e9c034981461053f578063f80b535214610552578063fdc4fa471461055a57600080fd5b8063cc7e6b3b146104be578063d0a50db0146104de578063d78392f8146104e6578063dafae408146104f957600080fd5b8063b9c36209116100e9578063b9c3620914610464578063bc9182fd1461048c578063bc96180b1461049f578063c441c4a8146104a757600080fd5b80639b19dbfd146103db5780639b2ee437146103e3578063b384abef146103f6578063b405aaf21461045157600080fd5b80633644e515116101925780637de5dedd116101615780637de5dedd14610332578063800eaab31461033a578063865e6fd31461034d578063901979d51461036057600080fd5b80633644e515146102c05780635e05cf9e146102e7578063776fb1ec146102fc5780637d465f791461031f57600080fd5b80631f425338116101ce5780631f425338146102675780632d6d7d731461027a57806334d5f37b1461028d57806335da8121146102ad57600080fd5b806301a5f43f1461020057806306aba0e1146102295780630a44fa431461023f5780630f7c318914610252575b600080fd5b61021361020e366004613b7d565b61056d565b6040516102209190613c53565b60405180910390f35b610231610620565b604051908152602001610220565b61023161024d366004613c66565b61063d565b61025a6106c2565b6040516102209190613ce0565b610213610275366004613c66565b6106db565b61025a610288366004613c66565b610728565b61023161029b366004613cf3565b60006020819052908152604090205481565b6102136102bb366004613c66565b61076c565b6102317f000000000000000000000000000000000000000000000000000000000000000081565b6102fa6102f5366004613d50565b6107b2565b005b61030f61030a366004613cf3565b6107f1565b6040519015158152602001610220565b6102fa61032d366004613dec565b61083e565b610231610876565b6102fa610348366004613fe0565b6108f2565b6102fa61035b366004614052565b610937565b6103c361036e366004614085565b6001600160a01b039081166000908152600080516020614af383398151915260209081526040808320549093168252600080516020614ad383398151915290522054600160a01b90046001600160601b031690565b6040516001600160601b039091168152602001610220565b61025a610952565b6102fa6103f1366004614085565b61095c565b6104406104043660046140a0565b600160208181526000938452604080852090915291835291208054918101546002820154600383015460069093015460ff909416939192909185565b6040516102209594939291906140e8565b61030f61045f366004614085565b610af3565b6104776104723660046140a0565b610b0d565b60408051928352602083019190915201610220565b61025a61049a366004614116565b610b2e565b610231610c1f565b6104af610c2a565b60405161022093929190614183565b6104d16104cc366004613c66565b610c54565b60405161022091906141c6565b610231610c92565b6103c36104f4366004614085565b610cab565b61030f610507366004613cf3565b610cb6565b61051f61051a3660046141d9565b610cf3565b6040516001600160a01b039091168152602001610220565b610477610d6e565b61021361054d366004613c66565b610d9f565b61025a610de5565b61025a610568366004613c66565b610def565b60606105776110fd565b61061587878080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020808b0282810182019093528a82529093508a92508991829185019084908082843760009201919091525050604080516020808a0282810182019093528982529093508992508891829185019084908082843760009201919091525061112d92505050565b979650505050505050565b6000610638600080516020614b338339815191525490565b905090565b600082828080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061067e92508391506114a99050565b6106ba8484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506114e192505050565b949350505050565b6060610638600080516020614a738339815191526110f0565b60606106e56110fd565b61072183838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061156592505050565b9392505050565b606061072183838080602002602001604051908101604052809392919081815260200183836020028082843760009201829052509250611630915050565b92915050565b60606107766110fd565b61072183838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061178a92505050565b6107bb3361187c565b6107ea85858585857f0000000000000000000000000000000000000000000000000000000000000000336118be565b5050505050565b60008060008381527fa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49602052604090205460ff166004811115610836576108366140c2565b141592915050565b6108473361187c565b6107ea85858585857f000000000000000000000000000000000000000000000000000000000000000033611963565b600061088e600080516020614a938339815191525490565b60016108a6600080516020614a938339815191525490565b6108d46108bf600080516020614b338339815191525490565b600080516020614ab3833981519152906119bf565b6108de919061420a565b6108e8919061421d565b6106389190614230565b333014610929576000356001600160e01b0319166040516307337e1960e41b81526004016109209190614252565b60405180910390fd5b61093382826119ea565b5050565b61093f6110fd565b61094881611a98565b6109338282611ace565b6060610638611b72565b6109653361187c565b61096e81611b8b565b336000908152600080516020614ad383398151915260208190526040909120546001600160a01b0390811690831681036109c657604051630669b93360e31b81526001600160a01b0384166004820152602401610920565b600080516020614b1383398151915260006109e18284611bc0565b80156109f257506109f28286610eda565b905080610a1d5760405163080fab4b60e31b81526001600160a01b0386166004820152602401610920565b6001600160a01b038381166000818152600080516020614af38339815191526020818152604080842080546001600160a01b0319908116909155958b16808552818520805488163390811790915585528a8352938190208054909616841790955584519081019390935292820152610ab0906364b18d0960e11b906060015b604051602081830303815290604052611bd5565b6040516001600160a01b03808816919086169033907fcef34cd748f30a1b7a2f214fd1651779f79bc6c1be02785cad5c1f0ee877213d90600090a4505050505050565b6000610766600080516020614b1383398151915283611018565b600080610b186110fd565b610b228484611edd565b915091505b9250929050565b8051606090806001600160401b03811115610b4b57610b4b613e2f565b604051908082528060200260200182016040528015610b74578160200160208202803683370190505b509150600080516020614ad383398151915260005b82811015610c1757816000868381518110610ba657610ba6614267565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060000160009054906101000a90046001600160a01b0316848281518110610bf757610bf7614267565b6001600160a01b0390921660209283029190910190910152600101610b89565b505050919050565b600061063860025490565b6060806060610c37611fd2565b9250610c4283610b2e565b9150610c4d83611ffd565b9050909192565b6060610721838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250611ffd92505050565b6000610638600080516020614b138339815191526120e6565b6000610766826120f0565b6000610cd16108bf600080516020614b338339815191525490565b600080516020614a9383398151915254610ceb908461427d565b101592915050565b60007fdea3103d22025c269050bea94c0c84688877f12fa22b7e6d2d5d78a9a49aa1cb600083600f811115610d2a57610d2a6140c2565b60ff1681526020810191909152604001600020546001600160a01b0316905080610d69578160405163409140df60e11b81526004016109209190614294565b919050565b600080610d87600080516020614ab38339815191525490565b600080516020614a9383398151915254915091509091565b6060610da96110fd565b61072183838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061212892505050565b6060610638611fd2565b606081806001600160401b03811115610e0a57610e0a613e2f565b604051908082528060200260200182016040528015610e33578160200160208202803683370190505b509150600080516020614af383398151915260005b82811015610ecd57816000878784818110610e6557610e65614267565b9050602002016020810190610e7a9190614085565b6001600160a01b0390811682526020820192909252604001600020548551911690859083908110610ead57610ead614267565b6001600160a01b0390921660209283029190910190910152600101610e48565b50505092915050565b9055565b6000610721836001600160a01b03841661240d565b5490565b6000610efd825490565b9050610d6982610ed683600161420a565b81518151606091908082016001600160401b03811115610f3057610f30613e2f565b604051908082528060200260200182016040528015610f59578160200160208202803683370190505b50925060005b82811015610fb357858181518110610f7957610f79614267565b6020026020010151848281518110610f9357610f93614267565b6001600160a01b0390921660209283029190910190910152600101610f5f565b60005b8281101561100e57858181518110610fd057610fd0614267565b6020026020010151858381518110610fea57610fea614267565b6001600160a01b039092166020928302919091019091015260019182019101610fb6565b5050505092915050565b6001600160a01b03811660009081526001830160205260408120541515610721565b60006107668361104a858561245c565b9250829055565b6000815160000361106457506000919050565b60005b60018351038110156110e757600181015b83518110156110de5783818151811061109357611093614267565b60200260200101516001600160a01b03168483815181106110b6576110b6614267565b60200260200101516001600160a01b0316036110d6575060019392505050565b600101611078565b50600101611067565b50600092915050565b606060006107218361247b565b33301461112b576000356001600160e01b0319166040516307337e1960e41b81526004016109209190614252565b565b60606111398383610f0e565b611142816114a9565b82518551811480156111545750845181145b61117f576000356001600160e01b0319166040516306b5667560e21b81526004016109209190614252565b806001600160401b0381111561119757611197613e2f565b6040519080825280602002602001820160405280156111c0578160200160208202803683370190505b509250806000036111d157506114a1565b604080518082019091526000808252602082018190527f546f6b46ab35b030b6816596b352aef78857377176c8b24baa2046a62cf1998c91600080516020614af383398151915291600080516020614b1383398151915291600080516020614ad3833981519152919081908190815b89811015611422578d818151811061125a5761125a614267565b602002602001015194508c818151811061127657611276614267565b6020026020010151935061128985611b8b565b61129284611b8b565b8e81815181106112a4576112a4614267565b60200260200101516001600160601b03166000036112e3576000356001600160e01b031916604051637f11b8a360e11b81526004016109209190614252565b6112ed8986611018565b806112fd57506112fd8985611018565b8061130d575061130d8786611018565b8061131d575061131d8785611018565b158c828151811061133057611330614267565b6020026020010190151590811515815250508b818151811061135457611354614267565b60200260200101511561141a5761136b8986610eda565b506113768785610eda565b506001600160a01b03848116600081815260208b90526040902080546001600160a01b0319169288169290921790915582528e518f90829081106113bc576113bc614267565b6020908102919091018101516001600160601b03169083018190526113e1908461420a565b6001600160a01b038087166000908152602089815260409091208551918601516001600160601b0316600160a01b029190921617905592505b600101611240565b5061143b600080516020614b338339815191528361103a565b5061145a635ebae8a060e01b8d8d604051602001610a9c9291906142ae565b7f897810999654e525e272b5909785c4d0ceaee1bbf9c87d9091a37558b0423b788b8f8f8f60405161148f94939291906142dc565b60405180910390a15050505050505050505b509392505050565b6114b281611051565b156114de576000356001600160e01b031916604051630d697db160e11b81526004016109209190614252565b50565b6000816114ed816114a9565b600080516020614ad383398151915260005b8451811015610c175781600086838151811061151d5761151d614267565b6020908102919091018101516001600160a01b031682528101919091526040016000205461155b90600160a01b90046001600160601b03168561420a565b93506001016114ff565b606081611571816114a9565b8251806001600160401b0381111561158b5761158b613e2f565b6040519080825280602002602001820160405280156115b4578160200160208202803683370190505b509250600080516020614a7383398151915260005b82811015611627576115fd8682815181106115e6576115e6614267565b602002602001015183611bc090919063ffffffff16565b85828151811061160f5761160f614267565b911515602092830291909101909101526001016115c9565b50505050919050565b606082516001600160401b0381111561164b5761164b613e2f565b604051908082528060200260200182016040528015611674578160200160208202803683370190505b50905060005b8351811015611783576003600085838151811061169957611699614267565b602002602001015160048111156116b2576116b26140c2565b60048111156116c3576116c36140c2565b815260200190815260200160002060009054906101000a90046001600160a01b03168282815181106116f7576116f7614267565b60200260200101906001600160a01b031690816001600160a01b03168152505082801561174f575060006001600160a01b031682828151811061173c5761173c614267565b60200260200101516001600160a01b0316145b1561177b576000356001600160e01b03191660405163053265f160e01b81526004016109209190614252565b60010161167a565b5092915050565b606081611796816114a9565b8251806001600160401b038111156117b0576117b0613e2f565b6040519080825280602002602001820160405280156117d9578160200160208202803683370190505b509250806000036117ea5750611876565b600080516020614a7383398151915260006314d72edb60e21b815b848110156118705787818151811061181f5761181f614267565b6020026020010151925061183283611a98565b61183c83836124d7565b6118468484610eda565b87828151811061185857611858614267565b91151560209283029190910190910152600101611805565b50505050505b50919050565b611885816120f0565b6001600160601b03166000036114de576000356001600160e01b0319166003604051620f948f60ea1b8152600401610920929190614329565b6118d06118ca88614495565b8261266a565b5060006118e46118df89614495565b612770565b90506119596118f289614495565b88888888611945896119058960006128af565b60405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6119548a6119058a60016128af565b6128e8565b5050505050505050565b600061197761197189614569565b83612cdf565b9050600061198c6119878a614569565b612e29565b90506119b482898989896119a58a6119058960006128af565b6119548b6119058a60016128af565b505050505050505050565b600082548015611783578281029150808204831461178357634e487b7160005260116020526024601cfd5b60005b8251811015611a9357306001600160a01b0316828281518110611a1257611a12614267565b60200260200101516001600160a01b031603611a4f576000356001600160e01b03191660405163053265f160e01b81526004016109209190614252565b611a8b838281518110611a6457611a64614267565b6020026020010151838381518110611a7e57611a7e614267565b6020026020010151612f60565b6001016119ed565b505050565b806001600160a01b03163b6000036114de57604051630bfc64a360e21b81526001600160a01b0382166004820152602401610920565b807fdea3103d22025c269050bea94c0c84688877f12fa22b7e6d2d5d78a9a49aa1cb600084600f811115611b0457611b046140c2565b60ff168152602081019190915260400160002080546001600160a01b0319166001600160a01b03928316179055811682600f811115611b4557611b456140c2565b6040517f865d1c228a8ea13709cfe61f346f7ff67f1bbd4a18ff31ad3e7147350d317c5990600090a35050565b6060610638600080516020614b138339815191526110f0565b6001600160a01b0381166114de576000356001600160e01b03191660405163104c66df60e31b81526004016109209190614252565b6000610721836001600160a01b038416612ff3565b6000611bee600080516020614a738339815191526110f0565b80519091506000819003611c025750505050565b6000816001600160401b03811115611c1c57611c1c613e2f565b604051908082528060200260200182016040528015611c45578160200160208202803683370190505b5090506000826001600160401b03811115611c6257611c62613e2f565b604051908082528060200260200182016040528015611c9557816020015b6060815260200190600190039081611c805790505b50905060008686604051602001611cad929190614657565b6040516020818303038152906040529050600081604051602401611cd191906146b4565b60408051601f198184030181529190526020810180516001600160e01b03166325da93a560e11b179052905060005b85811015611e9557868181518110611d1a57611d1a614267565b60200260200101516001600160a01b031683604051611d3991906146c7565b6000604051808303816000865af19150503d8060008114611d76576040519150601f19603f3d011682016040523d82523d6000602084013e611d7b565b606091505b50868381518110611d8e57611d8e614267565b60200260200101868481518110611da757611da7614267565b6020026020010182905282151515158152505050848181518110611dcd57611dcd614267565b6020026020010151611e8d57868181518110611deb57611deb614267565b60200260200101516001600160a01b031682604051611e0a91906146c7565b6000604051808303816000865af19150503d8060008114611e47576040519150601f19603f3d011682016040523d82523d6000602084013e611e4c565b606091505b50868381518110611e5f57611e5f614267565b60200260200101868481518110611e7857611e78614267565b60200260200101829052821515151581525050505b600101611d00565b507fc0b07a27e66788f39cc91405f012f34066b16f31b4bda9438c52f2dae0cc5b6382878686604051611ecb9493929190614728565b60405180910390a15050505050505050565b60008082841115611f0f576000356001600160e01b0319166040516387f6f09560e01b81526004016109209190614252565b600080516020614ab3833981519152549150611f37600080516020614a938339815191525490565b9050611f50600080516020614ab3833981519152859055565b611f67600080516020614a93833981519152849055565b8284611f927f92872d32822c9d44b36a2537d3e0d4c46fc4de1ce154ccfaed560a8a58445f1d610ef3565b60408051868152602081018690527f976f8a9c5bdf8248dec172376d6e2b80a8e3df2f0328e381c6db8e1cf138c0f8910160405180910390a49250929050565b60606106387f546f6b46ab35b030b6816596b352aef78857377176c8b24baa2046a62cf1998c6110f0565b8051606090806001600160401b0381111561201a5761201a613e2f565b604051908082528060200260200182016040528015612043578160200160208202803683370190505b509150600080516020614ad383398151915260005b82811015610c175781600086838151811061207557612075614267565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060000160149054906101000a90046001600160601b03168482815181106120c6576120c6614267565b6001600160601b0390921660209283029190910190910152600101612058565b6000610766825490565b6001600160a01b03166000908152600080516020614ad38339815191526020526040902054600160a01b90046001600160601b031690565b606081612134816114a9565b8251806001600160401b0381111561214e5761214e613e2f565b604051908082528060200260200182016040528015612177578160200160208202803683370190505b509250806000036121885750611876565b60408051808201909152600080825260208201819052600080516020614af3833981519152917f546f6b46ab35b030b6816596b352aef78857377176c8b24baa2046a62cf1998c91600080516020614b1383398151915291600080516020614ad3833981519152919081908190815b8981101561238d578c818151811061221157612211614267565b6020908102919091018101516001600160a01b038082166000908152928c90526040909220549091169550935061224785611b8b565b61225084611b8b565b6001600160a01b0385811660009081526020888152604091829020825180840190935254808416808452600160a01b9091046001600160601b031691830191909152909350908516146122c4576000356001600160e01b03191660405163053265f160e01b81526004016109209190614252565b6122ce8785611018565b80156122df57506122df8886611018565b8c82815181106122f1576122f1614267565b6020026020010190151590811515815250508b818151811061231557612315614267565b6020026020010151156123855761232c8886611bc0565b506123378785611bc0565b506001600160a01b03808516600090815260208b8152604080832080546001600160a01b0319169055928816825288815291812055820151612382906001600160601b03168461420a565b92505b6001016121f7565b506123a6600080516020614b33833981519152836130e6565b506123c563c48549de60e01b8d8d604051602001610a9c9291906142ae565b7fdf3dcd7987202f64648f3acdbf12401e3a2bb23e77e19f99826b5475cbb863698b8d6040516123f6929190614775565b60405180910390a150505050505050505050919050565b600081815260018301602052604081205461245457508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610766565b506000610766565b815481018181101561076657634e487b7160005260116020526024601cfd5b6060816000018054806020026020016040519081016040528092919081815260200182805480156124cb57602002820191906000526020600020905b8154815260200190600101908083116124b7575b50505050509050919050565b6000816040516024016124ea9190614252565b60408051601f198184030181529181526020820180516001600160e01b03166301ffc9a760e01b1790525190915060009081906001600160a01b038616906125339085906146c7565b600060405180830381855afa9150503d806000811461256e576040519150601f19603f3d011682016040523d82523d6000602084013e612573565b606091505b50915091508161263557846001600160a01b03168360405160240161259891906146b4565b60408051601f198184030181529181526020820180516001600160e01b03166325da93a560e11b179052516125cd91906146c7565b600060405180830381855afa9150503d8060008114612608576040519150601f19603f3d011682016040523d82523d6000602084013e61260d565b606091505b5090925090508161263557838560405163069d427960e11b815260040161092092919061479a565b8080602001905181019061264991906147bd565b6107ea57838560405163069d427960e11b815260040161092092919061479a565b60208201516000908082036126ac5760405163092048d160e11b8152600080356001600160e01b03191660048301526024820152466044820152606401610920565b6002546126ba9085906130f6565b60006126c585612770565b90506126d082613197565b6000838152600160208181526040808420858552909152918290209188015190820184905560069091015592508451831461272c576000356001600160e01b03191660405163d4cec26960e01b81526004016109209190614252565b8083837fa57d40f1496988cf60ab7c9d5ba4ff83647f67d3898d441a3aaf21b651678fd988886040516127609291906148c9565b60405180910390a4505092915050565b6080810151606082015160a083015151600092919083906001600160401b0381111561279e5761279e613e2f565b6040519080825280602002602001820160405280156127c7578160200160208202803683370190505b5060c086015190915060005b8251811015612826578660a0015181815181106127f2576127f2614267565b60200260200101518051906020012083828151811061281357612813614267565b60209081029190910101526001016127d3565b50604080517fd051578048e6ff0bbc9fca3b65a42088dbde10f36ca841de566711087ad9b08a8152875160208083019190915280890151828401529790910151606082015283518702938701939093206080840152835186029386019390932060a0830152805185029085012060c082015281518402919093012060e083015250610100902090565b604080517fd900570327c4c0df8dd6bdd522b7da7e39145dd049d2fd4602276adcd511e3c2815260208101939093528201526060902090565b84158015906128f657508483145b612921576000356001600160e01b0319166040516306b5667560e21b81526004016109209190614252565b60008080856001600160401b0381111561293d5761293d613e2f565b604051908082528060200260200182016040528015612966578160200160208202803683370190505b5090506000866001600160401b0381111561298357612983613e2f565b6040519080825280602002602001820160405280156129ac578160200160208202803683370190505b50905060008060003660005b8b811015612b3d578c8c828181106129d2576129d2614267565b90506060020191508e8e828181106129ec576129ec614267565b9050602002016020810190612a0191906148f3565b92506000836001811115612a1757612a176140c2565b03612a8157612a3c8b612a2d6020850185614914565b84602001358560400135613233565b945084878a612a4a81614937565b9b5081518110612a5c57612a5c614267565b60200260200101906001600160a01b031690816001600160a01b031681525050612af2565b6001836001811115612a9557612a956140c2565b03612acb57612aab8a612a2d6020850185614914565b9450848689612ab981614937565b9a5081518110612a5c57612a5c614267565b6000356001600160e01b031916604051630612418f60e11b81526004016109209190614252565b846001600160a01b0316846001600160a01b031610612b32576000356001600160e01b031916604051635d3dcd3160e01b81526004016109209190614252565b8493506001016129b8565b50505085845250508281526020808c015160009081526001825260408082208e51835290925290812090612b6f61325b565b90506000612b7c85613265565b9050818110612c035780600003612bb4576000356001600160e01b031916604051637f11b8a360e11b81526004016109209190614252565b825460ff1916600190811784558301546040517f5c819725ea53655a3b898f3df59b66489761935454e9212ca1e5ebd759953d0b90600090a2612bf7838f613270565b50505050505050612cd6565b600082612c0e6132dd565b612c18919061421d565b612c2390600161420a565b90506000612c3086613265565b9050818110612caf5780600003612c68576000356001600160e01b031916604051637f11b8a360e11b81526004016109209190614252565b845460ff1916600317855560018501546040517f55295d4ce992922fa2e5ffbf3a3dcdb367de0a15e125ace083456017fd22060f90600090a2505050505050505050612cd6565b6000356001600160e01b031916604051634ccfe64360e11b81526004016109209190614252565b50505050505050565b612d1f6040518060e00160405280600081526020016000815260200160008152602001606081526020016060815260200160608152602001606081525090565b612d38612d3184604001516001611630565b84906132e7565b9050612d4f600254826130f690919063ffffffff16565b6000612d5a82612770565b90506000612d686000613197565b60008181527fa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49602090815260409091209087015160018201859055600690910155905082518114612dda576000356001600160e01b03191660405163d4cec26960e01b81526004016109209190614252565b81817f771d78ae9e5fca95a532fb0971d575d0ce9b59d14823c063e08740137e0e0eca85612e0789612e29565b8989604051612e199493929190614950565b60405180910390a3505092915050565b60608101516040820151608083015151600092919083906001600160401b03811115612e5757612e57613e2f565b604051908082528060200260200182016040528015612e80578160200160208202803683370190505b5060a086015190915060005b8251811015612edf5786608001518181518110612eab57612eab614267565b602002602001015180519060200120838281518110612ecc57612ecc614267565b6020908102919091010152600101612e8c565b50604080517f1463f426c05aff2c1a7a0957a71c9898bc8b47142540538e79ee25ee911413508152875160208083019190915297880151918101919091528351870293870193909320606084015283518602938601939093206080830152805185029085012060a082015281518402919093012060c08301525060e0902090565b8060036000846004811115612f7757612f776140c2565b6004811115612f8857612f886140c2565b8152602081019190915260400160002080546001600160a01b0319166001600160a01b039283161790558116826004811115612fc657612fc66140c2565b6040517f356c8c57e9e84b99b1cb58b13c985b2c979f78cbdf4d0fa70fe2a98bb09a099d90600090a35050565b600081815260018301602052604081205480156130dc57600061301760018361421d565b855490915060009061302b9060019061421d565b905081811461309057600086600001828154811061304b5761304b614267565b906000526020600020015490508087600001848154811061306e5761306e614267565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806130a1576130a1614a37565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610766565b6000915050610766565b60006107668361104a8585613411565b60008260600151511180156131145750816080015151826060015151145b801561312957508160a0015151826060015151145b801561313e57508160c0015151826060015151145b613169576000356001600160e01b0319166040516306b5667560e21b81526004016109209190614252565b613173814261420a565b826040015111156109335760405163ad89be9d60e01b815260040160405180910390fd5b600081815260208190526040812054908190036131c65750600090815260208190526040902060019081905590565b60008281526001602090815260408083208484529091528120906000825460ff1660048111156131f8576131f86140c2565b036132165760405163757a436360e01b815260040160405180910390fd5b505050600090815260208190526040902080546001019081905590565b6000806000613244878787876135ec565b91509150613251816136d9565b5095945050505050565b6000610638610876565b6000610766826114e1565b6132798161388f565b1561093357815460ff19166002178255600080613295836138a9565b9150915083600101547fe134987599ae266ec90edeff1b26125b287dbb57b10822649432d1bb26537fba83836040516132cf929190614a4d565b60405180910390a250505050565b6000610638610620565b6133276040518060e00160405280600081526020016000815260200160008152602001606081526020016060815260200160608152602001606081525090565b82518152602080840151604080840191909152600091830191909152830151516001600160401b0381111561335e5761335e613e2f565b604051908082528060200260200182016040528015613387578160200160208202803683370190505b5060608083019190915283015160808083019190915283015160a08083019190915283015160c082015260005b836040015151811015611783578281815181106133d3576133d3614267565b6020026020010151826060015182815181106133f1576133f1614267565b6001600160a01b03909216602092830291909101909101526001016133b4565b600082548281101561343057634e487b7160005260116020526024601cfd5b9190910392915050565b60048301548110156134ed5782600801600084600401838154811061346157613461614267565b60009182526020808320909101546001600160a01b031683528201929092526040018120805460ff1916905560048401805460078601929190849081106134aa576134aa614267565b60009182526020808320909101546001600160a01b031683528201929092526040018120805460ff1916815560018181018390556002909101919091550161343a565b5060005b60058301548110156135a45782600801600084600501838154811061351857613518614267565b60009182526020808320909101546001600160a01b031683528201929092526040018120805460ff19169055600584018054600786019291908490811061356157613561614267565b60009182526020808320909101546001600160a01b031683528201929092526040018120805460ff191681556001818101839055600290910191909155016134f1565b50815460ff1916825560006001830181905560028301819055600383018190556135d2906004840190613b07565b6135e0600583016000613b07565b60006006830155919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561362357506000905060036136d0565b8460ff16601b1415801561363b57508460ff16601c14155b1561364c57506000905060046136d0565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156136a0573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166136c9576000600192509250506136d0565b9150600090505b94509492505050565b60008160048111156136ed576136ed6140c2565b036136f55750565b6001816004811115613709576137096140c2565b036137565760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610920565b600281600481111561376a5761376a6140c2565b036137b75760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610920565b60038160048111156137cb576137cb6140c2565b036138235760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610920565b6004816004811115613837576138376140c2565b036114de5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610920565b600081602001516000148061076657505060200151461490565b6060806138b58361388f565b6138f357602083015160405163092048d160e11b81526000356001600160e01b03191660048201526024810191909152466044820152606401610920565b8260600151516001600160401b0381111561391057613910613e2f565b604051908082528060200260200182016040528015613939578160200160208202803683370190505b5091508260600151516001600160401b0381111561395957613959613e2f565b60405190808252806020026020018201604052801561398c57816020015b60608152602001906001900390816139775790505b50905060005b836060015151811015613b01578360c0015181815181106139b5576139b5614267565b60200260200101515a116139e8576139cc84612770565b6040516307aec4ab60e21b815260040161092091815260200190565b836060015181815181106139fe576139fe614267565b60200260200101516001600160a01b031684608001518281518110613a2557613a25614267565b60200260200101518560c001518381518110613a4357613a43614267565b6020026020010151908660a001518481518110613a6257613a62614267565b6020026020010151604051613a7791906146c7565b600060405180830381858888f193505050503d8060008114613ab5576040519150601f19603f3d011682016040523d82523d6000602084013e613aba565b606091505b50848381518110613acd57613acd614267565b60200260200101848481518110613ae657613ae6614267565b60209081029190910101919091529015159052600101613992565b50915091565b50805460008255906000526020600020908101906114de91905b80821115613b355760008155600101613b21565b5090565b60008083601f840112613b4b57600080fd5b5081356001600160401b03811115613b6257600080fd5b6020830191508360208260051b8501011115610b2757600080fd5b60008060008060008060608789031215613b9657600080fd5b86356001600160401b0380821115613bad57600080fd5b613bb98a838b01613b39565b90985096506020890135915080821115613bd257600080fd5b613bde8a838b01613b39565b90965094506040890135915080821115613bf757600080fd5b50613c0489828a01613b39565b979a9699509497509295939492505050565b600081518084526020808501945080840160005b83811015613c48578151151587529582019590820190600101613c2a565b509495945050505050565b6020815260006107216020830184613c16565b60008060208385031215613c7957600080fd5b82356001600160401b03811115613c8f57600080fd5b613c9b85828601613b39565b90969095509350505050565b600081518084526020808501945080840160005b83811015613c485781516001600160a01b031687529582019590820190600101613cbb565b6020815260006107216020830184613ca7565b600060208284031215613d0557600080fd5b5035919050565b60008083601f840112613d1e57600080fd5b5081356001600160401b03811115613d3557600080fd5b602083019150836020606083028501011115610b2757600080fd5b600080600080600060608688031215613d6857600080fd5b85356001600160401b0380821115613d7f57600080fd5b9087019060e0828a031215613d9357600080fd5b90955060208701359080821115613da957600080fd5b613db589838a01613b39565b90965094506040880135915080821115613dce57600080fd5b50613ddb88828901613d0c565b969995985093965092949392505050565b600080600080600060608688031215613e0457600080fd5b85356001600160401b0380821115613e1b57600080fd5b9087019060c0828a031215613d9357600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715613e6757613e67613e2f565b60405290565b60405160c081016001600160401b0381118282101715613e6757613e67613e2f565b604051601f8201601f191681016001600160401b0381118282101715613eb757613eb7613e2f565b604052919050565b60006001600160401b03821115613ed857613ed8613e2f565b5060051b60200190565b600082601f830112613ef357600080fd5b81356020613f08613f0383613ebf565b613e8f565b828152600592831b8501820192828201919087851115613f2757600080fd5b8387015b85811015613f4f578035828110613f425760008081fd5b8452928401928401613f2b565b5090979650505050505050565b80356001600160a01b0381168114610d6957600080fd5b600082601f830112613f8457600080fd5b81356020613f94613f0383613ebf565b82815260059290921b84018101918181019086841115613fb357600080fd5b8286015b84811015613fd557613fc881613f5c565b8352918301918301613fb7565b509695505050505050565b60008060408385031215613ff357600080fd5b82356001600160401b038082111561400a57600080fd5b61401686838701613ee2565b9350602085013591508082111561402c57600080fd5b5061403985828601613f73565b9150509250929050565b803560108110610d6957600080fd5b6000806040838503121561406557600080fd5b61406e83614043565b915061407c60208401613f5c565b90509250929050565b60006020828403121561409757600080fd5b61072182613f5c565b600080604083850312156140b357600080fd5b50508035926020909101359150565b634e487b7160e01b600052602160045260246000fd5b600581106114de576114de6140c2565b60a081016140f5876140d8565b95815260208101949094526040840192909252606083015260809091015290565b60006020828403121561412857600080fd5b81356001600160401b0381111561413e57600080fd5b6106ba84828501613f73565b600081518084526020808501945080840160005b83811015613c485781516001600160601b03168752958201959082019060010161415e565b6060815260006141966060830186613ca7565b82810360208401526141a88186613ca7565b905082810360408401526141bc818561414a565b9695505050505050565b602081526000610721602083018461414a565b6000602082840312156141eb57600080fd5b61072182614043565b634e487b7160e01b600052601160045260246000fd5b80820180821115610766576107666141f4565b81810381811115610766576107666141f4565b60008261424d57634e487b7160e01b600052601260045260246000fd5b500490565b6001600160e01b031991909116815260200190565b634e487b7160e01b600052603260045260246000fd5b8082028115828204841417610766576107666141f4565b60208101601083106142a8576142a86140c2565b91905290565b6040815260006142c16040830185613ca7565b82810360208401526142d38185613c16565b95945050505050565b6080815260006142ef6080830187613c16565b8281036020840152614301818761414a565b905082810360408401526143158186613ca7565b905082810360608401526106158185613ca7565b6001600160e01b03198316815260408101600b831061434a5761434a6140c2565b8260208301529392505050565b600082601f83011261436857600080fd5b81356020614378613f0383613ebf565b82815260059290921b8401810191818101908684111561439757600080fd5b8286015b84811015613fd5578035835291830191830161439b565b6000601f83818401126143c457600080fd5b823560206143d4613f0383613ebf565b82815260059290921b850181019181810190878411156143f357600080fd5b8287015b848110156144895780356001600160401b03808211156144175760008081fd5b818a0191508a603f83011261442c5760008081fd5b8582013560408282111561444257614442613e2f565b614453828b01601f19168901613e8f565b92508183528c8183860101111561446a5760008081fd5b81818501898501375060009082018701528452509183019183016143f7565b50979650505050505050565b600060e082360312156144a757600080fd5b6144af613e45565b82358152602083013560208201526040830135604082015260608301356001600160401b03808211156144e157600080fd5b6144ed36838701613f73565b6060840152608085013591508082111561450657600080fd5b61451236838701614357565b608084015260a085013591508082111561452b57600080fd5b614537368387016143b2565b60a084015260c085013591508082111561455057600080fd5b5061455d36828601614357565b60c08301525092915050565b600060c0823603121561457b57600080fd5b614583613e6d565b823581526020830135602082015260408301356001600160401b03808211156145ab57600080fd5b6145b736838701613ee2565b604084015260608501359150808211156145d057600080fd5b6145dc36838701614357565b606084015260808501359150808211156145f557600080fd5b614601368387016143b2565b608084015260a085013591508082111561461a57600080fd5b5061462736828601614357565b60a08301525092915050565b60005b8381101561464e578181015183820152602001614636565b50506000910152565b6001600160e01b031983168152815160009061467a816004850160208701614633565b919091016004019392505050565b600081518084526146a0816020860160208601614633565b601f01601f19169290920160200192915050565b6020815260006107216020830184614688565b600082516146d9818460208701614633565b9190910192915050565b6000815180845260208085019450848260051b860182860160005b85811015613f4f578383038952614716838351614688565b988501989250908401906001016146fe565b60808152600061473b6080830187614688565b828103602084015261474d8187613ca7565b905082810360408401526147618186613c16565b9050828103606084015261061581856146e3565b6040815260006147886040830185613c16565b82810360208401526142d38185613ca7565b6001600160e01b03199290921682526001600160a01b0316602082015260400190565b6000602082840312156147cf57600080fd5b8151801515811461072157600080fd5b600081518084526020808501945080840160005b83811015613c48578151875295820195908201906001016147f3565b600060e08301825184526020808401518186015260408401516040860152606084015160e06060870152828151808552610100880191508383019450600092505b808310156148795784516001600160a01b03168252938301936001929092019190830190614850565b5060808601519350868103608088015261489381856147df565b935050505060a083015184820360a08601526148af82826146e3565b91505060c083015184820360c08601526142d382826147df565b6040815260006148dc604083018561480f565b905060018060a01b03831660208301529392505050565b60006020828403121561490557600080fd5b81356002811061072157600080fd5b60006020828403121561492657600080fd5b813560ff8116811461072157600080fd5b600060018201614949576149496141f4565b5060010190565b608081526000614963608083018761480f565b60208681850152838203604085015260c08201865183528187015182840152604087015160c0604085015281815180845260e0860191508483019350600092505b808310156149cd5783516149b7816140d8565b82529284019260019290920191908401906149a4565b506060890151935084810360608601526149e781856147df565b935050505060808601518282036080840152614a0382826146e3565b91505060a086015182820360a0840152614a1d82826147df565b93505050506142d360608301846001600160a01b03169052565b634e487b7160e01b600052603160045260246000fd5b604081526000614a606040830185613c16565b82810360208401526142d381856146e356fe5da136eb38f8d8e354915fc8a767c0dc81d49de5fb65d5477122a82ddd976240ac1ff16a4f04f2a37a9ba5252a69baa100b460e517d1f8019c054a5ad698f9ffc55405a488814eaa0e2a685a0131142785b8d033d311c8c8244e34a7c12ca40f88547008e60f5748911f2e59feb3093b7e4c2e87b2dd69d61f112fcc932de8e38400683eb2cb350596d73644c0c89fe45f108600003457374f4ab3e87b4f3aa3d38c234075fde25875da8a6b7e36b58b86681d483271a99eeeee1d78e258a24d6924fe71b0c8b61aea02ca498b5f53b29bd95726278b1fe4eb791bb24a42644ca2646970667358221220e24c473cb9b7f8fce5e9e8b7bcf5aa6cef6921786fda11dfa2a2fe81c2fbf42764736f6c634300081100335da136eb38f8d8e354915fc8a767c0dc81d49de5fb65d5477122a82ddd976240c55405a488814eaa0e2a685a0131142785b8d033d311c8c8244e34a7c12ca40f92872d32822c9d44b36a2537d3e0d4c46fc4de1ce154ccfaed560a8a58445f1d", - "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c80639b19dbfd1161011a578063cc7e6b3b116100ad578063de981f1b1161007c578063de981f1b1461050c578063e75235b814610537578063e9c034981461053f578063f80b535214610552578063fdc4fa471461055a57600080fd5b8063cc7e6b3b146104be578063d0a50db0146104de578063d78392f8146104e6578063dafae408146104f957600080fd5b8063b9c36209116100e9578063b9c3620914610464578063bc9182fd1461048c578063bc96180b1461049f578063c441c4a8146104a757600080fd5b80639b19dbfd146103db5780639b2ee437146103e3578063b384abef146103f6578063b405aaf21461045157600080fd5b80633644e515116101925780637de5dedd116101615780637de5dedd14610332578063800eaab31461033a578063865e6fd31461034d578063901979d51461036057600080fd5b80633644e515146102c05780635e05cf9e146102e7578063776fb1ec146102fc5780637d465f791461031f57600080fd5b80631f425338116101ce5780631f425338146102675780632d6d7d731461027a57806334d5f37b1461028d57806335da8121146102ad57600080fd5b806301a5f43f1461020057806306aba0e1146102295780630a44fa431461023f5780630f7c318914610252575b600080fd5b61021361020e366004613b7d565b61056d565b6040516102209190613c53565b60405180910390f35b610231610620565b604051908152602001610220565b61023161024d366004613c66565b61063d565b61025a6106c2565b6040516102209190613ce0565b610213610275366004613c66565b6106db565b61025a610288366004613c66565b610728565b61023161029b366004613cf3565b60006020819052908152604090205481565b6102136102bb366004613c66565b61076c565b6102317f000000000000000000000000000000000000000000000000000000000000000081565b6102fa6102f5366004613d50565b6107b2565b005b61030f61030a366004613cf3565b6107f1565b6040519015158152602001610220565b6102fa61032d366004613dec565b61083e565b610231610876565b6102fa610348366004613fe0565b6108f2565b6102fa61035b366004614052565b610937565b6103c361036e366004614085565b6001600160a01b039081166000908152600080516020614af383398151915260209081526040808320549093168252600080516020614ad383398151915290522054600160a01b90046001600160601b031690565b6040516001600160601b039091168152602001610220565b61025a610952565b6102fa6103f1366004614085565b61095c565b6104406104043660046140a0565b600160208181526000938452604080852090915291835291208054918101546002820154600383015460069093015460ff909416939192909185565b6040516102209594939291906140e8565b61030f61045f366004614085565b610af3565b6104776104723660046140a0565b610b0d565b60408051928352602083019190915201610220565b61025a61049a366004614116565b610b2e565b610231610c1f565b6104af610c2a565b60405161022093929190614183565b6104d16104cc366004613c66565b610c54565b60405161022091906141c6565b610231610c92565b6103c36104f4366004614085565b610cab565b61030f610507366004613cf3565b610cb6565b61051f61051a3660046141d9565b610cf3565b6040516001600160a01b039091168152602001610220565b610477610d6e565b61021361054d366004613c66565b610d9f565b61025a610de5565b61025a610568366004613c66565b610def565b60606105776110fd565b61061587878080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020808b0282810182019093528a82529093508a92508991829185019084908082843760009201919091525050604080516020808a0282810182019093528982529093508992508891829185019084908082843760009201919091525061112d92505050565b979650505050505050565b6000610638600080516020614b338339815191525490565b905090565b600082828080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061067e92508391506114a99050565b6106ba8484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506114e192505050565b949350505050565b6060610638600080516020614a738339815191526110f0565b60606106e56110fd565b61072183838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061156592505050565b9392505050565b606061072183838080602002602001604051908101604052809392919081815260200183836020028082843760009201829052509250611630915050565b92915050565b60606107766110fd565b61072183838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061178a92505050565b6107bb3361187c565b6107ea85858585857f0000000000000000000000000000000000000000000000000000000000000000336118be565b5050505050565b60008060008381527fa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49602052604090205460ff166004811115610836576108366140c2565b141592915050565b6108473361187c565b6107ea85858585857f000000000000000000000000000000000000000000000000000000000000000033611963565b600061088e600080516020614a938339815191525490565b60016108a6600080516020614a938339815191525490565b6108d46108bf600080516020614b338339815191525490565b600080516020614ab3833981519152906119bf565b6108de919061420a565b6108e8919061421d565b6106389190614230565b333014610929576000356001600160e01b0319166040516307337e1960e41b81526004016109209190614252565b60405180910390fd5b61093382826119ea565b5050565b61093f6110fd565b61094881611a98565b6109338282611ace565b6060610638611b72565b6109653361187c565b61096e81611b8b565b336000908152600080516020614ad383398151915260208190526040909120546001600160a01b0390811690831681036109c657604051630669b93360e31b81526001600160a01b0384166004820152602401610920565b600080516020614b1383398151915260006109e18284611bc0565b80156109f257506109f28286610eda565b905080610a1d5760405163080fab4b60e31b81526001600160a01b0386166004820152602401610920565b6001600160a01b038381166000818152600080516020614af38339815191526020818152604080842080546001600160a01b0319908116909155958b16808552818520805488163390811790915585528a8352938190208054909616841790955584519081019390935292820152610ab0906364b18d0960e11b906060015b604051602081830303815290604052611bd5565b6040516001600160a01b03808816919086169033907fcef34cd748f30a1b7a2f214fd1651779f79bc6c1be02785cad5c1f0ee877213d90600090a4505050505050565b6000610766600080516020614b1383398151915283611018565b600080610b186110fd565b610b228484611edd565b915091505b9250929050565b8051606090806001600160401b03811115610b4b57610b4b613e2f565b604051908082528060200260200182016040528015610b74578160200160208202803683370190505b509150600080516020614ad383398151915260005b82811015610c1757816000868381518110610ba657610ba6614267565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060000160009054906101000a90046001600160a01b0316848281518110610bf757610bf7614267565b6001600160a01b0390921660209283029190910190910152600101610b89565b505050919050565b600061063860025490565b6060806060610c37611fd2565b9250610c4283610b2e565b9150610c4d83611ffd565b9050909192565b6060610721838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250611ffd92505050565b6000610638600080516020614b138339815191526120e6565b6000610766826120f0565b6000610cd16108bf600080516020614b338339815191525490565b600080516020614a9383398151915254610ceb908461427d565b101592915050565b60007fdea3103d22025c269050bea94c0c84688877f12fa22b7e6d2d5d78a9a49aa1cb600083600f811115610d2a57610d2a6140c2565b60ff1681526020810191909152604001600020546001600160a01b0316905080610d69578160405163409140df60e11b81526004016109209190614294565b919050565b600080610d87600080516020614ab38339815191525490565b600080516020614a9383398151915254915091509091565b6060610da96110fd565b61072183838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061212892505050565b6060610638611fd2565b606081806001600160401b03811115610e0a57610e0a613e2f565b604051908082528060200260200182016040528015610e33578160200160208202803683370190505b509150600080516020614af383398151915260005b82811015610ecd57816000878784818110610e6557610e65614267565b9050602002016020810190610e7a9190614085565b6001600160a01b0390811682526020820192909252604001600020548551911690859083908110610ead57610ead614267565b6001600160a01b0390921660209283029190910190910152600101610e48565b50505092915050565b9055565b6000610721836001600160a01b03841661240d565b5490565b6000610efd825490565b9050610d6982610ed683600161420a565b81518151606091908082016001600160401b03811115610f3057610f30613e2f565b604051908082528060200260200182016040528015610f59578160200160208202803683370190505b50925060005b82811015610fb357858181518110610f7957610f79614267565b6020026020010151848281518110610f9357610f93614267565b6001600160a01b0390921660209283029190910190910152600101610f5f565b60005b8281101561100e57858181518110610fd057610fd0614267565b6020026020010151858381518110610fea57610fea614267565b6001600160a01b039092166020928302919091019091015260019182019101610fb6565b5050505092915050565b6001600160a01b03811660009081526001830160205260408120541515610721565b60006107668361104a858561245c565b9250829055565b6000815160000361106457506000919050565b60005b60018351038110156110e757600181015b83518110156110de5783818151811061109357611093614267565b60200260200101516001600160a01b03168483815181106110b6576110b6614267565b60200260200101516001600160a01b0316036110d6575060019392505050565b600101611078565b50600101611067565b50600092915050565b606060006107218361247b565b33301461112b576000356001600160e01b0319166040516307337e1960e41b81526004016109209190614252565b565b60606111398383610f0e565b611142816114a9565b82518551811480156111545750845181145b61117f576000356001600160e01b0319166040516306b5667560e21b81526004016109209190614252565b806001600160401b0381111561119757611197613e2f565b6040519080825280602002602001820160405280156111c0578160200160208202803683370190505b509250806000036111d157506114a1565b604080518082019091526000808252602082018190527f546f6b46ab35b030b6816596b352aef78857377176c8b24baa2046a62cf1998c91600080516020614af383398151915291600080516020614b1383398151915291600080516020614ad3833981519152919081908190815b89811015611422578d818151811061125a5761125a614267565b602002602001015194508c818151811061127657611276614267565b6020026020010151935061128985611b8b565b61129284611b8b565b8e81815181106112a4576112a4614267565b60200260200101516001600160601b03166000036112e3576000356001600160e01b031916604051637f11b8a360e11b81526004016109209190614252565b6112ed8986611018565b806112fd57506112fd8985611018565b8061130d575061130d8786611018565b8061131d575061131d8785611018565b158c828151811061133057611330614267565b6020026020010190151590811515815250508b818151811061135457611354614267565b60200260200101511561141a5761136b8986610eda565b506113768785610eda565b506001600160a01b03848116600081815260208b90526040902080546001600160a01b0319169288169290921790915582528e518f90829081106113bc576113bc614267565b6020908102919091018101516001600160601b03169083018190526113e1908461420a565b6001600160a01b038087166000908152602089815260409091208551918601516001600160601b0316600160a01b029190921617905592505b600101611240565b5061143b600080516020614b338339815191528361103a565b5061145a635ebae8a060e01b8d8d604051602001610a9c9291906142ae565b7f897810999654e525e272b5909785c4d0ceaee1bbf9c87d9091a37558b0423b788b8f8f8f60405161148f94939291906142dc565b60405180910390a15050505050505050505b509392505050565b6114b281611051565b156114de576000356001600160e01b031916604051630d697db160e11b81526004016109209190614252565b50565b6000816114ed816114a9565b600080516020614ad383398151915260005b8451811015610c175781600086838151811061151d5761151d614267565b6020908102919091018101516001600160a01b031682528101919091526040016000205461155b90600160a01b90046001600160601b03168561420a565b93506001016114ff565b606081611571816114a9565b8251806001600160401b0381111561158b5761158b613e2f565b6040519080825280602002602001820160405280156115b4578160200160208202803683370190505b509250600080516020614a7383398151915260005b82811015611627576115fd8682815181106115e6576115e6614267565b602002602001015183611bc090919063ffffffff16565b85828151811061160f5761160f614267565b911515602092830291909101909101526001016115c9565b50505050919050565b606082516001600160401b0381111561164b5761164b613e2f565b604051908082528060200260200182016040528015611674578160200160208202803683370190505b50905060005b8351811015611783576003600085838151811061169957611699614267565b602002602001015160048111156116b2576116b26140c2565b60048111156116c3576116c36140c2565b815260200190815260200160002060009054906101000a90046001600160a01b03168282815181106116f7576116f7614267565b60200260200101906001600160a01b031690816001600160a01b03168152505082801561174f575060006001600160a01b031682828151811061173c5761173c614267565b60200260200101516001600160a01b0316145b1561177b576000356001600160e01b03191660405163053265f160e01b81526004016109209190614252565b60010161167a565b5092915050565b606081611796816114a9565b8251806001600160401b038111156117b0576117b0613e2f565b6040519080825280602002602001820160405280156117d9578160200160208202803683370190505b509250806000036117ea5750611876565b600080516020614a7383398151915260006314d72edb60e21b815b848110156118705787818151811061181f5761181f614267565b6020026020010151925061183283611a98565b61183c83836124d7565b6118468484610eda565b87828151811061185857611858614267565b91151560209283029190910190910152600101611805565b50505050505b50919050565b611885816120f0565b6001600160601b03166000036114de576000356001600160e01b0319166003604051620f948f60ea1b8152600401610920929190614329565b6118d06118ca88614495565b8261266a565b5060006118e46118df89614495565b612770565b90506119596118f289614495565b88888888611945896119058960006128af565b60405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6119548a6119058a60016128af565b6128e8565b5050505050505050565b600061197761197189614569565b83612cdf565b9050600061198c6119878a614569565b612e29565b90506119b482898989896119a58a6119058960006128af565b6119548b6119058a60016128af565b505050505050505050565b600082548015611783578281029150808204831461178357634e487b7160005260116020526024601cfd5b60005b8251811015611a9357306001600160a01b0316828281518110611a1257611a12614267565b60200260200101516001600160a01b031603611a4f576000356001600160e01b03191660405163053265f160e01b81526004016109209190614252565b611a8b838281518110611a6457611a64614267565b6020026020010151838381518110611a7e57611a7e614267565b6020026020010151612f60565b6001016119ed565b505050565b806001600160a01b03163b6000036114de57604051630bfc64a360e21b81526001600160a01b0382166004820152602401610920565b807fdea3103d22025c269050bea94c0c84688877f12fa22b7e6d2d5d78a9a49aa1cb600084600f811115611b0457611b046140c2565b60ff168152602081019190915260400160002080546001600160a01b0319166001600160a01b03928316179055811682600f811115611b4557611b456140c2565b6040517f865d1c228a8ea13709cfe61f346f7ff67f1bbd4a18ff31ad3e7147350d317c5990600090a35050565b6060610638600080516020614b138339815191526110f0565b6001600160a01b0381166114de576000356001600160e01b03191660405163104c66df60e31b81526004016109209190614252565b6000610721836001600160a01b038416612ff3565b6000611bee600080516020614a738339815191526110f0565b80519091506000819003611c025750505050565b6000816001600160401b03811115611c1c57611c1c613e2f565b604051908082528060200260200182016040528015611c45578160200160208202803683370190505b5090506000826001600160401b03811115611c6257611c62613e2f565b604051908082528060200260200182016040528015611c9557816020015b6060815260200190600190039081611c805790505b50905060008686604051602001611cad929190614657565b6040516020818303038152906040529050600081604051602401611cd191906146b4565b60408051601f198184030181529190526020810180516001600160e01b03166325da93a560e11b179052905060005b85811015611e9557868181518110611d1a57611d1a614267565b60200260200101516001600160a01b031683604051611d3991906146c7565b6000604051808303816000865af19150503d8060008114611d76576040519150601f19603f3d011682016040523d82523d6000602084013e611d7b565b606091505b50868381518110611d8e57611d8e614267565b60200260200101868481518110611da757611da7614267565b6020026020010182905282151515158152505050848181518110611dcd57611dcd614267565b6020026020010151611e8d57868181518110611deb57611deb614267565b60200260200101516001600160a01b031682604051611e0a91906146c7565b6000604051808303816000865af19150503d8060008114611e47576040519150601f19603f3d011682016040523d82523d6000602084013e611e4c565b606091505b50868381518110611e5f57611e5f614267565b60200260200101868481518110611e7857611e78614267565b60200260200101829052821515151581525050505b600101611d00565b507fc0b07a27e66788f39cc91405f012f34066b16f31b4bda9438c52f2dae0cc5b6382878686604051611ecb9493929190614728565b60405180910390a15050505050505050565b60008082841115611f0f576000356001600160e01b0319166040516387f6f09560e01b81526004016109209190614252565b600080516020614ab3833981519152549150611f37600080516020614a938339815191525490565b9050611f50600080516020614ab3833981519152859055565b611f67600080516020614a93833981519152849055565b8284611f927f92872d32822c9d44b36a2537d3e0d4c46fc4de1ce154ccfaed560a8a58445f1d610ef3565b60408051868152602081018690527f976f8a9c5bdf8248dec172376d6e2b80a8e3df2f0328e381c6db8e1cf138c0f8910160405180910390a49250929050565b60606106387f546f6b46ab35b030b6816596b352aef78857377176c8b24baa2046a62cf1998c6110f0565b8051606090806001600160401b0381111561201a5761201a613e2f565b604051908082528060200260200182016040528015612043578160200160208202803683370190505b509150600080516020614ad383398151915260005b82811015610c175781600086838151811061207557612075614267565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060000160149054906101000a90046001600160601b03168482815181106120c6576120c6614267565b6001600160601b0390921660209283029190910190910152600101612058565b6000610766825490565b6001600160a01b03166000908152600080516020614ad38339815191526020526040902054600160a01b90046001600160601b031690565b606081612134816114a9565b8251806001600160401b0381111561214e5761214e613e2f565b604051908082528060200260200182016040528015612177578160200160208202803683370190505b509250806000036121885750611876565b60408051808201909152600080825260208201819052600080516020614af3833981519152917f546f6b46ab35b030b6816596b352aef78857377176c8b24baa2046a62cf1998c91600080516020614b1383398151915291600080516020614ad3833981519152919081908190815b8981101561238d578c818151811061221157612211614267565b6020908102919091018101516001600160a01b038082166000908152928c90526040909220549091169550935061224785611b8b565b61225084611b8b565b6001600160a01b0385811660009081526020888152604091829020825180840190935254808416808452600160a01b9091046001600160601b031691830191909152909350908516146122c4576000356001600160e01b03191660405163053265f160e01b81526004016109209190614252565b6122ce8785611018565b80156122df57506122df8886611018565b8c82815181106122f1576122f1614267565b6020026020010190151590811515815250508b818151811061231557612315614267565b6020026020010151156123855761232c8886611bc0565b506123378785611bc0565b506001600160a01b03808516600090815260208b8152604080832080546001600160a01b0319169055928816825288815291812055820151612382906001600160601b03168461420a565b92505b6001016121f7565b506123a6600080516020614b33833981519152836130e6565b506123c563c48549de60e01b8d8d604051602001610a9c9291906142ae565b7fdf3dcd7987202f64648f3acdbf12401e3a2bb23e77e19f99826b5475cbb863698b8d6040516123f6929190614775565b60405180910390a150505050505050505050919050565b600081815260018301602052604081205461245457508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610766565b506000610766565b815481018181101561076657634e487b7160005260116020526024601cfd5b6060816000018054806020026020016040519081016040528092919081815260200182805480156124cb57602002820191906000526020600020905b8154815260200190600101908083116124b7575b50505050509050919050565b6000816040516024016124ea9190614252565b60408051601f198184030181529181526020820180516001600160e01b03166301ffc9a760e01b1790525190915060009081906001600160a01b038616906125339085906146c7565b600060405180830381855afa9150503d806000811461256e576040519150601f19603f3d011682016040523d82523d6000602084013e612573565b606091505b50915091508161263557846001600160a01b03168360405160240161259891906146b4565b60408051601f198184030181529181526020820180516001600160e01b03166325da93a560e11b179052516125cd91906146c7565b600060405180830381855afa9150503d8060008114612608576040519150601f19603f3d011682016040523d82523d6000602084013e61260d565b606091505b5090925090508161263557838560405163069d427960e11b815260040161092092919061479a565b8080602001905181019061264991906147bd565b6107ea57838560405163069d427960e11b815260040161092092919061479a565b60208201516000908082036126ac5760405163092048d160e11b8152600080356001600160e01b03191660048301526024820152466044820152606401610920565b6002546126ba9085906130f6565b60006126c585612770565b90506126d082613197565b6000838152600160208181526040808420858552909152918290209188015190820184905560069091015592508451831461272c576000356001600160e01b03191660405163d4cec26960e01b81526004016109209190614252565b8083837fa57d40f1496988cf60ab7c9d5ba4ff83647f67d3898d441a3aaf21b651678fd988886040516127609291906148c9565b60405180910390a4505092915050565b6080810151606082015160a083015151600092919083906001600160401b0381111561279e5761279e613e2f565b6040519080825280602002602001820160405280156127c7578160200160208202803683370190505b5060c086015190915060005b8251811015612826578660a0015181815181106127f2576127f2614267565b60200260200101518051906020012083828151811061281357612813614267565b60209081029190910101526001016127d3565b50604080517fd051578048e6ff0bbc9fca3b65a42088dbde10f36ca841de566711087ad9b08a8152875160208083019190915280890151828401529790910151606082015283518702938701939093206080840152835186029386019390932060a0830152805185029085012060c082015281518402919093012060e083015250610100902090565b604080517fd900570327c4c0df8dd6bdd522b7da7e39145dd049d2fd4602276adcd511e3c2815260208101939093528201526060902090565b84158015906128f657508483145b612921576000356001600160e01b0319166040516306b5667560e21b81526004016109209190614252565b60008080856001600160401b0381111561293d5761293d613e2f565b604051908082528060200260200182016040528015612966578160200160208202803683370190505b5090506000866001600160401b0381111561298357612983613e2f565b6040519080825280602002602001820160405280156129ac578160200160208202803683370190505b50905060008060003660005b8b811015612b3d578c8c828181106129d2576129d2614267565b90506060020191508e8e828181106129ec576129ec614267565b9050602002016020810190612a0191906148f3565b92506000836001811115612a1757612a176140c2565b03612a8157612a3c8b612a2d6020850185614914565b84602001358560400135613233565b945084878a612a4a81614937565b9b5081518110612a5c57612a5c614267565b60200260200101906001600160a01b031690816001600160a01b031681525050612af2565b6001836001811115612a9557612a956140c2565b03612acb57612aab8a612a2d6020850185614914565b9450848689612ab981614937565b9a5081518110612a5c57612a5c614267565b6000356001600160e01b031916604051630612418f60e11b81526004016109209190614252565b846001600160a01b0316846001600160a01b031610612b32576000356001600160e01b031916604051635d3dcd3160e01b81526004016109209190614252565b8493506001016129b8565b50505085845250508281526020808c015160009081526001825260408082208e51835290925290812090612b6f61325b565b90506000612b7c85613265565b9050818110612c035780600003612bb4576000356001600160e01b031916604051637f11b8a360e11b81526004016109209190614252565b825460ff1916600190811784558301546040517f5c819725ea53655a3b898f3df59b66489761935454e9212ca1e5ebd759953d0b90600090a2612bf7838f613270565b50505050505050612cd6565b600082612c0e6132dd565b612c18919061421d565b612c2390600161420a565b90506000612c3086613265565b9050818110612caf5780600003612c68576000356001600160e01b031916604051637f11b8a360e11b81526004016109209190614252565b845460ff1916600317855560018501546040517f55295d4ce992922fa2e5ffbf3a3dcdb367de0a15e125ace083456017fd22060f90600090a2505050505050505050612cd6565b6000356001600160e01b031916604051634ccfe64360e11b81526004016109209190614252565b50505050505050565b612d1f6040518060e00160405280600081526020016000815260200160008152602001606081526020016060815260200160608152602001606081525090565b612d38612d3184604001516001611630565b84906132e7565b9050612d4f600254826130f690919063ffffffff16565b6000612d5a82612770565b90506000612d686000613197565b60008181527fa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49602090815260409091209087015160018201859055600690910155905082518114612dda576000356001600160e01b03191660405163d4cec26960e01b81526004016109209190614252565b81817f771d78ae9e5fca95a532fb0971d575d0ce9b59d14823c063e08740137e0e0eca85612e0789612e29565b8989604051612e199493929190614950565b60405180910390a3505092915050565b60608101516040820151608083015151600092919083906001600160401b03811115612e5757612e57613e2f565b604051908082528060200260200182016040528015612e80578160200160208202803683370190505b5060a086015190915060005b8251811015612edf5786608001518181518110612eab57612eab614267565b602002602001015180519060200120838281518110612ecc57612ecc614267565b6020908102919091010152600101612e8c565b50604080517f1463f426c05aff2c1a7a0957a71c9898bc8b47142540538e79ee25ee911413508152875160208083019190915297880151918101919091528351870293870193909320606084015283518602938601939093206080830152805185029085012060a082015281518402919093012060c08301525060e0902090565b8060036000846004811115612f7757612f776140c2565b6004811115612f8857612f886140c2565b8152602081019190915260400160002080546001600160a01b0319166001600160a01b039283161790558116826004811115612fc657612fc66140c2565b6040517f356c8c57e9e84b99b1cb58b13c985b2c979f78cbdf4d0fa70fe2a98bb09a099d90600090a35050565b600081815260018301602052604081205480156130dc57600061301760018361421d565b855490915060009061302b9060019061421d565b905081811461309057600086600001828154811061304b5761304b614267565b906000526020600020015490508087600001848154811061306e5761306e614267565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806130a1576130a1614a37565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610766565b6000915050610766565b60006107668361104a8585613411565b60008260600151511180156131145750816080015151826060015151145b801561312957508160a0015151826060015151145b801561313e57508160c0015151826060015151145b613169576000356001600160e01b0319166040516306b5667560e21b81526004016109209190614252565b613173814261420a565b826040015111156109335760405163ad89be9d60e01b815260040160405180910390fd5b600081815260208190526040812054908190036131c65750600090815260208190526040902060019081905590565b60008281526001602090815260408083208484529091528120906000825460ff1660048111156131f8576131f86140c2565b036132165760405163757a436360e01b815260040160405180910390fd5b505050600090815260208190526040902080546001019081905590565b6000806000613244878787876135ec565b91509150613251816136d9565b5095945050505050565b6000610638610876565b6000610766826114e1565b6132798161388f565b1561093357815460ff19166002178255600080613295836138a9565b9150915083600101547fe134987599ae266ec90edeff1b26125b287dbb57b10822649432d1bb26537fba83836040516132cf929190614a4d565b60405180910390a250505050565b6000610638610620565b6133276040518060e00160405280600081526020016000815260200160008152602001606081526020016060815260200160608152602001606081525090565b82518152602080840151604080840191909152600091830191909152830151516001600160401b0381111561335e5761335e613e2f565b604051908082528060200260200182016040528015613387578160200160208202803683370190505b5060608083019190915283015160808083019190915283015160a08083019190915283015160c082015260005b836040015151811015611783578281815181106133d3576133d3614267565b6020026020010151826060015182815181106133f1576133f1614267565b6001600160a01b03909216602092830291909101909101526001016133b4565b600082548281101561343057634e487b7160005260116020526024601cfd5b9190910392915050565b60048301548110156134ed5782600801600084600401838154811061346157613461614267565b60009182526020808320909101546001600160a01b031683528201929092526040018120805460ff1916905560048401805460078601929190849081106134aa576134aa614267565b60009182526020808320909101546001600160a01b031683528201929092526040018120805460ff1916815560018181018390556002909101919091550161343a565b5060005b60058301548110156135a45782600801600084600501838154811061351857613518614267565b60009182526020808320909101546001600160a01b031683528201929092526040018120805460ff19169055600584018054600786019291908490811061356157613561614267565b60009182526020808320909101546001600160a01b031683528201929092526040018120805460ff191681556001818101839055600290910191909155016134f1565b50815460ff1916825560006001830181905560028301819055600383018190556135d2906004840190613b07565b6135e0600583016000613b07565b60006006830155919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561362357506000905060036136d0565b8460ff16601b1415801561363b57508460ff16601c14155b1561364c57506000905060046136d0565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156136a0573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166136c9576000600192509250506136d0565b9150600090505b94509492505050565b60008160048111156136ed576136ed6140c2565b036136f55750565b6001816004811115613709576137096140c2565b036137565760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610920565b600281600481111561376a5761376a6140c2565b036137b75760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610920565b60038160048111156137cb576137cb6140c2565b036138235760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610920565b6004816004811115613837576138376140c2565b036114de5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610920565b600081602001516000148061076657505060200151461490565b6060806138b58361388f565b6138f357602083015160405163092048d160e11b81526000356001600160e01b03191660048201526024810191909152466044820152606401610920565b8260600151516001600160401b0381111561391057613910613e2f565b604051908082528060200260200182016040528015613939578160200160208202803683370190505b5091508260600151516001600160401b0381111561395957613959613e2f565b60405190808252806020026020018201604052801561398c57816020015b60608152602001906001900390816139775790505b50905060005b836060015151811015613b01578360c0015181815181106139b5576139b5614267565b60200260200101515a116139e8576139cc84612770565b6040516307aec4ab60e21b815260040161092091815260200190565b836060015181815181106139fe576139fe614267565b60200260200101516001600160a01b031684608001518281518110613a2557613a25614267565b60200260200101518560c001518381518110613a4357613a43614267565b6020026020010151908660a001518481518110613a6257613a62614267565b6020026020010151604051613a7791906146c7565b600060405180830381858888f193505050503d8060008114613ab5576040519150601f19603f3d011682016040523d82523d6000602084013e613aba565b606091505b50848381518110613acd57613acd614267565b60200260200101848481518110613ae657613ae6614267565b60209081029190910101919091529015159052600101613992565b50915091565b50805460008255906000526020600020908101906114de91905b80821115613b355760008155600101613b21565b5090565b60008083601f840112613b4b57600080fd5b5081356001600160401b03811115613b6257600080fd5b6020830191508360208260051b8501011115610b2757600080fd5b60008060008060008060608789031215613b9657600080fd5b86356001600160401b0380821115613bad57600080fd5b613bb98a838b01613b39565b90985096506020890135915080821115613bd257600080fd5b613bde8a838b01613b39565b90965094506040890135915080821115613bf757600080fd5b50613c0489828a01613b39565b979a9699509497509295939492505050565b600081518084526020808501945080840160005b83811015613c48578151151587529582019590820190600101613c2a565b509495945050505050565b6020815260006107216020830184613c16565b60008060208385031215613c7957600080fd5b82356001600160401b03811115613c8f57600080fd5b613c9b85828601613b39565b90969095509350505050565b600081518084526020808501945080840160005b83811015613c485781516001600160a01b031687529582019590820190600101613cbb565b6020815260006107216020830184613ca7565b600060208284031215613d0557600080fd5b5035919050565b60008083601f840112613d1e57600080fd5b5081356001600160401b03811115613d3557600080fd5b602083019150836020606083028501011115610b2757600080fd5b600080600080600060608688031215613d6857600080fd5b85356001600160401b0380821115613d7f57600080fd5b9087019060e0828a031215613d9357600080fd5b90955060208701359080821115613da957600080fd5b613db589838a01613b39565b90965094506040880135915080821115613dce57600080fd5b50613ddb88828901613d0c565b969995985093965092949392505050565b600080600080600060608688031215613e0457600080fd5b85356001600160401b0380821115613e1b57600080fd5b9087019060c0828a031215613d9357600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715613e6757613e67613e2f565b60405290565b60405160c081016001600160401b0381118282101715613e6757613e67613e2f565b604051601f8201601f191681016001600160401b0381118282101715613eb757613eb7613e2f565b604052919050565b60006001600160401b03821115613ed857613ed8613e2f565b5060051b60200190565b600082601f830112613ef357600080fd5b81356020613f08613f0383613ebf565b613e8f565b828152600592831b8501820192828201919087851115613f2757600080fd5b8387015b85811015613f4f578035828110613f425760008081fd5b8452928401928401613f2b565b5090979650505050505050565b80356001600160a01b0381168114610d6957600080fd5b600082601f830112613f8457600080fd5b81356020613f94613f0383613ebf565b82815260059290921b84018101918181019086841115613fb357600080fd5b8286015b84811015613fd557613fc881613f5c565b8352918301918301613fb7565b509695505050505050565b60008060408385031215613ff357600080fd5b82356001600160401b038082111561400a57600080fd5b61401686838701613ee2565b9350602085013591508082111561402c57600080fd5b5061403985828601613f73565b9150509250929050565b803560108110610d6957600080fd5b6000806040838503121561406557600080fd5b61406e83614043565b915061407c60208401613f5c565b90509250929050565b60006020828403121561409757600080fd5b61072182613f5c565b600080604083850312156140b357600080fd5b50508035926020909101359150565b634e487b7160e01b600052602160045260246000fd5b600581106114de576114de6140c2565b60a081016140f5876140d8565b95815260208101949094526040840192909252606083015260809091015290565b60006020828403121561412857600080fd5b81356001600160401b0381111561413e57600080fd5b6106ba84828501613f73565b600081518084526020808501945080840160005b83811015613c485781516001600160601b03168752958201959082019060010161415e565b6060815260006141966060830186613ca7565b82810360208401526141a88186613ca7565b905082810360408401526141bc818561414a565b9695505050505050565b602081526000610721602083018461414a565b6000602082840312156141eb57600080fd5b61072182614043565b634e487b7160e01b600052601160045260246000fd5b80820180821115610766576107666141f4565b81810381811115610766576107666141f4565b60008261424d57634e487b7160e01b600052601260045260246000fd5b500490565b6001600160e01b031991909116815260200190565b634e487b7160e01b600052603260045260246000fd5b8082028115828204841417610766576107666141f4565b60208101601083106142a8576142a86140c2565b91905290565b6040815260006142c16040830185613ca7565b82810360208401526142d38185613c16565b95945050505050565b6080815260006142ef6080830187613c16565b8281036020840152614301818761414a565b905082810360408401526143158186613ca7565b905082810360608401526106158185613ca7565b6001600160e01b03198316815260408101600b831061434a5761434a6140c2565b8260208301529392505050565b600082601f83011261436857600080fd5b81356020614378613f0383613ebf565b82815260059290921b8401810191818101908684111561439757600080fd5b8286015b84811015613fd5578035835291830191830161439b565b6000601f83818401126143c457600080fd5b823560206143d4613f0383613ebf565b82815260059290921b850181019181810190878411156143f357600080fd5b8287015b848110156144895780356001600160401b03808211156144175760008081fd5b818a0191508a603f83011261442c5760008081fd5b8582013560408282111561444257614442613e2f565b614453828b01601f19168901613e8f565b92508183528c8183860101111561446a5760008081fd5b81818501898501375060009082018701528452509183019183016143f7565b50979650505050505050565b600060e082360312156144a757600080fd5b6144af613e45565b82358152602083013560208201526040830135604082015260608301356001600160401b03808211156144e157600080fd5b6144ed36838701613f73565b6060840152608085013591508082111561450657600080fd5b61451236838701614357565b608084015260a085013591508082111561452b57600080fd5b614537368387016143b2565b60a084015260c085013591508082111561455057600080fd5b5061455d36828601614357565b60c08301525092915050565b600060c0823603121561457b57600080fd5b614583613e6d565b823581526020830135602082015260408301356001600160401b03808211156145ab57600080fd5b6145b736838701613ee2565b604084015260608501359150808211156145d057600080fd5b6145dc36838701614357565b606084015260808501359150808211156145f557600080fd5b614601368387016143b2565b608084015260a085013591508082111561461a57600080fd5b5061462736828601614357565b60a08301525092915050565b60005b8381101561464e578181015183820152602001614636565b50506000910152565b6001600160e01b031983168152815160009061467a816004850160208701614633565b919091016004019392505050565b600081518084526146a0816020860160208601614633565b601f01601f19169290920160200192915050565b6020815260006107216020830184614688565b600082516146d9818460208701614633565b9190910192915050565b6000815180845260208085019450848260051b860182860160005b85811015613f4f578383038952614716838351614688565b988501989250908401906001016146fe565b60808152600061473b6080830187614688565b828103602084015261474d8187613ca7565b905082810360408401526147618186613c16565b9050828103606084015261061581856146e3565b6040815260006147886040830185613c16565b82810360208401526142d38185613ca7565b6001600160e01b03199290921682526001600160a01b0316602082015260400190565b6000602082840312156147cf57600080fd5b8151801515811461072157600080fd5b600081518084526020808501945080840160005b83811015613c48578151875295820195908201906001016147f3565b600060e08301825184526020808401518186015260408401516040860152606084015160e06060870152828151808552610100880191508383019450600092505b808310156148795784516001600160a01b03168252938301936001929092019190830190614850565b5060808601519350868103608088015261489381856147df565b935050505060a083015184820360a08601526148af82826146e3565b91505060c083015184820360c08601526142d382826147df565b6040815260006148dc604083018561480f565b905060018060a01b03831660208301529392505050565b60006020828403121561490557600080fd5b81356002811061072157600080fd5b60006020828403121561492657600080fd5b813560ff8116811461072157600080fd5b600060018201614949576149496141f4565b5060010190565b608081526000614963608083018761480f565b60208681850152838203604085015260c08201865183528187015182840152604087015160c0604085015281815180845260e0860191508483019350600092505b808310156149cd5783516149b7816140d8565b82529284019260019290920191908401906149a4565b506060890151935084810360608601526149e781856147df565b935050505060808601518282036080840152614a0382826146e3565b91505060a086015182820360a0840152614a1d82826147df565b93505050506142d360608301846001600160a01b03169052565b634e487b7160e01b600052603160045260246000fd5b604081526000614a606040830185613c16565b82810360208401526142d381856146e356fe5da136eb38f8d8e354915fc8a767c0dc81d49de5fb65d5477122a82ddd976240ac1ff16a4f04f2a37a9ba5252a69baa100b460e517d1f8019c054a5ad698f9ffc55405a488814eaa0e2a685a0131142785b8d033d311c8c8244e34a7c12ca40f88547008e60f5748911f2e59feb3093b7e4c2e87b2dd69d61f112fcc932de8e38400683eb2cb350596d73644c0c89fe45f108600003457374f4ab3e87b4f3aa3d38c234075fde25875da8a6b7e36b58b86681d483271a99eeeee1d78e258a24d6924fe71b0c8b61aea02ca498b5f53b29bd95726278b1fe4eb791bb24a42644ca2646970667358221220e24c473cb9b7f8fce5e9e8b7bcf5aa6cef6921786fda11dfa2a2fe81c2fbf42764736f6c63430008110033", - "devdoc": { - "errors": { - "ErrBridgeOperatorAlreadyExisted(address)": [ - { - "details": "Error thrown when attempting to add a bridge operator that already exists in the contract. This error indicates that the provided bridge operator address is already registered as a bridge operator in the contract." - } - ], - "ErrBridgeOperatorUpdateFailed(address)": [ - { - "details": "Error raised when a bridge operator update operation fails.", - "params": { - "bridgeOperator": "The address of the bridge operator that failed to update." - } - } - ], - "ErrContractTypeNotFound(uint8)": [ - { - "details": "Error of invalid role." - } - ], - "ErrCurrentProposalIsNotCompleted()": [ - { - "details": "Error thrown when the current proposal is not completed." - } - ], - "ErrDuplicated(bytes4)": [ - { - "details": "Error thrown when a duplicated element is detected in an array.", - "params": { - "msgSig": "The function signature that invoke the error." - } - } - ], - "ErrInsufficientGas(bytes32)": [ - { - "details": "Error thrown when there is insufficient gas to execute a function." - } - ], - "ErrInvalidArguments(bytes4)": [ - { - "details": "Error indicating that arguments are invalid." - } - ], - "ErrInvalidChainId(bytes4,uint256,uint256)": [ - { - "details": "Error indicating that the chain ID is invalid.", - "params": { - "actual": "Current chain ID that executing function.", - "expected": "Expected chain ID required for the tx to success.", - "msgSig": "The function signature (bytes4) of the operation that encountered an invalid chain ID." - } - } - ], - "ErrInvalidExpiryTimestamp()": [ - { - "details": "Error thrown when an invalid expiry timestamp is provided." - } - ], - "ErrInvalidOrder(bytes4)": [ - { - "details": "Error indicating that an order is invalid.", - "params": { - "msgSig": "The function signature (bytes4) of the operation that encountered an invalid order." - } - } - ], - "ErrInvalidProposalNonce(bytes4)": [ - { - "details": "Error indicating that the proposal nonce is invalid.", - "params": { - "msgSig": "The function signature (bytes4) of the operation that encountered an invalid proposal nonce." - } - } - ], - "ErrInvalidThreshold(bytes4)": [ - { - "details": "Error indicating that the provided threshold is invalid for a specific function signature.", - "params": { - "msgSig": "The function signature (bytes4) that the invalid threshold applies to." - } - } - ], - "ErrInvalidVoteWeight(bytes4)": [ - { - "details": "Error indicating that a vote weight is invalid for a specific function signature.", - "params": { - "msgSig": "The function signature (bytes4) that encountered an invalid vote weight." - } - } - ], - "ErrLengthMismatch(bytes4)": [ - { - "details": "Error indicating a mismatch in the length of input parameters or arrays for a specific function.", - "params": { - "msgSig": "The function signature (bytes4) that has a length mismatch." - } - } - ], - "ErrOnlySelfCall(bytes4)": [ - { - "details": "Error indicating that a function can only be called by the contract itself.", - "params": { - "msgSig": "The function signature (bytes4) that can only be called by the contract itself." - } - } - ], - "ErrRelayFailed(bytes4)": [ - { - "details": "Error indicating that a relay call has failed.", - "params": { - "msgSig": "The function signature (bytes4) of the relay call that failed." - } - } - ], - "ErrUnauthorized(bytes4,uint8)": [ - { - "details": "Error indicating that the caller is unauthorized to perform a specific function.", - "params": { - "expectedRole": "The role required to perform the function.", - "msgSig": "The function signature (bytes4) that the caller is unauthorized to perform." - } - } - ], - "ErrUnsupportedInterface(bytes4,address)": [ - { - "details": "The error indicating an unsupported interface.", - "params": { - "addr": "The address where the unsupported interface was encountered.", - "interfaceId": "The bytes4 interface identifier that is not supported." - } - } - ], - "ErrUnsupportedVoteType(bytes4)": [ - { - "details": "Error indicating that a vote type is not supported.", - "params": { - "msgSig": "The function signature (bytes4) of the operation that encountered an unsupported vote type." - } - } - ], - "ErrVoteIsFinalized()": [ - { - "details": "Error thrown when attempting to interact with a finalized vote." - } - ], - "ErrZeroAddress(bytes4)": [ - { - "details": "Error indicating that given address is null when it should not." - } - ], - "ErrZeroCodeContract(address)": [ - { - "details": "Error of set to non-contract." - } - ] - }, - "kind": "dev", - "methods": { - "addBridgeOperators(uint96[],address[],address[])": { - "details": "Adds multiple bridge operators.", - "params": { - "bridgeOperators": "An array of addresses representing the bridge operators to add.", - "governors": "An array of addresses of hot/cold wallets for bridge operator to update their node address." - }, - "returns": { - "addeds": "An array of booleans indicating whether each bridge operator was added successfully. Note: return boolean array `addeds` indicates whether a group (voteWeight, governor, operator) are recorded. It is expected that FE/BE staticcall to the function first to get the return values and handle it correctly. Governors are expected to see the outcome of this function and decide if they want to vote for the proposal or not. Example Usage: Making an `eth_call` in ethers.js ``` const {addeds} = await bridgeManagerContract.callStatic.addBridgeOperators( voteWeights, governors, bridgeOperators, // overriding the caller to the contract itself since we use `onlySelfCall` guard {from: bridgeManagerContract.address} ) const filteredOperators = bridgeOperators.filter((_, index) => addeds[index]); const filteredWeights = weights.filter((_, index) => addeds[index]); const filteredGovernors = governors.filter((_, index) => addeds[index]); // ... (Process or use the information as required) ... ```" - } - }, - "checkThreshold(uint256)": { - "details": "Checks whether the `_voteWeight` passes the threshold." - }, - "getBridgeOperatorOf(address[])": { - "details": "Returns an array of bridge operators correspoding to governor addresses.", - "returns": { - "bridgeOperators": "An array containing the addresses of all bridge operators." - } - }, - "getBridgeOperatorWeight(address)": { - "details": "External function to retrieve the vote weight of a specific bridge operator.", - "params": { - "bridgeOperator": "The address of the bridge operator to get the vote weight for." - }, - "returns": { - "weight": "The vote weight of the specified bridge operator." - } - }, - "getBridgeOperators()": { - "details": "Returns an array of all bridge operators.", - "returns": { - "_0": "An array containing the addresses of all bridge operators." - } - }, - "getCallbackRegisters()": { - "details": "Retrieves the addresses of registered callbacks.", - "returns": { - "registers": "An array containing the addresses of registered callbacks." - } - }, - "getContract(uint8)": { - "details": "Returns the address of a contract with a specific role. Throws an error if no contract is set for the specified role.", - "params": { - "contractType": "The role of the contract to retrieve." - }, - "returns": { - "contract_": "The address of the contract with the specified role." - } - }, - "getFullBridgeOperatorInfos()": { - "details": "Retrieves the full information of all registered bridge operators. This external function allows external callers to obtain the full information of all the registered bridge operators. The returned arrays include the addresses of governors, bridge operators, and their corresponding vote weights.", - "returns": { - "bridgeOperators": "An array of addresses representing the registered bridge operators.", - "governors": "An array of addresses representing the governors of each bridge operator.", - "weights": "An array of uint256 values representing the vote weights of each bridge operator. Note: The length of each array will be the same, and the order of elements corresponds to the same bridge operator. Example Usage: ``` (address[] memory governors, address[] memory bridgeOperators, uint256[] memory weights) = getFullBridgeOperatorInfos(); for (uint256 i = 0; i < bridgeOperators.length; i++) { // Access individual information for each bridge operator. address governor = governors[i]; address bridgeOperator = bridgeOperators[i]; uint256 weight = weights[i]; // ... (Process or use the information as required) ... } ```" - } - }, - "getGovernorWeight(address)": { - "details": "External function to retrieve the vote weight of a specific governor.", - "params": { - "governor": "The address of the governor to get the vote weight for." - }, - "returns": { - "weight": "voteWeight The vote weight of the specified governor." - } - }, - "getGovernorWeights(address[])": { - "details": "Returns the weights of a list of governor addresses." - }, - "getGovernors()": { - "details": "Returns an array of all governors.", - "returns": { - "_0": "An array containing the addresses of all governors." - } - }, - "getGovernorsOf(address[])": { - "details": "Retrieves the governors corresponding to a given array of bridge operators. This external function allows external callers to obtain the governors associated with a given array of bridge operators. The function takes an input array `bridgeOperators` containing bridge operator addresses and returns an array of corresponding governors.", - "params": { - "bridgeOperators": "An array of bridge operator addresses for which governors are to be retrieved." - }, - "returns": { - "governors": "An array of addresses representing the governors corresponding to the provided bridge operators." - } - }, - "getProposalExpiryDuration()": { - "details": "Returns the expiry duration for a new proposal." - }, - "getThreshold()": { - "details": "Returns the threshold." - }, - "getTotalWeight()": { - "details": "Returns total weights." - }, - "globalProposalRelayed(uint256)": { - "details": "Returns whether the voter `_voter` casted vote for the proposal." - }, - "isBridgeOperator(address)": { - "details": "Checks if the given address is a bridge operator.", - "params": { - "addr": "The address to check." - }, - "returns": { - "_0": "A boolean indicating whether the address is a bridge operator." - } - }, - "minimumVoteWeight()": { - "details": "Returns the minimum vote weight to pass the threshold." - }, - "registerCallbacks(address[])": { - "details": "Registers multiple callbacks with the bridge.", - "params": { - "registers": "The array of callback addresses to register." - }, - "returns": { - "registereds": "An array indicating the success status of each registration." - } - }, - "relayGlobalProposal((uint256,uint256,uint8[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])": { - "details": "See `GovernanceRelay-_relayGlobalProposal`. Requirements: - The method caller is governor." - }, - "relayProposal((uint256,uint256,uint256,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])": { - "details": "See `GovernanceRelay-_relayProposal`. Requirements: - The method caller is governor." - }, - "removeBridgeOperators(address[])": { - "details": "Removes multiple bridge operators.", - "params": { - "bridgeOperators": "An array of addresses representing the bridge operators to remove." - }, - "returns": { - "removeds": "An array of booleans indicating whether each bridge operator was removed successfully. * Note: return boolean array `removeds` indicates whether a group (voteWeight, governor, operator) are recorded. It is expected that FE/BE staticcall to the function first to get the return values and handle it correctly. Governors are expected to see the outcome of this function and decide if they want to vote for the proposal or not. Example Usage: Making an `eth_call` in ethers.js ``` const {removeds} = await bridgeManagerContract.callStatic.removeBridgeOperators( bridgeOperators, // overriding the caller to the contract itself since we use `onlySelfCall` guard {from: bridgeManagerContract.address} ) const filteredOperators = bridgeOperators.filter((_, index) => removeds[index]); // ... (Process or use the information as required) ... ```" - } - }, - "resolveTargets(uint8[])": { - "details": "Returns corresponding address of target options. Return address(0) on non-existent target." - }, - "setContract(uint8,address)": { - "details": "Sets the address of a contract with a specific role. Emits the event {ContractUpdated}.", - "params": { - "addr": "The address of the contract to set.", - "contractType": "The role of the contract to set." - } - }, - "setThreshold(uint256,uint256)": { - "details": "Sets the threshold. Requirements: - The method caller is admin. Emits the `ThresholdUpdated` event." - }, - "sumGovernorsWeight(address[])": { - "details": "Returns total weights of the governor list." - }, - "totalBridgeOperator()": { - "details": "Returns the total number of bridge operators.", - "returns": { - "_0": "The total number of bridge operators." - } - }, - "unregisterCallbacks(address[])": { - "details": "Unregisters multiple callbacks from the bridge.", - "params": { - "registers": "The array of callback addresses to unregister." - }, - "returns": { - "unregistereds": "An array indicating the success status of each unregistration." - } - }, - "updateBridgeOperator(address)": { - "details": "Governor updates their corresponding governor and/or operator address. Requirements: - The caller must the governor of the operator that is requested changes.", - "params": { - "bridgeOperator": "The address of the bridge operator to update." - } - }, - "updateManyTargetOption(uint8[],address[])": { - "details": "Updates list of `targetOptions` to `targets`. Requirement: - Only allow self-call through proposal. " - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": { - "round(uint256)": { - "notice": "chain id = 0 for global proposal" - }, - "updateBridgeOperator(address)": { - "notice": "This method checks authorization by querying the corresponding operator of the msg.sender and then attempts to remove it from the `_bridgeOperatorSet` for gas optimization. In case we allow a governor can leave their operator address blank null `address(0)`, consider add authorization check." - } - }, - "version": 1 - }, - "storageLayout": { - "storage": [ - { - "astId": 8181, - "contract": "contracts/mainchain/MainchainBridgeManager.sol:MainchainBridgeManager", - "label": "round", - "offset": 0, - "slot": "0", - "type": "t_mapping(t_uint256,t_uint256)" - }, - { - "astId": 8189, - "contract": "contracts/mainchain/MainchainBridgeManager.sol:MainchainBridgeManager", - "label": "vote", - "offset": 0, - "slot": "1", - "type": "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ProposalVote)8119_storage))" - }, - { - "astId": 8191, - "contract": "contracts/mainchain/MainchainBridgeManager.sol:MainchainBridgeManager", - "label": "_proposalExpiryDuration", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 8928, - "contract": "contracts/mainchain/MainchainBridgeManager.sol:MainchainBridgeManager", - "label": "_targetOptionsMap", - "offset": 0, - "slot": "3", - "type": "t_mapping(t_enum(TargetOption)15426,t_address)" - } - ], - "types": { - "t_address": { - "encoding": "inplace", - "label": "address", - "numberOfBytes": "20" - }, - "t_array(t_address)dyn_storage": { - "base": "t_address", - "encoding": "dynamic_array", - "label": "address[]", - "numberOfBytes": "32" - }, - "t_bool": { - "encoding": "inplace", - "label": "bool", - "numberOfBytes": "1" - }, - "t_bytes32": { - "encoding": "inplace", - "label": "bytes32", - "numberOfBytes": "32" - }, - "t_enum(TargetOption)15426": { - "encoding": "inplace", - "label": "enum GlobalProposal.TargetOption", - "numberOfBytes": "1" - }, - "t_enum(VoteStatus)13030": { - "encoding": "inplace", - "label": "enum VoteStatusConsumer.VoteStatus", - "numberOfBytes": "1" - }, - "t_mapping(t_address,t_bool)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => bool)", - "numberOfBytes": "32", - "value": "t_bool" - }, - "t_mapping(t_address,t_struct(Signature)13021_storage)": { - "encoding": "mapping", - "key": "t_address", - "label": "mapping(address => struct SignatureConsumer.Signature)", - "numberOfBytes": "32", - "value": "t_struct(Signature)13021_storage" - }, - "t_mapping(t_enum(TargetOption)15426,t_address)": { - "encoding": "mapping", - "key": "t_enum(TargetOption)15426", - "label": "mapping(enum GlobalProposal.TargetOption => address)", - "numberOfBytes": "32", - "value": "t_address" - }, - "t_mapping(t_uint256,t_mapping(t_uint256,t_struct(ProposalVote)8119_storage))": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => mapping(uint256 => struct CoreGovernance.ProposalVote))", - "numberOfBytes": "32", - "value": "t_mapping(t_uint256,t_struct(ProposalVote)8119_storage)" - }, - "t_mapping(t_uint256,t_struct(ProposalVote)8119_storage)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => struct CoreGovernance.ProposalVote)", - "numberOfBytes": "32", - "value": "t_struct(ProposalVote)8119_storage" - }, - "t_mapping(t_uint256,t_uint256)": { - "encoding": "mapping", - "key": "t_uint256", - "label": "mapping(uint256 => uint256)", - "numberOfBytes": "32", - "value": "t_uint256" - }, - "t_struct(ProposalVote)8119_storage": { - "encoding": "inplace", - "label": "struct CoreGovernance.ProposalVote", - "members": [ - { - "astId": 8095, - "contract": "contracts/mainchain/MainchainBridgeManager.sol:MainchainBridgeManager", - "label": "status", - "offset": 0, - "slot": "0", - "type": "t_enum(VoteStatus)13030" - }, - { - "astId": 8097, - "contract": "contracts/mainchain/MainchainBridgeManager.sol:MainchainBridgeManager", - "label": "hash", - "offset": 0, - "slot": "1", - "type": "t_bytes32" - }, - { - "astId": 8099, - "contract": "contracts/mainchain/MainchainBridgeManager.sol:MainchainBridgeManager", - "label": "againstVoteWeight", - "offset": 0, - "slot": "2", - "type": "t_uint256" - }, - { - "astId": 8101, - "contract": "contracts/mainchain/MainchainBridgeManager.sol:MainchainBridgeManager", - "label": "forVoteWeight", - "offset": 0, - "slot": "3", - "type": "t_uint256" - }, - { - "astId": 8104, - "contract": "contracts/mainchain/MainchainBridgeManager.sol:MainchainBridgeManager", - "label": "forVoteds", - "offset": 0, - "slot": "4", - "type": "t_array(t_address)dyn_storage" - }, - { - "astId": 8107, - "contract": "contracts/mainchain/MainchainBridgeManager.sol:MainchainBridgeManager", - "label": "againstVoteds", - "offset": 0, - "slot": "5", - "type": "t_array(t_address)dyn_storage" - }, - { - "astId": 8109, - "contract": "contracts/mainchain/MainchainBridgeManager.sol:MainchainBridgeManager", - "label": "expiryTimestamp", - "offset": 0, - "slot": "6", - "type": "t_uint256" - }, - { - "astId": 8114, - "contract": "contracts/mainchain/MainchainBridgeManager.sol:MainchainBridgeManager", - "label": "sig", - "offset": 0, - "slot": "7", - "type": "t_mapping(t_address,t_struct(Signature)13021_storage)" - }, - { - "astId": 8118, - "contract": "contracts/mainchain/MainchainBridgeManager.sol:MainchainBridgeManager", - "label": "voted", - "offset": 0, - "slot": "8", - "type": "t_mapping(t_address,t_bool)" - } - ], - "numberOfBytes": "288" - }, - "t_struct(Signature)13021_storage": { - "encoding": "inplace", - "label": "struct SignatureConsumer.Signature", - "members": [ - { - "astId": 13016, - "contract": "contracts/mainchain/MainchainBridgeManager.sol:MainchainBridgeManager", - "label": "v", - "offset": 0, - "slot": "0", - "type": "t_uint8" - }, - { - "astId": 13018, - "contract": "contracts/mainchain/MainchainBridgeManager.sol:MainchainBridgeManager", - "label": "r", - "offset": 0, - "slot": "1", - "type": "t_bytes32" - }, - { - "astId": 13020, - "contract": "contracts/mainchain/MainchainBridgeManager.sol:MainchainBridgeManager", - "label": "s", - "offset": 0, - "slot": "2", - "type": "t_bytes32" - } - ], - "numberOfBytes": "96" - }, - "t_uint256": { - "encoding": "inplace", - "label": "uint256", - "numberOfBytes": "32" - }, - "t_uint8": { - "encoding": "inplace", - "label": "uint8", - "numberOfBytes": "1" - } - } - } -} \ No newline at end of file diff --git a/script/Migration.s.sol b/script/Migration.s.sol index 1e7e7b6f..6dbc0990 100644 --- a/script/Migration.s.sol +++ b/script/Migration.s.sol @@ -150,8 +150,8 @@ contract Migration is BaseMigration, Utils, SignatureConsumer { voteWeights[i] = 100; } - operatorPKs.inplaceSortByValue(operatorAddrs.toUint256s()); - governorPKs.inplaceSortByValue(governorAddrs.toUint256s()); + operatorPKs.inplaceAscSortByValue(operatorAddrs.toUint256s()); + governorPKs.inplaceAscSortByValue(governorAddrs.toUint256s()); param.test.operatorPKs = operatorPKs; param.test.governorPKs = governorPKs; diff --git a/script/PostChecker.sol b/script/PostChecker.sol index bc91f388..e3639ffb 100644 --- a/script/PostChecker.sol +++ b/script/PostChecker.sol @@ -63,13 +63,13 @@ contract PostChecker is Migration, PostCheck_BridgeManager, PostCheck_Gateway { _loadRoninContracts(); (, TNetwork companionNetwork) = currentNetwork.companionNetworkData(); - mainchainGateway = CONFIG.getAddress(companionNetwork, Contract.MainchainGatewayV3.key()); - mainchainBridgeManager = CONFIG.getAddress(companionNetwork, Contract.MainchainBridgeManager.key()); + ethGW = CONFIG.getAddress(companionNetwork, Contract.MainchainGatewayV3.key()); + ethBM = CONFIG.getAddress(companionNetwork, Contract.MainchainBridgeManager.key()); } else { - mainchainGateway = loadContract(Contract.MainchainGatewayV3.key()); - mainchainBridgeManager = loadContract(Contract.MainchainBridgeManager.key()); + ethGW = loadContract(Contract.MainchainGatewayV3.key()); + ethBM = loadContract(Contract.MainchainBridgeManager.key()); - console.log("Mainchain Bridge Manager Logic:", LibProxy.getProxyImplementation(mainchainBridgeManager)); + console.log("Mainchain Bridge Manager Logic:", LibProxy.getProxyImplementation(ethBM)); (, TNetwork companionNetwork) = currentNetwork.companionNetworkData(); uint256 originForkBlockNumber = config.getRuntimeConfig().forkBlockNumber; @@ -83,11 +83,11 @@ contract PostChecker is Migration, PostCheck_BridgeManager, PostCheck_Gateway { } function _loadRoninContracts() private { - bridgeSlash = loadContract(Contract.BridgeSlash.key()); - bridgeReward = loadContract(Contract.BridgeReward.key()); - roninGateway = loadContract(Contract.RoninGatewayV3.key()); - bridgeTracking = loadContract(Contract.BridgeTracking.key()); - roninBridgeManager = loadContract(Contract.RoninBridgeManager.key()); + brSl = loadContract(Contract.BridgeSlash.key()); + brRw = loadContract(Contract.BridgeReward.key()); + ronGW = loadContract(Contract.RoninGatewayV3.key()); + brTk = loadContract(Contract.BridgeTracking.key()); + ronBM = loadContract(Contract.RoninBridgeManager.key()); } function _markSysContractsAsPersistent() internal { } diff --git a/script/interfaces/ITransparentUpgradeableProxyV2.sol b/script/interfaces/ITransparentUpgradeableProxyV2.sol new file mode 100644 index 00000000..4bd21efb --- /dev/null +++ b/script/interfaces/ITransparentUpgradeableProxyV2.sol @@ -0,0 +1,21 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.23; + +interface ITransparentUpgradeableProxyV2 { + /** + * @dev Calls a function from the current implementation as specified by `_data`, which should be an encoded function call. + * + * Requirements: + * - Only the admin can call this function. + * + * Note: The proxy admin is not allowed to interact with the proxy logic through the fallback function to avoid + * triggering some unexpected logic. This is to allow the administrator to explicitly call the proxy, please consider + * reviewing the encoded data `_data` and the method which is called before using this. + * + */ + function functionDelegateCall(bytes memory data) external payable; + + function upgradeTo(address impl) external; + + function upgradeToAndCall(address impl, bytes memory data) external payable; +} diff --git a/script/post-check/BasePostCheck.s.sol b/script/post-check/BasePostCheck.s.sol index ba9bab6e..081d3c81 100644 --- a/script/post-check/BasePostCheck.s.sol +++ b/script/post-check/BasePostCheck.s.sol @@ -4,11 +4,14 @@ pragma solidity ^0.8.19; import { Vm } from "forge-std/Vm.sol"; import { StdStyle } from "forge-std/StdStyle.sol"; import { console } from "forge-std/console.sol"; +import { StdStorage, stdStorage } from "forge-std/StdStorage.sol"; import { BaseMigration } from "@fdk/BaseMigration.s.sol"; import { DefaultNetwork } from "@fdk/utils/DefaultNetwork.sol"; import { TNetwork, Network } from "script/utils/Network.sol"; +import { GatewayV3 } from "@ronin/contracts/extensions/GatewayV3.sol"; +import { IPauseTarget } from "@ronin/contracts/interfaces/IPauseTarget.sol"; import { IBridgeManager } from "@ronin/contracts/interfaces/bridge/IBridgeManager.sol"; -import { TransparentUpgradeableProxyV2 } from "@ronin/contracts/extensions/TransparentUpgradeableProxyV2.sol"; +import { ITransparentUpgradeableProxyV2 } from "script/interfaces/ITransparentUpgradeableProxyV2.sol"; import { LibArray } from "script/shared/libraries/LibArray.sol"; import { LibProxy } from "@fdk/libraries/LibProxy.sol"; import { SignatureConsumer } from "@ronin/contracts/interfaces/consumers/SignatureConsumer.sol"; @@ -17,23 +20,29 @@ abstract contract BasePostCheck is BaseMigration, SignatureConsumer { using StdStyle for *; using LibArray for *; using LibProxy for *; + using stdStorage for StdStorage; uint256 internal seed = vm.unixTime(); - address payable internal bridgeSlash; - address payable internal bridgeReward; - address payable internal bridgeTracking; - address payable internal roninBridgeManager; - address payable internal roninGateway; - address payable internal mainchainGateway; - address payable internal mainchainBridgeManager; + address payable internal brSl; + address payable internal brRw; + address payable internal brTk; + address payable internal ronBM; + address payable internal ronGW; + address payable internal ethGW; + address payable internal ethBM; - address internal cheatGovernor; - address internal cheatOperator; - uint256 internal cheatGovernorPk; - uint256 internal cheatOperatorPk; + address internal cheatGv; + address internal cheatOp; + uint256 internal cheatGvPK; + uint256 internal cheatOpPK; - bytes32 internal gwDomainSeparator; + address[] internal mockGvs; + address[] internal mockOps; + uint256[] internal mockGvPKs; + uint256[] internal mockOpPKs; + + bytes32 internal gwDomainHash; modifier onPostCheck(string memory postCheckLabel) { uint256 snapshotId = _beforePostCheck(postCheckLabel); @@ -50,36 +59,109 @@ abstract contract BasePostCheck is BaseMigration, SignatureConsumer { _; } - function cheatAddOverWeightedGovernor(address manager) internal { + function cheatUnpauseIfPaused(address payable gw) internal { + bool paused = IPauseTarget(gw).paused(); + if (paused) { + address emergencyPauser = GatewayV3(gw).emergencyPauser(); + vm.prank(emergencyPauser); + IPauseTarget(gw).unpause(); + + assertFalse(IPauseTarget(gw).paused(), "GatewayV3 should not be paused after unpausing"); + } + } + + function cheatAddOverWeightedGovernor(address bm) internal { uint256 totalWeight; - try IBridgeManager(manager).getTotalWeight() returns (uint256 res) { + try IBridgeManager(bm).getTotalWeight() returns (uint256 res) { totalWeight = res; } catch { - (, bytes memory res) = manager.staticcall(abi.encodeWithSignature("getTotalWeights()")); + (, bytes memory res) = bm.staticcall(abi.encodeWithSignature("getTotalWeights()")); totalWeight = abi.decode(res, (uint256)); } - uint256 cheatVoteWeight = totalWeight * 100; - (cheatOperator, cheatOperatorPk) = makeAddrAndKey(string.concat("cheat-operator-", vm.toString(seed))); - (cheatGovernor, cheatGovernorPk) = makeAddrAndKey(string.concat("cheat-governor-", vm.toString(seed))); + uint256 cheatVW = totalWeight * 100; + (cheatOp, cheatOpPK) = makeAddrAndKey(string.concat("cheat-op-", vm.toString(seed))); + (cheatGv, cheatGvPK) = makeAddrAndKey(string.concat("cheat-gv-", vm.toString(seed))); - vm.deal(cheatGovernor, 1); // Check created EOA - vm.deal(cheatOperator, 1); // Check created EOA + vm.deal(cheatGv, 1); // Check created EOA + vm.deal(cheatOp, 1); // Check created EOA - address proxyAdmin = payable(manager).getProxyAdmin(); - if (proxyAdmin != manager) { - console.log(unicode"⚠ WARNING: ProxyAdmin is not the manager!".yellow()); + address pa = bm.getProxyAdmin(); + if (pa != bm) { + console.log(unicode"⚠ WARNING: ProxyAdmin is not the bm!".yellow()); } - vm.prank(proxyAdmin); - try TransparentUpgradeableProxyV2(payable(manager)).functionDelegateCall( - abi.encodeCall( - IBridgeManager.addBridgeOperators, - (cheatVoteWeight.toSingletonArray().toUint96sUnsafe(), cheatGovernor.toSingletonArray(), cheatOperator.toSingletonArray()) - ) + vm.prank(pa); + try ITransparentUpgradeableProxyV2(bm).functionDelegateCall( + abi.encodeCall(IBridgeManager.addBridgeOperators, (cheatVW.toSingletonArray().toUint96sUnsafe(), cheatGv.toSingletonArray(), cheatOp.toSingletonArray())) ) { } catch { - vm.prank(proxyAdmin); - IBridgeManager(manager).addBridgeOperators( - cheatVoteWeight.toSingletonArray().toUint96sUnsafe(), cheatGovernor.toSingletonArray(), cheatOperator.toSingletonArray() - ); + vm.prank(pa); + IBridgeManager(bm).addBridgeOperators(cheatVW.toSingletonArray().toUint96sUnsafe(), cheatGv.toSingletonArray(), cheatOp.toSingletonArray()); + } + } + + function overrideMockBOs(address bm) internal { + uint256 boCount = IBridgeManager(bm).totalBridgeOperator(); + address[] memory bos = IBridgeManager(bm).getBridgeOperators(); + uint96[] memory vws = new uint96[](boCount); + + delete mockGvs; + delete mockOps; + delete mockGvPKs; + delete mockOpPKs; + + for (uint256 i; i < boCount; ++i) { + vws[i] = IBridgeManager(bm).getBridgeOperatorWeight(bos[i]); + require(vws[i] > 0, "BridgeOperator weight should be greater than 0"); + + (address gv, uint256 gvPK) = makeAddrAndKey(string.concat("mock-gv-", vm.toString(vm.unixTime()), "-", vm.toString(i))); + (address op, uint256 opPK) = makeAddrAndKey(string.concat("mock-op-", vm.toString(vm.unixTime()), "-", vm.toString(i))); + + mockGvs.push(gv); + mockOps.push(op); + mockGvPKs.push(gvPK); + mockOpPKs.push(opPK); + } + + address pa = bm.getProxyAdmin(); + vm.prank(pa); + try ITransparentUpgradeableProxyV2(bm).functionDelegateCall(abi.encodeCall(IBridgeManager.addBridgeOperators, (vws, mockGvs, mockOps))) { } + catch { + vm.prank(pa); + IBridgeManager(bm).addBridgeOperators(vws, mockGvs, mockOps); + } + + // remove real bridge operators + vm.prank(pa); + try ITransparentUpgradeableProxyV2(bm).functionDelegateCall(abi.encodeCall(IBridgeManager.removeBridgeOperators, (bos))) { } + catch { + vm.prank(pa); + IBridgeManager(bm).removeBridgeOperators(bos); + } + } + + // Set the balance of an account for any ERC20 token + // Use the alternative signature to update `totalSupply` + function deal(address token, address to, uint256 give) internal virtual { + deal(token, to, give, false); + } + + function deal(address token, address to, uint256 give, bool adjust) internal virtual { + // get current balance + (, bytes memory balData) = token.staticcall(abi.encodeWithSelector(0x70a08231, to)); + uint256 prevBal = abi.decode(balData, (uint256)); + + // update balance + stdstore.target(token).sig(0x70a08231).with_key(to).checked_write(give); + + // update total supply + if (adjust) { + (, bytes memory totSupData) = token.staticcall(abi.encodeWithSelector(0x18160ddd)); + uint256 totSup = abi.decode(totSupData, (uint256)); + if (give < prevBal) { + totSup -= (prevBal - give); + } else { + totSup += (give - prevBal); + } + stdstore.target(token).sig(0x18160ddd).checked_write(totSup); } } diff --git a/script/post-check/bridge-manager/PostCheck_BridgeManager.s.sol b/script/post-check/bridge-manager/PostCheck_BridgeManager.s.sol index 5face6bf..ba953ae9 100644 --- a/script/post-check/bridge-manager/PostCheck_BridgeManager.s.sol +++ b/script/post-check/bridge-manager/PostCheck_BridgeManager.s.sol @@ -16,6 +16,6 @@ abstract contract PostCheck_BridgeManager is _validate_BridgeManager_CRUD_addBridgeOperators(); _validate_BridgeManager_CRUD_removeBridgeOperators(); _validate_BridgeManager_Proposal(); - _validate_BridgeManager_Quorum(); + // _validate_BridgeManager_Quorum(); } } diff --git a/script/post-check/bridge-manager/crud/PostCheck_BridgeManager_CRUD_addBridgeOperators.s.sol b/script/post-check/bridge-manager/crud/PostCheck_BridgeManager_CRUD_addBridgeOperators.s.sol index 98955275..fc3f1243 100644 --- a/script/post-check/bridge-manager/crud/PostCheck_BridgeManager_CRUD_addBridgeOperators.s.sol +++ b/script/post-check/bridge-manager/crud/PostCheck_BridgeManager_CRUD_addBridgeOperators.s.sol @@ -1,11 +1,10 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; -import { TransparentUpgradeableProxyV2 } from "@ronin/contracts/extensions/TransparentUpgradeableProxyV2.sol"; +import { ITransparentUpgradeableProxyV2 } from "script/interfaces/ITransparentUpgradeableProxyV2.sol"; import { IBridgeManager } from "@ronin/contracts/interfaces/bridge/IBridgeManager.sol"; import { BasePostCheck } from "script/post-check/BasePostCheck.s.sol"; import { LibArray } from "script/shared/libraries/LibArray.sol"; -import { Contract } from "script/utils/Contract.sol"; /** * @title PostCheck_BridgeManager_CRUD_AddBridgeOperators @@ -14,11 +13,16 @@ import { Contract } from "script/utils/Contract.sol"; abstract contract PostCheck_BridgeManager_CRUD_AddBridgeOperators is BasePostCheck { using LibArray for *; - uint256 private voteWeight = 100; + /// @dev The vote weight of the operator. + uint256 private vw = 100; + /// @dev The seed for generating random values. string private seedStr = vm.toString(seed); + /// @dev The operator to be added. address private any = makeAddr(string.concat("any", seedStr)); - address private operator = makeAddr(string.concat("operator-", seedStr)); - address private governor = makeAddr(string.concat("governor-", seedStr)); + /// @dev The operator to be added. + address private op = makeAddr(string.concat("op-", seedStr)); + /// @dev The governor of the operator. + address private gv = makeAddr(string.concat("gv-", seedStr)); function _validate_BridgeManager_CRUD_addBridgeOperators() internal { validate_RevertWhen_NotSelfCalled_addBridgeOperators(); @@ -34,9 +38,7 @@ abstract contract PostCheck_BridgeManager_CRUD_AddBridgeOperators is BasePostChe function validate_RevertWhen_NotSelfCalled_addBridgeOperators() private onPostCheck("validate_RevertWhen_NotSelfCalled_addBridgeOperators") { vm.expectRevert(); vm.prank(any); - IBridgeManager(roninBridgeManager).addBridgeOperators( - voteWeight.toSingletonArray().toUint96sUnsafe(), operator.toSingletonArray(), governor.toSingletonArray() - ); + IBridgeManager(ronBM).addBridgeOperators(vw.toSingletonArray().toUint96sUnsafe(), op.toSingletonArray(), gv.toSingletonArray()); } /** @@ -47,31 +49,23 @@ abstract contract PostCheck_BridgeManager_CRUD_AddBridgeOperators is BasePostChe onPostCheck("validate_RevertWhen_SelfCalled_TheListHasDuplicate_addBridgeOperators") { vm.expectRevert(); - vm.prank(roninBridgeManager); - TransparentUpgradeableProxyV2(payable(roninBridgeManager)).functionDelegateCall( - abi.encodeCall( - IBridgeManager.addBridgeOperators, (voteWeight.toSingletonArray().toUint96sUnsafe(), operator.toSingletonArray(), operator.toSingletonArray()) - ) + vm.prank(ronBM); + ITransparentUpgradeableProxyV2(ronBM).functionDelegateCall( + abi.encodeCall(IBridgeManager.addBridgeOperators, (vw.toSingletonArray().toUint96sUnsafe(), op.toSingletonArray(), op.toSingletonArray())) ); vm.expectRevert(); - vm.prank(roninBridgeManager); - TransparentUpgradeableProxyV2(payable(roninBridgeManager)).functionDelegateCall( - abi.encodeCall( - IBridgeManager.addBridgeOperators, (voteWeight.toSingletonArray().toUint96sUnsafe(), governor.toSingletonArray(), governor.toSingletonArray()) - ) + vm.prank(ronBM); + ITransparentUpgradeableProxyV2(ronBM).functionDelegateCall( + abi.encodeCall(IBridgeManager.addBridgeOperators, (vw.toSingletonArray().toUint96sUnsafe(), gv.toSingletonArray(), gv.toSingletonArray())) ); vm.expectRevert(); - vm.prank(roninBridgeManager); - TransparentUpgradeableProxyV2(payable(roninBridgeManager)).functionDelegateCall( + vm.prank(ronBM); + ITransparentUpgradeableProxyV2(ronBM).functionDelegateCall( abi.encodeCall( IBridgeManager.addBridgeOperators, - ( - voteWeight.toSingletonArray().toUint96sUnsafe(), - governor.toSingletonArray().extend(operator.toSingletonArray()), - operator.toSingletonArray().extend(governor.toSingletonArray()) - ) + (vw.toSingletonArray().toUint96sUnsafe(), gv.toSingletonArray().extend(op.toSingletonArray()), op.toSingletonArray().extend(gv.toSingletonArray())) ) ); } @@ -83,12 +77,11 @@ abstract contract PostCheck_BridgeManager_CRUD_AddBridgeOperators is BasePostChe private onPostCheck("validate_RevertWhen_SelfCalled_InputArrayLengthMismatch_addBridgeOperators") { - vm.prank(roninBridgeManager); + vm.prank(ronBM); vm.expectRevert(); - TransparentUpgradeableProxyV2(payable(roninBridgeManager)).functionDelegateCall( + ITransparentUpgradeableProxyV2(ronBM).functionDelegateCall( abi.encodeCall( - IBridgeManager.addBridgeOperators, - (voteWeight.toSingletonArray().toUint96sUnsafe(), governor.toSingletonArray(), operator.toSingletonArray().extend(governor.toSingletonArray())) + IBridgeManager.addBridgeOperators, (vw.toSingletonArray().toUint96sUnsafe(), gv.toSingletonArray(), op.toSingletonArray().extend(gv.toSingletonArray())) ) ); } @@ -100,12 +93,12 @@ abstract contract PostCheck_BridgeManager_CRUD_AddBridgeOperators is BasePostChe private onPostCheck("validate_RevertWhen_SelfCalled_ContainsNullVoteWeight_addBridgeOperators") { - vm.prank(roninBridgeManager); + vm.prank(ronBM); vm.expectRevert(); - TransparentUpgradeableProxyV2(payable(roninBridgeManager)).functionDelegateCall( + ITransparentUpgradeableProxyV2(ronBM).functionDelegateCall( abi.encodeCall( IBridgeManager.addBridgeOperators, - (uint256(0).toSingletonArray().toUint96sUnsafe(), governor.toSingletonArray(), operator.toSingletonArray().extend(governor.toSingletonArray())) + (uint256(0).toSingletonArray().toUint96sUnsafe(), gv.toSingletonArray(), op.toSingletonArray().extend(gv.toSingletonArray())) ) ); } @@ -114,25 +107,21 @@ abstract contract PostCheck_BridgeManager_CRUD_AddBridgeOperators is BasePostChe * @dev Validates that the function `addBridgeOperators`. */ function validate_addBridgeOperators() private onPostCheck("validate_addBridgeOperators") { - address manager = roninBridgeManager; - uint256 totalWeightBefore = IBridgeManager(manager).getTotalWeight(); - uint256 totalBridgeOperatorsBefore = IBridgeManager(manager).getBridgeOperators().length; + uint256 prvTotalWeight = IBridgeManager(ronBM).getTotalWeight(); + uint256 prvOpCount = IBridgeManager(ronBM).getBridgeOperators().length; - vm.prank(manager); - TransparentUpgradeableProxyV2(payable(manager)).functionDelegateCall( - abi.encodeCall( - IBridgeManager.addBridgeOperators, (voteWeight.toSingletonArray().toUint96sUnsafe(), governor.toSingletonArray(), operator.toSingletonArray()) - ) + vm.prank(ronBM); + ITransparentUpgradeableProxyV2(ronBM).functionDelegateCall( + abi.encodeCall(IBridgeManager.addBridgeOperators, (vw.toSingletonArray().toUint96sUnsafe(), gv.toSingletonArray(), op.toSingletonArray())) ); - assertTrue(IBridgeManager(manager).isBridgeOperator(operator), "isBridgeOperator(operator) == false"); - assertEq(IBridgeManager(manager).getTotalWeight(), totalWeightBefore + voteWeight, "getTotalWeight() != totalWeightBefore + voteWeight"); - assertEq( - IBridgeManager(manager).getBridgeOperators().length, totalBridgeOperatorsBefore + 1, "getBridgeOperators().length != totalBridgeOperatorsBefore + 1" - ); + assertTrue(IBridgeManager(ronBM).isBridgeOperator(op), "isBridgeOperator(op) == false"); + assertEq(IBridgeManager(ronBM).getTotalWeight(), prvTotalWeight + vw, "getTotalWeight() != prvTotalWeight + vw"); + assertEq(IBridgeManager(ronBM).getBridgeOperators().length, prvOpCount + 1, "getBridgeOperators().length != prvOpCount + 1"); + // Deprecated - // assertEq(IBridgeManager(manager).getGovernorsOf(operator.toSingletonArray())[0], governor, "getGovernorsOf(operator)[0] != governor"); + // assertEq(IBridgeManager(ronBM).getGovernorsOf(op.toSingletonArray())[0], gv, "getGovernorsOf(op)[0] != gv"); // Deprecated - // assertEq(IBridgeManager(manager).getBridgeOperatorOf(governor.toSingletonArray())[0], operator, "getBridgeOperatorOf(governor)[0] != operator"); + // assertEq(IBridgeManager(ronBM).getBridgeOperatorOf(gv.toSingletonArray())[0], op, "getBridgeOperatorOf(gv)[0] != op"); } } diff --git a/script/post-check/bridge-manager/crud/PostCheck_BridgeManager_CRUD_removeBridgeOperators.s.sol b/script/post-check/bridge-manager/crud/PostCheck_BridgeManager_CRUD_removeBridgeOperators.s.sol index 881a3d92..8cb5e13c 100644 --- a/script/post-check/bridge-manager/crud/PostCheck_BridgeManager_CRUD_removeBridgeOperators.s.sol +++ b/script/post-check/bridge-manager/crud/PostCheck_BridgeManager_CRUD_removeBridgeOperators.s.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; -import { TransparentUpgradeableProxyV2 } from "@ronin/contracts/extensions/TransparentUpgradeableProxyV2.sol"; +import { ITransparentUpgradeableProxyV2 } from "script/interfaces/ITransparentUpgradeableProxyV2.sol"; import { IBridgeManager } from "@ronin/contracts/interfaces/bridge/IBridgeManager.sol"; import { BasePostCheck } from "script/post-check/BasePostCheck.s.sol"; import { LibArray } from "script/shared/libraries/LibArray.sol"; @@ -9,18 +9,21 @@ import { LibArray } from "script/shared/libraries/LibArray.sol"; abstract contract PostCheck_BridgeManager_CRUD_RemoveBridgeOperators is BasePostCheck { using LibArray for *; + /// @dev The seed for generating random values. string private seedStr = vm.toString(seed); - address private operatorToRemove; - uint256 private voteWeightToRemove; + /// @dev The operator to be removed. + address private op2Remove; + /// @dev The weight of the operator to be removed. + uint256 private vw2Remove; + /// @dev A random address. address private any = makeAddr(string.concat("any", seedStr)); function _validate_BridgeManager_CRUD_removeBridgeOperators() internal { - address manager = roninBridgeManager; - address[] memory operators = IBridgeManager(manager).getBridgeOperators(); + address[] memory operators = IBridgeManager(ronBM).getBridgeOperators(); uint256 idx = _bound(seed, 0, operators.length - 1); - operatorToRemove = operators[idx]; - voteWeightToRemove = IBridgeManager(manager).getBridgeOperatorWeight(operatorToRemove); + op2Remove = operators[idx]; + vw2Remove = IBridgeManager(ronBM).getBridgeOperatorWeight(op2Remove); validate_RevertWhen_NotSelfCalled_removeBridgeOperators(); validate_RevertWhen_SelfCalled_TheListHasDuplicate_removeBridgeOperators(); @@ -32,19 +35,17 @@ abstract contract PostCheck_BridgeManager_CRUD_RemoveBridgeOperators is BasePost function validate_RevertWhen_NotSelfCalled_removeBridgeOperators() private onPostCheck("validate_RevertWhen_NotSelfCalled_removeBridgeOperators") { vm.prank(any); vm.expectRevert(); - TransparentUpgradeableProxyV2(payable(roninBridgeManager)).functionDelegateCall( - abi.encodeCall(IBridgeManager.removeBridgeOperators, (operatorToRemove.toSingletonArray())) - ); + ITransparentUpgradeableProxyV2(ronBM).functionDelegateCall(abi.encodeCall(IBridgeManager.removeBridgeOperators, (op2Remove.toSingletonArray()))); } function validate_RevertWhen_SelfCalled_TheListHasDuplicate_removeBridgeOperators() private onPostCheck("validate_RevertWhen_SelfCalled_TheListHasDuplicate_removeBridgeOperators") { - vm.prank(roninBridgeManager); + vm.prank(ronBM); vm.expectRevert(); - TransparentUpgradeableProxyV2(payable(roninBridgeManager)).functionDelegateCall( - abi.encodeCall(IBridgeManager.removeBridgeOperators, (operatorToRemove.toSingletonArray().extend(operatorToRemove.toSingletonArray()))) + ITransparentUpgradeableProxyV2(ronBM).functionDelegateCall( + abi.encodeCall(IBridgeManager.removeBridgeOperators, (op2Remove.toSingletonArray().extend(op2Remove.toSingletonArray()))) ); } @@ -52,11 +53,9 @@ abstract contract PostCheck_BridgeManager_CRUD_RemoveBridgeOperators is BasePost private onPostCheck("validate_RevertWhen_SelfCalled_TheListHasNull_removeBridgeOperators") { - vm.prank(roninBridgeManager); + vm.prank(ronBM); vm.expectRevert(); - TransparentUpgradeableProxyV2(payable(roninBridgeManager)).functionDelegateCall( - abi.encodeCall(IBridgeManager.removeBridgeOperators, (address(0).toSingletonArray())) - ); + ITransparentUpgradeableProxyV2(ronBM).functionDelegateCall(abi.encodeCall(IBridgeManager.removeBridgeOperators, (address(0).toSingletonArray()))); } function validate_RevertWhen_SelfCalled_RemovedOperatorIsNotInTheList_removeBridgeOperators() @@ -64,29 +63,24 @@ abstract contract PostCheck_BridgeManager_CRUD_RemoveBridgeOperators is BasePost onPostCheck("validate_RevertWhen_SelfCalled_RemovedOperatorIsNotInTheList_removeBridgeOperators") { vm.expectRevert(); - vm.prank(roninBridgeManager); - TransparentUpgradeableProxyV2(payable(roninBridgeManager)).functionDelegateCall( - abi.encodeCall(IBridgeManager.removeBridgeOperators, (any.toSingletonArray())) - ); + vm.prank(ronBM); + ITransparentUpgradeableProxyV2(ronBM).functionDelegateCall(abi.encodeCall(IBridgeManager.removeBridgeOperators, (any.toSingletonArray()))); } function validate_removeBridgeOperators() private onPostCheck("validate_removeBridgeOperators") { - address manager = roninBridgeManager; - uint256 total = IBridgeManager(manager).totalBridgeOperator(); - uint256 totalWeightBefore = IBridgeManager(manager).getTotalWeight(); - uint256 expected = total - 1; + uint256 opCount = IBridgeManager(ronBM).totalBridgeOperator(); + uint256 prvTotalWeight = IBridgeManager(ronBM).getTotalWeight(); + uint256 expected = opCount - 1; - vm.prank(manager); - TransparentUpgradeableProxyV2(payable(roninBridgeManager)).functionDelegateCall( - abi.encodeCall(IBridgeManager.removeBridgeOperators, (operatorToRemove.toSingletonArray())) - ); - uint256 actual = IBridgeManager(manager).totalBridgeOperator(); + vm.prank(ronBM); + ITransparentUpgradeableProxyV2(ronBM).functionDelegateCall(abi.encodeCall(IBridgeManager.removeBridgeOperators, (op2Remove.toSingletonArray()))); + uint256 actual = IBridgeManager(ronBM).totalBridgeOperator(); assertEq(actual, expected, "Bridge operator is not removed"); - assertEq(IBridgeManager(manager).getTotalWeight(), totalWeightBefore - voteWeightToRemove, "Bridge operator is not removed"); - assertFalse(IBridgeManager(manager).isBridgeOperator(operatorToRemove), "Bridge operator is not removed"); - assertEq(IBridgeManager(manager).getBridgeOperatorWeight(operatorToRemove), 0, "Bridge operator is not removed"); + assertEq(IBridgeManager(ronBM).getTotalWeight(), prvTotalWeight - vw2Remove, "Bridge operator is not removed"); + assertFalse(IBridgeManager(ronBM).isBridgeOperator(op2Remove), "Bridge operator is not removed"); + assertEq(IBridgeManager(ronBM).getBridgeOperatorWeight(op2Remove), 0, "Bridge operator is not removed"); // Deprecated - // assertEq(IBridgeManager(manager).getGovernorsOf(operatorToRemove.toSingletonArray()), address(0).toSingletonArray(), "Bridge operator is not removed"); + // assertEq(IBridgeManager(ronBM).getGovernorsOf(op2Remove.toSingletonArray()), address(0).toSingletonArray(), "Bridge operator is not removed"); } } diff --git a/script/post-check/bridge-manager/proposal/PostCheck_BridgeManager_Proposal.s.sol b/script/post-check/bridge-manager/proposal/PostCheck_BridgeManager_Proposal.s.sol index aeeb7fc5..61650ae8 100644 --- a/script/post-check/bridge-manager/proposal/PostCheck_BridgeManager_Proposal.s.sol +++ b/script/post-check/bridge-manager/proposal/PostCheck_BridgeManager_Proposal.s.sol @@ -2,7 +2,7 @@ pragma solidity ^0.8.0; import { console } from "forge-std/console.sol"; -import { TransparentUpgradeableProxyV2, TransparentUpgradeableProxy } from "@ronin/contracts/extensions/TransparentUpgradeableProxyV2.sol"; +import { ITransparentUpgradeableProxyV2 } from "script/interfaces/ITransparentUpgradeableProxyV2.sol"; import { BasePostCheck } from "../../BasePostCheck.s.sol"; import { IBridgeManager } from "@ronin/contracts/interfaces/bridge/IBridgeManager.sol"; import { IRoninBridgeManager } from "script/interfaces/IRoninBridgeManager.sol"; @@ -11,7 +11,7 @@ import { TContract, Contract } from "script/utils/Contract.sol"; import { TNetwork, Network } from "script/utils/Network.sol"; import { LibArray } from "script/shared/libraries/LibArray.sol"; import { LibCompanionNetwork } from "script/shared/libraries/LibCompanionNetwork.sol"; -import { Ballot, SignatureConsumer, Proposal, GlobalProposal, LibProposal } from "script/shared/libraries/LibProposal.sol"; +import { Ballot, Proposal, GlobalProposal, LibProposal } from "script/shared/libraries/LibProposal.sol"; import { LibProxy } from "@fdk/libraries/LibProxy.sol"; import { DefaultNetwork } from "@fdk/utils/DefaultNetwork.sol"; import { IRuntimeConfig } from "@fdk/interfaces/configs/IRuntimeConfig.sol"; @@ -22,9 +22,12 @@ abstract contract PostCheck_BridgeManager_Proposal is BasePostCheck { using LibProposal for *; using LibCompanionNetwork for *; - uint96[] private _voteWeights = [100, 100]; - address[] private _addingGovernors = [makeAddr("governor-1"), makeAddr("governor-2")]; - address[] private _addingOperators = [makeAddr("operator-1"), makeAddr("operator-2")]; + /// @dev The vote weight of the bridge operators. + uint96[] private vws = [100, 100]; + /// @dev The governor of the bridge operators. + address[] private gvs = [makeAddr("gv-1"), makeAddr("gv-2")]; + /// @dev The bridge operators. + address[] private ops = [makeAddr("op-1"), makeAddr("op-2")]; function _validate_BridgeManager_Proposal() internal { validate_canExecuteUpgradeItself(); @@ -36,91 +39,85 @@ abstract contract PostCheck_BridgeManager_Proposal is BasePostCheck { } function validate_proposeAndRelay_addBridgeOperator() private onlyOnRoninNetworkOrLocal onPostCheck("validate_proposeAndRelay_addBridgeOperator") { - IRoninBridgeManager manager = IRoninBridgeManager(loadContract(Contract.RoninBridgeManager.key())); + // Cheat add gv + cheatAddOverWeightedGovernor(ronBM); - // Cheat add governor - cheatAddOverWeightedGovernor(address(manager)); - - address[] memory targets = address(manager).toSingletonArray(); + address[] memory targets = ronBM.toSingletonArray(); uint256[] memory values = uint256(0).toSingletonArray(); bytes[] memory calldatas = abi.encodeCall( - TransparentUpgradeableProxyV2.functionDelegateCall, - (abi.encodeCall(IBridgeManager.addBridgeOperators, (_voteWeights, _addingGovernors, _addingOperators))) + ITransparentUpgradeableProxyV2.functionDelegateCall, (abi.encodeCall(IBridgeManager.addBridgeOperators, (vws, gvs, ops))) ).toSingletonArray(); uint256[] memory gasAmounts = uint256(1_000_000).toSingletonArray(); - uint256 roninChainId = block.chainid; + uint256 ronChainId = block.chainid; Proposal.ProposalDetail memory proposal = LibProposal.createProposal({ - manager: address(manager), + manager: ronBM, expiryTimestamp: block.timestamp + 20 minutes, targets: targets, values: values, calldatas: calldatas, gasAmounts: gasAmounts, - nonce: manager.round(0) + 1 + nonce: IRoninBridgeManager(ronBM).round(0) + 1 }); - vm.prank(cheatGovernor); - manager.propose(roninChainId, block.timestamp + 20 minutes, address(0x0), targets, values, calldatas, gasAmounts); + vm.prank(cheatGv); + IRoninBridgeManager(ronBM).propose(ronChainId, block.timestamp + 20 minutes, address(0x0), targets, values, calldatas, gasAmounts); { - TNetwork currentNetwork = CONFIG.getCurrentNetwork(); - (, TNetwork companionNetwork) = currentNetwork.companionNetworkData(); + TNetwork currNetwork = vme.getCurrentNetwork(); + (, TNetwork companionNetwork) = currNetwork.companionNetworkData(); switchTo(companionNetwork); - IMainchainBridgeManager mainchainManager = IMainchainBridgeManager(loadContract(Contract.MainchainBridgeManager.key())); - uint256 snapshotId = vm.snapshot(); - // Cheat add governor - cheatAddOverWeightedGovernor(address(mainchainManager)); + // Cheat add gv + cheatAddOverWeightedGovernor(ethBM); - targets = address(mainchainManager).toSingletonArray(); + targets = ethBM.toSingletonArray(); proposal = LibProposal.createProposal({ - manager: address(mainchainManager), + manager: ethBM, expiryTimestamp: block.timestamp + 20 minutes, targets: targets, values: proposal.values, calldatas: proposal.calldatas, gasAmounts: proposal.gasAmounts, - nonce: mainchainManager.round(block.chainid) + 1 + nonce: IMainchainBridgeManager(ethBM).round(block.chainid) + 1 }); - Signature[] memory signatures = proposal.generateSignatures(cheatGovernorPk.toSingletonArray(), Ballot.VoteType.For); + Signature[] memory signatures = proposal.generateSignatures(cheatGvPK.toSingletonArray(), Ballot.VoteType.For); Ballot.VoteType[] memory _supports = new Ballot.VoteType[](signatures.length); - uint256 minimumForVoteWeight = mainchainManager.minimumVoteWeight(); - uint256 totalForVoteWeight = mainchainManager.getGovernorWeight(cheatGovernor); - console.log("Total for vote weight:", totalForVoteWeight); - console.log("Minimum for vote weight:", minimumForVoteWeight); + uint256 minForVW = IMainchainBridgeManager(ethBM).minimumVoteWeight(); + uint256 totalForVW = IMainchainBridgeManager(ethBM).getGovernorWeight(cheatGv); - vm.prank(cheatGovernor); - mainchainManager.relayProposal(proposal, _supports, signatures); - for (uint256 i; i < _addingGovernors.length; ++i) { - assertEq(mainchainManager.isBridgeOperator(_addingOperators[i]), true, "isBridgeOperator == false"); + console.log("Total for vote weight:", totalForVW); + console.log("Minimum for vote weight:", minForVW); + + vm.prank(cheatGv); + IMainchainBridgeManager(ethBM).relayProposal(proposal, _supports, signatures); + for (uint256 i; i < gvs.length; ++i) { + assertTrue(IMainchainBridgeManager(ethBM).isBridgeOperator(ops[i]), "isBridgeOperator == false"); } - bool reverted = vm.revertTo(snapshotId); - assertTrue(reverted, "Cannot revert to snapshot id"); - _switchBackToRoninFork(currentNetwork); + assertTrue(vm.revertTo(snapshotId), "Cannot revert to snapshot id"); + _switchBackToRoninFork(currNetwork); } } function validate_relayUpgradeProposal() private onPostCheck("validate_relayUpgradeProposal") { - TNetwork currentNetwork = CONFIG.getCurrentNetwork(); - (, TNetwork companionNetwork) = currentNetwork.companionNetworkData(); + TNetwork currNetwork = vme.getCurrentNetwork(); + (, TNetwork companionNetwork) = currNetwork.companionNetworkData(); switchTo(companionNetwork); - IMainchainBridgeManager mainchainManager = IMainchainBridgeManager(loadContract(Contract.MainchainBridgeManager.key())); uint256 snapshotId = vm.snapshot(); - // Cheat add governor + // Cheat add gv { - cheatAddOverWeightedGovernor(address(mainchainManager)); + cheatAddOverWeightedGovernor(ethBM); address[] memory targets = new address[](2); uint256[] memory values = new uint256[](2); @@ -128,46 +125,45 @@ abstract contract PostCheck_BridgeManager_Proposal is BasePostCheck { bytes[] memory calldatas = new bytes[](2); address[] memory logics = new address[](2); - targets[0] = address(mainchainManager); + targets[0] = ethBM; targets[1] = loadContract(Contract.MainchainGatewayV3.key()); logics[0] = _deployLogic(Contract.MainchainBridgeManager.key()); logics[1] = _deployLogic(Contract.MainchainGatewayV3.key()); - calldatas[0] = abi.encodeCall(TransparentUpgradeableProxy.upgradeTo, (logics[0])); - calldatas[1] = abi.encodeCall(TransparentUpgradeableProxy.upgradeTo, (logics[1])); + calldatas[0] = abi.encodeCall(ITransparentUpgradeableProxyV2.upgradeTo, (logics[0])); + calldatas[1] = abi.encodeCall(ITransparentUpgradeableProxyV2.upgradeTo, (logics[1])); gasAmounts[0] = 1_000_000; gasAmounts[1] = 1_000_000; Proposal.ProposalDetail memory proposal = LibProposal.createProposal({ - manager: address(mainchainManager), + manager: ethBM, expiryTimestamp: block.timestamp + 20 minutes, targets: targets, values: values, calldatas: calldatas, gasAmounts: gasAmounts, - nonce: mainchainManager.round(block.chainid) + 1 + nonce: IMainchainBridgeManager(ethBM).round(block.chainid) + 1 }); - Signature[] memory signatures = proposal.generateSignatures(cheatGovernorPk.toSingletonArray(), Ballot.VoteType.For); + Signature[] memory signatures = proposal.generateSignatures(cheatGvPK.toSingletonArray(), Ballot.VoteType.For); Ballot.VoteType[] memory _supports = new Ballot.VoteType[](signatures.length); - uint256 minimumForVoteWeight = mainchainManager.minimumVoteWeight(); - uint256 totalForVoteWeight = mainchainManager.getGovernorWeight(cheatGovernor); - console.log("Total for vote weight:", totalForVoteWeight); - console.log("Minimum for vote weight:", minimumForVoteWeight); + uint256 minForVW = IMainchainBridgeManager(ethBM).minimumVoteWeight(); + uint256 totalForVW = IMainchainBridgeManager(ethBM).getGovernorWeight(cheatGv); + console.log("Total for vote weight:", totalForVW); + console.log("Minimum for vote weight:", minForVW); - vm.prank(cheatGovernor); - mainchainManager.relayProposal(proposal, _supports, signatures); + vm.prank(cheatGv); + IMainchainBridgeManager(ethBM).relayProposal(proposal, _supports, signatures); - assertEq(payable(address(mainchainManager)).getProxyImplementation(), logics[0], "MainchainBridgeManager logic is not upgraded"); + assertEq(ethBM.getProxyImplementation(), logics[0], "MainchainBridgeManager logic is not upgraded"); assertEq(loadContract(Contract.MainchainGatewayV3.key()).getProxyImplementation(), logics[1], "MainchainGatewayV3 logic is not upgraded"); } - bool reverted = vm.revertTo(snapshotId); - assertTrue(reverted, "Cannot revert to snapshot id"); - _switchBackToRoninFork(currentNetwork); + assertTrue(vm.revertTo(snapshotId), "Cannot revert to snapshot id"); + _switchBackToRoninFork(currNetwork); } function validate_ProposeGlobalProposalAndRelay_addBridgeOperator() @@ -175,8 +171,7 @@ abstract contract PostCheck_BridgeManager_Proposal is BasePostCheck { onlyOnRoninNetworkOrLocal onPostCheck("validate_ProposeGlobalProposalAndRelay_addBridgeOperator") { - IRoninBridgeManager manager = IRoninBridgeManager(loadContract(Contract.RoninBridgeManager.key())); - cheatAddOverWeightedGovernor(address(manager)); + cheatAddOverWeightedGovernor(ronBM); GlobalProposal.TargetOption[] memory targetOptions = new GlobalProposal.TargetOption[](1); targetOptions[0] = GlobalProposal.TargetOption.BridgeManager; @@ -185,51 +180,47 @@ abstract contract PostCheck_BridgeManager_Proposal is BasePostCheck { expiryTimestamp: block.timestamp + 20 minutes, targetOptions: targetOptions, values: uint256(0).toSingletonArray(), - calldatas: abi.encodeCall( - TransparentUpgradeableProxyV2.functionDelegateCall, - (abi.encodeCall(IBridgeManager.addBridgeOperators, (_voteWeights, _addingGovernors, _addingOperators))) - ).toSingletonArray(), + calldatas: abi.encodeCall(ITransparentUpgradeableProxyV2.functionDelegateCall, (abi.encodeCall(IBridgeManager.addBridgeOperators, (vws, gvs, ops)))) + .toSingletonArray(), gasAmounts: uint256(1_000_000).toSingletonArray(), - nonce: manager.round(0) + 1 + nonce: IRoninBridgeManager(ronBM).round(0) + 1 }); Signature[] memory signatures; Ballot.VoteType[] memory _supports; { - signatures = globalProposal.generateSignaturesGlobal(cheatGovernorPk.toSingletonArray(), Ballot.VoteType.For); + signatures = globalProposal.generateSignaturesGlobal(cheatGvPK.toSingletonArray(), Ballot.VoteType.For); _supports = new Ballot.VoteType[](signatures.length); - vm.prank(cheatGovernor); - manager.proposeGlobalProposalStructAndCastVotes(globalProposal, _supports, signatures); + vm.prank(cheatGv); + IRoninBridgeManager(ronBM).proposeGlobalProposalStructAndCastVotes(globalProposal, _supports, signatures); } // Check if the proposal is voted - assertEq(manager.globalProposalVoted(globalProposal.nonce, cheatGovernor), true); - for (uint256 i; i < _addingGovernors.length; ++i) { - assertEq(manager.isBridgeOperator(_addingOperators[i]), true, "isBridgeOperator == false"); + assertEq(IRoninBridgeManager(ronBM).globalProposalVoted(globalProposal.nonce, cheatGv), true); + for (uint256 i; i < gvs.length; ++i) { + assertEq(IRoninBridgeManager(ronBM).isBridgeOperator(ops[i]), true, "isBridgeOperator == false"); } { - TNetwork currentNetwork = CONFIG.getCurrentNetwork(); - (, TNetwork companionNetwork) = currentNetwork.companionNetworkData(); + TNetwork currNetwork = vme.getCurrentNetwork(); + (, TNetwork companionNetwork) = currNetwork.companionNetworkData(); switchTo(companionNetwork); - IMainchainBridgeManager mainchainManager = IMainchainBridgeManager(loadContract(Contract.MainchainBridgeManager.key())); uint256 snapshotId = vm.snapshot(); - cheatAddOverWeightedGovernor(address(mainchainManager)); + cheatAddOverWeightedGovernor(ethBM); - vm.prank(cheatGovernor); - mainchainManager.relayGlobalProposal(globalProposal, _supports, signatures); + vm.prank(cheatGv); + IMainchainBridgeManager(ethBM).relayGlobalProposal(globalProposal, _supports, signatures); - for (uint256 i; i < _addingGovernors.length; ++i) { - assertEq(mainchainManager.isBridgeOperator(_addingOperators[i]), true, "isBridgeOperator == false"); + for (uint256 i; i < gvs.length; ++i) { + assertTrue(IMainchainBridgeManager(ethBM).isBridgeOperator(ops[i]), "isBridgeOperator == false"); } - bool reverted = vm.revertTo(snapshotId); - assertTrue(reverted, "Cannot revert to snapshot id"); - _switchBackToRoninFork(currentNetwork); + assertTrue(vm.revertTo(snapshotId), "Cannot revert to snapshot id"); + _switchBackToRoninFork(currNetwork); } } @@ -252,7 +243,6 @@ abstract contract PostCheck_BridgeManager_Proposal is BasePostCheck { } function validate_canExecuteUpgradeAllOneProposal() private onlyOnRoninNetworkOrLocal onPostCheck("validate_canExecuteUpgradeAllOneProposal") { - IRoninBridgeManager manager = IRoninBridgeManager(loadContract(Contract.RoninBridgeManager.key())); TContract[] memory contractTypes = new TContract[](4); contractTypes[0] = Contract.BridgeSlash.key(); contractTypes[1] = Contract.BridgeReward.key(); @@ -273,24 +263,23 @@ abstract contract PostCheck_BridgeManager_Proposal is BasePostCheck { // Upgrade all contracts with proposal bytes[] memory calldatas = new bytes[](targets.length); for (uint256 i; i < targets.length; ++i) { - calldatas[i] = abi.encodeCall(TransparentUpgradeableProxy.upgradeTo, (logics[i])); + calldatas[i] = abi.encodeCall(ITransparentUpgradeableProxyV2.upgradeTo, (logics[i])); } Proposal.ProposalDetail memory proposal = LibProposal.createProposal({ - manager: address(manager), + manager: ronBM, expiryTimestamp: block.timestamp + 20 minutes, targets: targets, values: uint256(0).repeat(targets.length), calldatas: calldatas, gasAmounts: uint256(1_000_000).repeat(targets.length), - nonce: manager.round(block.chainid) + 1 + nonce: IRoninBridgeManager(ronBM).round(block.chainid) + 1 }); - manager.executeProposal(proposal); + IRoninBridgeManager(ronBM).executeProposal(proposal); } function validate_canExecuteUpgradeItself() private onlyOnRoninNetworkOrLocal onPostCheck("validate_canExecuteUpgradeItself") { - IRoninBridgeManager manager = IRoninBridgeManager(loadContract(Contract.RoninBridgeManager.key())); TContract[] memory contractTypes = new TContract[](1); contractTypes[0] = Contract.RoninBridgeManager.key(); @@ -308,28 +297,25 @@ abstract contract PostCheck_BridgeManager_Proposal is BasePostCheck { // Upgrade all contracts with proposal bytes[] memory calldatas = new bytes[](targets.length); for (uint256 i; i < targets.length; ++i) { - calldatas[i] = abi.encodeCall(TransparentUpgradeableProxy.upgradeTo, (logics[i])); + calldatas[i] = abi.encodeCall(ITransparentUpgradeableProxyV2.upgradeTo, (logics[i])); } Proposal.ProposalDetail memory proposal = LibProposal.createProposal({ - manager: address(manager), + manager: ronBM, expiryTimestamp: block.timestamp + 20 minutes, targets: targets, values: uint256(0).repeat(targets.length), calldatas: calldatas, gasAmounts: uint256(1_000_000).repeat(targets.length), - nonce: manager.round(block.chainid) + 1 + nonce: IRoninBridgeManager(ronBM).round(block.chainid) + 1 }); - manager.executeProposal(proposal); + IRoninBridgeManager(ronBM).executeProposal(proposal); } function _switchBackToRoninFork(TNetwork roninNetwork) internal { - IRuntimeConfig.Option memory config; - config = CONFIG.getRuntimeConfig(); - - uint originForkBlockNumber = config.forkBlockNumber; - uint roninForkId = CONFIG.getForkId(roninNetwork, originForkBlockNumber); - CONFIG.switchTo(roninForkId); + uint originForkBlockNumber = vme.getRuntimeConfig().forkBlockNumber; + uint roninForkId = vme.getForkId(roninNetwork, originForkBlockNumber); + vme.switchTo(roninForkId); } } diff --git a/script/post-check/bridge-manager/quorum/PostCheck_BridgeManager_Quorum.s.sol b/script/post-check/bridge-manager/quorum/PostCheck_BridgeManager_Quorum.s.sol index 8313d8b0..f83b2b38 100644 --- a/script/post-check/bridge-manager/quorum/PostCheck_BridgeManager_Quorum.s.sol +++ b/script/post-check/bridge-manager/quorum/PostCheck_BridgeManager_Quorum.s.sol @@ -27,7 +27,7 @@ abstract contract PostCheck_BridgeManager_Quorum is BasePostCheck { } function validate_Valid_Threshold_BridgeManager() internal onlyOnRoninNetworkOrLocal onPostCheck("validate_valid_Threshold_BridgeManager") { - (uint256 num, uint256 denom) = IQuorum(roninBridgeManager).getThreshold(); + (uint256 num, uint256 denom) = IQuorum(ronBM).getThreshold(); assertTrue(num > 0 && denom > 0, "Ronin: BridgeManager's Threshold must be greater than 0"); assertTrue(num <= denom, "Ronin: BridgeManager's Threshold numerator must be less than or equal to denominator"); TNetwork currNetwork = network(); @@ -35,7 +35,7 @@ abstract contract PostCheck_BridgeManager_Quorum is BasePostCheck { (, TNetwork companionNetwork) = currNetwork.companionNetworkData(); (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); - (num, denom) = IQuorum(mainchainBridgeManager).getThreshold(); + (num, denom) = IQuorum(ethBM).getThreshold(); assertTrue(num > 0 && denom > 0, "Mainchain: BridgeManager's Threshold must be greater than 0"); assertTrue(num <= denom, "Mainchain: BridgeManager's Threshold numerator must be less than or equal to denominator"); @@ -43,7 +43,7 @@ abstract contract PostCheck_BridgeManager_Quorum is BasePostCheck { } function validate_Valid_Threshold_Gateway() internal onlyOnRoninNetworkOrLocal onPostCheck("validate_Valid_Threshold_Gateway") { - (uint256 num, uint256 denom) = IQuorum(roninGateway).getThreshold(); + (uint256 num, uint256 denom) = IQuorum(ronGW).getThreshold(); assertTrue(num > 0 && denom > 0, "Ronin: Gateway's Threshold must be greater than 0"); assertTrue(num <= denom, "Ronin: Gateway's Threshold numerator must be less than or equal to denominator"); TNetwork currNetwork = network(); @@ -51,7 +51,7 @@ abstract contract PostCheck_BridgeManager_Quorum is BasePostCheck { (, TNetwork companionNetwork) = currNetwork.companionNetworkData(); (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); - (num, denom) = IQuorum(mainchainGateway).getThreshold(); + (num, denom) = IQuorum(ethGW).getThreshold(); assertTrue(num > 0 && denom > 0, "Mainchain: Gateway's Threshold must be greater than 0"); assertTrue(num <= denom, "Mainchain: Gateway's Threshold numerator must be less than or equal to denominator"); @@ -59,49 +59,49 @@ abstract contract PostCheck_BridgeManager_Quorum is BasePostCheck { } function validate_NonZero_TotalWeight_Gateway() internal onlyOnRoninNetworkOrLocal onPostCheck("validate_NonZero_TotalWeight_Gateway") { - assertTrue(IBridgeManager(roninGateway).getTotalWeight() > 0, "Ronin: Gateway's Total weight must be greater than 0"); + assertTrue(IBridgeManager(ronGW).getTotalWeight() > 0, "Ronin: Gateway's Total weight must be greater than 0"); TNetwork currNetwork = network(); (, TNetwork companionNetwork) = currNetwork.companionNetworkData(); (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); - assertTrue(IBridgeManager(mainchainGateway).getTotalWeight() > 0, "Mainchain: Gateway's Total weight must be greater than 0"); + assertTrue(IBridgeManager(ethGW).getTotalWeight() > 0, "Mainchain: Gateway's Total weight must be greater than 0"); switchBack(prevNetwork, prevForkId); } function validate_NonZero_MinimumVoteWeight_Gateway() internal onlyOnRoninNetworkOrLocal onPostCheck("validate_NonZero_Threshold_Gateway") { - assertTrue(IQuorum(roninGateway).minimumVoteWeight() > 0, "Ronin: Gateway's Minimum vote weight must be greater than 0"); + assertTrue(IQuorum(ronGW).minimumVoteWeight() > 0, "Ronin: Gateway's Minimum vote weight must be greater than 0"); TNetwork currNetwork = network(); (, TNetwork companionNetwork) = currNetwork.companionNetworkData(); (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); - assertTrue(IQuorum(mainchainGateway).minimumVoteWeight() > 0, "Mainchain: Gateway's Minimum vote weight must be greater than 0"); + assertTrue(IQuorum(ethGW).minimumVoteWeight() > 0, "Mainchain: Gateway's Minimum vote weight must be greater than 0"); switchBack(prevNetwork, prevForkId); } function validate_NonZero_MinimumVoteWeight_BridgeManager() private onlyOnRoninNetworkOrLocal onPostCheck("validate_NonZero_MinimumVoteWeight") { - assertTrue(IQuorum(roninBridgeManager).minimumVoteWeight() > 0, "Ronin: BridgeManager's Minimum vote weight must be greater than 0"); + assertTrue(IQuorum(ronBM).minimumVoteWeight() > 0, "Ronin: BridgeManager's Minimum vote weight must be greater than 0"); TNetwork currNetwork = network(); (, TNetwork companionNetwork) = currNetwork.companionNetworkData(); (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); - assertTrue(IQuorum(mainchainBridgeManager).minimumVoteWeight() > 0, "Mainchain: BridgeManager's Minimum vote weight must be greater than 0"); + assertTrue(IQuorum(ethBM).minimumVoteWeight() > 0, "Mainchain: BridgeManager's Minimum vote weight must be greater than 0"); switchBack(prevNetwork, prevForkId); } function validate_NonZero_TotalWeight_BridgeManager() private onlyOnRoninNetworkOrLocal onPostCheck("validate_NonZero_TotalWeight_BridgeManager") { - assertTrue(IBridgeManager(roninBridgeManager).getTotalWeight() > 0, "Ronin: BridgeManager's Total weight must be greater than 0"); + assertTrue(IBridgeManager(ronBM).getTotalWeight() > 0, "Ronin: BridgeManager's Total weight must be greater than 0"); TNetwork currNetwork = network(); (, TNetwork companionNetwork) = currNetwork.companionNetworkData(); (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); - assertTrue(IBridgeManager(mainchainBridgeManager).getTotalWeight() > 0, "Mainchain: BridgeManager's Total weight must be greater than 0"); + assertTrue(IBridgeManager(ethBM).getTotalWeight() > 0, "Mainchain: BridgeManager's Total weight must be greater than 0"); switchBack(prevNetwork, prevForkId); } diff --git a/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol b/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol index e248f004..b336c45c 100644 --- a/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol +++ b/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol @@ -2,25 +2,25 @@ pragma solidity ^0.8.19; import { console } from "forge-std/console.sol"; -import { Vm, VmSafe } from "forge-std/Vm.sol"; +import { Vm } from "forge-std/Vm.sol"; import { BasePostCheck } from "script/post-check/BasePostCheck.s.sol"; import { MockERC20 } from "@ronin/contracts/mocks/token/MockERC20.sol"; import { Contract } from "script/utils/Contract.sol"; -import { LibTokenInfo, TokenInfo, TokenStandard } from "@ronin/contracts/libraries/LibTokenInfo.sol"; +import { LibTokenInfo, TokenStandard } from "@ronin/contracts/libraries/LibTokenInfo.sol"; import { Transfer as LibTransfer } from "@ronin/contracts/libraries/Transfer.sol"; import { TNetwork, Network } from "script/utils/Network.sol"; import { DefaultNetwork } from "@fdk/utils/DefaultNetwork.sol"; -import { Proposal, LibProposal } from "script/shared/libraries/LibProposal.sol"; +import { LibProposal } from "script/shared/libraries/LibProposal.sol"; import { LibProxy } from "@fdk/libraries/LibProxy.sol"; import { LibCompanionNetwork } from "script/shared/libraries/LibCompanionNetwork.sol"; -import { StdStorage, stdStorage } from "forge-std/StdStorage.sol"; import { IBridgeManager } from "@ronin/contracts/interfaces/bridge/IBridgeManager.sol"; import { LibArray } from "script/shared/libraries/LibArray.sol"; -import { IRoninGatewayV3, RoninGatewayV3 } from "@ronin/contracts/ronin/gateway/RoninGatewayV3.sol"; +import { IRoninGatewayV3 } from "@ronin/contracts/interfaces/IRoninGatewayV3.sol"; import { IRoninBridgeManager } from "script/interfaces/IRoninBridgeManager.sol"; import { IMainchainBridgeManager } from "script/interfaces/IMainchainBridgeManager.sol"; -import { IMainchainGatewayV3, MainchainGatewayV3 } from "@ronin/contracts/mainchain/MainchainGatewayV3.sol"; -import { TransparentUpgradeableProxyV2 } from "@ronin/contracts/extensions/TransparentUpgradeableProxyV2.sol"; +import { IMainchainGatewayV3 } from "@ronin/contracts/interfaces/IMainchainGatewayV3.sol"; +import { IQuorum } from "@ronin/contracts/interfaces/IQuorum.sol"; +import { ITransparentUpgradeableProxyV2 } from "script/interfaces/ITransparentUpgradeableProxyV2.sol"; import { IHasContracts } from "@ronin/contracts/interfaces/collections/IHasContracts.sol"; import { ContractType } from "@ronin/contracts/utils/ContractType.sol"; @@ -28,7 +28,6 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { using LibProxy for *; using LibArray for *; using LibProposal for *; - using stdStorage for StdStorage; using LibCompanionNetwork for *; using LibTransfer for LibTransfer.Request; using LibTransfer for LibTransfer.Receipt; @@ -36,28 +35,28 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { address private user = makeAddr("user"); uint256 private quantity; - LibTransfer.Request depositRequest; - LibTransfer.Request withdrawRequest; + LibTransfer.Request depositReq; + LibTransfer.Request withdrawReq; - MockERC20 private roninERC20; - MockERC20 private mainchainERC20; + MockERC20 private ronERC20; + MockERC20 private ethERC20; - address[] private roninTokens = new address[](1); - address[] private mainchainTokens = new address[](1); + address[] private ronTokens = new address[](1); + address[] private ethTokens = new address[](1); TokenStandard[] private standards = [TokenStandard.ERC20]; - uint256 private roninChainId; - uint256 private mainchainChainId; + uint256 private ronChainId; + uint256 private ethChainId; - TNetwork private currentNetwork; + TNetwork private currNetwork; TNetwork private companionNetwork; function _setUp() private onlyOnRoninNetworkOrLocal { - console.log("RoninBridgeManager", roninBridgeManager); - console.log("MainchainBridgeManager", mainchainBridgeManager); + console.log("RoninBridgeManager", ronBM); + console.log("MainchainBridgeManager", ethBM); - console.log("RoninGateway", roninGateway); - console.log("MainchainGateway", mainchainGateway); + console.log("RoninGateway", ronGW); + console.log("MainchainGateway", ethGW); _setUpOnRonin(); _setUpOnMainchain(); @@ -68,13 +67,11 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { function _mapTokenRonin() private { uint256[] memory chainIds = new uint256[](1); chainIds[0] = network().companionChainId(); - address admin = roninGateway.getProxyAdmin(); + address admin = ronGW.getProxyAdmin(); console.log("Admin for ronin gateway", admin); - vm.prank(address(admin)); - TransparentUpgradeableProxyV2(payable(address(roninGateway))).functionDelegateCall( - abi.encodeCall(RoninGatewayV3.mapTokens, (roninTokens, mainchainTokens, chainIds, standards)) - ); + vm.prank(admin); + ITransparentUpgradeableProxyV2(ronGW).functionDelegateCall(abi.encodeCall(IRoninGatewayV3.mapTokens, (ronTokens, ethTokens, chainIds, standards))); } function _mapTokenMainchain() private { @@ -91,41 +88,40 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { thresholds[3] = new uint256[](1); thresholds[3][0] = 500_000_000 ether; - console.log("Mainchain Gateway", address(mainchainGateway)); - address admin = mainchainGateway.getProxyAdmin(); + console.log("Mainchain Gateway", ethGW); + address admin = ethGW.getProxyAdmin(); console.log("Admin", admin); vm.prank(admin); - TransparentUpgradeableProxyV2(payable(address(mainchainGateway))).functionDelegateCall( - abi.encodeCall(MainchainGatewayV3.mapTokensAndThresholds, (mainchainTokens, roninTokens, standards, thresholds)) + ITransparentUpgradeableProxyV2(ethGW).functionDelegateCall( + abi.encodeCall(IMainchainGatewayV3.mapTokensAndThresholds, (ethTokens, ronTokens, standards, thresholds)) ); switchBack(prevNetwork, prevForkId); } function _setUpOnRonin() private { - roninERC20 = new MockERC20("RoninERC20", "RERC20"); - // roninERC20.initialize("RoninERC20", "RERC20", 18); - roninTokens[0] = address(roninERC20); - roninChainId = block.chainid; - currentNetwork = network(); + ronERC20 = new MockERC20("RoninERC20", "RERC20"); + ronTokens[0] = address(ronERC20); + ronChainId = block.chainid; + currNetwork = network(); vm.deal(user, 10 ether); - deal(address(roninERC20), user, 1000 ether); + deal(address(ronERC20), user, 1000 ether); } function _setUpOnMainchain() private { (, companionNetwork) = network().companionNetworkData(); (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); - mainchainChainId = block.chainid; - gwDomainSeparator = MainchainGatewayV3(payable(mainchainGateway)).DOMAIN_SEPARATOR(); + ethChainId = block.chainid; + gwDomainHash = IMainchainGatewayV3(ethGW).DOMAIN_SEPARATOR(); - mainchainERC20 = new MockERC20("MainchainERC20", "MERC20"); - mainchainTokens[0] = address(mainchainERC20); + ethERC20 = new MockERC20("MainchainERC20", "MERC20"); + ethTokens[0] = address(ethERC20); vm.deal(user, 10 ether); - deal(address(mainchainERC20), user, 1000 ether); + deal(address(ethERC20), user, 1000 ether); switchBack(prevNetwork, prevForkId); } @@ -133,193 +129,238 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { function _validate_Gateway_DepositAndWithdraw() internal onlyOnRoninNetworkOrLocal { _setUp(); validate_HasBridgeManager(); - validate_Gateway_depositERC20(); - validate_Gateway_RevertIf_InvalidSignature_WithdrawERC20(); - validate_Gateway_withdrawERC20(); + validate_Gateway_Deposit_ERC20(); + validate_Gateway_RevertIf_InsufficientThreshold_Deposit_ERC20(); + validate_Gateway_Withdraw_ERC20(); + validate_Gateway_RevertIf_InvalidSignature_Withdraw_ERC20(); + validate_Gateway_RevertIf_InsufficientThreshold_Withdraw_ERC20(); } - function validate_HasBridgeManager() internal onPostCheck("validate_HasBridgeManager") { - assertEq(roninBridgeManager.getProxyAdmin(), roninBridgeManager, "Invalid ProxyAdmin in RoninBridgeManager, expected self"); - assertEq(IHasContracts(roninGateway).getContract(ContractType.BRIDGE_MANAGER), roninBridgeManager, "Invalid RoninBridgeManager in roninGateway"); - assertEq(IHasContracts(bridgeTracking).getContract(ContractType.BRIDGE_MANAGER), roninBridgeManager, "Invalid RoninBridgeManager in bridgeTracking"); - assertEq(IHasContracts(bridgeReward).getContract(ContractType.BRIDGE_MANAGER), roninBridgeManager, "Invalid RoninBridgeManager in bridgeReward"); - assertEq(IHasContracts(bridgeSlash).getContract(ContractType.BRIDGE_MANAGER), roninBridgeManager, "Invalid RoninBridgeManager in bridgeSlash"); + function validate_HasBridgeManager() private onPostCheck("validate_HasBridgeManager") { + assertEq(ronBM.getProxyAdmin(), ronBM, "Invalid ProxyAdmin in RoninBridgeManager, expected self"); + assertEq(IHasContracts(ronGW).getContract(ContractType.BRIDGE_MANAGER), ronBM, "Invalid RoninBridgeManager in ronGW"); + assertEq(IHasContracts(brTk).getContract(ContractType.BRIDGE_MANAGER), ronBM, "Invalid RoninBridgeManager in bridgeTracking"); + assertEq(IHasContracts(brRw).getContract(ContractType.BRIDGE_MANAGER), ronBM, "Invalid RoninBridgeManager in bridgeReward"); + assertEq(IHasContracts(brSl).getContract(ContractType.BRIDGE_MANAGER), ronBM, "Invalid RoninBridgeManager in bridgeSlash"); (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); - assertEq(mainchainBridgeManager.getProxyAdmin(), mainchainBridgeManager, "Invalid ProxyAdmin in MainchainBridgeManager, expected self"); - assertEq( - IHasContracts(mainchainGateway).getContract(ContractType.BRIDGE_MANAGER), mainchainBridgeManager, "Invalid MainchainBridgeManager in mainchainGateway" - ); + assertEq(ethBM.getProxyAdmin(), ethBM, "Invalid ProxyAdmin in MainchainBridgeManager, expected self"); + assertEq(IHasContracts(ethGW).getContract(ContractType.BRIDGE_MANAGER), ethBM, "Invalid MainchainBridgeManager in ethGW"); switchBack(prevNetwork, prevForkId); } - function validate_Gateway_depositERC20() private onPostCheck("validate_Gateway_depositERC20") { - depositRequest.recipientAddr = makeAddr("ronin-recipient"); - depositRequest.tokenAddr = address(mainchainERC20); - depositRequest.info.erc = TokenStandard.ERC20; - depositRequest.info.id = 0; - depositRequest.info.quantity = 100 ether; + function validate_Gateway_Deposit_ERC20() private onPostCheck("validate_Gateway_Deposit_ERC20") { + depositReq.recipientAddr = makeAddr("ronin-recipient"); + depositReq.tokenAddr = address(ethERC20); + depositReq.info.erc = TokenStandard.ERC20; + depositReq.info.id = 0; + depositReq.info.quantity = 100 ether; (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); - _cheatUnpauseIfPaused_Mainchain(); + + cheatUnpauseIfPaused(ethGW); + vm.prank(user); - mainchainERC20.approve(address(mainchainGateway), 100 ether); + ethERC20.approve(ethGW, depositReq.info.quantity); + vm.prank(user); vm.recordLogs(); - MainchainGatewayV3(mainchainGateway).requestDepositFor(depositRequest); - - VmSafe.Log[] memory logs_ = vm.getRecordedLogs(); - LibTransfer.Receipt memory receipt; - bytes32 receiptHash; - for (uint256 i; i < logs_.length; ++i) { - if (logs_[i].emitter == address(mainchainGateway) && logs_[i].topics[0] == IMainchainGatewayV3.DepositRequested.selector) { - (receiptHash, receipt) = abi.decode(logs_[i].data, (bytes32, LibTransfer.Receipt)); - } - } + IMainchainGatewayV3(ethGW).requestDepositFor(depositReq); + + (LibTransfer.Receipt memory receipt,) = _getReceiptHash(ethGW, IMainchainGatewayV3.DepositRequested.selector); switchBack(prevNetwork, prevForkId); - _cheatUnpauseIfPaused_Ronin(); - cheatAddOverWeightedGovernor(address(roninBridgeManager)); - vm.prank(cheatOperator); - RoninGatewayV3(roninGateway).depositFor(receipt); + cheatUnpauseIfPaused(ronGW); + overrideMockBOs(ronBM); + + uint256 minVW = IQuorum(ronGW).minimumVoteWeight(); + uint256 defaultVW = IBridgeManager(ronBM).getTotalWeight() / IBridgeManager(ronBM).totalBridgeOperator(); + uint256 minVoteRequired = minVW / defaultVW + 1; + assertTrue(minVoteRequired > 1, "Invalid test setup"); + + for (uint256 i; i < minVoteRequired; ++i) { + vm.prank(mockOps[i]); + IRoninGatewayV3(ronGW).depositFor(receipt); + } - assertEq(roninERC20.balanceOf(depositRequest.recipientAddr), 100 ether); + assertEq(ronERC20.balanceOf(depositReq.recipientAddr), depositReq.info.quantity, "Deposit should be processed"); } - function validate_Gateway_RevertIf_InvalidSignature_WithdrawERC20() private onPostCheck("validate_Gateway_RevertIf_InvalidSignature_WithdrawERC20") { - withdrawRequest.recipientAddr = makeAddr("malicious-recipient"); - withdrawRequest.tokenAddr = address(roninERC20); - withdrawRequest.info.erc = TokenStandard.ERC20; - withdrawRequest.info.id = 0; - withdrawRequest.info.quantity = 100 ether; + function validate_Gateway_RevertIf_InsufficientThreshold_Deposit_ERC20() private onPostCheck("validate_Gateway_RevertIf_InsufficientThreshold_Deposit_ERC20") { + depositReq.recipientAddr = makeAddr("ronin-recipient"); + depositReq.tokenAddr = address(ethERC20); + depositReq.info.erc = TokenStandard.ERC20; + depositReq.info.id = 0; + depositReq.info.quantity = 100 ether; + + (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + + cheatUnpauseIfPaused(ethGW); - _cheatUnpauseIfPaused_Ronin(); - // uint256 _numOperatorsForVoteExecuted = (RoninBridgeManager(_manager[block.chainid]).minimumVoteWeight() - 1) / 100 + 1; vm.prank(user); - roninERC20.approve(address(roninGateway), 100 ether); + ethERC20.approve(ethGW, depositReq.info.quantity); + vm.prank(user); vm.recordLogs(); - RoninGatewayV3(payable(address(roninGateway))).requestWithdrawalFor(withdrawRequest, mainchainChainId); - - VmSafe.Log[] memory logs_ = vm.getRecordedLogs(); - LibTransfer.Receipt memory receipt; - bytes32 receiptHash; - for (uint256 i; i < logs_.length; ++i) { - if (logs_[i].emitter == address(roninGateway) && logs_[i].topics[0] == IRoninGatewayV3.WithdrawalRequested.selector) { - (receiptHash, receipt) = abi.decode(logs_[i].data, (bytes32, LibTransfer.Receipt)); - } + IMainchainGatewayV3(ethGW).requestDepositFor(depositReq); + + (LibTransfer.Receipt memory receipt,) = _getReceiptHash(ethGW, IMainchainGatewayV3.DepositRequested.selector); + + switchBack(prevNetwork, prevForkId); + + cheatUnpauseIfPaused(ronGW); + overrideMockBOs(ronBM); + + uint256 minVW = IQuorum(ronGW).minimumVoteWeight(); + uint256 defaultVW = IBridgeManager(ronBM).getTotalWeight() / IBridgeManager(ronBM).totalBridgeOperator(); + uint256 minVoteRequired = minVW / defaultVW + 1; + uint256 unmetVoteCount = minVoteRequired - 1; + assertTrue(unmetVoteCount > 1, "Invalid test setup"); + + for (uint256 i; i < unmetVoteCount; ++i) { + vm.prank(mockOps[i]); + IRoninGatewayV3(ronGW).depositFor(receipt); } + assertEq(ronERC20.balanceOf(depositReq.recipientAddr), 0, "Deposit should not be processed"); + } + + function validate_Gateway_RevertIf_InvalidSignature_Withdraw_ERC20() private onPostCheck("validate_Gateway_RevertIf_InvalidSignature_Withdraw_ERC20") { + withdrawReq.recipientAddr = makeAddr("malicious-recipient"); + withdrawReq.tokenAddr = address(ronERC20); + withdrawReq.info.erc = TokenStandard.ERC20; + withdrawReq.info.id = 0; + withdrawReq.info.quantity = 100 ether; + + cheatUnpauseIfPaused(ronGW); + + vm.prank(user); + ronERC20.approve(ronGW, withdrawReq.info.quantity); + + vm.prank(user); + vm.recordLogs(); + IRoninGatewayV3(ronGW).requestWithdrawalFor(withdrawReq, ethChainId); + + (LibTransfer.Receipt memory receipt, bytes32 receiptHash) = _getReceiptHash(ronGW, IRoninGatewayV3.WithdrawalRequested.selector); + (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); - bytes32 receiptDigest = LibTransfer.receiptDigest(gwDomainSeparator, receiptHash); - (address invalidSigner, uint256 invalidPK) = makeAddrAndKey("invalid-signer"); - console.log("Invalid Signer", invalidSigner); - console.log("Minimum Vote Weight", MainchainGatewayV3(payable(mainchainGateway)).minimumVoteWeight()); + bytes32 receiptDigest = LibTransfer.receiptDigest(gwDomainHash, receiptHash); + (, uint256 invalidPK) = makeAddrAndKey("invalid-signer"); (uint8 v, bytes32 r, bytes32 s) = vm.sign(invalidPK, receiptDigest); - Signature[] memory sigs = new Signature[](1); sigs[0] = Signature(v, r, s); - _cheatUnpauseIfPaused_Mainchain(); + cheatUnpauseIfPaused(ethGW); + vm.expectRevert(); - MainchainGatewayV3(payable(mainchainGateway)).submitWithdrawal(receipt, sigs); + IMainchainGatewayV3(ethGW).submitWithdrawal(receipt, sigs); switchBack(prevNetwork, prevForkId); } - function validate_Gateway_withdrawERC20() private onPostCheck("validate_Gateway_withdrawERC20") { - withdrawRequest.recipientAddr = makeAddr("mainchain-recipient"); - withdrawRequest.tokenAddr = address(roninERC20); - withdrawRequest.info.erc = TokenStandard.ERC20; - withdrawRequest.info.id = 0; - withdrawRequest.info.quantity = 100 ether; + function validate_Gateway_RevertIf_InsufficientThreshold_Withdraw_ERC20() + private + onPostCheck("validate_Gateway_RevertIf_InsufficientThreshold_Withdraw_ERC20") + { + withdrawReq.recipientAddr = makeAddr("mainchain-recipient"); + withdrawReq.tokenAddr = address(ronERC20); + withdrawReq.info.erc = TokenStandard.ERC20; + withdrawReq.info.id = 0; + withdrawReq.info.quantity = 100 ether; + + cheatUnpauseIfPaused(ronGW); - _cheatUnpauseIfPaused_Ronin(); - // uint256 _numOperatorsForVoteExecuted = (RoninBridgeManager(_manager[block.chainid]).minimumVoteWeight() - 1) / 100 + 1; vm.prank(user); - roninERC20.approve(address(roninGateway), 100 ether); + ronERC20.approve(ronGW, withdrawReq.info.quantity); + vm.prank(user); vm.recordLogs(); - RoninGatewayV3(payable(address(roninGateway))).requestWithdrawalFor(withdrawRequest, mainchainChainId); - - VmSafe.Log[] memory logs_ = vm.getRecordedLogs(); - LibTransfer.Receipt memory receipt; - bytes32 receiptHash; - for (uint256 i; i < logs_.length; ++i) { - if (logs_[i].emitter == address(roninGateway) && logs_[i].topics[0] == IRoninGatewayV3.WithdrawalRequested.selector) { - (receiptHash, receipt) = abi.decode(logs_[i].data, (bytes32, LibTransfer.Receipt)); - } - } + IRoninGatewayV3(ronGW).requestWithdrawalFor(withdrawReq, ethChainId); + + (LibTransfer.Receipt memory receipt, bytes32 receiptHash) = _getReceiptHash(ronGW, IRoninGatewayV3.WithdrawalRequested.selector); - bytes32 receiptDigest = LibTransfer.receiptDigest(gwDomainSeparator, receiptHash); + bytes32 receiptDigest = LibTransfer.receiptDigest(gwDomainHash, receiptHash); (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); - cheatAddOverWeightedGovernor(address(mainchainBridgeManager)); - (uint8 v, bytes32 r, bytes32 s) = vm.sign(cheatOperatorPk, receiptDigest); + cheatUnpauseIfPaused(ethGW); + overrideMockBOs(ethBM); - Signature[] memory sigs = new Signature[](1); - sigs[0] = Signature(v, r, s); + uint256 minVW = IQuorum(ethGW).minimumVoteWeight(); + uint256 defaultVW = IBridgeManager(ethBM).getTotalWeight() / IBridgeManager(ethBM).totalBridgeOperator(); + uint256 minSigRequired = minVW / defaultVW; + uint256 unmetSigCount = minSigRequired - 1; + assertTrue(unmetSigCount > 1, "Invalid test setup"); - _cheatUnpauseIfPaused_Mainchain(); - MainchainGatewayV3(payable(mainchainGateway)).submitWithdrawal(receipt, sigs); + Signature[] memory sigs = _bulkSignReceipt(mockOpPKs, mockOps, receiptDigest); + + assembly { + mstore(sigs, unmetSigCount) + } - assertEq(mainchainERC20.balanceOf(withdrawRequest.recipientAddr), 100 ether); + vm.expectRevert(); + IMainchainGatewayV3(ethGW).submitWithdrawal(receipt, sigs); switchBack(prevNetwork, prevForkId); } - function _cheatUnpauseIfPaused_Mainchain() private { - bool paused = MainchainGatewayV3(payable(mainchainGateway)).paused(); - if (paused) { - address emergencyPauser = MainchainGatewayV3(payable(mainchainGateway)).emergencyPauser(); - vm.prank(emergencyPauser); - MainchainGatewayV3(payable(mainchainGateway)).unpause(); + function validate_Gateway_Withdraw_ERC20() private onPostCheck("validate_Gateway_Withdraw_ERC20") { + withdrawReq.recipientAddr = makeAddr("mainchain-recipient"); + withdrawReq.tokenAddr = address(ronERC20); + withdrawReq.info.erc = TokenStandard.ERC20; + withdrawReq.info.id = 0; + withdrawReq.info.quantity = 100 ether; - assertFalse(MainchainGatewayV3(payable(mainchainGateway)).paused(), "GatewayV3 should not be paused after unpausing"); - } + cheatUnpauseIfPaused(ronGW); + + vm.prank(user); + ronERC20.approve(ronGW, withdrawReq.info.quantity); + + vm.prank(user); + vm.recordLogs(); + IRoninGatewayV3(ronGW).requestWithdrawalFor(withdrawReq, ethChainId); + + (LibTransfer.Receipt memory receipt, bytes32 receiptHash) = _getReceiptHash(ronGW, IRoninGatewayV3.WithdrawalRequested.selector); + + bytes32 receiptDigest = LibTransfer.receiptDigest(gwDomainHash, receiptHash); + + (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + + cheatUnpauseIfPaused(ethGW); + + overrideMockBOs(ethBM); + Signature[] memory sigs = _bulkSignReceipt(mockOpPKs, mockOps, receiptDigest); + + IMainchainGatewayV3(ethGW).submitWithdrawal(receipt, sigs); + + assertEq(ethERC20.balanceOf(withdrawReq.recipientAddr), withdrawReq.info.quantity, "Withdraw should be processed"); + + switchBack(prevNetwork, prevForkId); } - function _cheatUnpauseIfPaused_Ronin() private { - bool paused = RoninGatewayV3(payable(roninGateway)).paused(); - if (paused) { - address emergencyPauser = RoninGatewayV3(payable(roninGateway)).emergencyPauser(); - vm.prank(emergencyPauser); - RoninGatewayV3(payable(roninGateway)).unpause(); + function _bulkSignReceipt(uint256[] memory pks, address[] memory signers, bytes32 receiptHash) private pure returns (Signature[] memory sigs) { + LibArray.inplaceAscSortByValue(pks, signers); + + sigs = new Signature[](pks.length); - assertFalse(RoninGatewayV3(payable(roninGateway)).paused(), "GatewayV3 should not be paused after unpausing"); + for (uint256 i; i < pks.length; ++i) { + (uint8 v, bytes32 r, bytes32 s) = vm.sign(pks[i], receiptHash); + sigs[i] = Signature(v, r, s); } } - // Set the balance of an account for any ERC20 token - // Use the alternative signature to update `totalSupply` - function deal(address token, address to, uint256 give) internal virtual { - deal(token, to, give, false); - } + function _getReceiptHash(address emitter, bytes32 eventTopic) private returns (LibTransfer.Receipt memory receipt, bytes32 receiptHash) { + Vm.Log[] memory logs = vm.getRecordedLogs(); - function deal(address token, address to, uint256 give, bool adjust) internal virtual { - // get current balance - (, bytes memory balData) = token.staticcall(abi.encodeWithSelector(0x70a08231, to)); - uint256 prevBal = abi.decode(balData, (uint256)); - - // update balance - stdstore.target(token).sig(0x70a08231).with_key(to).checked_write(give); - - // update total supply - if (adjust) { - (, bytes memory totSupData) = token.staticcall(abi.encodeWithSelector(0x18160ddd)); - uint256 totSup = abi.decode(totSupData, (uint256)); - if (give < prevBal) { - totSup -= (prevBal - give); - } else { - totSup += (give - prevBal); + for (uint256 i; i < logs.length; ++i) { + if (logs[i].emitter == emitter && logs[i].topics[0] == eventTopic) { + (receiptHash, receipt) = abi.decode(logs[i].data, (bytes32, LibTransfer.Receipt)); } - stdstore.target(token).sig(0x18160ddd).checked_write(totSup); } } } diff --git a/script/shared/libraries/LibArray.sol b/script/shared/libraries/LibArray.sol index 4152024e..9ca0abc1 100644 --- a/script/shared/libraries/LibArray.sol +++ b/script/shared/libraries/LibArray.sol @@ -230,28 +230,38 @@ library LibArray { } /** - * @dev Sorts an array of uint256 values based on a corresponding array of values using the specified sorting mode. - * @param self The array to be sorted. - * @param values The corresponding array of values used for sorting. - * @notice This function modify `self` and `values` - * @return sorted The sorted array. + * @notice Sorts an array of uint256 values based on a corresponding array of values using the specified sorting mode. + * WARNING: This function modify `self` and `values` */ - function inplaceSortByValue(uint256[] memory self, uint256[] memory values) internal pure returns (uint256[] memory sorted) { - return inplaceQuickSortByValue(self, values); + function inplaceAscSortByValue(uint256[] memory self, uint256[] memory values) internal pure returns (uint256[] memory sorted) { + return inplaceAscQuickSortByValue(self, values); } /** - * @dev Sorts an array of uint256 based on a corresponding array of values. - * @param self The array to be sorted. - * @param values The corresponding array of values used for sorting. - * @notice This function modify `self` and `values` - * @return sorted The sorted array. + * @notice Sorts an array of address based on a corresponding array of values. + * WARNING: This function modify `self` and `values` */ - function inplaceQuickSortByValue(uint256[] memory self, uint256[] memory values) internal pure returns (uint256[] memory sorted) { + function inplaceAscSortByValue(address[] memory self, uint256[] memory values) internal pure returns (uint256[] memory sorted) { + return inplaceAscQuickSortByValue(toUint256s(self), values); + } + + /** + * @notice Sorts an array of uint256 based on a corresponding array of address values. + * WARNING: This function modify `self` and `values` + */ + function inplaceAscSortByValue(uint256[] memory self, address[] memory values) internal pure returns (uint256[] memory sorted) { + return inplaceAscQuickSortByValue(self, toUint256s(values)); + } + + /** + * @notice Sorts an array of uint256 based on a corresponding array of values. + * WARNING: This function modify `self` and `values` + */ + function inplaceAscQuickSortByValue(uint256[] memory self, uint256[] memory values) internal pure returns (uint256[] memory sorted) { uint256 length = self.length; if (length != values.length) revert LengthMismatch(); unchecked { - if (length > 1) inplaceQuickSortByValue(self, values, 0, int256(length - 1)); + if (length > 1) _inplaceAscQuickSortByValue(self, values, 0, int256(length - 1)); } assembly ("memory-safe") { @@ -260,14 +270,10 @@ library LibArray { } /** - * @dev Internal function to perform quicksort on an array of uint256 values based on a corresponding array of values. - * @param arr The array to be sorted. - * @param values The corresponding array of values used for sorting. - * @param left The left index of the subarray to be sorted. - * @param right The right index of the subarray to be sorted. - * @notice This function modify `arr` and `values` + * @dev Private function to perform quicksort on an array of uint256 values based on a corresponding array of values. + * WARNING: This function modify `arr` and `values` */ - function inplaceQuickSortByValue(uint256[] memory arr, uint256[] memory values, int256 left, int256 right) private pure { + function _inplaceAscQuickSortByValue(uint256[] memory arr, uint256[] memory values, int256 left, int256 right) private pure { unchecked { if (left == right) return; int256 i = left; @@ -286,8 +292,8 @@ library LibArray { } } - if (left < j) inplaceQuickSortByValue(arr, values, left, j); - if (i < right) inplaceQuickSortByValue(arr, values, i, right); + if (left < j) _inplaceAscQuickSortByValue(arr, values, left, j); + if (i < right) _inplaceAscQuickSortByValue(arr, values, i, right); } } } From f72cb11c9cb7abc1dc0103bf5c3c91287197c57b Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Tue, 20 Aug 2024 15:41:22 +0700 Subject: [PATCH 27/74] script: add more post check on proposal --- .../20240807-ir-recover.s.sol | 5 +- script/Migration.s.sol | 28 +-- script/PostChecker.sol | 2 +- .../PostCheck_BridgeManager.s.sol | 2 +- .../PostCheck_BridgeManager_Proposal.s.sol | 185 +++++++++++++++-- script/shared/libraries/LibArray.sol | 71 ++++++- script/shared/libraries/LibProposal.sol | 192 +++++++++--------- 7 files changed, 343 insertions(+), 142 deletions(-) diff --git a/script/20240807-ir-recover/20240807-ir-recover.s.sol b/script/20240807-ir-recover/20240807-ir-recover.s.sol index 5700d94b..389dd1bf 100644 --- a/script/20240807-ir-recover/20240807-ir-recover.s.sol +++ b/script/20240807-ir-recover/20240807-ir-recover.s.sol @@ -127,7 +127,7 @@ contract Migration__20240807_IR_Recover is Migration { LibProposal.verifyProposalGasAmount(address(_mainchainBM), _proposal.targets, _proposal.values, _proposal.calldatas, _proposal.gasAmounts); // Validate proposal's execution - LibProposal.verifyProposalExecutionMainchain({ governance: address(_mainchainBM), proposal: _proposal, shouldRevertState: false }); + LibProposal.verifyProposalExecutionMainchain({ bm: address(_mainchainBM), proposal: _proposal, shouldRevertState: false }); } function __recover_createProposal() internal view returns (Proposal.ProposalDetail memory proposal) { @@ -197,7 +197,6 @@ contract Migration__20240807_IR_Recover is Migration { } function _preCheck_Withdrawable() internal { - uint256 snapshotId = vm.snapshot(); _fake_unpause(); @@ -263,7 +262,7 @@ contract Migration__20240807_IR_Recover is Migration { require(reverted, string.concat("Cannot revert to snapshot id: ", vm.toString(snapshotId))); } - function _postCheck() virtual override internal { + function _postCheck() internal virtual override { switchTo(_companionNetwork); // Cheat to unpause of MainchainGatewayV3 to self to pass post-check. diff --git a/script/Migration.s.sol b/script/Migration.s.sol index 6dbc0990..f9206ee9 100644 --- a/script/Migration.s.sol +++ b/script/Migration.s.sol @@ -11,10 +11,9 @@ import { ISharedArgument } from "./interfaces/ISharedArgument.sol"; import { TNetwork, Network } from "./utils/Network.sol"; import { IGeneralConfigExtended } from "./interfaces/IGeneralConfigExtended.sol"; import { Utils } from "./utils/Utils.sol"; -import { LibTokenInfo, TokenInfo, TokenStandard } from "@ronin/contracts/libraries/LibTokenInfo.sol"; import { Contract, TContract } from "./utils/Contract.sol"; import { GlobalProposal, Proposal, LibProposal } from "script/shared/libraries/LibProposal.sol"; -import { TransparentUpgradeableProxy } from "@ronin/contracts/extensions/TransparentUpgradeableProxyV2.sol"; +import { ITransparentUpgradeableProxyV2 } from "script/interfaces/ITransparentUpgradeableProxyV2.sol"; import { LibArray } from "script/shared/libraries/LibArray.sol"; import { IPostCheck } from "./interfaces/IPostCheck.sol"; import { IRoninBridgeManager } from "script/interfaces/IRoninBridgeManager.sol"; @@ -32,15 +31,8 @@ contract Migration is BaseMigration, Utils, SignatureConsumer { ISharedArgument internal constant config = ISharedArgument(address(CONFIG)); function _postCheck() internal virtual override { - address postChecker = _deployImmutable( - Contract.PostChecker.key(), - "PostChecker.sol:PostChecker", //string memory artifactName, - makeAddr("PostCheckerDeployer"), - 0, - EMPTY_ARGS - ); + address postChecker = _deployImmutable(Contract.PostChecker.key(), "PostChecker.sol:PostChecker", makeAddr("PostCheckerDeployer"), 0, EMPTY_ARGS); - // address postChecker = _deployImmutable(Contract.PostChecker.key()); vm.allowCheatcodes(postChecker); vm.makePersistent(postChecker); IPostCheck(postChecker).run(); @@ -263,7 +255,7 @@ contract Migration is BaseMigration, Utils, SignatureConsumer { bytes memory args, ProxyInterface /* proxyInterface */ ) public virtual override { - if (!config.isPostChecking() && logic.codehash == payable(proxy).getProxyImplementation({ nullCheck: true }).codehash) { + if (!config.isPostChecking() && logic.codehash == proxy.getProxyImplementation({ nullCheck: true }).codehash) { console.log("BaseMigration: Logic is already upgraded!".yellow()); return; } @@ -277,8 +269,8 @@ contract Migration is BaseMigration, Utils, SignatureConsumer { // in case proxyAdmin is an eoa console.log(StdStyle.yellow("Upgrading with EOA wallet...")); prankOrBroadcast(address(proxyAdmin)); - if (args.length == 0) TransparentUpgradeableProxy(payable(proxy)).upgradeTo(logic); - else TransparentUpgradeableProxy(payable(proxy)).upgradeToAndCall(logic, args); + if (args.length == 0) ITransparentUpgradeableProxyV2(proxy).upgradeTo(logic); + else ITransparentUpgradeableProxyV2(proxy).upgradeToAndCall(logic, args); } // in case proxyAdmin is GovernanceAdmin else if ( @@ -295,16 +287,16 @@ contract Migration is BaseMigration, Utils, SignatureConsumer { targets[0] = proxy; callDatas[0] = args.length == 0 - ? abi.encodeCall(TransparentUpgradeableProxy.upgradeTo, (logic)) - : abi.encodeCall(TransparentUpgradeableProxy.upgradeToAndCall, (logic, args)); + ? abi.encodeCall(ITransparentUpgradeableProxyV2.upgradeTo, (logic)) + : abi.encodeCall(ITransparentUpgradeableProxyV2.upgradeToAndCall, (logic, args)); Proposal.ProposalDetail memory proposal = LibProposal.createProposal({ - manager: address(manager), + bm: address(manager), nonce: manager.round(block.chainid) + 1, - expiryTimestamp: block.timestamp + 10 minutes, + expiry: block.timestamp + 10 minutes, targets: targets, values: values, - calldatas: callDatas, + callDatas: callDatas, gasAmounts: uint256(DEFAULT_PROPOSAL_GAS).toSingletonArray() }); diff --git a/script/PostChecker.sol b/script/PostChecker.sol index e3639ffb..629163ba 100644 --- a/script/PostChecker.sol +++ b/script/PostChecker.sol @@ -25,7 +25,7 @@ contract PostChecker is Migration, PostCheck_BridgeManager, PostCheck_Gateway { _loadSysContract(); _validate_BridgeManager(); - _validate_Gateway(); + // _validate_Gateway(); } function _deployLogic(TContract contractType) internal virtual override(BaseMigration, Migration) returns (address payable logic) { diff --git a/script/post-check/bridge-manager/PostCheck_BridgeManager.s.sol b/script/post-check/bridge-manager/PostCheck_BridgeManager.s.sol index ba953ae9..5face6bf 100644 --- a/script/post-check/bridge-manager/PostCheck_BridgeManager.s.sol +++ b/script/post-check/bridge-manager/PostCheck_BridgeManager.s.sol @@ -16,6 +16,6 @@ abstract contract PostCheck_BridgeManager is _validate_BridgeManager_CRUD_addBridgeOperators(); _validate_BridgeManager_CRUD_removeBridgeOperators(); _validate_BridgeManager_Proposal(); - // _validate_BridgeManager_Quorum(); + _validate_BridgeManager_Quorum(); } } diff --git a/script/post-check/bridge-manager/proposal/PostCheck_BridgeManager_Proposal.s.sol b/script/post-check/bridge-manager/proposal/PostCheck_BridgeManager_Proposal.s.sol index 61650ae8..a6135d07 100644 --- a/script/post-check/bridge-manager/proposal/PostCheck_BridgeManager_Proposal.s.sol +++ b/script/post-check/bridge-manager/proposal/PostCheck_BridgeManager_Proposal.s.sol @@ -22,6 +22,8 @@ abstract contract PostCheck_BridgeManager_Proposal is BasePostCheck { using LibProposal for *; using LibCompanionNetwork for *; + /// @dev The default expiry time for the proposal. + uint256 private proposalDuration = 20 minutes; /// @dev The vote weight of the bridge operators. uint96[] private vws = [100, 100]; /// @dev The governor of the bridge operators. @@ -30,6 +32,9 @@ abstract contract PostCheck_BridgeManager_Proposal is BasePostCheck { address[] private ops = [makeAddr("op-1"), makeAddr("op-2")]; function _validate_BridgeManager_Proposal() internal { + validate_RevertIf_NonGovernor_VoteProposal(); + validate_RevertIf_NotEnoughSignatures_RelayUpgradeProposal(); + validate_RevertIf_NonGovernor_CreateProposal(); validate_canExecuteUpgradeItself(); validate_relayUpgradeProposal(); validate_ProposeGlobalProposalAndRelay_addBridgeOperator(); @@ -38,6 +43,142 @@ abstract contract PostCheck_BridgeManager_Proposal is BasePostCheck { validate_canExecuteUpgradeAllOneProposal(); } + function validate_RevertIf_NonGovernor_VoteProposal() + private + onlyOnRoninNetworkOrLocal + onPostCheck("validate_RevertIf_NotEnoughSignature_RelayUpgradeProposal") + { + address nonGovernor = makeAddr("non-governor"); + + address[] memory targets = ronBM.toSingletonArray(); + uint256[] memory values = uint256(0).toSingletonArray(); + bytes[] memory calldatas = abi.encodeCall( + ITransparentUpgradeableProxyV2.functionDelegateCall, (abi.encodeCall(IBridgeManager.addBridgeOperators, (vws, gvs, ops))) + ).toSingletonArray(); + uint256[] memory gasAmounts = uint256(1_000_000).toSingletonArray(); + + address[] memory governors = IRoninBridgeManager(ronBM).getGovernors(); + + Proposal.ProposalDetail memory proposal = LibProposal.createProposal({ + bm: ronBM, + expiry: block.timestamp + proposalDuration, + targets: targets, + values: values, + callDatas: calldatas, + gasAmounts: gasAmounts, + nonce: IRoninBridgeManager(ronBM).round(0) + 1 + }); + + vm.prank(governors[0]); + IRoninBridgeManager(ronBM).proposeProposalForCurrentNetwork( + proposal.expiryTimestamp, proposal.executor, proposal.targets, proposal.values, proposal.calldatas, proposal.gasAmounts, Ballot.VoteType.For + ); + + vm.prank(nonGovernor); + vm.expectRevert(); + IRoninBridgeManager(ronBM).castProposalVoteForCurrentNetwork(proposal, Ballot.VoteType.For); + + vm.prank(nonGovernor); + vm.expectRevert(); + IRoninBridgeManager(ronBM).castProposalVoteForCurrentNetwork(proposal, Ballot.VoteType.Against); + } + + function validate_RevertIf_NotEnoughSignatures_RelayUpgradeProposal() + private + onlyOnRoninNetworkOrLocal + onPostCheck("validate_RevertIf_NotEnoughSignature_RelayUpgradeProposal") + { + TNetwork currNetwork = vme.getCurrentNetwork(); + (, TNetwork companionNetwork) = currNetwork.companionNetworkData(); + + switchTo(companionNetwork); + + uint256 snapshotId = vm.snapshot(); + + overrideMockBOs(ethBM); + + address[] memory targets = new address[](2); + uint256[] memory values = new uint256[](2); + uint256[] memory gasAmounts = new uint256[](2); + bytes[] memory calldatas = new bytes[](2); + address[] memory logics = new address[](2); + + targets[0] = ethBM; + targets[1] = ethGW; + + logics[0] = _deployLogic(Contract.MainchainBridgeManager.key()); + logics[1] = _deployLogic(Contract.MainchainGatewayV3.key()); + + calldatas[0] = abi.encodeCall(ITransparentUpgradeableProxyV2.upgradeTo, (logics[0])); + calldatas[1] = abi.encodeCall(ITransparentUpgradeableProxyV2.upgradeTo, (logics[1])); + + gasAmounts[0] = 1_000_000; + gasAmounts[1] = 1_000_000; + + Proposal.ProposalDetail memory proposal = LibProposal.createProposal({ + bm: ethBM, + expiry: block.timestamp + proposalDuration, + targets: targets, + values: values, + callDatas: calldatas, + gasAmounts: gasAmounts, + nonce: IMainchainBridgeManager(ethBM).round(block.chainid) + 1 + }); + + Signature[] memory signatures = proposal.generateSignatures(mockGvPKs, Ballot.VoteType.For); + + uint256 minVW = IMainchainBridgeManager(ethBM).minimumVoteWeight(); + uint256 defaultVW = IMainchainBridgeManager(ethBM).getTotalWeight() / IMainchainBridgeManager(ethBM).totalBridgeOperator(); + uint256 minRequiredSig = minVW / defaultVW + 1; + assertTrue(minRequiredSig > 1, "Invalid Setup: minRequiredSig <= 1"); + + uint256 unmetSigCount = minRequiredSig - 1; + + assembly { + mstore(signatures, unmetSigCount) + } + + Ballot.VoteType[] memory _supports = new Ballot.VoteType[](signatures.length); + + vm.prank(mockGvs[0]); + vm.expectRevert(); + IMainchainBridgeManager(ethBM).relayProposal(proposal, _supports, signatures); + + assertTrue(vm.revertTo(snapshotId), "Cannot revert to snapshot id"); + _switchBackToRoninFork(currNetwork); + } + + function validate_RevertIf_NonGovernor_CreateProposal() private onlyOnRoninNetworkOrLocal onPostCheck("validate_RevertIf_NonGovernor_CreateProposal") { + address nonGovernor = makeAddr("non-governor"); + + address[] memory targets = ronBM.toSingletonArray(); + uint256[] memory values = uint256(0).toSingletonArray(); + bytes[] memory calldatas = abi.encodeCall( + ITransparentUpgradeableProxyV2.functionDelegateCall, (abi.encodeCall(IBridgeManager.addBridgeOperators, (vws, gvs, ops))) + ).toSingletonArray(); + uint256[] memory gasAmounts = uint256(1_000_000).toSingletonArray(); + + vm.expectRevert(); + vm.prank(nonGovernor); + IRoninBridgeManager(ronBM).propose(block.chainid, block.timestamp + proposalDuration, address(0x0), targets, values, calldatas, gasAmounts); + + Proposal.ProposalDetail memory proposal = LibProposal.createProposal({ + bm: ronBM, + expiry: block.timestamp + proposalDuration, + targets: targets, + values: values, + callDatas: calldatas, + gasAmounts: gasAmounts, + nonce: IRoninBridgeManager(ronBM).round(0) + 1 + }); + + vm.prank(nonGovernor); + vm.expectRevert(); + IRoninBridgeManager(ronBM).proposeProposalForCurrentNetwork( + proposal.expiryTimestamp, proposal.executor, proposal.targets, proposal.values, proposal.calldatas, proposal.gasAmounts, Ballot.VoteType.For + ); + } + function validate_proposeAndRelay_addBridgeOperator() private onlyOnRoninNetworkOrLocal onPostCheck("validate_proposeAndRelay_addBridgeOperator") { // Cheat add gv cheatAddOverWeightedGovernor(ronBM); @@ -52,17 +193,17 @@ abstract contract PostCheck_BridgeManager_Proposal is BasePostCheck { uint256 ronChainId = block.chainid; Proposal.ProposalDetail memory proposal = LibProposal.createProposal({ - manager: ronBM, - expiryTimestamp: block.timestamp + 20 minutes, + bm: ronBM, + expiry: block.timestamp + proposalDuration, targets: targets, values: values, - calldatas: calldatas, + callDatas: calldatas, gasAmounts: gasAmounts, nonce: IRoninBridgeManager(ronBM).round(0) + 1 }); vm.prank(cheatGv); - IRoninBridgeManager(ronBM).propose(ronChainId, block.timestamp + 20 minutes, address(0x0), targets, values, calldatas, gasAmounts); + IRoninBridgeManager(ronBM).propose(ronChainId, block.timestamp + proposalDuration, address(0x0), targets, values, calldatas, gasAmounts); { TNetwork currNetwork = vme.getCurrentNetwork(); @@ -78,11 +219,11 @@ abstract contract PostCheck_BridgeManager_Proposal is BasePostCheck { targets = ethBM.toSingletonArray(); proposal = LibProposal.createProposal({ - manager: ethBM, - expiryTimestamp: block.timestamp + 20 minutes, + bm: ethBM, + expiry: block.timestamp + proposalDuration, targets: targets, values: proposal.values, - calldatas: proposal.calldatas, + callDatas: proposal.calldatas, gasAmounts: proposal.gasAmounts, nonce: IMainchainBridgeManager(ethBM).round(block.chainid) + 1 }); @@ -107,7 +248,7 @@ abstract contract PostCheck_BridgeManager_Proposal is BasePostCheck { } } - function validate_relayUpgradeProposal() private onPostCheck("validate_relayUpgradeProposal") { + function validate_relayUpgradeProposal() private onlyOnRoninNetworkOrLocal onPostCheck("validate_relayUpgradeProposal") { TNetwork currNetwork = vme.getCurrentNetwork(); (, TNetwork companionNetwork) = currNetwork.companionNetworkData(); @@ -126,7 +267,7 @@ abstract contract PostCheck_BridgeManager_Proposal is BasePostCheck { address[] memory logics = new address[](2); targets[0] = ethBM; - targets[1] = loadContract(Contract.MainchainGatewayV3.key()); + targets[1] = ethGW; logics[0] = _deployLogic(Contract.MainchainBridgeManager.key()); logics[1] = _deployLogic(Contract.MainchainGatewayV3.key()); @@ -138,11 +279,11 @@ abstract contract PostCheck_BridgeManager_Proposal is BasePostCheck { gasAmounts[1] = 1_000_000; Proposal.ProposalDetail memory proposal = LibProposal.createProposal({ - manager: ethBM, - expiryTimestamp: block.timestamp + 20 minutes, + bm: ethBM, + expiry: block.timestamp + proposalDuration, targets: targets, values: values, - calldatas: calldatas, + callDatas: calldatas, gasAmounts: gasAmounts, nonce: IMainchainBridgeManager(ethBM).round(block.chainid) + 1 }); @@ -159,7 +300,7 @@ abstract contract PostCheck_BridgeManager_Proposal is BasePostCheck { IMainchainBridgeManager(ethBM).relayProposal(proposal, _supports, signatures); assertEq(ethBM.getProxyImplementation(), logics[0], "MainchainBridgeManager logic is not upgraded"); - assertEq(loadContract(Contract.MainchainGatewayV3.key()).getProxyImplementation(), logics[1], "MainchainGatewayV3 logic is not upgraded"); + assertEq(ethGW.getProxyImplementation(), logics[1], "MainchainGatewayV3 logic is not upgraded"); } assertTrue(vm.revertTo(snapshotId), "Cannot revert to snapshot id"); @@ -177,10 +318,10 @@ abstract contract PostCheck_BridgeManager_Proposal is BasePostCheck { targetOptions[0] = GlobalProposal.TargetOption.BridgeManager; GlobalProposal.GlobalProposalDetail memory globalProposal = LibProposal.createGlobalProposal({ - expiryTimestamp: block.timestamp + 20 minutes, - targetOptions: targetOptions, + expiry: block.timestamp + proposalDuration, + targetOpts: targetOptions, values: uint256(0).toSingletonArray(), - calldatas: abi.encodeCall(ITransparentUpgradeableProxyV2.functionDelegateCall, (abi.encodeCall(IBridgeManager.addBridgeOperators, (vws, gvs, ops)))) + callDatas: abi.encodeCall(ITransparentUpgradeableProxyV2.functionDelegateCall, (abi.encodeCall(IBridgeManager.addBridgeOperators, (vws, gvs, ops)))) .toSingletonArray(), gasAmounts: uint256(1_000_000).toSingletonArray(), nonce: IRoninBridgeManager(ronBM).round(0) + 1 @@ -267,11 +408,11 @@ abstract contract PostCheck_BridgeManager_Proposal is BasePostCheck { } Proposal.ProposalDetail memory proposal = LibProposal.createProposal({ - manager: ronBM, - expiryTimestamp: block.timestamp + 20 minutes, + bm: ronBM, + expiry: block.timestamp + proposalDuration, targets: targets, values: uint256(0).repeat(targets.length), - calldatas: calldatas, + callDatas: calldatas, gasAmounts: uint256(1_000_000).repeat(targets.length), nonce: IRoninBridgeManager(ronBM).round(block.chainid) + 1 }); @@ -301,11 +442,11 @@ abstract contract PostCheck_BridgeManager_Proposal is BasePostCheck { } Proposal.ProposalDetail memory proposal = LibProposal.createProposal({ - manager: ronBM, - expiryTimestamp: block.timestamp + 20 minutes, + bm: ronBM, + expiry: block.timestamp + proposalDuration, targets: targets, values: uint256(0).repeat(targets.length), - calldatas: calldatas, + callDatas: calldatas, gasAmounts: uint256(1_000_000).repeat(targets.length), nonce: IRoninBridgeManager(ronBM).round(block.chainid) + 1 }); diff --git a/script/shared/libraries/LibArray.sol b/script/shared/libraries/LibArray.sol index 9ca0abc1..bcd56cea 100644 --- a/script/shared/libraries/LibArray.sol +++ b/script/shared/libraries/LibArray.sol @@ -230,7 +230,7 @@ library LibArray { } /** - * @notice Sorts an array of uint256 values based on a corresponding array of values using the specified sorting mode. + * @notice Sorts an array of uint256 values based on a corresponding array of values ascending. * WARNING: This function modify `self` and `values` */ function inplaceAscSortByValue(uint256[] memory self, uint256[] memory values) internal pure returns (uint256[] memory sorted) { @@ -238,7 +238,7 @@ library LibArray { } /** - * @notice Sorts an array of address based on a corresponding array of values. + * @notice Sorts an array of address based on a corresponding array of values ascending. * WARNING: This function modify `self` and `values` */ function inplaceAscSortByValue(address[] memory self, uint256[] memory values) internal pure returns (uint256[] memory sorted) { @@ -246,7 +246,7 @@ library LibArray { } /** - * @notice Sorts an array of uint256 based on a corresponding array of address values. + * @notice Sorts an array of uint256 based on a corresponding array of address values ascending. * WARNING: This function modify `self` and `values` */ function inplaceAscSortByValue(uint256[] memory self, address[] memory values) internal pure returns (uint256[] memory sorted) { @@ -254,7 +254,68 @@ library LibArray { } /** - * @notice Sorts an array of uint256 based on a corresponding array of values. + * @dev Sorts array of uint256 `values`. + * + * - Values are sorted in ascending order. + * + * WARNING This function DOES modifies the original `values`. + */ + function inplaceAscSort(uint256[] memory self) internal pure returns (uint256[] memory sorted) { + return inplaceAscQuickSort(self); + } + + /** + * @dev Sorts array of uint256 `values`. + * + * - Values are sorted in ascending order. + * + * WARNING This function DOES modifies the original `values`. + */ + function inplaceAscQuickSort(uint256[] memory self) internal pure returns (uint256[] memory sorted) { + uint256 length = self.length; + unchecked { + if (length > 1) _inplaceAscQuickSort(self, 0, int256(length - 1)); + } + + assembly ("memory-safe") { + sorted := self + } + } + + /** + * @dev Internal function to perform quicksort on an `values`. + * + * - Values are sorted in ascending order. + * + * WARNING This function modify `values` + */ + function _inplaceAscQuickSort(uint256[] memory values, int256 left, int256 right) private pure { + unchecked { + if (left < right) { + if (left == right) return; + int256 i = left; + int256 j = right; + uint256 pivot = values[uint256(left + right) >> 1]; + + while (i <= j) { + while (pivot > values[uint256(i)]) ++i; + while (pivot < values[uint256(j)]) --j; + + if (i <= j) { + (values[uint256(i)], values[uint256(j)]) = (values[uint256(j)], values[uint256(i)]); + ++i; + --j; + } + } + + if (left < j) _inplaceAscQuickSort(values, left, j); + if (i < right) _inplaceAscQuickSort(values, i, right); + } + } + } + + /** + * @notice Sorts an array of uint256 based on a corresponding array of values ascending. * WARNING: This function modify `self` and `values` */ function inplaceAscQuickSortByValue(uint256[] memory self, uint256[] memory values) internal pure returns (uint256[] memory sorted) { @@ -270,7 +331,7 @@ library LibArray { } /** - * @dev Private function to perform quicksort on an array of uint256 values based on a corresponding array of values. + * @dev Private function to perform quicksort on an array of uint256 values based on a corresponding array of values ascending. * WARNING: This function modify `arr` and `values` */ function _inplaceAscQuickSortByValue(uint256[] memory arr, uint256[] memory values, int256 left, int256 right) private pure { diff --git a/script/shared/libraries/LibProposal.sol b/script/shared/libraries/LibProposal.sol index 525c5d90..108bbdcc 100644 --- a/script/shared/libraries/LibProposal.sol +++ b/script/shared/libraries/LibProposal.sol @@ -37,23 +37,24 @@ library LibProposal { uint256 internal constant DEFAULT_PROPOSAL_GAS = 1_000_000; Vm private constant vm = Vm(LibSharedAddress.VM); - IGeneralConfigExtended private constant config = IGeneralConfigExtended(LibSharedAddress.CONFIG); + IGeneralConfigExtended private constant vme = IGeneralConfigExtended(LibSharedAddress.VME); modifier preserveState() { uint256 snapshotId = vm.snapshot(); _; - bool reverted = vm.revertTo(snapshotId); - require(reverted, string.concat("Cannot revert to snapshot id: ", vm.toString(snapshotId))); + require(vm.revertTo(snapshotId), string.concat("Cannot revert to snapshot id: ", vm.toString(snapshotId))); } function getBridgeManagerDomain() internal view returns (bytes32) { uint256 chainId; - TNetwork currentNetwork = config.getCurrentNetwork(); - if (currentNetwork == Network.EthMainnet.key() || currentNetwork == Network.Goerli.key() || currentNetwork == Network.Sepolia.key()) { - chainId = currentNetwork.companionChainId(); + TNetwork currNetwork = vme.getCurrentNetwork(); + + if (currNetwork == Network.EthMainnet.key() || currNetwork == Network.Goerli.key() || currNetwork == Network.Sepolia.key()) { + chainId = currNetwork.companionChainId(); } else { chainId = block.chainid; } + return keccak256( abi.encode( keccak256("EIP712Domain(string name,string version,bytes32 salt)"), @@ -65,53 +66,54 @@ library LibProposal { } function createProposal( - address manager, + address bm, uint256 nonce, - uint256 expiryTimestamp, + uint256 expiry, address[] memory targets, uint256[] memory values, - bytes[] memory calldatas, + bytes[] memory callDatas, uint256[] memory gasAmounts ) internal returns (Proposal.ProposalDetail memory proposal) { - verifyProposalGasAmount(manager, targets, values, calldatas, gasAmounts); + verifyProposalGasAmount(bm, targets, values, callDatas, gasAmounts); proposal = Proposal.ProposalDetail({ nonce: nonce, chainId: block.chainid, - expiryTimestamp: expiryTimestamp, + expiryTimestamp: expiry, targets: targets, executor: address(0x0), values: values, - calldatas: calldatas, + calldatas: callDatas, gasAmounts: gasAmounts }); } function createGlobalProposal( uint256 nonce, - uint256 expiryTimestamp, + uint256 expiry, uint256[] memory values, - bytes[] memory calldatas, + bytes[] memory callDatas, uint256[] memory gasAmounts, - GlobalProposal.TargetOption[] memory targetOptions + GlobalProposal.TargetOption[] memory targetOpts ) internal returns (GlobalProposal.GlobalProposalDetail memory proposal) { - verifyGlobalProposalGasAmount(values, calldatas, gasAmounts, targetOptions); + verifyGlobalProposalGasAmount(values, callDatas, gasAmounts, targetOpts); + proposal = GlobalProposal.GlobalProposalDetail({ nonce: nonce, - expiryTimestamp: expiryTimestamp, - targetOptions: targetOptions, + expiryTimestamp: expiry, + targetOptions: targetOpts, values: values, executor: address(0x0), - calldatas: calldatas, + calldatas: callDatas, gasAmounts: gasAmounts }); } - function executeProposal(IRoninBridgeManager manager, Proposal.ProposalDetail memory proposal) internal { + function executeProposal(IRoninBridgeManager bm, Proposal.ProposalDetail memory proposal) internal { Ballot.VoteType support = Ballot.VoteType.For; - address[] memory governors = manager.getGovernors(); + address[] memory governors = bm.getGovernors(); - bool shouldPrankOnly = config.isPostChecking(); + bool shouldPrankOnly = vme.isPostChecking(); address governor0 = governors[0]; if (shouldPrankOnly) { @@ -119,17 +121,18 @@ library LibProposal { } else { vm.broadcast(governor0); } - manager.proposeProposalForCurrentNetwork( + + bm.proposeProposalForCurrentNetwork( proposal.expiryTimestamp, proposal.executor, proposal.targets, proposal.values, proposal.calldatas, proposal.gasAmounts, support ); - voteFor(manager, proposal); + voteFor(bm, proposal); } - function voteFor(IRoninBridgeManager manager, Proposal.ProposalDetail memory proposal) internal { + function voteFor(IRoninBridgeManager bm, Proposal.ProposalDetail memory proposal) internal { Ballot.VoteType support = Ballot.VoteType.For; - address[] memory governors = manager.getGovernors(); - bool shouldPrankOnly = config.isPostChecking(); + address[] memory governors = bm.getGovernors(); + bool shouldPrankOnly = vme.isPostChecking(); uint256 totalGas = proposal.gasAmounts.sum(); // 20% more gas for each governor @@ -138,7 +141,7 @@ library LibProposal { if (totalGas < DEFAULT_PROPOSAL_GAS) totalGas = DEFAULT_PROPOSAL_GAS * 120_00 / 100_00; for (uint256 i = 1; i < governors.length; ++i) { - (VoteStatusConsumer.VoteStatus status,,,,) = manager.vote(block.chainid, proposal.nonce); + (VoteStatusConsumer.VoteStatus status,,,,) = bm.vote(block.chainid, proposal.nonce); if (status != VoteStatusConsumer.VoteStatus.Pending) break; address governor = governors[i]; @@ -148,64 +151,64 @@ library LibProposal { vm.broadcast(governor); } - manager.castProposalVoteForCurrentNetwork{ gas: totalGas }(proposal, support); + bm.castProposalVoteForCurrentNetwork{ gas: totalGas }(proposal, support); } } function verifyGlobalProposalGasAmount( uint256[] memory values, - bytes[] memory calldatas, + bytes[] memory callDatas, uint256[] memory gasAmounts, - GlobalProposal.TargetOption[] memory targetOptions + GlobalProposal.TargetOption[] memory targetOpts ) internal { - address manager; - address companionManager; - TNetwork currentNetwork = config.getCurrentNetwork(); - TNetwork companionNetwork = config.getCompanionNetwork(currentNetwork); - address[] memory roninTargets = new address[](targetOptions.length); - address[] memory mainchainTargets = new address[](targetOptions.length); - - if (currentNetwork == Network.EthMainnet.key() || currentNetwork == Network.Goerli.key() || currentNetwork == Network.Sepolia.key()) { - manager = config.getAddress(currentNetwork, Contract.MainchainBridgeManager.key()); - companionManager = config.getAddress(companionNetwork, Contract.RoninBridgeManager.key()); + address bm; + address companionBM; + TNetwork currNetwork = vme.getCurrentNetwork(); + TNetwork companionNetwork = vme.getCompanionNetwork(currNetwork); + address[] memory roninTargets = new address[](targetOpts.length); + address[] memory mainchainTargets = new address[](targetOpts.length); + + if (currNetwork == Network.EthMainnet.key() || currNetwork == Network.Goerli.key() || currNetwork == Network.Sepolia.key()) { + bm = vme.getAddress(currNetwork, Contract.MainchainBridgeManager.key()); + companionBM = vme.getAddress(companionNetwork, Contract.RoninBridgeManager.key()); } else { - manager = config.getAddress(currentNetwork, Contract.RoninBridgeManager.key()); - companionManager = config.getAddress(companionNetwork, Contract.MainchainBridgeManager.key()); + bm = vme.getAddress(currNetwork, Contract.RoninBridgeManager.key()); + companionBM = vme.getAddress(companionNetwork, Contract.MainchainBridgeManager.key()); } for (uint256 i; i < roninTargets.length; i++) { - roninTargets[i] = resolveRoninTarget(targetOptions[i]); - mainchainTargets[i] = resolveMainchainTarget(targetOptions[i]); + roninTargets[i] = resolveRoninTarget(targetOpts[i]); + mainchainTargets[i] = resolveMainchainTarget(targetOpts[i]); } // Verify gas amount for ronin targets - verifyProposalGasAmount(manager, roninTargets, values, calldatas, gasAmounts); + verifyProposalGasAmount(bm, roninTargets, values, callDatas, gasAmounts); // Verify gas amount for mainchain targets - verifyMainchainProposalGasAmount(companionNetwork, companionManager, mainchainTargets, values, calldatas, gasAmounts); + verifyMainchainProposalGasAmount(companionNetwork, companionBM, mainchainTargets, values, callDatas, gasAmounts); } function verifyMainchainProposalGasAmount( TNetwork companionNetwork, - address mainchainManager, + address mainchainBM, address[] memory mainchainTargets, uint256[] memory values, - bytes[] memory calldatas, + bytes[] memory callDatas, uint256[] memory gasAmounts ) internal preserveState { - TNetwork currentNetwork = config.getCurrentNetwork(); + TNetwork currNetwork = vme.getCurrentNetwork(); - config.createFork(companionNetwork); - config.switchTo(companionNetwork); + vme.createFork(companionNetwork); + vme.switchTo(companionNetwork); uint256 snapshotId = vm.snapshot(); for (uint256 i; i < mainchainTargets.length; i++) { - vm.deal(mainchainManager, values[i]); - vm.prank(mainchainManager); + vm.deal(mainchainBM, values[i]); + vm.prank(mainchainBM); uint256 gasUsed = gasleft(); - (bool success, bytes memory returnOrRevertData) = mainchainTargets[i].call{ value: values[i], gas: gasAmounts[i] }(calldatas[i]); + (bool success, bytes memory returnOrRevertData) = mainchainTargets[i].call{ value: values[i], gas: gasAmounts[i] }(callDatas[i]); gasUsed = gasUsed - gasleft(); @@ -214,36 +217,37 @@ library LibProposal { } else { console.log("Call", i, unicode": reverted. ❗ GasUsed", gasUsed); } - success.handleRevert(bytes4(calldatas[i]), returnOrRevertData); - if (gasUsed > gasAmounts[i]) revert ErrProposalOutOfGas(block.chainid, bytes4(calldatas[i]), gasUsed); + success.handleRevert(bytes4(callDatas[i]), returnOrRevertData); + + if (gasUsed > gasAmounts[i]) revert ErrProposalOutOfGas(block.chainid, bytes4(callDatas[i]), gasUsed); } bool reverted = vm.revertTo(snapshotId); require(reverted, string.concat("Cannot revert to snapshot id: ", vm.toString(snapshotId))); IRuntimeConfig.Option memory opt; - opt = config.getRuntimeConfig(); + opt = vme.getRuntimeConfig(); uint originForkBlockNumber = opt.forkBlockNumber; - uint roninForkId = config.getForkId(currentNetwork, originForkBlockNumber); - config.switchTo(roninForkId); + uint roninForkId = vme.getForkId(currNetwork, originForkBlockNumber); + vme.switchTo(roninForkId); } function verifyProposalGasAmount( - address governance, + address bm, address[] memory targets, uint256[] memory values, - bytes[] memory calldatas, + bytes[] memory callDatas, uint256[] memory gasAmounts ) internal preserveState { for (uint256 i; i < targets.length; i++) { - vm.deal(governance, values[i]); - vm.prank(governance); + vm.deal(bm, values[i]); + vm.prank(bm); uint256 gasUsed = gasleft(); - (bool success, bytes memory returnOrRevertData) = targets[i].call{ value: values[i], gas: gasAmounts[i] }(calldatas[i]); + (bool success, bytes memory returnOrRevertData) = targets[i].call{ value: values[i], gas: gasAmounts[i] }(callDatas[i]); gasUsed = gasUsed - gasleft(); if (success) { @@ -251,16 +255,13 @@ library LibProposal { } else { console.log("Call", i, unicode": reverted. ❗ GasUsed", gasUsed); } - success.handleRevert(bytes4(calldatas[i]), returnOrRevertData); + success.handleRevert(bytes4(callDatas[i]), returnOrRevertData); - if (gasUsed > gasAmounts[i]) revert ErrProposalOutOfGas(block.chainid, bytes4(calldatas[i]), gasUsed); + if (gasUsed > gasAmounts[i]) revert ErrProposalOutOfGas(block.chainid, bytes4(callDatas[i]), gasUsed); } } - function verifyProposalExecutionMainchain( - address governance, - Proposal.ProposalDetail memory proposal - ) internal { + function verifyProposalExecutionMainchain(address bm, Proposal.ProposalDetail memory proposal) internal { address cheatPowerGov = 0x19614c50b0d13399A1533Fc1d3c1AD980A249aEa; // cheating pk, do not use in production uint256 cheatingPowerGovPk = 0x677911d1450076499cfe00fa1090c00c6ed7338fb5acfdef663a8fbde551d461; // cheating pk, do not use in production vm.label(cheatPowerGov, "CheatPowerGovernor"); @@ -271,7 +272,7 @@ library LibProposal { uint256 $$_governorWeightMap_Slot = uint256(0xc648703095712c0419b6431ae642c061f0a105ac2d7c3d9604061ef4ebc38300) + 2; bytes32 $$_governorWeight_Slot = LibStorage.getMappingElementSlotIndex(cheatPowerGov, uint256($$_governorWeightMap_Slot)); - vm.store(governance, $$_governorWeight_Slot, bytes32(uint256(uint96(100*1000)))); + vm.store(bm, $$_governorWeight_Slot, bytes32(uint256(uint96(100 * 1000)))); { Ballot.VoteType[] memory supports_ = new Ballot.VoteType[](1); @@ -285,25 +286,22 @@ library LibProposal { } else { vm.prank(proposal.executor); } - IMainchainBridgeManager(governance).relayProposal(proposal, supports_, sigs_); + + IMainchainBridgeManager(bm).relayProposal(proposal, supports_, sigs_); } } - function verifyProposalExecutionMainchain( - address governance, - Proposal.ProposalDetail memory proposal, - bool shouldRevertState - ) internal { + function verifyProposalExecutionMainchain(address bm, Proposal.ProposalDetail memory proposal, bool shouldRevertState) internal { uint256 snapshotId; + if (shouldRevertState) { snapshotId = vm.snapshot(); } - verifyProposalExecutionMainchain(governance, proposal); + verifyProposalExecutionMainchain(bm, proposal); if (shouldRevertState) { - bool revertSuccess = vm.revertTo(snapshotId); - require(revertSuccess, "Cannot revert to snapshot id"); + require(vm.revertTo(snapshotId), "Cannot revert to snapshot id"); } } @@ -328,8 +326,18 @@ library LibProposal { uint256[] memory signerPKs, Ballot.VoteType support ) internal view returns (SignatureConsumer.Signature[] memory sigs) { + address[] memory signers = new address[](signerPKs.length); + + for (uint256 i; i < signerPKs.length; i++) { + signers[i] = vm.addr(signerPKs[i]); + } + + // Sort signer private keys by signer address + signerPKs.inplaceAscSortByValue(signers); + sigs = new SignatureConsumer.Signature[](signerPKs.length); bytes32 domain = getBridgeManagerDomain(); + for (uint256 i; i < signerPKs.length; i++) { bytes32 digest = domain.toTypedDataHash(Ballot.hash(proposalHash, support)); sigs[i] = sign(signerPKs[i], digest); @@ -337,41 +345,41 @@ library LibProposal { } function resolveRoninTarget(GlobalProposal.TargetOption targetOption) internal view returns (address) { - TNetwork network = config.getCurrentNetwork(); + TNetwork network = vme.getCurrentNetwork(); if (!(network == DefaultNetwork.RoninMainnet.key() || network == DefaultNetwork.RoninTestnet.key())) { - network = config.getCompanionNetwork(network); + network = vme.getCompanionNetwork(network); } if (targetOption == GlobalProposal.TargetOption.BridgeManager) { - return config.getAddress(network, Contract.RoninBridgeManager.key()); + return vme.getAddress(network, Contract.RoninBridgeManager.key()); } if (targetOption == GlobalProposal.TargetOption.GatewayContract) { - return config.getAddress(network, Contract.RoninGatewayV3.key()); + return vme.getAddress(network, Contract.RoninGatewayV3.key()); } if (targetOption == GlobalProposal.TargetOption.BridgeReward) { - return config.getAddress(network, Contract.BridgeReward.key()); + return vme.getAddress(network, Contract.BridgeReward.key()); } if (targetOption == GlobalProposal.TargetOption.BridgeSlash) { - return config.getAddress(network, Contract.BridgeSlash.key()); + return vme.getAddress(network, Contract.BridgeSlash.key()); } if (targetOption == GlobalProposal.TargetOption.BridgeTracking) { - return config.getAddress(network, Contract.BridgeTracking.key()); + return vme.getAddress(network, Contract.BridgeTracking.key()); } return address(0); } function resolveMainchainTarget(GlobalProposal.TargetOption targetOption) internal view returns (address) { - TNetwork network = config.getCurrentNetwork(); + TNetwork network = vme.getCurrentNetwork(); if (!(network == Network.EthMainnet.key() || network == Network.Goerli.key())) { - network = config.getCompanionNetwork(network); + network = vme.getCompanionNetwork(network); } if (targetOption == GlobalProposal.TargetOption.BridgeManager) { - return config.getAddress(network, Contract.MainchainBridgeManager.key()); + return vme.getAddress(network, Contract.MainchainBridgeManager.key()); } if (targetOption == GlobalProposal.TargetOption.GatewayContract) { - return config.getAddress(network, Contract.MainchainGatewayV3.key()); + return vme.getAddress(network, Contract.MainchainGatewayV3.key()); } return address(0); From 195d95ffd1dad48575c81df852e0080aad2d2925 Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Tue, 20 Aug 2024 15:41:42 +0700 Subject: [PATCH 28/74] chore: storage layout --- logs/contract-code-sizes.log | 7 +- ...ockBridgeManager.sol:MockBridgeManager.log | 7 +- .../MockBridgeSlash.sol:MockBridgeSlash.log | 7 +- ...kBridgeTracking.sol:MockBridgeTracking.log | 1 + logs/storage/PostChecker.sol:PostChecker.log | 79 ++++++++++--------- 5 files changed, 55 insertions(+), 46 deletions(-) create mode 100644 logs/storage/MockBridgeTracking.sol:MockBridgeTracking.log diff --git a/logs/contract-code-sizes.log b/logs/contract-code-sizes.log index b9766e44..1d67aba9 100644 --- a/logs/contract-code-sizes.log +++ b/logs/contract-code-sizes.log @@ -35,6 +35,7 @@ | LibRandom | 86 | 24,490 | | LibRequestBatch | 86 | 24,490 | | LibSharedAddress | 86 | 24,490 | +| LibStorage | 86 | 24,490 | | LibString | 86 | 24,490 | | LibTUint256Slot | 86 | 24,490 | | LibTimeWarper | 86 | 24,490 | @@ -43,7 +44,7 @@ | LibTokenOwner | 166 | 24,410 | | MainchainBridgeManager | 20,894 | 3,682 | | MainchainGatewayBatcher | 4,158 | 20,418 | -| MainchainGatewayV3 | 22,075 | 2,501 | +| MainchainGatewayV3 | 22,982 | 1,594 | | Math | 86 | 24,490 | | MockBridge | 1,293 | 23,283 | | MockBridgeManager | 2,671 | 21,905 | @@ -56,7 +57,7 @@ | MockERC721 | 4,741 | 19,835 | | MockGatewayForTracking | 1,616 | 22,960 | | MockRoninBridgeManager | 24,734 | -158 | -| MockRoninGatewayV3Extended | 21,758 | 2,818 | +| MockRoninGatewayV3Extended | 21,825 | 2,751 | | MockSLP | 2,442 | 22,134 | | MockTUint256Slot | 2,730 | 21,846 | | MockUSDC | 2,442 | 22,134 | @@ -68,7 +69,7 @@ | Proposal | 86 | 24,490 | | RoninBridgeManager | 24,734 | -158 | | RoninBridgeManagerConstructor | 15,012 | 9,564 | -| RoninGatewayV3 | 21,455 | 3,121 | +| RoninGatewayV3 | 21,522 | 3,054 | | RoninMockERC1155 | 8,871 | 15,705 | | StdStyle | 86 | 24,490 | | StorageSlot | 86 | 24,490 | diff --git a/logs/storage/MockBridgeManager.sol:MockBridgeManager.log b/logs/storage/MockBridgeManager.sol:MockBridgeManager.log index 7266f70d..619396b3 100644 --- a/logs/storage/MockBridgeManager.sol:MockBridgeManager.log +++ b/logs/storage/MockBridgeManager.sol:MockBridgeManager.log @@ -1,3 +1,4 @@ -src/mocks/ronin/MockBridgeManager.sol:MockBridgeManager:_initialized (storage_slot: 0) (offset: 0) (type: uint8) (numberOfBytes: 1) -src/mocks/ronin/MockBridgeManager.sol:MockBridgeManager:_initializing (storage_slot: 0) (offset: 1) (type: bool) (numberOfBytes: 1) -src/mocks/ronin/MockBridgeManager.sol:MockBridgeManager:DOMAIN_SEPARATOR (storage_slot: 1) (offset: 0) (type: bytes32) (numberOfBytes: 32) \ No newline at end of file +test/mocks/MockBridgeManager.sol:MockBridgeManager:_governors (storage_slot: 0) (offset: 0) (type: mapping(address => bool)) (numberOfBytes: 32) +test/mocks/MockBridgeManager.sol:MockBridgeManager:_operators (storage_slot: 1) (offset: 0) (type: mapping(address => bool)) (numberOfBytes: 32) +test/mocks/MockBridgeManager.sol:MockBridgeManager:_weights (storage_slot: 2) (offset: 0) (type: mapping(address => uint96)) (numberOfBytes: 32) +test/mocks/MockBridgeManager.sol:MockBridgeManager:_operatorList (storage_slot: 3) (offset: 0) (type: address[]) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/MockBridgeSlash.sol:MockBridgeSlash.log b/logs/storage/MockBridgeSlash.sol:MockBridgeSlash.log index 76494c4c..0920e6cb 100644 --- a/logs/storage/MockBridgeSlash.sol:MockBridgeSlash.log +++ b/logs/storage/MockBridgeSlash.sol:MockBridgeSlash.log @@ -1,3 +1,4 @@ -src/mocks/ronin/MockBridgeSlash.sol:MockBridgeSlash:_initialized (storage_slot: 0) (offset: 0) (type: uint8) (numberOfBytes: 1) -src/mocks/ronin/MockBridgeSlash.sol:MockBridgeSlash:_initializing (storage_slot: 0) (offset: 1) (type: bool) (numberOfBytes: 1) -src/mocks/ronin/MockBridgeSlash.sol:MockBridgeSlash:_startedAtPeriod (storage_slot: 1) (offset: 0) (type: uint256) (numberOfBytes: 32) \ No newline at end of file +test/mocks/MockBridgeSlash.sol:MockBridgeSlash:_initialized (storage_slot: 0) (offset: 0) (type: uint8) (numberOfBytes: 1) +test/mocks/MockBridgeSlash.sol:MockBridgeSlash:_initializing (storage_slot: 0) (offset: 1) (type: bool) (numberOfBytes: 1) +test/mocks/MockBridgeSlash.sol:MockBridgeSlash:_startedAtPeriod (storage_slot: 1) (offset: 0) (type: uint256) (numberOfBytes: 32) +test/mocks/MockBridgeSlash.sol:MockBridgeSlash:_slashMap (storage_slot: 2) (offset: 0) (type: mapping(address => uint256)) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/MockBridgeTracking.sol:MockBridgeTracking.log b/logs/storage/MockBridgeTracking.sol:MockBridgeTracking.log new file mode 100644 index 00000000..24c45928 --- /dev/null +++ b/logs/storage/MockBridgeTracking.sol:MockBridgeTracking.log @@ -0,0 +1 @@ +test/mocks/MockBridgeTracking.sol:MockBridgeTracking:_tracks (storage_slot: 0) (offset: 0) (type: mapping(uint256 => struct MockBridgeTracking.PeriodTracking)) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/PostChecker.sol:PostChecker.log b/logs/storage/PostChecker.sol:PostChecker.log index 962f4e59..027f4b74 100644 --- a/logs/storage/PostChecker.sol:PostChecker.log +++ b/logs/storage/PostChecker.sol:PostChecker.log @@ -11,40 +11,45 @@ script/PostChecker.sol:PostChecker:_originForkBlockNumber (storage_slot: 13) (of script/PostChecker.sol:PostChecker:_overriddenArgs (storage_slot: 14) (offset: 0) (type: bytes) (numberOfBytes: 32) script/PostChecker.sol:PostChecker:_deployScript (storage_slot: 15) (offset: 0) (type: mapping(TContract => contract IMigrationScript)) (numberOfBytes: 32) script/PostChecker.sol:PostChecker:seed (storage_slot: 16) (offset: 0) (type: uint256) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:bridgeSlash (storage_slot: 17) (offset: 0) (type: address payable) (numberOfBytes: 20) -script/PostChecker.sol:PostChecker:bridgeReward (storage_slot: 18) (offset: 0) (type: address payable) (numberOfBytes: 20) -script/PostChecker.sol:PostChecker:bridgeTracking (storage_slot: 19) (offset: 0) (type: address payable) (numberOfBytes: 20) -script/PostChecker.sol:PostChecker:roninBridgeManager (storage_slot: 20) (offset: 0) (type: address payable) (numberOfBytes: 20) -script/PostChecker.sol:PostChecker:roninGateway (storage_slot: 21) (offset: 0) (type: address payable) (numberOfBytes: 20) -script/PostChecker.sol:PostChecker:mainchainGateway (storage_slot: 22) (offset: 0) (type: address payable) (numberOfBytes: 20) -script/PostChecker.sol:PostChecker:mainchainBridgeManager (storage_slot: 23) (offset: 0) (type: address payable) (numberOfBytes: 20) -script/PostChecker.sol:PostChecker:cheatGovernor (storage_slot: 24) (offset: 0) (type: address) (numberOfBytes: 20) -script/PostChecker.sol:PostChecker:cheatOperator (storage_slot: 25) (offset: 0) (type: address) (numberOfBytes: 20) -script/PostChecker.sol:PostChecker:cheatGovernorPk (storage_slot: 26) (offset: 0) (type: uint256) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:cheatOperatorPk (storage_slot: 27) (offset: 0) (type: uint256) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:gwDomainSeparator (storage_slot: 28) (offset: 0) (type: bytes32) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:_voteWeights (storage_slot: 29) (offset: 0) (type: uint96[]) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:_addingGovernors (storage_slot: 30) (offset: 0) (type: address[]) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:_addingOperators (storage_slot: 31) (offset: 0) (type: address[]) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:voteWeight (storage_slot: 32) (offset: 0) (type: uint256) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:seedStr (storage_slot: 33) (offset: 0) (type: string) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:any (storage_slot: 34) (offset: 0) (type: address) (numberOfBytes: 20) -script/PostChecker.sol:PostChecker:operator (storage_slot: 35) (offset: 0) (type: address) (numberOfBytes: 20) -script/PostChecker.sol:PostChecker:governor (storage_slot: 36) (offset: 0) (type: address) (numberOfBytes: 20) -script/PostChecker.sol:PostChecker:seedStr (storage_slot: 37) (offset: 0) (type: string) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:operatorToRemove (storage_slot: 38) (offset: 0) (type: address) (numberOfBytes: 20) -script/PostChecker.sol:PostChecker:voteWeightToRemove (storage_slot: 39) (offset: 0) (type: uint256) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:any (storage_slot: 40) (offset: 0) (type: address) (numberOfBytes: 20) -script/PostChecker.sol:PostChecker:user (storage_slot: 41) (offset: 0) (type: address) (numberOfBytes: 20) -script/PostChecker.sol:PostChecker:quantity (storage_slot: 42) (offset: 0) (type: uint256) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:depositRequest (storage_slot: 43) (offset: 0) (type: struct Transfer.Request) (numberOfBytes: 160) -script/PostChecker.sol:PostChecker:withdrawRequest (storage_slot: 48) (offset: 0) (type: struct Transfer.Request) (numberOfBytes: 160) -script/PostChecker.sol:PostChecker:roninERC20 (storage_slot: 53) (offset: 0) (type: contract MockERC20) (numberOfBytes: 20) -script/PostChecker.sol:PostChecker:mainchainERC20 (storage_slot: 54) (offset: 0) (type: contract MockERC20) (numberOfBytes: 20) -script/PostChecker.sol:PostChecker:roninTokens (storage_slot: 55) (offset: 0) (type: address[]) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:mainchainTokens (storage_slot: 56) (offset: 0) (type: address[]) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:standards (storage_slot: 57) (offset: 0) (type: enum TokenStandard[]) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:roninChainId (storage_slot: 58) (offset: 0) (type: uint256) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:mainchainChainId (storage_slot: 59) (offset: 0) (type: uint256) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:currentNetwork (storage_slot: 60) (offset: 0) (type: TNetwork) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:companionNetwork (storage_slot: 61) (offset: 0) (type: TNetwork) (numberOfBytes: 32) \ No newline at end of file +script/PostChecker.sol:PostChecker:brSl (storage_slot: 17) (offset: 0) (type: address payable) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:brRw (storage_slot: 18) (offset: 0) (type: address payable) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:brTk (storage_slot: 19) (offset: 0) (type: address payable) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:ronBM (storage_slot: 20) (offset: 0) (type: address payable) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:ronGW (storage_slot: 21) (offset: 0) (type: address payable) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:ethGW (storage_slot: 22) (offset: 0) (type: address payable) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:ethBM (storage_slot: 23) (offset: 0) (type: address payable) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:cheatGv (storage_slot: 24) (offset: 0) (type: address) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:cheatOp (storage_slot: 25) (offset: 0) (type: address) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:cheatGvPK (storage_slot: 26) (offset: 0) (type: uint256) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:cheatOpPK (storage_slot: 27) (offset: 0) (type: uint256) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:mockGvs (storage_slot: 28) (offset: 0) (type: address[]) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:mockOps (storage_slot: 29) (offset: 0) (type: address[]) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:mockGvPKs (storage_slot: 30) (offset: 0) (type: uint256[]) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:mockOpPKs (storage_slot: 31) (offset: 0) (type: uint256[]) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:gwDomainHash (storage_slot: 32) (offset: 0) (type: bytes32) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:proposalDuration (storage_slot: 33) (offset: 0) (type: uint256) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:vws (storage_slot: 34) (offset: 0) (type: uint96[]) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:gvs (storage_slot: 35) (offset: 0) (type: address[]) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:ops (storage_slot: 36) (offset: 0) (type: address[]) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:vw (storage_slot: 37) (offset: 0) (type: uint256) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:seedStr (storage_slot: 38) (offset: 0) (type: string) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:any (storage_slot: 39) (offset: 0) (type: address) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:op (storage_slot: 40) (offset: 0) (type: address) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:gv (storage_slot: 41) (offset: 0) (type: address) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:seedStr (storage_slot: 42) (offset: 0) (type: string) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:op2Remove (storage_slot: 43) (offset: 0) (type: address) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:vw2Remove (storage_slot: 44) (offset: 0) (type: uint256) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:any (storage_slot: 45) (offset: 0) (type: address) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:user (storage_slot: 46) (offset: 0) (type: address) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:quantity (storage_slot: 47) (offset: 0) (type: uint256) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:depositReq (storage_slot: 48) (offset: 0) (type: struct Transfer.Request) (numberOfBytes: 160) +script/PostChecker.sol:PostChecker:withdrawReq (storage_slot: 53) (offset: 0) (type: struct Transfer.Request) (numberOfBytes: 160) +script/PostChecker.sol:PostChecker:ronERC20 (storage_slot: 58) (offset: 0) (type: contract MockERC20) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:ethERC20 (storage_slot: 59) (offset: 0) (type: contract MockERC20) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:ronTokens (storage_slot: 60) (offset: 0) (type: address[]) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:ethTokens (storage_slot: 61) (offset: 0) (type: address[]) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:standards (storage_slot: 62) (offset: 0) (type: enum TokenStandard[]) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:ronChainId (storage_slot: 63) (offset: 0) (type: uint256) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:ethChainId (storage_slot: 64) (offset: 0) (type: uint256) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:currNetwork (storage_slot: 65) (offset: 0) (type: TNetwork) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:companionNetwork (storage_slot: 66) (offset: 0) (type: TNetwork) (numberOfBytes: 32) \ No newline at end of file From 3a60b83afa429ca87963ea9b805956d50caccd2a Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Tue, 20 Aug 2024 18:21:15 +0700 Subject: [PATCH 29/74] script: add more post check on withdraw --- ...PostCheck_Gateway_DepositAndWithdraw.s.sol | 95 +++++++++++++++++-- 1 file changed, 88 insertions(+), 7 deletions(-) diff --git a/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol b/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol index b336c45c..23d1f9c0 100644 --- a/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol +++ b/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol @@ -6,11 +6,10 @@ import { Vm } from "forge-std/Vm.sol"; import { BasePostCheck } from "script/post-check/BasePostCheck.s.sol"; import { MockERC20 } from "@ronin/contracts/mocks/token/MockERC20.sol"; import { Contract } from "script/utils/Contract.sol"; -import { LibTokenInfo, TokenStandard } from "@ronin/contracts/libraries/LibTokenInfo.sol"; +import { TokenStandard } from "@ronin/contracts/libraries/LibTokenInfo.sol"; import { Transfer as LibTransfer } from "@ronin/contracts/libraries/Transfer.sol"; -import { TNetwork, Network } from "script/utils/Network.sol"; +import { TNetwork } from "@fdk/types/TNetwork.sol"; import { DefaultNetwork } from "@fdk/utils/DefaultNetwork.sol"; -import { LibProposal } from "script/shared/libraries/LibProposal.sol"; import { LibProxy } from "@fdk/libraries/LibProxy.sol"; import { LibCompanionNetwork } from "script/shared/libraries/LibCompanionNetwork.sol"; import { IBridgeManager } from "@ronin/contracts/interfaces/bridge/IBridgeManager.sol"; @@ -27,7 +26,6 @@ import { ContractType } from "@ronin/contracts/utils/ContractType.sol"; abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { using LibProxy for *; using LibArray for *; - using LibProposal for *; using LibCompanionNetwork for *; using LibTransfer for LibTransfer.Request; using LibTransfer for LibTransfer.Receipt; @@ -128,6 +126,9 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { function _validate_Gateway_DepositAndWithdraw() internal onlyOnRoninNetworkOrLocal { _setUp(); + + validate_Gateway_RevertIf_DuplicatedSigs_Withdraw_ERC20(); + validate_Gateway_RevertIf_UnsortedSigs_Withdraw_ERC20(); validate_HasBridgeManager(); validate_Gateway_Deposit_ERC20(); validate_Gateway_RevertIf_InsufficientThreshold_Deposit_ERC20(); @@ -136,6 +137,86 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { validate_Gateway_RevertIf_InsufficientThreshold_Withdraw_ERC20(); } + function validate_Gateway_RevertIf_DuplicatedSigs_Withdraw_ERC20() private onPostCheck("validate_Gateway_RevertIf_DuplicatedSigs_Withdraw_ERC20") { + withdrawReq.recipientAddr = makeAddr("mainchain-recipient"); + withdrawReq.tokenAddr = address(ronERC20); + withdrawReq.info.erc = TokenStandard.ERC20; + withdrawReq.info.id = 0; + withdrawReq.info.quantity = 100 ether; + + cheatUnpauseIfPaused(ronGW); + + vm.prank(user); + ronERC20.approve(ronGW, withdrawReq.info.quantity); + + vm.prank(user); + vm.recordLogs(); + IRoninGatewayV3(ronGW).requestWithdrawalFor(withdrawReq, ethChainId); + + (LibTransfer.Receipt memory receipt, bytes32 receiptHash) = _getReceiptHash(ronGW, IRoninGatewayV3.WithdrawalRequested.selector); + + (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + + bytes32 receiptDigest = LibTransfer.receiptDigest(gwDomainHash, receiptHash); + + cheatUnpauseIfPaused(ethGW); + overrideMockBOs(ethBM); + + uint256[] memory pks = new uint256[](2); + address[] memory bos = new address[](2); + + pks[0] = mockOpPKs[0]; + bos[0] = mockOps[0]; + + pks[1] = mockOpPKs[0]; + bos[1] = mockOps[1]; + + Signature[] memory sigs = _bulkSignReceipt(pks, bos, receiptDigest); + + vm.expectRevert(); + IMainchainGatewayV3(ethGW).submitWithdrawal(receipt, sigs); + + switchBack(prevNetwork, prevForkId); + } + + function validate_Gateway_RevertIf_UnsortedSigs_Withdraw_ERC20() private onPostCheck("validate_Gateway_RevertIf_UnsortedSigs_Withdraw_ERC20") { + withdrawReq.recipientAddr = makeAddr("mainchain-recipient"); + withdrawReq.tokenAddr = address(ronERC20); + withdrawReq.info.erc = TokenStandard.ERC20; + withdrawReq.info.id = 0; + withdrawReq.info.quantity = 100 ether; + + cheatUnpauseIfPaused(ronGW); + + vm.prank(user); + ronERC20.approve(ronGW, withdrawReq.info.quantity); + + vm.prank(user); + vm.recordLogs(); + IRoninGatewayV3(ronGW).requestWithdrawalFor(withdrawReq, ethChainId); + + (LibTransfer.Receipt memory receipt, bytes32 receiptHash) = _getReceiptHash(ronGW, IRoninGatewayV3.WithdrawalRequested.selector); + + (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + + bytes32 receiptDigest = LibTransfer.receiptDigest(gwDomainHash, receiptHash); + + cheatUnpauseIfPaused(ethGW); + overrideMockBOs(ethBM); + + Signature[] memory sigs = new Signature[](mockOpPKs.length); + + for (uint256 i; i < mockOpPKs.length; ++i) { + (uint8 v, bytes32 r, bytes32 s) = vm.sign(mockOpPKs[i], receiptDigest); + sigs[i] = Signature(v, r, s); + } + + vm.expectRevert(); + IMainchainGatewayV3(ethGW).submitWithdrawal(receipt, sigs); + + switchBack(prevNetwork, prevForkId); + } + function validate_HasBridgeManager() private onPostCheck("validate_HasBridgeManager") { assertEq(ronBM.getProxyAdmin(), ronBM, "Invalid ProxyAdmin in RoninBridgeManager, expected self"); assertEq(IHasContracts(ronGW).getContract(ContractType.BRIDGE_MANAGER), ronBM, "Invalid RoninBridgeManager in ronGW"); @@ -250,7 +331,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { bytes32 receiptDigest = LibTransfer.receiptDigest(gwDomainHash, receiptHash); - (, uint256 invalidPK) = makeAddrAndKey("invalid-signer"); + (, uint256 invalidPK) = makeAddrAndKey(string.concat("invalid-signer-", vm.toString(vm.unixTime()))); (uint8 v, bytes32 r, bytes32 s) = vm.sign(invalidPK, receiptDigest); Signature[] memory sigs = new Signature[](1); sigs[0] = Signature(v, r, s); @@ -343,13 +424,13 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { switchBack(prevNetwork, prevForkId); } - function _bulkSignReceipt(uint256[] memory pks, address[] memory signers, bytes32 receiptHash) private pure returns (Signature[] memory sigs) { + function _bulkSignReceipt(uint256[] memory pks, address[] memory signers, bytes32 receiptDigest) private pure returns (Signature[] memory sigs) { LibArray.inplaceAscSortByValue(pks, signers); sigs = new Signature[](pks.length); for (uint256 i; i < pks.length; ++i) { - (uint8 v, bytes32 r, bytes32 s) = vm.sign(pks[i], receiptHash); + (uint8 v, bytes32 r, bytes32 s) = vm.sign(pks[i], receiptDigest); sigs[i] = Signature(v, r, s); } } From febd56819752d30a24999ca3d4ed8eeaadaf47f2 Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Tue, 20 Aug 2024 18:21:38 +0700 Subject: [PATCH 30/74] script: uncomment validate gateway --- script/PostChecker.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/PostChecker.sol b/script/PostChecker.sol index 629163ba..e3639ffb 100644 --- a/script/PostChecker.sol +++ b/script/PostChecker.sol @@ -25,7 +25,7 @@ contract PostChecker is Migration, PostCheck_BridgeManager, PostCheck_Gateway { _loadSysContract(); _validate_BridgeManager(); - // _validate_Gateway(); + _validate_Gateway(); } function _deployLogic(TContract contractType) internal virtual override(BaseMigration, Migration) returns (address payable logic) { From cd107eb844c794d4384c1cb796d08eaf62a05faf Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Tue, 20 Aug 2024 18:21:55 +0700 Subject: [PATCH 31/74] chore: storage layout --- logs/storage/MockBridgeManager.sol:MockBridgeManager.log | 7 +++---- logs/storage/MockBridgeSlash.sol:MockBridgeSlash.log | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/logs/storage/MockBridgeManager.sol:MockBridgeManager.log b/logs/storage/MockBridgeManager.sol:MockBridgeManager.log index 619396b3..7266f70d 100644 --- a/logs/storage/MockBridgeManager.sol:MockBridgeManager.log +++ b/logs/storage/MockBridgeManager.sol:MockBridgeManager.log @@ -1,4 +1,3 @@ -test/mocks/MockBridgeManager.sol:MockBridgeManager:_governors (storage_slot: 0) (offset: 0) (type: mapping(address => bool)) (numberOfBytes: 32) -test/mocks/MockBridgeManager.sol:MockBridgeManager:_operators (storage_slot: 1) (offset: 0) (type: mapping(address => bool)) (numberOfBytes: 32) -test/mocks/MockBridgeManager.sol:MockBridgeManager:_weights (storage_slot: 2) (offset: 0) (type: mapping(address => uint96)) (numberOfBytes: 32) -test/mocks/MockBridgeManager.sol:MockBridgeManager:_operatorList (storage_slot: 3) (offset: 0) (type: address[]) (numberOfBytes: 32) \ No newline at end of file +src/mocks/ronin/MockBridgeManager.sol:MockBridgeManager:_initialized (storage_slot: 0) (offset: 0) (type: uint8) (numberOfBytes: 1) +src/mocks/ronin/MockBridgeManager.sol:MockBridgeManager:_initializing (storage_slot: 0) (offset: 1) (type: bool) (numberOfBytes: 1) +src/mocks/ronin/MockBridgeManager.sol:MockBridgeManager:DOMAIN_SEPARATOR (storage_slot: 1) (offset: 0) (type: bytes32) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/MockBridgeSlash.sol:MockBridgeSlash.log b/logs/storage/MockBridgeSlash.sol:MockBridgeSlash.log index 0920e6cb..76494c4c 100644 --- a/logs/storage/MockBridgeSlash.sol:MockBridgeSlash.log +++ b/logs/storage/MockBridgeSlash.sol:MockBridgeSlash.log @@ -1,4 +1,3 @@ -test/mocks/MockBridgeSlash.sol:MockBridgeSlash:_initialized (storage_slot: 0) (offset: 0) (type: uint8) (numberOfBytes: 1) -test/mocks/MockBridgeSlash.sol:MockBridgeSlash:_initializing (storage_slot: 0) (offset: 1) (type: bool) (numberOfBytes: 1) -test/mocks/MockBridgeSlash.sol:MockBridgeSlash:_startedAtPeriod (storage_slot: 1) (offset: 0) (type: uint256) (numberOfBytes: 32) -test/mocks/MockBridgeSlash.sol:MockBridgeSlash:_slashMap (storage_slot: 2) (offset: 0) (type: mapping(address => uint256)) (numberOfBytes: 32) \ No newline at end of file +src/mocks/ronin/MockBridgeSlash.sol:MockBridgeSlash:_initialized (storage_slot: 0) (offset: 0) (type: uint8) (numberOfBytes: 1) +src/mocks/ronin/MockBridgeSlash.sol:MockBridgeSlash:_initializing (storage_slot: 0) (offset: 1) (type: bool) (numberOfBytes: 1) +src/mocks/ronin/MockBridgeSlash.sol:MockBridgeSlash:_startedAtPeriod (storage_slot: 1) (offset: 0) (type: uint256) (numberOfBytes: 32) \ No newline at end of file From 9386e851913b4b7e0ae17419b2595801c077c686 Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Thu, 22 Aug 2024 16:15:01 +0700 Subject: [PATCH 32/74] script: add more post check --- ...0240716-p3-upgrade-bridge-main-chain.s.sol | 22 +-- script/Migration.s.sol | 3 + ...actory-maptoken-simulation-mainchain.s.sol | 17 +- script/{ => operations}/PostCheckCI.s.sol | 23 ++- script/post-check/BasePostCheck.s.sol | 19 +-- .../PostCheck_BridgeManager.s.sol | 2 +- .../PostCheck_BridgeManager_Proposal.s.sol | 8 +- ...PostCheck_Gateway_DepositAndWithdraw.s.sol | 158 ++++++++++++------ script/shared/libraries/LibArray.sol | 11 ++ script/shared/libraries/LibProposal.sol | 38 ++--- src/interfaces/IMainchainGatewayV3.sol | 5 + 11 files changed, 195 insertions(+), 111 deletions(-) rename script/{ => operations}/PostCheckCI.s.sol (59%) diff --git a/script/20240716-upgrade-v3.2.0-mainnet/20240716-p3-upgrade-bridge-main-chain.s.sol b/script/20240716-upgrade-v3.2.0-mainnet/20240716-p3-upgrade-bridge-main-chain.s.sol index 644ce8e6..e57cbc2d 100644 --- a/script/20240716-upgrade-v3.2.0-mainnet/20240716-p3-upgrade-bridge-main-chain.s.sol +++ b/script/20240716-upgrade-v3.2.0-mainnet/20240716-p3-upgrade-bridge-main-chain.s.sol @@ -27,11 +27,10 @@ import { TNetwork } from "@fdk/types/TNetwork.sol"; import { DefaultNetwork } from "@fdk/utils/DefaultNetwork.sol"; import "./20240716-helper.s.sol"; -import "./20240716-operators-key.s.sol"; import "./wbtc-threshold.s.sol"; import { Migration } from "../Migration.s.sol"; -contract Migration__20240716_P3_UpgradeBridgeMainchain is Migration, Migration__20240716_GovernorsKey, Migration__MapToken_WBTC_Threshold { +contract Migration__20240716_P3_UpgradeBridgeMainchain is Migration, Migration__MapToken_WBTC_Threshold { using StdStyle for *; IRoninBridgeManager _oldRoninBridgeManager; @@ -278,19 +277,19 @@ contract Migration__20240716_P3_UpgradeBridgeMainchain is Migration, Migration__ function _generateSignaturesFor( bytes32 domain, bytes32 proposalHash, - uint256[] memory signerPKs, + address[] memory signers, Ballot.VoteType support ) public pure returns (Signature[] memory sigs) { - sigs = new Signature[](signerPKs.length); + sigs = new Signature[](signers.length); - for (uint256 i; i < signerPKs.length; i++) { + for (uint256 i; i < signers.length; i++) { bytes32 digest = ECDSA.toTypedDataHash(domain, Ballot.hash(proposalHash, support)); - sigs[i] = _sign(signerPKs[i], digest); + sigs[i] = _sign(signers[i], digest); } } - function _sign(uint256 pk, bytes32 digest) internal pure returns (Signature memory sig) { - (uint8 v, bytes32 r, bytes32 s) = vm.sign(pk, digest); + function _sign(address signer, bytes32 digest) internal pure returns (Signature memory sig) { + (uint8 v, bytes32 r, bytes32 s) = vm.sign(signer, digest); sig.v = v; sig.r = r; sig.s = s; @@ -332,12 +331,13 @@ contract Migration__20240716_P3_UpgradeBridgeMainchain is Migration, Migration__ switchTo(_companionNetwork); Ballot.VoteType[] memory cheatingSupports = new Ballot.VoteType[](1); - uint256[] memory cheatingPks = new uint256[](1); + address[] memory cheatingGvs = new address[](1); (address cheatingGov, uint256 cheatingGovPk) = makeAddrAndKey("Governor"); + vm.rememberKey(cheatingGovPk); cheatingSupports[0] = Ballot.VoteType.For; - cheatingPks[0] = cheatingGovPk; - Signature[] memory cheatingSignatures = _generateSignaturesFor(getDomain(), hashLegacyProposal(proposal), cheatingPks, Ballot.VoteType.For); + cheatingGvs[0] = cheatingGov; + Signature[] memory cheatingSignatures = _generateSignaturesFor(getDomain(), hashLegacyProposal(proposal), cheatingGvs, Ballot.VoteType.For); uint256 totalGas = 1_000_000; for (uint256 i; i < proposal.gasAmounts.length; ++i) { diff --git a/script/Migration.s.sol b/script/Migration.s.sol index f9206ee9..44fe5455 100644 --- a/script/Migration.s.sol +++ b/script/Migration.s.sol @@ -135,6 +135,9 @@ contract Migration is BaseMigration, Utils, SignatureConsumer { (address addrOperator, uint256 pkOperator) = makeAddrAndKey(string.concat("operator-", vm.toString(i + 1))); (address addrGovernor, uint256 pkGovernor) = makeAddrAndKey(string.concat("governor-", vm.toString(i + 1))); + vm.rememberKey(pkOperator); + vm.rememberKey(pkGovernor); + operatorAddrs[i] = addrOperator; governorAddrs[i] = addrGovernor; operatorPKs[i] = pkOperator; diff --git a/script/factories/simulation/factory-maptoken-simulation-mainchain.s.sol b/script/factories/simulation/factory-maptoken-simulation-mainchain.s.sol index f51bac2e..62f096f3 100644 --- a/script/factories/simulation/factory-maptoken-simulation-mainchain.s.sol +++ b/script/factories/simulation/factory-maptoken-simulation-mainchain.s.sol @@ -39,12 +39,13 @@ contract Factory__MapTokensSimulation_Mainchain is Factory__MapTokensSimulation_ super.simulate(); Ballot.VoteType[] memory cheatingSupports = new Ballot.VoteType[](1); - uint256[] memory cheatingPks = new uint256[](1); + address[] memory cheatingGvs = new address[](1); (address cheatingGov, uint256 cheatingGovPk) = makeAddrAndKey("Governor"); + vm.rememberKey(cheatingGovPk); cheatingSupports[0] = Ballot.VoteType.For; - cheatingPks[0] = cheatingGovPk; - Signature[] memory cheatingSignatures = LibProposal.generateSignatures(proposal, cheatingPks, Ballot.VoteType.For); + cheatingGvs[0] = cheatingGov; + Signature[] memory cheatingSignatures = LibProposal.generateSignatures(proposal, cheatingGvs, Ballot.VoteType.For); uint256 gasAmounts = 1_000_000; for (uint256 i; i < proposal.gasAmounts.length; ++i) { @@ -60,7 +61,7 @@ contract Factory__MapTokensSimulation_Mainchain is Factory__MapTokensSimulation_ ); _roninBridgeManager.castProposalBySignatures(proposal, cheatingSupports, cheatingSignatures); - address mMainchainAdress = _mainchainBridgeManager; + address mMainchainAddress = _mainchainBridgeManager; TNetwork currentNetwork = network(); config.createFork(network().companionNetwork()); config.switchTo(network().companionNetwork()); @@ -71,12 +72,12 @@ contract Factory__MapTokensSimulation_Mainchain is Factory__MapTokensSimulation_ bytes32 $ = keccak256(abi.encode(block.chainid, roundSlot)); bytes32 newNonce = bytes32(proposal.nonce - 1); - vm.store(address(mMainchainAdress), $, newNonce); - assertEq(MainchainBridgeManager(mMainchainAdress).round(block.chainid) + 1, proposal.nonce); + vm.store(address(mMainchainAddress), $, newNonce); + assertEq(MainchainBridgeManager(mMainchainAddress).round(block.chainid) + 1, proposal.nonce); } - _cheatWeightGovernor(IBridgeManager(mMainchainAdress), cheatingGov); - MainchainBridgeManager(mMainchainAdress).relayProposal{ gas: gasAmounts }(proposal, cheatingSupports, cheatingSignatures); + _cheatWeightGovernor(IBridgeManager(mMainchainAddress), cheatingGov); + MainchainBridgeManager(mMainchainAddress).relayProposal{ gas: gasAmounts }(proposal, cheatingSupports, cheatingSignatures); config.switchTo(currentNetwork); } else { diff --git a/script/PostCheckCI.s.sol b/script/operations/PostCheckCI.s.sol similarity index 59% rename from script/PostCheckCI.s.sol rename to script/operations/PostCheckCI.s.sol index 415b172f..24a4da83 100644 --- a/script/PostCheckCI.s.sol +++ b/script/operations/PostCheckCI.s.sol @@ -2,13 +2,15 @@ pragma solidity ^0.8.19; import { console } from "forge-std/console.sol"; +import { GatewayV3 } from "@ronin/contracts/extensions/GatewayV3.sol"; import { TransparentUpgradeableProxy } from "@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol"; import { DefaultNetwork } from "@fdk/utils/DefaultNetwork.sol"; import { LibProxy } from "@fdk/libraries/LibProxy.sol"; import { TNetwork } from "@fdk/types/TNetwork.sol"; -import { Migration } from "./Migration.s.sol"; -import { Contract } from "./utils/Contract.sol"; -import { LibCompanionNetwork } from "./shared/libraries/LibCompanionNetwork.sol"; +import { Migration } from "script/Migration.s.sol"; +import { Contract } from "script/utils/Contract.sol"; +import { LibCompanionNetwork } from "script/shared/libraries/LibCompanionNetwork.sol"; +import { IPauseTarget } from "@ronin/contracts/interfaces/IPauseTarget.sol"; contract PostCheckCI is Migration { using LibProxy for *; @@ -16,18 +18,33 @@ contract PostCheckCI is Migration { function run() external onlyOn(DefaultNetwork.RoninMainnet.key()) { address payable ronBM = loadContract(Contract.RoninBridgeManager.key()); + address payable ronGW = loadContract(Contract.RoninGatewayV3.key()); _cheatChangePAIfNotSelf(ronBM); + _cheatUnpauseIfPaused(ronGW); TNetwork currNetwork = network(); TNetwork companionNetwork = currNetwork.companionNetwork(); (, uint256 prevForkId) = switchTo(companionNetwork); address payable ethBM = loadContract(Contract.MainchainBridgeManager.key()); + address payable ethGW = loadContract(Contract.MainchainGatewayV3.key()); _cheatChangePAIfNotSelf(ethBM); + _cheatUnpauseIfPaused(ethGW); switchBack(currNetwork, prevForkId); } + function _cheatUnpauseIfPaused(address payable gw) internal { + bool paused = IPauseTarget(gw).paused(); + if (paused) { + address emergencyPauser = GatewayV3(gw).emergencyPauser(); + vm.prank(emergencyPauser); + IPauseTarget(gw).unpause(); + + assertFalse(IPauseTarget(gw).paused(), "GatewayV3 should not be paused after unpausing"); + } + } + function _cheatChangePAIfNotSelf(address payable proxy) private { address payable pa = proxy.getProxyAdmin(); if (pa != proxy) { diff --git a/script/post-check/BasePostCheck.s.sol b/script/post-check/BasePostCheck.s.sol index 081d3c81..658cba74 100644 --- a/script/post-check/BasePostCheck.s.sol +++ b/script/post-check/BasePostCheck.s.sol @@ -8,8 +8,6 @@ import { StdStorage, stdStorage } from "forge-std/StdStorage.sol"; import { BaseMigration } from "@fdk/BaseMigration.s.sol"; import { DefaultNetwork } from "@fdk/utils/DefaultNetwork.sol"; import { TNetwork, Network } from "script/utils/Network.sol"; -import { GatewayV3 } from "@ronin/contracts/extensions/GatewayV3.sol"; -import { IPauseTarget } from "@ronin/contracts/interfaces/IPauseTarget.sol"; import { IBridgeManager } from "@ronin/contracts/interfaces/bridge/IBridgeManager.sol"; import { ITransparentUpgradeableProxyV2 } from "script/interfaces/ITransparentUpgradeableProxyV2.sol"; import { LibArray } from "script/shared/libraries/LibArray.sol"; @@ -59,17 +57,6 @@ abstract contract BasePostCheck is BaseMigration, SignatureConsumer { _; } - function cheatUnpauseIfPaused(address payable gw) internal { - bool paused = IPauseTarget(gw).paused(); - if (paused) { - address emergencyPauser = GatewayV3(gw).emergencyPauser(); - vm.prank(emergencyPauser); - IPauseTarget(gw).unpause(); - - assertFalse(IPauseTarget(gw).paused(), "GatewayV3 should not be paused after unpausing"); - } - } - function cheatAddOverWeightedGovernor(address bm) internal { uint256 totalWeight; try IBridgeManager(bm).getTotalWeight() returns (uint256 res) { @@ -82,6 +69,9 @@ abstract contract BasePostCheck is BaseMigration, SignatureConsumer { (cheatOp, cheatOpPK) = makeAddrAndKey(string.concat("cheat-op-", vm.toString(seed))); (cheatGv, cheatGvPK) = makeAddrAndKey(string.concat("cheat-gv-", vm.toString(seed))); + vm.rememberKey(cheatOpPK); + vm.rememberKey(cheatGvPK); + vm.deal(cheatGv, 1); // Check created EOA vm.deal(cheatOp, 1); // Check created EOA @@ -115,6 +105,9 @@ abstract contract BasePostCheck is BaseMigration, SignatureConsumer { (address gv, uint256 gvPK) = makeAddrAndKey(string.concat("mock-gv-", vm.toString(vm.unixTime()), "-", vm.toString(i))); (address op, uint256 opPK) = makeAddrAndKey(string.concat("mock-op-", vm.toString(vm.unixTime()), "-", vm.toString(i))); + vm.rememberKey(gvPK); + vm.rememberKey(opPK); + mockGvs.push(gv); mockOps.push(op); mockGvPKs.push(gvPK); diff --git a/script/post-check/bridge-manager/PostCheck_BridgeManager.s.sol b/script/post-check/bridge-manager/PostCheck_BridgeManager.s.sol index 5face6bf..ba953ae9 100644 --- a/script/post-check/bridge-manager/PostCheck_BridgeManager.s.sol +++ b/script/post-check/bridge-manager/PostCheck_BridgeManager.s.sol @@ -16,6 +16,6 @@ abstract contract PostCheck_BridgeManager is _validate_BridgeManager_CRUD_addBridgeOperators(); _validate_BridgeManager_CRUD_removeBridgeOperators(); _validate_BridgeManager_Proposal(); - _validate_BridgeManager_Quorum(); + // _validate_BridgeManager_Quorum(); } } diff --git a/script/post-check/bridge-manager/proposal/PostCheck_BridgeManager_Proposal.s.sol b/script/post-check/bridge-manager/proposal/PostCheck_BridgeManager_Proposal.s.sol index a6135d07..19427801 100644 --- a/script/post-check/bridge-manager/proposal/PostCheck_BridgeManager_Proposal.s.sol +++ b/script/post-check/bridge-manager/proposal/PostCheck_BridgeManager_Proposal.s.sol @@ -125,7 +125,7 @@ abstract contract PostCheck_BridgeManager_Proposal is BasePostCheck { nonce: IMainchainBridgeManager(ethBM).round(block.chainid) + 1 }); - Signature[] memory signatures = proposal.generateSignatures(mockGvPKs, Ballot.VoteType.For); + Signature[] memory signatures = proposal.generateSignatures(mockGvs, Ballot.VoteType.For); uint256 minVW = IMainchainBridgeManager(ethBM).minimumVoteWeight(); uint256 defaultVW = IMainchainBridgeManager(ethBM).getTotalWeight() / IMainchainBridgeManager(ethBM).totalBridgeOperator(); @@ -228,7 +228,7 @@ abstract contract PostCheck_BridgeManager_Proposal is BasePostCheck { nonce: IMainchainBridgeManager(ethBM).round(block.chainid) + 1 }); - Signature[] memory signatures = proposal.generateSignatures(cheatGvPK.toSingletonArray(), Ballot.VoteType.For); + Signature[] memory signatures = proposal.generateSignatures(cheatGv.toSingletonArray(), Ballot.VoteType.For); Ballot.VoteType[] memory _supports = new Ballot.VoteType[](signatures.length); uint256 minForVW = IMainchainBridgeManager(ethBM).minimumVoteWeight(); @@ -288,7 +288,7 @@ abstract contract PostCheck_BridgeManager_Proposal is BasePostCheck { nonce: IMainchainBridgeManager(ethBM).round(block.chainid) + 1 }); - Signature[] memory signatures = proposal.generateSignatures(cheatGvPK.toSingletonArray(), Ballot.VoteType.For); + Signature[] memory signatures = proposal.generateSignatures(cheatGv.toSingletonArray(), Ballot.VoteType.For); Ballot.VoteType[] memory _supports = new Ballot.VoteType[](signatures.length); uint256 minForVW = IMainchainBridgeManager(ethBM).minimumVoteWeight(); @@ -330,7 +330,7 @@ abstract contract PostCheck_BridgeManager_Proposal is BasePostCheck { Signature[] memory signatures; Ballot.VoteType[] memory _supports; { - signatures = globalProposal.generateSignaturesGlobal(cheatGvPK.toSingletonArray(), Ballot.VoteType.For); + signatures = globalProposal.generateSignaturesGlobal(cheatGv.toSingletonArray(), Ballot.VoteType.For); _supports = new Ballot.VoteType[](signatures.length); vm.prank(cheatGv); diff --git a/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol b/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol index 23d1f9c0..1985e123 100644 --- a/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol +++ b/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol @@ -17,6 +17,7 @@ import { LibArray } from "script/shared/libraries/LibArray.sol"; import { IRoninGatewayV3 } from "@ronin/contracts/interfaces/IRoninGatewayV3.sol"; import { IRoninBridgeManager } from "script/interfaces/IRoninBridgeManager.sol"; import { IMainchainBridgeManager } from "script/interfaces/IMainchainBridgeManager.sol"; +import { IWETH } from "@ronin/contracts/interfaces/IWETH.sol"; import { IMainchainGatewayV3 } from "@ronin/contracts/interfaces/IMainchainGatewayV3.sol"; import { IQuorum } from "@ronin/contracts/interfaces/IQuorum.sol"; import { ITransparentUpgradeableProxyV2 } from "script/interfaces/ITransparentUpgradeableProxyV2.sol"; @@ -46,6 +47,8 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { uint256 private ronChainId; uint256 private ethChainId; + IWETH private ethWETH; + TNetwork private currNetwork; TNetwork private companionNetwork; @@ -118,15 +121,20 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { ethERC20 = new MockERC20("MainchainERC20", "MERC20"); ethTokens[0] = address(ethERC20); + ethWETH = IWETH(loadContract(Contract.WETH.key())); + vm.deal(user, 10 ether); deal(address(ethERC20), user, 1000 ether); switchBack(prevNetwork, prevForkId); } - function _validate_Gateway_DepositAndWithdraw() internal onlyOnRoninNetworkOrLocal { + function _validate_Gateway_DepositAndWithdraw() internal { _setUp(); + validate_Gateway_WETHAddressUnchanged(); + validate_Gateway_Deposit_ETH(); + validate_Gateway_RevertIf_InsufficientSentValue_Deposit_ETH(); validate_Gateway_RevertIf_DuplicatedSigs_Withdraw_ERC20(); validate_Gateway_RevertIf_UnsortedSigs_Withdraw_ERC20(); validate_HasBridgeManager(); @@ -137,15 +145,77 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { validate_Gateway_RevertIf_InsufficientThreshold_Withdraw_ERC20(); } - function validate_Gateway_RevertIf_DuplicatedSigs_Withdraw_ERC20() private onPostCheck("validate_Gateway_RevertIf_DuplicatedSigs_Withdraw_ERC20") { + function validate_Gateway_RevertIf_InsufficientSentValue_Deposit_ETH() + private + onPostCheck("validate_Gateway_RevertIf_InsufficientSentValue_Deposit_ETH") + onlyOnRoninNetworkOrLocal + { + depositReq.recipientAddr = makeAddr("ronin-recipient"); + depositReq.tokenAddr = address(0x0); + depositReq.info.erc = TokenStandard.ERC20; + depositReq.info.id = 0; + depositReq.info.quantity = 100 ether; + + (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + + vm.deal(user, depositReq.info.quantity); + vm.prank(user); + vm.expectRevert(); + IMainchainGatewayV3(ethGW).requestDepositFor{ value: depositReq.info.quantity - 1 }(depositReq); + } + + function validate_Gateway_Deposit_ETH() private onPostCheck("validate_Gateway_Deposit_ETH") onlyOnRoninNetworkOrLocal { + depositReq.recipientAddr = makeAddr("ronin-recipient"); + depositReq.tokenAddr = address(0x0); + depositReq.info.erc = TokenStandard.ERC20; + depositReq.info.id = 0; + depositReq.info.quantity = 100 ether; + + (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + + vm.deal(user, depositReq.info.quantity); + vm.prank(user); + vm.recordLogs(); + IMainchainGatewayV3(ethGW).requestDepositFor{ value: depositReq.info.quantity }(depositReq); + + (LibTransfer.Receipt memory receipt,) = _getReceiptHash(ethGW, IMainchainGatewayV3.DepositRequested.selector); + + switchBack(prevNetwork, prevForkId); + + overrideMockBOs(ronBM); + + uint256 minVW = IQuorum(ronGW).minimumVoteWeight(); + uint256 defaultVW = IBridgeManager(ronBM).getTotalWeight() / IBridgeManager(ronBM).totalBridgeOperator(); + uint256 minVoteRequired = minVW / defaultVW + 1; + assertTrue(minVoteRequired > 1, "Invalid test setup"); + + for (uint256 i; i < minVoteRequired; ++i) { + vm.prank(mockOps[i]); + IRoninGatewayV3(ronGW).depositFor(receipt); + } + + assertEq(ronERC20.balanceOf(depositReq.recipientAddr), depositReq.info.quantity, "Deposit should be processed"); + } + + function validate_Gateway_WETHAddressUnchanged() private onPostCheck("validate_Gateway_WETHAddressUnchanged") onlyOnRoninNetworkOrLocal { + (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + + assertEq(address(ethWETH), address(IMainchainGatewayV3(ethGW).wrappedNativeToken()), "WETH address should not change"); + + switchBack(prevNetwork, prevForkId); + } + + function validate_Gateway_RevertIf_DuplicatedSigs_Withdraw_ERC20() + private + onPostCheck("validate_Gateway_RevertIf_DuplicatedSigs_Withdraw_ERC20") + onlyOnRoninNetworkOrLocal + { withdrawReq.recipientAddr = makeAddr("mainchain-recipient"); withdrawReq.tokenAddr = address(ronERC20); withdrawReq.info.erc = TokenStandard.ERC20; withdrawReq.info.id = 0; withdrawReq.info.quantity = 100 ether; - cheatUnpauseIfPaused(ronGW); - vm.prank(user); ronERC20.approve(ronGW, withdrawReq.info.quantity); @@ -159,19 +229,14 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { bytes32 receiptDigest = LibTransfer.receiptDigest(gwDomainHash, receiptHash); - cheatUnpauseIfPaused(ethGW); overrideMockBOs(ethBM); - uint256[] memory pks = new uint256[](2); address[] memory bos = new address[](2); - pks[0] = mockOpPKs[0]; bos[0] = mockOps[0]; - - pks[1] = mockOpPKs[0]; bos[1] = mockOps[1]; - Signature[] memory sigs = _bulkSignReceipt(pks, bos, receiptDigest); + Signature[] memory sigs = _bulkSignReceipt(bos, receiptDigest); vm.expectRevert(); IMainchainGatewayV3(ethGW).submitWithdrawal(receipt, sigs); @@ -179,15 +244,17 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { switchBack(prevNetwork, prevForkId); } - function validate_Gateway_RevertIf_UnsortedSigs_Withdraw_ERC20() private onPostCheck("validate_Gateway_RevertIf_UnsortedSigs_Withdraw_ERC20") { + function validate_Gateway_RevertIf_UnsortedSigs_Withdraw_ERC20() + private + onPostCheck("validate_Gateway_RevertIf_UnsortedSigs_Withdraw_ERC20") + onlyOnRoninNetworkOrLocal + { withdrawReq.recipientAddr = makeAddr("mainchain-recipient"); withdrawReq.tokenAddr = address(ronERC20); withdrawReq.info.erc = TokenStandard.ERC20; withdrawReq.info.id = 0; withdrawReq.info.quantity = 100 ether; - cheatUnpauseIfPaused(ronGW); - vm.prank(user); ronERC20.approve(ronGW, withdrawReq.info.quantity); @@ -201,13 +268,12 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { bytes32 receiptDigest = LibTransfer.receiptDigest(gwDomainHash, receiptHash); - cheatUnpauseIfPaused(ethGW); overrideMockBOs(ethBM); - Signature[] memory sigs = new Signature[](mockOpPKs.length); + Signature[] memory sigs = new Signature[](mockOps.length); - for (uint256 i; i < mockOpPKs.length; ++i) { - (uint8 v, bytes32 r, bytes32 s) = vm.sign(mockOpPKs[i], receiptDigest); + for (uint256 i; i < mockOps.length; ++i) { + (uint8 v, bytes32 r, bytes32 s) = vm.sign(mockOps[i], receiptDigest); sigs[i] = Signature(v, r, s); } @@ -217,7 +283,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { switchBack(prevNetwork, prevForkId); } - function validate_HasBridgeManager() private onPostCheck("validate_HasBridgeManager") { + function validate_HasBridgeManager() private onPostCheck("validate_HasBridgeManager") onlyOnRoninNetworkOrLocal { assertEq(ronBM.getProxyAdmin(), ronBM, "Invalid ProxyAdmin in RoninBridgeManager, expected self"); assertEq(IHasContracts(ronGW).getContract(ContractType.BRIDGE_MANAGER), ronBM, "Invalid RoninBridgeManager in ronGW"); assertEq(IHasContracts(brTk).getContract(ContractType.BRIDGE_MANAGER), ronBM, "Invalid RoninBridgeManager in bridgeTracking"); @@ -232,7 +298,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { switchBack(prevNetwork, prevForkId); } - function validate_Gateway_Deposit_ERC20() private onPostCheck("validate_Gateway_Deposit_ERC20") { + function validate_Gateway_Deposit_ERC20() private onPostCheck("validate_Gateway_Deposit_ERC20") onlyOnRoninNetworkOrLocal { depositReq.recipientAddr = makeAddr("ronin-recipient"); depositReq.tokenAddr = address(ethERC20); depositReq.info.erc = TokenStandard.ERC20; @@ -241,8 +307,6 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); - cheatUnpauseIfPaused(ethGW); - vm.prank(user); ethERC20.approve(ethGW, depositReq.info.quantity); @@ -254,7 +318,6 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { switchBack(prevNetwork, prevForkId); - cheatUnpauseIfPaused(ronGW); overrideMockBOs(ronBM); uint256 minVW = IQuorum(ronGW).minimumVoteWeight(); @@ -270,7 +333,11 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { assertEq(ronERC20.balanceOf(depositReq.recipientAddr), depositReq.info.quantity, "Deposit should be processed"); } - function validate_Gateway_RevertIf_InsufficientThreshold_Deposit_ERC20() private onPostCheck("validate_Gateway_RevertIf_InsufficientThreshold_Deposit_ERC20") { + function validate_Gateway_RevertIf_InsufficientThreshold_Deposit_ERC20() + private + onPostCheck("validate_Gateway_RevertIf_InsufficientThreshold_Deposit_ERC20") + onlyOnRoninNetworkOrLocal + { depositReq.recipientAddr = makeAddr("ronin-recipient"); depositReq.tokenAddr = address(ethERC20); depositReq.info.erc = TokenStandard.ERC20; @@ -279,8 +346,6 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); - cheatUnpauseIfPaused(ethGW); - vm.prank(user); ethERC20.approve(ethGW, depositReq.info.quantity); @@ -292,7 +357,6 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { switchBack(prevNetwork, prevForkId); - cheatUnpauseIfPaused(ronGW); overrideMockBOs(ronBM); uint256 minVW = IQuorum(ronGW).minimumVoteWeight(); @@ -309,15 +373,17 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { assertEq(ronERC20.balanceOf(depositReq.recipientAddr), 0, "Deposit should not be processed"); } - function validate_Gateway_RevertIf_InvalidSignature_Withdraw_ERC20() private onPostCheck("validate_Gateway_RevertIf_InvalidSignature_Withdraw_ERC20") { + function validate_Gateway_RevertIf_InvalidSignature_Withdraw_ERC20() + private + onPostCheck("validate_Gateway_RevertIf_InvalidSignature_Withdraw_ERC20") + onlyOnRoninNetworkOrLocal + { withdrawReq.recipientAddr = makeAddr("malicious-recipient"); withdrawReq.tokenAddr = address(ronERC20); withdrawReq.info.erc = TokenStandard.ERC20; withdrawReq.info.id = 0; withdrawReq.info.quantity = 100 ether; - cheatUnpauseIfPaused(ronGW); - vm.prank(user); ronERC20.approve(ronGW, withdrawReq.info.quantity); @@ -336,8 +402,6 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { Signature[] memory sigs = new Signature[](1); sigs[0] = Signature(v, r, s); - cheatUnpauseIfPaused(ethGW); - vm.expectRevert(); IMainchainGatewayV3(ethGW).submitWithdrawal(receipt, sigs); @@ -347,6 +411,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { function validate_Gateway_RevertIf_InsufficientThreshold_Withdraw_ERC20() private onPostCheck("validate_Gateway_RevertIf_InsufficientThreshold_Withdraw_ERC20") + onlyOnRoninNetworkOrLocal { withdrawReq.recipientAddr = makeAddr("mainchain-recipient"); withdrawReq.tokenAddr = address(ronERC20); @@ -354,8 +419,6 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { withdrawReq.info.id = 0; withdrawReq.info.quantity = 100 ether; - cheatUnpauseIfPaused(ronGW); - vm.prank(user); ronERC20.approve(ronGW, withdrawReq.info.quantity); @@ -369,7 +432,6 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); - cheatUnpauseIfPaused(ethGW); overrideMockBOs(ethBM); uint256 minVW = IQuorum(ethGW).minimumVoteWeight(); @@ -378,7 +440,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { uint256 unmetSigCount = minSigRequired - 1; assertTrue(unmetSigCount > 1, "Invalid test setup"); - Signature[] memory sigs = _bulkSignReceipt(mockOpPKs, mockOps, receiptDigest); + Signature[] memory sigs = _bulkSignReceipt(mockOps, receiptDigest); assembly { mstore(sigs, unmetSigCount) @@ -390,15 +452,13 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { switchBack(prevNetwork, prevForkId); } - function validate_Gateway_Withdraw_ERC20() private onPostCheck("validate_Gateway_Withdraw_ERC20") { + function validate_Gateway_Withdraw_ERC20() private onPostCheck("validate_Gateway_Withdraw_ERC20") onlyOnRoninNetworkOrLocal { withdrawReq.recipientAddr = makeAddr("mainchain-recipient"); withdrawReq.tokenAddr = address(ronERC20); withdrawReq.info.erc = TokenStandard.ERC20; withdrawReq.info.id = 0; withdrawReq.info.quantity = 100 ether; - cheatUnpauseIfPaused(ronGW); - vm.prank(user); ronERC20.approve(ronGW, withdrawReq.info.quantity); @@ -412,10 +472,8 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); - cheatUnpauseIfPaused(ethGW); - overrideMockBOs(ethBM); - Signature[] memory sigs = _bulkSignReceipt(mockOpPKs, mockOps, receiptDigest); + Signature[] memory sigs = _bulkSignReceipt(mockOps, receiptDigest); IMainchainGatewayV3(ethGW).submitWithdrawal(receipt, sigs); @@ -424,23 +482,23 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { switchBack(prevNetwork, prevForkId); } - function _bulkSignReceipt(uint256[] memory pks, address[] memory signers, bytes32 receiptDigest) private pure returns (Signature[] memory sigs) { - LibArray.inplaceAscSortByValue(pks, signers); + function _bulkSignReceipt(address[] memory signers, bytes32 receiptDigest) private pure returns (Signature[] memory sigs) { + LibArray.inplaceAscSort(signers); - sigs = new Signature[](pks.length); + sigs = new Signature[](signers.length); - for (uint256 i; i < pks.length; ++i) { - (uint8 v, bytes32 r, bytes32 s) = vm.sign(pks[i], receiptDigest); + for (uint256 i; i < signers.length; ++i) { + (uint8 v, bytes32 r, bytes32 s) = vm.sign(signers[i], receiptDigest); sigs[i] = Signature(v, r, s); } } function _getReceiptHash(address emitter, bytes32 eventTopic) private returns (LibTransfer.Receipt memory receipt, bytes32 receiptHash) { - Vm.Log[] memory logs = vm.getRecordedLogs(); + Vm.Log[] memory recordedLogs = vm.getRecordedLogs(); - for (uint256 i; i < logs.length; ++i) { - if (logs[i].emitter == emitter && logs[i].topics[0] == eventTopic) { - (receiptHash, receipt) = abi.decode(logs[i].data, (bytes32, LibTransfer.Receipt)); + for (uint256 i; i < recordedLogs.length; ++i) { + if (recordedLogs[i].emitter == emitter && recordedLogs[i].topics[0] == eventTopic) { + (receiptHash, receipt) = abi.decode(recordedLogs[i].data, (bytes32, LibTransfer.Receipt)); } } } diff --git a/script/shared/libraries/LibArray.sol b/script/shared/libraries/LibArray.sol index bcd56cea..4af49c04 100644 --- a/script/shared/libraries/LibArray.sol +++ b/script/shared/libraries/LibArray.sol @@ -264,6 +264,17 @@ library LibArray { return inplaceAscQuickSort(self); } + /** + * @dev Sorts array of address `values`. + * + * - Values are sorted in ascending order. + * + * WARNING This function DOES modifies the original `values`. + */ + function inplaceAscSort(address[] memory self) internal pure returns (address[] memory sorted) { + return toAddressesUnsafe(inplaceAscQuickSort(toUint256s(self))); + } + /** * @dev Sorts array of uint256 `values`. * diff --git a/script/shared/libraries/LibProposal.sol b/script/shared/libraries/LibProposal.sol index 108bbdcc..1628b4e5 100644 --- a/script/shared/libraries/LibProposal.sol +++ b/script/shared/libraries/LibProposal.sol @@ -263,11 +263,13 @@ library LibProposal { function verifyProposalExecutionMainchain(address bm, Proposal.ProposalDetail memory proposal) internal { address cheatPowerGov = 0x19614c50b0d13399A1533Fc1d3c1AD980A249aEa; // cheating pk, do not use in production - uint256 cheatingPowerGovPk = 0x677911d1450076499cfe00fa1090c00c6ed7338fb5acfdef663a8fbde551d461; // cheating pk, do not use in production + uint256 cheatingPowerGovPK = 0x677911d1450076499cfe00fa1090c00c6ed7338fb5acfdef663a8fbde551d461; // cheating pk, do not use in production + + vm.rememberKey(cheatingPowerGovPK); vm.label(cheatPowerGov, "CheatPowerGovernor"); - uint256[] memory cheatingPks = new uint256[](1); - cheatingPks[0] = cheatingPowerGovPk; + address[] memory cheatingPowerGov = new address[](1); + cheatingPowerGov[0] = cheatPowerGov; uint256 $$_governorWeightMap_Slot = uint256(0xc648703095712c0419b6431ae642c061f0a105ac2d7c3d9604061ef4ebc38300) + 2; bytes32 $$_governorWeight_Slot = LibStorage.getMappingElementSlotIndex(cheatPowerGov, uint256($$_governorWeightMap_Slot)); @@ -279,7 +281,7 @@ library LibProposal { SignatureConsumer.Signature[] memory sigs_ = new SignatureConsumer.Signature[](1); supports_[0] = Ballot.VoteType.For; - sigs_ = generateSignatures(proposal, cheatingPks, supports_[0]); + sigs_ = generateSignatures(proposal, cheatingPowerGov, supports_[0]); if (proposal.executor == address(0)) { vm.prank(cheatPowerGov); @@ -307,40 +309,34 @@ library LibProposal { function generateSignatures( Proposal.ProposalDetail memory proposal, - uint256[] memory signerPKs, + address[] memory signers, Ballot.VoteType support ) internal view returns (SignatureConsumer.Signature[] memory sigs) { - return generateSignaturesFor(proposal.hash(), signerPKs, support); + return generateSignaturesFor(proposal.hash(), signers, support); } function generateSignaturesGlobal( GlobalProposal.GlobalProposalDetail memory proposal, - uint256[] memory signerPKs, + address[] memory signers, Ballot.VoteType support ) internal view returns (SignatureConsumer.Signature[] memory sigs) { - return generateSignaturesFor(proposal.hash(), signerPKs, support); + return generateSignaturesFor(proposal.hash(), signers, support); } function generateSignaturesFor( bytes32 proposalHash, - uint256[] memory signerPKs, + address[] memory signers, Ballot.VoteType support ) internal view returns (SignatureConsumer.Signature[] memory sigs) { - address[] memory signers = new address[](signerPKs.length); - - for (uint256 i; i < signerPKs.length; i++) { - signers[i] = vm.addr(signerPKs[i]); - } - // Sort signer private keys by signer address - signerPKs.inplaceAscSortByValue(signers); + signers.inplaceAscSort(); - sigs = new SignatureConsumer.Signature[](signerPKs.length); + sigs = new SignatureConsumer.Signature[](signers.length); bytes32 domain = getBridgeManagerDomain(); - for (uint256 i; i < signerPKs.length; i++) { + for (uint256 i; i < signers.length; i++) { bytes32 digest = domain.toTypedDataHash(Ballot.hash(proposalHash, support)); - sigs[i] = sign(signerPKs[i], digest); + sigs[i] = sign(signers[i], digest); } } @@ -385,8 +381,8 @@ library LibProposal { return address(0); } - function sign(uint256 pk, bytes32 digest) private pure returns (SignatureConsumer.Signature memory sig) { - (uint8 v, bytes32 r, bytes32 s) = vm.sign(pk, digest); + function sign(address signer, bytes32 digest) private pure returns (SignatureConsumer.Signature memory sig) { + (uint8 v, bytes32 r, bytes32 s) = vm.sign(signer, digest); sig.v = v; sig.r = r; sig.s = s; diff --git a/src/interfaces/IMainchainGatewayV3.sol b/src/interfaces/IMainchainGatewayV3.sol index 9f501927..9e480612 100644 --- a/src/interfaces/IMainchainGatewayV3.sol +++ b/src/interfaces/IMainchainGatewayV3.sol @@ -50,6 +50,11 @@ interface IMainchainGatewayV3 is SignatureConsumer, MappedTokenConsumer { /// @dev Emitted when the withdrawal is unlocked event WithdrawalUnlocked(bytes32 receiptHash, Transfer.Receipt receipt); + /** + * @dev Returns the WETH address. + */ + function wrappedNativeToken() external view returns (IWETH); + /** * @dev Returns the domain separator. */ From dd0e0d96cacf38b2bb0b43361085b73e61109f55 Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Thu, 22 Aug 2024 16:19:29 +0700 Subject: [PATCH 33/74] chore: storage layout --- logs/storage/MockBridgeManager.sol:MockBridgeManager.log | 7 ++++--- logs/storage/MockBridgeSlash.sol:MockBridgeSlash.log | 7 ++++--- logs/storage/PostChecker.sol:PostChecker.log | 5 +++-- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/logs/storage/MockBridgeManager.sol:MockBridgeManager.log b/logs/storage/MockBridgeManager.sol:MockBridgeManager.log index 7266f70d..619396b3 100644 --- a/logs/storage/MockBridgeManager.sol:MockBridgeManager.log +++ b/logs/storage/MockBridgeManager.sol:MockBridgeManager.log @@ -1,3 +1,4 @@ -src/mocks/ronin/MockBridgeManager.sol:MockBridgeManager:_initialized (storage_slot: 0) (offset: 0) (type: uint8) (numberOfBytes: 1) -src/mocks/ronin/MockBridgeManager.sol:MockBridgeManager:_initializing (storage_slot: 0) (offset: 1) (type: bool) (numberOfBytes: 1) -src/mocks/ronin/MockBridgeManager.sol:MockBridgeManager:DOMAIN_SEPARATOR (storage_slot: 1) (offset: 0) (type: bytes32) (numberOfBytes: 32) \ No newline at end of file +test/mocks/MockBridgeManager.sol:MockBridgeManager:_governors (storage_slot: 0) (offset: 0) (type: mapping(address => bool)) (numberOfBytes: 32) +test/mocks/MockBridgeManager.sol:MockBridgeManager:_operators (storage_slot: 1) (offset: 0) (type: mapping(address => bool)) (numberOfBytes: 32) +test/mocks/MockBridgeManager.sol:MockBridgeManager:_weights (storage_slot: 2) (offset: 0) (type: mapping(address => uint96)) (numberOfBytes: 32) +test/mocks/MockBridgeManager.sol:MockBridgeManager:_operatorList (storage_slot: 3) (offset: 0) (type: address[]) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/MockBridgeSlash.sol:MockBridgeSlash.log b/logs/storage/MockBridgeSlash.sol:MockBridgeSlash.log index 76494c4c..0920e6cb 100644 --- a/logs/storage/MockBridgeSlash.sol:MockBridgeSlash.log +++ b/logs/storage/MockBridgeSlash.sol:MockBridgeSlash.log @@ -1,3 +1,4 @@ -src/mocks/ronin/MockBridgeSlash.sol:MockBridgeSlash:_initialized (storage_slot: 0) (offset: 0) (type: uint8) (numberOfBytes: 1) -src/mocks/ronin/MockBridgeSlash.sol:MockBridgeSlash:_initializing (storage_slot: 0) (offset: 1) (type: bool) (numberOfBytes: 1) -src/mocks/ronin/MockBridgeSlash.sol:MockBridgeSlash:_startedAtPeriod (storage_slot: 1) (offset: 0) (type: uint256) (numberOfBytes: 32) \ No newline at end of file +test/mocks/MockBridgeSlash.sol:MockBridgeSlash:_initialized (storage_slot: 0) (offset: 0) (type: uint8) (numberOfBytes: 1) +test/mocks/MockBridgeSlash.sol:MockBridgeSlash:_initializing (storage_slot: 0) (offset: 1) (type: bool) (numberOfBytes: 1) +test/mocks/MockBridgeSlash.sol:MockBridgeSlash:_startedAtPeriod (storage_slot: 1) (offset: 0) (type: uint256) (numberOfBytes: 32) +test/mocks/MockBridgeSlash.sol:MockBridgeSlash:_slashMap (storage_slot: 2) (offset: 0) (type: mapping(address => uint256)) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/PostChecker.sol:PostChecker.log b/logs/storage/PostChecker.sol:PostChecker.log index 027f4b74..d0fd6f4e 100644 --- a/logs/storage/PostChecker.sol:PostChecker.log +++ b/logs/storage/PostChecker.sol:PostChecker.log @@ -51,5 +51,6 @@ script/PostChecker.sol:PostChecker:ethTokens (storage_slot: 61) (offset: 0) (typ script/PostChecker.sol:PostChecker:standards (storage_slot: 62) (offset: 0) (type: enum TokenStandard[]) (numberOfBytes: 32) script/PostChecker.sol:PostChecker:ronChainId (storage_slot: 63) (offset: 0) (type: uint256) (numberOfBytes: 32) script/PostChecker.sol:PostChecker:ethChainId (storage_slot: 64) (offset: 0) (type: uint256) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:currNetwork (storage_slot: 65) (offset: 0) (type: TNetwork) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:companionNetwork (storage_slot: 66) (offset: 0) (type: TNetwork) (numberOfBytes: 32) \ No newline at end of file +script/PostChecker.sol:PostChecker:ethWETH (storage_slot: 65) (offset: 0) (type: contract IWETH) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:currNetwork (storage_slot: 66) (offset: 0) (type: TNetwork) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:companionNetwork (storage_slot: 67) (offset: 0) (type: TNetwork) (numberOfBytes: 32) \ No newline at end of file From c09d52e9448ccf9953dc105d39432d14f601332d Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Fri, 23 Aug 2024 00:30:35 +0700 Subject: [PATCH 34/74] script: fix case-sensitive cause ci failure --- .github/workflows/test.yml | 2 - .gitmodules | 3 -- foundry.toml | 3 +- lib/openzeppelin-contracts | 1 - .../AccessControl.sol:AccessControl.log | 2 +- ...Enumerable.sol:AccessControlEnumerable.log | 4 +- logs/storage/ERC1155.sol:ERC1155.log | 6 +-- .../ERC1155Burnable.sol:ERC1155Burnable.log | 6 +-- .../ERC1155Pausable.sol:ERC1155Pausable.log | 8 ++-- ...erPauser.sol:ERC1155PresetMinterPauser.log | 12 ++--- logs/storage/ERC20.sol:ERC20.log | 10 ++--- .../ERC20Burnable.sol:ERC20Burnable.log | 10 ++--- .../ERC20Pausable.sol:ERC20Pausable.log | 12 ++--- ...nterPauser.sol:ERC20PresetMinterPauser.log | 16 +++---- logs/storage/ERC721.sol:ERC721.log | 12 ++--- .../Initializable.sol:Initializable.log | 4 +- logs/storage/Pausable.sol:Pausable.log | 2 +- .../ReentrancyGuard.sol:ReentrancyGuard.log | 2 +- remappings.txt | 3 +- script/PostChecker.sol | 2 +- .../BridgeManager.post_check.tree | 0 .../PostCheck_BridgeManager.s.sol | 0 ...idgeManager_CRUD_AddBridgeOperators.s.sol} | 0 ...eManager_CRUD_RemoveBridgeOperators.s.sol} | 0 .../PostCheck_BridgeManager_Proposal.s.sol | 0 .../PostCheck_BridgeManager_Quorum.s.sol | 0 soldeer.lock | 6 +++ test/bridge/integration/BaseIntegration.t.sol | 44 +++++++++---------- update-deps.sh | 2 +- 29 files changed, 86 insertions(+), 86 deletions(-) delete mode 160000 lib/openzeppelin-contracts rename script/post-check/{bridge-manager => manager}/BridgeManager.post_check.tree (100%) rename script/post-check/{bridge-manager => manager}/PostCheck_BridgeManager.s.sol (100%) rename script/post-check/{bridge-manager/crud/PostCheck_BridgeManager_CRUD_addBridgeOperators.s.sol => manager/crud/PostCheck_BridgeManager_CRUD_AddBridgeOperators.s.sol} (100%) rename script/post-check/{bridge-manager/crud/PostCheck_BridgeManager_CRUD_removeBridgeOperators.s.sol => manager/crud/PostCheck_BridgeManager_CRUD_RemoveBridgeOperators.s.sol} (100%) rename script/post-check/{bridge-manager => manager}/proposal/PostCheck_BridgeManager_Proposal.s.sol (100%) rename script/post-check/{bridge-manager => manager}/quorum/PostCheck_BridgeManager_Quorum.s.sol (100%) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 37f9ed61..260397fe 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,8 +36,6 @@ jobs: - name: Install Foundry uses: foundry-rs/foundry-toolchain@v1 - with: - version: nightly - name: Update package with soldeer run: forge soldeer update diff --git a/.gitmodules b/.gitmodules index 26fd7bb9..89b5800a 100644 --- a/.gitmodules +++ b/.gitmodules @@ -6,6 +6,3 @@ path = lib/prb-math url = https://github.com/PaulRBerg/prb-math branch = release-v4 -[submodule "lib/openzeppelin-contracts"] - path = lib/openzeppelin-contracts - url = https://github.com/openzeppelin/openzeppelin-contracts diff --git a/foundry.toml b/foundry.toml index b19d2309..4ff7c076 100644 --- a/foundry.toml +++ b/foundry.toml @@ -1,11 +1,11 @@ [profile.default] src = 'src' out = 'out' +script = 'script' optimizer = true optimizer_runs = 200 ffi = true -libs = ['lib', 'node_modules/hardhat'] # See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options @@ -70,3 +70,4 @@ ronin-testnet = "https://saigon-archive.roninchain.com/rpc" [dependencies] "@fdk" = { version = "0.3.1-beta", url = "https://github.com/axieinfinity/foundry-deployment-kit/archive/refs/tags/v0.3.1-beta.zip" } +"@openzeppelin" = { version = "4.7.3", url = "https://github.com/OpenZeppelin/openzeppelin-contracts/archive/refs/tags/v4.7.3.zip" } diff --git a/lib/openzeppelin-contracts b/lib/openzeppelin-contracts deleted file mode 160000 index ecd2ca2c..00000000 --- a/lib/openzeppelin-contracts +++ /dev/null @@ -1 +0,0 @@ -Subproject commit ecd2ca2cd7cac116f7a37d0e474bbb3d7d5e1c4d diff --git a/logs/storage/AccessControl.sol:AccessControl.log b/logs/storage/AccessControl.sol:AccessControl.log index 8603413a..ebd5a794 100644 --- a/logs/storage/AccessControl.sol:AccessControl.log +++ b/logs/storage/AccessControl.sol:AccessControl.log @@ -1 +1 @@ -lib/openzeppelin-contracts/contracts/access/AccessControl.sol:AccessControl:_roles (storage_slot: 0) (offset: 0) (type: mapping(bytes32 => struct AccessControl.RoleData)) (numberOfBytes: 32) \ No newline at end of file +dependencies/@openzeppelin-4.7.3/contracts/access/AccessControl.sol:AccessControl:_roles (storage_slot: 0) (offset: 0) (type: mapping(bytes32 => struct AccessControl.RoleData)) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/AccessControlEnumerable.sol:AccessControlEnumerable.log b/logs/storage/AccessControlEnumerable.sol:AccessControlEnumerable.log index 91795e55..b46d42a7 100644 --- a/logs/storage/AccessControlEnumerable.sol:AccessControlEnumerable.log +++ b/logs/storage/AccessControlEnumerable.sol:AccessControlEnumerable.log @@ -1,2 +1,2 @@ -lib/openzeppelin-contracts/contracts/access/AccessControlEnumerable.sol:AccessControlEnumerable:_roles (storage_slot: 0) (offset: 0) (type: mapping(bytes32 => struct AccessControl.RoleData)) (numberOfBytes: 32) -lib/openzeppelin-contracts/contracts/access/AccessControlEnumerable.sol:AccessControlEnumerable:_roleMembers (storage_slot: 1) (offset: 0) (type: mapping(bytes32 => struct EnumerableSet.AddressSet)) (numberOfBytes: 32) \ No newline at end of file +dependencies/@openzeppelin-4.7.3/contracts/access/AccessControlEnumerable.sol:AccessControlEnumerable:_roles (storage_slot: 0) (offset: 0) (type: mapping(bytes32 => struct AccessControl.RoleData)) (numberOfBytes: 32) +dependencies/@openzeppelin-4.7.3/contracts/access/AccessControlEnumerable.sol:AccessControlEnumerable:_roleMembers (storage_slot: 1) (offset: 0) (type: mapping(bytes32 => struct EnumerableSet.AddressSet)) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/ERC1155.sol:ERC1155.log b/logs/storage/ERC1155.sol:ERC1155.log index 413fc010..34f225d9 100644 --- a/logs/storage/ERC1155.sol:ERC1155.log +++ b/logs/storage/ERC1155.sol:ERC1155.log @@ -1,3 +1,3 @@ -lib/openzeppelin-contracts/contracts/token/ERC1155/ERC1155.sol:ERC1155:_balances (storage_slot: 0) (offset: 0) (type: mapping(uint256 => mapping(address => uint256))) (numberOfBytes: 32) -lib/openzeppelin-contracts/contracts/token/ERC1155/ERC1155.sol:ERC1155:_operatorApprovals (storage_slot: 1) (offset: 0) (type: mapping(address => mapping(address => bool))) (numberOfBytes: 32) -lib/openzeppelin-contracts/contracts/token/ERC1155/ERC1155.sol:ERC1155:_uri (storage_slot: 2) (offset: 0) (type: string) (numberOfBytes: 32) \ No newline at end of file +dependencies/@openzeppelin-4.7.3/contracts/token/ERC1155/ERC1155.sol:ERC1155:_balances (storage_slot: 0) (offset: 0) (type: mapping(uint256 => mapping(address => uint256))) (numberOfBytes: 32) +dependencies/@openzeppelin-4.7.3/contracts/token/ERC1155/ERC1155.sol:ERC1155:_operatorApprovals (storage_slot: 1) (offset: 0) (type: mapping(address => mapping(address => bool))) (numberOfBytes: 32) +dependencies/@openzeppelin-4.7.3/contracts/token/ERC1155/ERC1155.sol:ERC1155:_uri (storage_slot: 2) (offset: 0) (type: string) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/ERC1155Burnable.sol:ERC1155Burnable.log b/logs/storage/ERC1155Burnable.sol:ERC1155Burnable.log index b9a614b3..3db85e2c 100644 --- a/logs/storage/ERC1155Burnable.sol:ERC1155Burnable.log +++ b/logs/storage/ERC1155Burnable.sol:ERC1155Burnable.log @@ -1,3 +1,3 @@ -lib/openzeppelin-contracts/contracts/token/ERC1155/extensions/ERC1155Burnable.sol:ERC1155Burnable:_balances (storage_slot: 0) (offset: 0) (type: mapping(uint256 => mapping(address => uint256))) (numberOfBytes: 32) -lib/openzeppelin-contracts/contracts/token/ERC1155/extensions/ERC1155Burnable.sol:ERC1155Burnable:_operatorApprovals (storage_slot: 1) (offset: 0) (type: mapping(address => mapping(address => bool))) (numberOfBytes: 32) -lib/openzeppelin-contracts/contracts/token/ERC1155/extensions/ERC1155Burnable.sol:ERC1155Burnable:_uri (storage_slot: 2) (offset: 0) (type: string) (numberOfBytes: 32) \ No newline at end of file +dependencies/@openzeppelin-4.7.3/contracts/token/ERC1155/extensions/ERC1155Burnable.sol:ERC1155Burnable:_balances (storage_slot: 0) (offset: 0) (type: mapping(uint256 => mapping(address => uint256))) (numberOfBytes: 32) +dependencies/@openzeppelin-4.7.3/contracts/token/ERC1155/extensions/ERC1155Burnable.sol:ERC1155Burnable:_operatorApprovals (storage_slot: 1) (offset: 0) (type: mapping(address => mapping(address => bool))) (numberOfBytes: 32) +dependencies/@openzeppelin-4.7.3/contracts/token/ERC1155/extensions/ERC1155Burnable.sol:ERC1155Burnable:_uri (storage_slot: 2) (offset: 0) (type: string) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/ERC1155Pausable.sol:ERC1155Pausable.log b/logs/storage/ERC1155Pausable.sol:ERC1155Pausable.log index 2ae9460a..e091dd4c 100644 --- a/logs/storage/ERC1155Pausable.sol:ERC1155Pausable.log +++ b/logs/storage/ERC1155Pausable.sol:ERC1155Pausable.log @@ -1,4 +1,4 @@ -lib/openzeppelin-contracts/contracts/token/ERC1155/extensions/ERC1155Pausable.sol:ERC1155Pausable:_balances (storage_slot: 0) (offset: 0) (type: mapping(uint256 => mapping(address => uint256))) (numberOfBytes: 32) -lib/openzeppelin-contracts/contracts/token/ERC1155/extensions/ERC1155Pausable.sol:ERC1155Pausable:_operatorApprovals (storage_slot: 1) (offset: 0) (type: mapping(address => mapping(address => bool))) (numberOfBytes: 32) -lib/openzeppelin-contracts/contracts/token/ERC1155/extensions/ERC1155Pausable.sol:ERC1155Pausable:_uri (storage_slot: 2) (offset: 0) (type: string) (numberOfBytes: 32) -lib/openzeppelin-contracts/contracts/token/ERC1155/extensions/ERC1155Pausable.sol:ERC1155Pausable:_paused (storage_slot: 3) (offset: 0) (type: bool) (numberOfBytes: 1) \ No newline at end of file +dependencies/@openzeppelin-4.7.3/contracts/token/ERC1155/extensions/ERC1155Pausable.sol:ERC1155Pausable:_balances (storage_slot: 0) (offset: 0) (type: mapping(uint256 => mapping(address => uint256))) (numberOfBytes: 32) +dependencies/@openzeppelin-4.7.3/contracts/token/ERC1155/extensions/ERC1155Pausable.sol:ERC1155Pausable:_operatorApprovals (storage_slot: 1) (offset: 0) (type: mapping(address => mapping(address => bool))) (numberOfBytes: 32) +dependencies/@openzeppelin-4.7.3/contracts/token/ERC1155/extensions/ERC1155Pausable.sol:ERC1155Pausable:_uri (storage_slot: 2) (offset: 0) (type: string) (numberOfBytes: 32) +dependencies/@openzeppelin-4.7.3/contracts/token/ERC1155/extensions/ERC1155Pausable.sol:ERC1155Pausable:_paused (storage_slot: 3) (offset: 0) (type: bool) (numberOfBytes: 1) \ No newline at end of file diff --git a/logs/storage/ERC1155PresetMinterPauser.sol:ERC1155PresetMinterPauser.log b/logs/storage/ERC1155PresetMinterPauser.sol:ERC1155PresetMinterPauser.log index 100f2eae..a1edcbab 100644 --- a/logs/storage/ERC1155PresetMinterPauser.sol:ERC1155PresetMinterPauser.log +++ b/logs/storage/ERC1155PresetMinterPauser.sol:ERC1155PresetMinterPauser.log @@ -1,6 +1,6 @@ -lib/openzeppelin-contracts/contracts/token/ERC1155/presets/ERC1155PresetMinterPauser.sol:ERC1155PresetMinterPauser:_roles (storage_slot: 0) (offset: 0) (type: mapping(bytes32 => struct AccessControl.RoleData)) (numberOfBytes: 32) -lib/openzeppelin-contracts/contracts/token/ERC1155/presets/ERC1155PresetMinterPauser.sol:ERC1155PresetMinterPauser:_roleMembers (storage_slot: 1) (offset: 0) (type: mapping(bytes32 => struct EnumerableSet.AddressSet)) (numberOfBytes: 32) -lib/openzeppelin-contracts/contracts/token/ERC1155/presets/ERC1155PresetMinterPauser.sol:ERC1155PresetMinterPauser:_balances (storage_slot: 2) (offset: 0) (type: mapping(uint256 => mapping(address => uint256))) (numberOfBytes: 32) -lib/openzeppelin-contracts/contracts/token/ERC1155/presets/ERC1155PresetMinterPauser.sol:ERC1155PresetMinterPauser:_operatorApprovals (storage_slot: 3) (offset: 0) (type: mapping(address => mapping(address => bool))) (numberOfBytes: 32) -lib/openzeppelin-contracts/contracts/token/ERC1155/presets/ERC1155PresetMinterPauser.sol:ERC1155PresetMinterPauser:_uri (storage_slot: 4) (offset: 0) (type: string) (numberOfBytes: 32) -lib/openzeppelin-contracts/contracts/token/ERC1155/presets/ERC1155PresetMinterPauser.sol:ERC1155PresetMinterPauser:_paused (storage_slot: 5) (offset: 0) (type: bool) (numberOfBytes: 1) \ No newline at end of file +dependencies/@openzeppelin-4.7.3/contracts/token/ERC1155/presets/ERC1155PresetMinterPauser.sol:ERC1155PresetMinterPauser:_roles (storage_slot: 0) (offset: 0) (type: mapping(bytes32 => struct AccessControl.RoleData)) (numberOfBytes: 32) +dependencies/@openzeppelin-4.7.3/contracts/token/ERC1155/presets/ERC1155PresetMinterPauser.sol:ERC1155PresetMinterPauser:_roleMembers (storage_slot: 1) (offset: 0) (type: mapping(bytes32 => struct EnumerableSet.AddressSet)) (numberOfBytes: 32) +dependencies/@openzeppelin-4.7.3/contracts/token/ERC1155/presets/ERC1155PresetMinterPauser.sol:ERC1155PresetMinterPauser:_balances (storage_slot: 2) (offset: 0) (type: mapping(uint256 => mapping(address => uint256))) (numberOfBytes: 32) +dependencies/@openzeppelin-4.7.3/contracts/token/ERC1155/presets/ERC1155PresetMinterPauser.sol:ERC1155PresetMinterPauser:_operatorApprovals (storage_slot: 3) (offset: 0) (type: mapping(address => mapping(address => bool))) (numberOfBytes: 32) +dependencies/@openzeppelin-4.7.3/contracts/token/ERC1155/presets/ERC1155PresetMinterPauser.sol:ERC1155PresetMinterPauser:_uri (storage_slot: 4) (offset: 0) (type: string) (numberOfBytes: 32) +dependencies/@openzeppelin-4.7.3/contracts/token/ERC1155/presets/ERC1155PresetMinterPauser.sol:ERC1155PresetMinterPauser:_paused (storage_slot: 5) (offset: 0) (type: bool) (numberOfBytes: 1) \ No newline at end of file diff --git a/logs/storage/ERC20.sol:ERC20.log b/logs/storage/ERC20.sol:ERC20.log index d53c09aa..7b3fec19 100644 --- a/logs/storage/ERC20.sol:ERC20.log +++ b/logs/storage/ERC20.sol:ERC20.log @@ -1,5 +1,5 @@ -lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol:ERC20:_balances (storage_slot: 0) (offset: 0) (type: mapping(address => uint256)) (numberOfBytes: 32) -lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol:ERC20:_allowances (storage_slot: 1) (offset: 0) (type: mapping(address => mapping(address => uint256))) (numberOfBytes: 32) -lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol:ERC20:_totalSupply (storage_slot: 2) (offset: 0) (type: uint256) (numberOfBytes: 32) -lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol:ERC20:_name (storage_slot: 3) (offset: 0) (type: string) (numberOfBytes: 32) -lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol:ERC20:_symbol (storage_slot: 4) (offset: 0) (type: string) (numberOfBytes: 32) \ No newline at end of file +dependencies/@openzeppelin-4.7.3/contracts/token/ERC20/ERC20.sol:ERC20:_balances (storage_slot: 0) (offset: 0) (type: mapping(address => uint256)) (numberOfBytes: 32) +dependencies/@openzeppelin-4.7.3/contracts/token/ERC20/ERC20.sol:ERC20:_allowances (storage_slot: 1) (offset: 0) (type: mapping(address => mapping(address => uint256))) (numberOfBytes: 32) +dependencies/@openzeppelin-4.7.3/contracts/token/ERC20/ERC20.sol:ERC20:_totalSupply (storage_slot: 2) (offset: 0) (type: uint256) (numberOfBytes: 32) +dependencies/@openzeppelin-4.7.3/contracts/token/ERC20/ERC20.sol:ERC20:_name (storage_slot: 3) (offset: 0) (type: string) (numberOfBytes: 32) +dependencies/@openzeppelin-4.7.3/contracts/token/ERC20/ERC20.sol:ERC20:_symbol (storage_slot: 4) (offset: 0) (type: string) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/ERC20Burnable.sol:ERC20Burnable.log b/logs/storage/ERC20Burnable.sol:ERC20Burnable.log index 81343a46..e111bfc6 100644 --- a/logs/storage/ERC20Burnable.sol:ERC20Burnable.log +++ b/logs/storage/ERC20Burnable.sol:ERC20Burnable.log @@ -1,5 +1,5 @@ -lib/openzeppelin-contracts/contracts/token/ERC20/extensions/ERC20Burnable.sol:ERC20Burnable:_balances (storage_slot: 0) (offset: 0) (type: mapping(address => uint256)) (numberOfBytes: 32) -lib/openzeppelin-contracts/contracts/token/ERC20/extensions/ERC20Burnable.sol:ERC20Burnable:_allowances (storage_slot: 1) (offset: 0) (type: mapping(address => mapping(address => uint256))) (numberOfBytes: 32) -lib/openzeppelin-contracts/contracts/token/ERC20/extensions/ERC20Burnable.sol:ERC20Burnable:_totalSupply (storage_slot: 2) (offset: 0) (type: uint256) (numberOfBytes: 32) -lib/openzeppelin-contracts/contracts/token/ERC20/extensions/ERC20Burnable.sol:ERC20Burnable:_name (storage_slot: 3) (offset: 0) (type: string) (numberOfBytes: 32) -lib/openzeppelin-contracts/contracts/token/ERC20/extensions/ERC20Burnable.sol:ERC20Burnable:_symbol (storage_slot: 4) (offset: 0) (type: string) (numberOfBytes: 32) \ No newline at end of file +dependencies/@openzeppelin-4.7.3/contracts/token/ERC20/extensions/ERC20Burnable.sol:ERC20Burnable:_balances (storage_slot: 0) (offset: 0) (type: mapping(address => uint256)) (numberOfBytes: 32) +dependencies/@openzeppelin-4.7.3/contracts/token/ERC20/extensions/ERC20Burnable.sol:ERC20Burnable:_allowances (storage_slot: 1) (offset: 0) (type: mapping(address => mapping(address => uint256))) (numberOfBytes: 32) +dependencies/@openzeppelin-4.7.3/contracts/token/ERC20/extensions/ERC20Burnable.sol:ERC20Burnable:_totalSupply (storage_slot: 2) (offset: 0) (type: uint256) (numberOfBytes: 32) +dependencies/@openzeppelin-4.7.3/contracts/token/ERC20/extensions/ERC20Burnable.sol:ERC20Burnable:_name (storage_slot: 3) (offset: 0) (type: string) (numberOfBytes: 32) +dependencies/@openzeppelin-4.7.3/contracts/token/ERC20/extensions/ERC20Burnable.sol:ERC20Burnable:_symbol (storage_slot: 4) (offset: 0) (type: string) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/ERC20Pausable.sol:ERC20Pausable.log b/logs/storage/ERC20Pausable.sol:ERC20Pausable.log index 1907ab76..dbea2a98 100644 --- a/logs/storage/ERC20Pausable.sol:ERC20Pausable.log +++ b/logs/storage/ERC20Pausable.sol:ERC20Pausable.log @@ -1,6 +1,6 @@ -lib/openzeppelin-contracts/contracts/token/ERC20/extensions/ERC20Pausable.sol:ERC20Pausable:_balances (storage_slot: 0) (offset: 0) (type: mapping(address => uint256)) (numberOfBytes: 32) -lib/openzeppelin-contracts/contracts/token/ERC20/extensions/ERC20Pausable.sol:ERC20Pausable:_allowances (storage_slot: 1) (offset: 0) (type: mapping(address => mapping(address => uint256))) (numberOfBytes: 32) -lib/openzeppelin-contracts/contracts/token/ERC20/extensions/ERC20Pausable.sol:ERC20Pausable:_totalSupply (storage_slot: 2) (offset: 0) (type: uint256) (numberOfBytes: 32) -lib/openzeppelin-contracts/contracts/token/ERC20/extensions/ERC20Pausable.sol:ERC20Pausable:_name (storage_slot: 3) (offset: 0) (type: string) (numberOfBytes: 32) -lib/openzeppelin-contracts/contracts/token/ERC20/extensions/ERC20Pausable.sol:ERC20Pausable:_symbol (storage_slot: 4) (offset: 0) (type: string) (numberOfBytes: 32) -lib/openzeppelin-contracts/contracts/token/ERC20/extensions/ERC20Pausable.sol:ERC20Pausable:_paused (storage_slot: 5) (offset: 0) (type: bool) (numberOfBytes: 1) \ No newline at end of file +dependencies/@openzeppelin-4.7.3/contracts/token/ERC20/extensions/ERC20Pausable.sol:ERC20Pausable:_balances (storage_slot: 0) (offset: 0) (type: mapping(address => uint256)) (numberOfBytes: 32) +dependencies/@openzeppelin-4.7.3/contracts/token/ERC20/extensions/ERC20Pausable.sol:ERC20Pausable:_allowances (storage_slot: 1) (offset: 0) (type: mapping(address => mapping(address => uint256))) (numberOfBytes: 32) +dependencies/@openzeppelin-4.7.3/contracts/token/ERC20/extensions/ERC20Pausable.sol:ERC20Pausable:_totalSupply (storage_slot: 2) (offset: 0) (type: uint256) (numberOfBytes: 32) +dependencies/@openzeppelin-4.7.3/contracts/token/ERC20/extensions/ERC20Pausable.sol:ERC20Pausable:_name (storage_slot: 3) (offset: 0) (type: string) (numberOfBytes: 32) +dependencies/@openzeppelin-4.7.3/contracts/token/ERC20/extensions/ERC20Pausable.sol:ERC20Pausable:_symbol (storage_slot: 4) (offset: 0) (type: string) (numberOfBytes: 32) +dependencies/@openzeppelin-4.7.3/contracts/token/ERC20/extensions/ERC20Pausable.sol:ERC20Pausable:_paused (storage_slot: 5) (offset: 0) (type: bool) (numberOfBytes: 1) \ No newline at end of file diff --git a/logs/storage/ERC20PresetMinterPauser.sol:ERC20PresetMinterPauser.log b/logs/storage/ERC20PresetMinterPauser.sol:ERC20PresetMinterPauser.log index 90e5d3d3..e14274c7 100644 --- a/logs/storage/ERC20PresetMinterPauser.sol:ERC20PresetMinterPauser.log +++ b/logs/storage/ERC20PresetMinterPauser.sol:ERC20PresetMinterPauser.log @@ -1,8 +1,8 @@ -lib/openzeppelin-contracts/contracts/token/ERC20/presets/ERC20PresetMinterPauser.sol:ERC20PresetMinterPauser:_roles (storage_slot: 0) (offset: 0) (type: mapping(bytes32 => struct AccessControl.RoleData)) (numberOfBytes: 32) -lib/openzeppelin-contracts/contracts/token/ERC20/presets/ERC20PresetMinterPauser.sol:ERC20PresetMinterPauser:_roleMembers (storage_slot: 1) (offset: 0) (type: mapping(bytes32 => struct EnumerableSet.AddressSet)) (numberOfBytes: 32) -lib/openzeppelin-contracts/contracts/token/ERC20/presets/ERC20PresetMinterPauser.sol:ERC20PresetMinterPauser:_balances (storage_slot: 2) (offset: 0) (type: mapping(address => uint256)) (numberOfBytes: 32) -lib/openzeppelin-contracts/contracts/token/ERC20/presets/ERC20PresetMinterPauser.sol:ERC20PresetMinterPauser:_allowances (storage_slot: 3) (offset: 0) (type: mapping(address => mapping(address => uint256))) (numberOfBytes: 32) -lib/openzeppelin-contracts/contracts/token/ERC20/presets/ERC20PresetMinterPauser.sol:ERC20PresetMinterPauser:_totalSupply (storage_slot: 4) (offset: 0) (type: uint256) (numberOfBytes: 32) -lib/openzeppelin-contracts/contracts/token/ERC20/presets/ERC20PresetMinterPauser.sol:ERC20PresetMinterPauser:_name (storage_slot: 5) (offset: 0) (type: string) (numberOfBytes: 32) -lib/openzeppelin-contracts/contracts/token/ERC20/presets/ERC20PresetMinterPauser.sol:ERC20PresetMinterPauser:_symbol (storage_slot: 6) (offset: 0) (type: string) (numberOfBytes: 32) -lib/openzeppelin-contracts/contracts/token/ERC20/presets/ERC20PresetMinterPauser.sol:ERC20PresetMinterPauser:_paused (storage_slot: 7) (offset: 0) (type: bool) (numberOfBytes: 1) \ No newline at end of file +dependencies/@openzeppelin-4.7.3/contracts/token/ERC20/presets/ERC20PresetMinterPauser.sol:ERC20PresetMinterPauser:_roles (storage_slot: 0) (offset: 0) (type: mapping(bytes32 => struct AccessControl.RoleData)) (numberOfBytes: 32) +dependencies/@openzeppelin-4.7.3/contracts/token/ERC20/presets/ERC20PresetMinterPauser.sol:ERC20PresetMinterPauser:_roleMembers (storage_slot: 1) (offset: 0) (type: mapping(bytes32 => struct EnumerableSet.AddressSet)) (numberOfBytes: 32) +dependencies/@openzeppelin-4.7.3/contracts/token/ERC20/presets/ERC20PresetMinterPauser.sol:ERC20PresetMinterPauser:_balances (storage_slot: 2) (offset: 0) (type: mapping(address => uint256)) (numberOfBytes: 32) +dependencies/@openzeppelin-4.7.3/contracts/token/ERC20/presets/ERC20PresetMinterPauser.sol:ERC20PresetMinterPauser:_allowances (storage_slot: 3) (offset: 0) (type: mapping(address => mapping(address => uint256))) (numberOfBytes: 32) +dependencies/@openzeppelin-4.7.3/contracts/token/ERC20/presets/ERC20PresetMinterPauser.sol:ERC20PresetMinterPauser:_totalSupply (storage_slot: 4) (offset: 0) (type: uint256) (numberOfBytes: 32) +dependencies/@openzeppelin-4.7.3/contracts/token/ERC20/presets/ERC20PresetMinterPauser.sol:ERC20PresetMinterPauser:_name (storage_slot: 5) (offset: 0) (type: string) (numberOfBytes: 32) +dependencies/@openzeppelin-4.7.3/contracts/token/ERC20/presets/ERC20PresetMinterPauser.sol:ERC20PresetMinterPauser:_symbol (storage_slot: 6) (offset: 0) (type: string) (numberOfBytes: 32) +dependencies/@openzeppelin-4.7.3/contracts/token/ERC20/presets/ERC20PresetMinterPauser.sol:ERC20PresetMinterPauser:_paused (storage_slot: 7) (offset: 0) (type: bool) (numberOfBytes: 1) \ No newline at end of file diff --git a/logs/storage/ERC721.sol:ERC721.log b/logs/storage/ERC721.sol:ERC721.log index bda99eff..23b60971 100644 --- a/logs/storage/ERC721.sol:ERC721.log +++ b/logs/storage/ERC721.sol:ERC721.log @@ -1,6 +1,6 @@ -lib/openzeppelin-contracts/contracts/token/ERC721/ERC721.sol:ERC721:_name (storage_slot: 0) (offset: 0) (type: string) (numberOfBytes: 32) -lib/openzeppelin-contracts/contracts/token/ERC721/ERC721.sol:ERC721:_symbol (storage_slot: 1) (offset: 0) (type: string) (numberOfBytes: 32) -lib/openzeppelin-contracts/contracts/token/ERC721/ERC721.sol:ERC721:_owners (storage_slot: 2) (offset: 0) (type: mapping(uint256 => address)) (numberOfBytes: 32) -lib/openzeppelin-contracts/contracts/token/ERC721/ERC721.sol:ERC721:_balances (storage_slot: 3) (offset: 0) (type: mapping(address => uint256)) (numberOfBytes: 32) -lib/openzeppelin-contracts/contracts/token/ERC721/ERC721.sol:ERC721:_tokenApprovals (storage_slot: 4) (offset: 0) (type: mapping(uint256 => address)) (numberOfBytes: 32) -lib/openzeppelin-contracts/contracts/token/ERC721/ERC721.sol:ERC721:_operatorApprovals (storage_slot: 5) (offset: 0) (type: mapping(address => mapping(address => bool))) (numberOfBytes: 32) \ No newline at end of file +dependencies/@openzeppelin-4.7.3/contracts/token/ERC721/ERC721.sol:ERC721:_name (storage_slot: 0) (offset: 0) (type: string) (numberOfBytes: 32) +dependencies/@openzeppelin-4.7.3/contracts/token/ERC721/ERC721.sol:ERC721:_symbol (storage_slot: 1) (offset: 0) (type: string) (numberOfBytes: 32) +dependencies/@openzeppelin-4.7.3/contracts/token/ERC721/ERC721.sol:ERC721:_owners (storage_slot: 2) (offset: 0) (type: mapping(uint256 => address)) (numberOfBytes: 32) +dependencies/@openzeppelin-4.7.3/contracts/token/ERC721/ERC721.sol:ERC721:_balances (storage_slot: 3) (offset: 0) (type: mapping(address => uint256)) (numberOfBytes: 32) +dependencies/@openzeppelin-4.7.3/contracts/token/ERC721/ERC721.sol:ERC721:_tokenApprovals (storage_slot: 4) (offset: 0) (type: mapping(uint256 => address)) (numberOfBytes: 32) +dependencies/@openzeppelin-4.7.3/contracts/token/ERC721/ERC721.sol:ERC721:_operatorApprovals (storage_slot: 5) (offset: 0) (type: mapping(address => mapping(address => bool))) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/Initializable.sol:Initializable.log b/logs/storage/Initializable.sol:Initializable.log index aa48e2eb..8f8060f2 100644 --- a/logs/storage/Initializable.sol:Initializable.log +++ b/logs/storage/Initializable.sol:Initializable.log @@ -1,2 +1,2 @@ -lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol:Initializable:_initialized (storage_slot: 0) (offset: 0) (type: uint8) (numberOfBytes: 1) -lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol:Initializable:_initializing (storage_slot: 0) (offset: 1) (type: bool) (numberOfBytes: 1) \ No newline at end of file +dependencies/@openzeppelin-4.7.3/contracts/proxy/utils/Initializable.sol:Initializable:_initialized (storage_slot: 0) (offset: 0) (type: uint8) (numberOfBytes: 1) +dependencies/@openzeppelin-4.7.3/contracts/proxy/utils/Initializable.sol:Initializable:_initializing (storage_slot: 0) (offset: 1) (type: bool) (numberOfBytes: 1) \ No newline at end of file diff --git a/logs/storage/Pausable.sol:Pausable.log b/logs/storage/Pausable.sol:Pausable.log index 4cda9d2f..60315900 100644 --- a/logs/storage/Pausable.sol:Pausable.log +++ b/logs/storage/Pausable.sol:Pausable.log @@ -1 +1 @@ -lib/openzeppelin-contracts/contracts/security/Pausable.sol:Pausable:_paused (storage_slot: 0) (offset: 0) (type: bool) (numberOfBytes: 1) \ No newline at end of file +dependencies/@openzeppelin-4.7.3/contracts/security/Pausable.sol:Pausable:_paused (storage_slot: 0) (offset: 0) (type: bool) (numberOfBytes: 1) \ No newline at end of file diff --git a/logs/storage/ReentrancyGuard.sol:ReentrancyGuard.log b/logs/storage/ReentrancyGuard.sol:ReentrancyGuard.log index 030c7832..61db80e1 100644 --- a/logs/storage/ReentrancyGuard.sol:ReentrancyGuard.log +++ b/logs/storage/ReentrancyGuard.sol:ReentrancyGuard.log @@ -1 +1 @@ -lib/openzeppelin-contracts/contracts/security/ReentrancyGuard.sol:ReentrancyGuard:_status (storage_slot: 0) (offset: 0) (type: uint256) (numberOfBytes: 32) \ No newline at end of file +dependencies/@openzeppelin-4.7.3/contracts/security/ReentrancyGuard.sol:ReentrancyGuard:_status (storage_slot: 0) (offset: 0) (type: uint256) (numberOfBytes: 32) \ No newline at end of file diff --git a/remappings.txt b/remappings.txt index 5e5848a1..44907f0a 100644 --- a/remappings.txt +++ b/remappings.txt @@ -1,9 +1,8 @@ forge-std/=dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/ -@openzeppelin/=lib/openzeppelin-contracts/ +@openzeppelin/=dependencies/@openzeppelin-4.7.3/ hardhat/=node_modules/hardhat/ @ronin/contracts/=src/ @ronin/test/=test/ -@ronin/script=script/ @prb/test/=lib/prb-test/src/ @prb/math/=lib/prb-math/ solady/=dependencies/@fdk-0.3.1-beta/dependencies/@solady-0.0.228/src/ diff --git a/script/PostChecker.sol b/script/PostChecker.sol index e3639ffb..71c9d3e8 100644 --- a/script/PostChecker.sol +++ b/script/PostChecker.sol @@ -8,7 +8,7 @@ import { TContract, Contract } from "script/utils/Contract.sol"; import { Network } from "script/utils/Network.sol"; import { TNetwork, DefaultNetwork } from "@fdk/utils/DefaultNetwork.sol"; import { LibCompanionNetwork } from "script/shared/libraries/LibCompanionNetwork.sol"; -import { PostCheck_BridgeManager } from "./post-check/bridge-manager/PostCheck_BridgeManager.s.sol"; +import { PostCheck_BridgeManager } from "./post-check/manager/PostCheck_BridgeManager.s.sol"; import { PostCheck_Gateway } from "./post-check/gateway/PostCheck_Gateway.s.sol"; import { Migration } from "./Migration.s.sol"; import { ScriptExtended } from "@fdk/extensions/ScriptExtended.s.sol"; diff --git a/script/post-check/bridge-manager/BridgeManager.post_check.tree b/script/post-check/manager/BridgeManager.post_check.tree similarity index 100% rename from script/post-check/bridge-manager/BridgeManager.post_check.tree rename to script/post-check/manager/BridgeManager.post_check.tree diff --git a/script/post-check/bridge-manager/PostCheck_BridgeManager.s.sol b/script/post-check/manager/PostCheck_BridgeManager.s.sol similarity index 100% rename from script/post-check/bridge-manager/PostCheck_BridgeManager.s.sol rename to script/post-check/manager/PostCheck_BridgeManager.s.sol diff --git a/script/post-check/bridge-manager/crud/PostCheck_BridgeManager_CRUD_addBridgeOperators.s.sol b/script/post-check/manager/crud/PostCheck_BridgeManager_CRUD_AddBridgeOperators.s.sol similarity index 100% rename from script/post-check/bridge-manager/crud/PostCheck_BridgeManager_CRUD_addBridgeOperators.s.sol rename to script/post-check/manager/crud/PostCheck_BridgeManager_CRUD_AddBridgeOperators.s.sol diff --git a/script/post-check/bridge-manager/crud/PostCheck_BridgeManager_CRUD_removeBridgeOperators.s.sol b/script/post-check/manager/crud/PostCheck_BridgeManager_CRUD_RemoveBridgeOperators.s.sol similarity index 100% rename from script/post-check/bridge-manager/crud/PostCheck_BridgeManager_CRUD_removeBridgeOperators.s.sol rename to script/post-check/manager/crud/PostCheck_BridgeManager_CRUD_RemoveBridgeOperators.s.sol diff --git a/script/post-check/bridge-manager/proposal/PostCheck_BridgeManager_Proposal.s.sol b/script/post-check/manager/proposal/PostCheck_BridgeManager_Proposal.s.sol similarity index 100% rename from script/post-check/bridge-manager/proposal/PostCheck_BridgeManager_Proposal.s.sol rename to script/post-check/manager/proposal/PostCheck_BridgeManager_Proposal.s.sol diff --git a/script/post-check/bridge-manager/quorum/PostCheck_BridgeManager_Quorum.s.sol b/script/post-check/manager/quorum/PostCheck_BridgeManager_Quorum.s.sol similarity index 100% rename from script/post-check/bridge-manager/quorum/PostCheck_BridgeManager_Quorum.s.sol rename to script/post-check/manager/quorum/PostCheck_BridgeManager_Quorum.s.sol diff --git a/soldeer.lock b/soldeer.lock index cddf90f5..75a6c72f 100644 --- a/soldeer.lock +++ b/soldeer.lock @@ -4,3 +4,9 @@ name = "@fdk" version = "0.3.1-beta" source = "https://github.com/axieinfinity/foundry-deployment-kit/archive/refs/tags/v0.3.1-beta.zip" checksum = "53cb5bf15abdc909d177c64e78070387af24ef39b2a4b408651836ac9de059c4" + +[[dependencies]] +name = "@openzeppelin" +version = "4.7.3" +source = "https://github.com/OpenZeppelin/openzeppelin-contracts/archive/refs/tags/v4.7.3.zip" +checksum = "e25b51f352864703de7b35e5030d63b38cbe4e8d61d7858f9ff9f77e18e370dd" diff --git a/test/bridge/integration/BaseIntegration.t.sol b/test/bridge/integration/BaseIntegration.t.sol index b2cc12ce..44d3a154 100644 --- a/test/bridge/integration/BaseIntegration.t.sol +++ b/test/bridge/integration/BaseIntegration.t.sol @@ -4,10 +4,10 @@ pragma solidity ^0.8.19; import { console } from "forge-std/console.sol"; import { Base_Test } from "../../Base.t.sol"; import { LibSharedAddress } from "@fdk/libraries/LibSharedAddress.sol"; -import { ISharedArgument } from "@ronin/script/interfaces/ISharedArgument.sol"; +import { ISharedArgument } from "script/interfaces/ISharedArgument.sol"; import { IGeneralConfig } from "@fdk/interfaces/IGeneralConfig.sol"; -import { GeneralConfig } from "@ronin/script/GeneralConfig.sol"; -import { Network } from "@ronin/script/utils/Network.sol"; +import { GeneralConfig } from "script/GeneralConfig.sol"; +import { Network } from "script/utils/Network.sol"; import { IRoninBridgeManager } from "script/interfaces/IRoninBridgeManager.sol"; import { IRoninGatewayV3 } from "@ronin/contracts/ronin/gateway/RoninGatewayV3.sol"; @@ -46,25 +46,25 @@ import { GatewayV3 } from "@ronin/contracts/extensions/GatewayV3.sol"; import { IBridgeManagerCallbackRegister } from "@ronin/contracts/interfaces/bridge/IBridgeManagerCallbackRegister.sol"; import { LibProxy } from "@fdk/libraries/LibProxy.sol"; -import { RoninBridgeManagerDeploy } from "@ronin/script/contracts/RoninBridgeManagerDeploy.s.sol"; -import { RoninGatewayV3Deploy } from "@ronin/script/contracts/RoninGatewayV3Deploy.s.sol"; -import { BridgeTrackingDeploy } from "@ronin/script/contracts/BridgeTrackingDeploy.s.sol"; -import { BridgeSlashDeploy } from "@ronin/script/contracts/BridgeSlashDeploy.s.sol"; -import { BridgeRewardDeploy } from "@ronin/script/contracts/BridgeRewardDeploy.s.sol"; -import { RoninPauseEnforcerDeploy } from "@ronin/script/contracts/RoninPauseEnforcerDeploy.s.sol"; - -import { MainchainGatewayV3Deploy } from "@ronin/script/contracts/MainchainGatewayV3Deploy.s.sol"; -import { MainchainGatewayBatcherDeploy } from "@ronin/script/contracts/MainchainGatewayBatcherDeploy.s.sol"; -import { MainchainBridgeManagerDeploy } from "@ronin/script/contracts/MainchainBridgeManagerDeploy.s.sol"; -import { MainchainPauseEnforcerDeploy } from "@ronin/script/contracts/MainchainPauseEnforcerDeploy.s.sol"; -import { MainchainWethUnwrapperDeploy } from "@ronin/script/contracts/MainchainWethUnwrapperDeploy.s.sol"; -import { WETHDeploy } from "@ronin/script/contracts/token/WETHDeploy.s.sol"; -import { WRONDeploy } from "@ronin/script/contracts/token/WRONDeploy.s.sol"; -import { AXSDeploy } from "@ronin/script/contracts/token/AXSDeploy.s.sol"; -import { SLPDeploy } from "@ronin/script/contracts/token/SLPDeploy.s.sol"; -import { USDCDeploy } from "@ronin/script/contracts/token/USDCDeploy.s.sol"; -import { MockERC721Deploy } from "@ronin/script/contracts/token/MockERC721Deploy.s.sol"; -import { MockERC1155Deploy } from "@ronin/script/contracts/token/MockERC1155Deploy.s.sol"; +import { RoninBridgeManagerDeploy } from "script/contracts/RoninBridgeManagerDeploy.s.sol"; +import { RoninGatewayV3Deploy } from "script/contracts/RoninGatewayV3Deploy.s.sol"; +import { BridgeTrackingDeploy } from "script/contracts/BridgeTrackingDeploy.s.sol"; +import { BridgeSlashDeploy } from "script/contracts/BridgeSlashDeploy.s.sol"; +import { BridgeRewardDeploy } from "script/contracts/BridgeRewardDeploy.s.sol"; +import { RoninPauseEnforcerDeploy } from "script/contracts/RoninPauseEnforcerDeploy.s.sol"; + +import { MainchainGatewayV3Deploy } from "script/contracts/MainchainGatewayV3Deploy.s.sol"; +import { MainchainGatewayBatcherDeploy } from "script/contracts/MainchainGatewayBatcherDeploy.s.sol"; +import { MainchainBridgeManagerDeploy } from "script/contracts/MainchainBridgeManagerDeploy.s.sol"; +import { MainchainPauseEnforcerDeploy } from "script/contracts/MainchainPauseEnforcerDeploy.s.sol"; +import { MainchainWethUnwrapperDeploy } from "script/contracts/MainchainWethUnwrapperDeploy.s.sol"; +import { WETHDeploy } from "script/contracts/token/WETHDeploy.s.sol"; +import { WRONDeploy } from "script/contracts/token/WRONDeploy.s.sol"; +import { AXSDeploy } from "script/contracts/token/AXSDeploy.s.sol"; +import { SLPDeploy } from "script/contracts/token/SLPDeploy.s.sol"; +import { USDCDeploy } from "script/contracts/token/USDCDeploy.s.sol"; +import { MockERC721Deploy } from "script/contracts/token/MockERC721Deploy.s.sol"; +import { MockERC1155Deploy } from "script/contracts/token/MockERC1155Deploy.s.sol"; import { RoninBridgeAdminUtils } from "test/helpers/RoninBridgeAdminUtils.t.sol"; import { MainchainBridgeAdminUtils } from "test/helpers/MainchainBridgeAdminUtils.t.sol"; diff --git a/update-deps.sh b/update-deps.sh index 69ce3b6f..d07e2b8d 100755 --- a/update-deps.sh +++ b/update-deps.sh @@ -37,4 +37,4 @@ done # Return to the original directory cd .. -echo "All dependencies updated." \ No newline at end of file +echo "All dependencies updated." From eeb7d2ce277eefe09e939030cfe9651ae50d4e43 Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Fri, 23 Aug 2024 00:50:15 +0700 Subject: [PATCH 35/74] chore: move prb-test to soldeer --- .gitmodules | 4 ---- foundry.toml | 2 ++ lib/prb-test | 1 - remappings.txt | 6 +++--- soldeer.lock | 12 ++++++++++++ test/utils/Assertions.sol | 2 +- test/utils/Utils.sol | 2 +- 7 files changed, 19 insertions(+), 10 deletions(-) delete mode 160000 lib/prb-test diff --git a/.gitmodules b/.gitmodules index 89b5800a..877cd9c5 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,7 +1,3 @@ -[submodule "lib/prb-test"] - branch = release-v0 - path = lib/prb-test - url = https://github.com/PaulRBerg/prb-test [submodule "lib/prb-math"] path = lib/prb-math url = https://github.com/PaulRBerg/prb-math diff --git a/foundry.toml b/foundry.toml index 4ff7c076..48d2332e 100644 --- a/foundry.toml +++ b/foundry.toml @@ -71,3 +71,5 @@ ronin-testnet = "https://saigon-archive.roninchain.com/rpc" [dependencies] "@fdk" = { version = "0.3.1-beta", url = "https://github.com/axieinfinity/foundry-deployment-kit/archive/refs/tags/v0.3.1-beta.zip" } "@openzeppelin" = { version = "4.7.3", url = "https://github.com/OpenZeppelin/openzeppelin-contracts/archive/refs/tags/v4.7.3.zip" } +"@prb-math" = "4.0.3" +"@prb-test" = "0.6.5" diff --git a/lib/prb-test b/lib/prb-test deleted file mode 160000 index bda8b6b1..00000000 --- a/lib/prb-test +++ /dev/null @@ -1 +0,0 @@ -Subproject commit bda8b6b18eb50c5cf6142dcce52ce483d5b5043a diff --git a/remappings.txt b/remappings.txt index 44907f0a..702ba929 100644 --- a/remappings.txt +++ b/remappings.txt @@ -3,7 +3,7 @@ forge-std/=dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/ hardhat/=node_modules/hardhat/ @ronin/contracts/=src/ @ronin/test/=test/ -@prb/test/=lib/prb-test/src/ -@prb/math/=lib/prb-math/ solady/=dependencies/@fdk-0.3.1-beta/dependencies/@solady-0.0.228/src/ -@fdk=dependencies/@fdk-0.3.1-beta/script/ \ No newline at end of file +@fdk=dependencies/@fdk-0.3.1-beta/script/ +@prb/math/=lib/prb-math/ +@prb/test/=dependencies/@prb-test-0.6.5/src/ \ No newline at end of file diff --git a/soldeer.lock b/soldeer.lock index 75a6c72f..f7f1c95c 100644 --- a/soldeer.lock +++ b/soldeer.lock @@ -10,3 +10,15 @@ name = "@openzeppelin" version = "4.7.3" source = "https://github.com/OpenZeppelin/openzeppelin-contracts/archive/refs/tags/v4.7.3.zip" checksum = "e25b51f352864703de7b35e5030d63b38cbe4e8d61d7858f9ff9f77e18e370dd" + +[[dependencies]] +name = "@prb-math" +version = "4.0.3" +source = "https://soldeer-revisions.s3.amazonaws.com/@prb-math/4_0_3_16-06-2024_05:46:20_math.zip" +checksum = "adb64170354454d3acefa986481f7231af28a329a81484bf96e59523a831960c" + +[[dependencies]] +name = "@prb-test" +version = "0.6.5" +source = "https://soldeer-revisions.s3.amazonaws.com/@prb-test/0_6_5_22-01-2024_13:22:11_test.zip" +checksum = "d0b38a301d86f583a3053bfb437d12795cda5709bfe74ea21a27ffa339a2b8e8" diff --git a/test/utils/Assertions.sol b/test/utils/Assertions.sol index 5d397f6e..1f7358bc 100644 --- a/test/utils/Assertions.sol +++ b/test/utils/Assertions.sol @@ -2,7 +2,7 @@ pragma solidity >=0.8.21; import { PRBTest } from "@prb/test/PRBTest.sol"; -import { PRBMathAssertions } from "@prb/math/src/test/Assertions.sol"; +import { PRBMathAssertions } from "@prb/math/test/utils/Assertions.sol"; abstract contract Assertions is PRBTest, PRBMathAssertions { event LogNamedArray(string key, uint96[] value); diff --git a/test/utils/Utils.sol b/test/utils/Utils.sol index 4ca554e3..10f2c50b 100644 --- a/test/utils/Utils.sol +++ b/test/utils/Utils.sol @@ -3,7 +3,7 @@ pragma solidity >=0.8.19; import { StdUtils } from "forge-std/StdUtils.sol"; -import { PRBMathUtils } from "@prb/math/src/test/Utils.sol"; +import { PRBMathUtils } from "@prb/math/test/utils/Utils.sol"; abstract contract Utils is StdUtils, PRBMathUtils { function getEmptyAddressArray() internal pure returns (address[] memory arr) { } From 3d7bc1d7abe8b11e39b5ca9c0f1c2d2253e09baa Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Fri, 23 Aug 2024 00:55:08 +0700 Subject: [PATCH 36/74] test: fix test fail --- test/bridge/unit/fuzz/bridge-manager/BridgeReward.t.sol | 2 +- test/bridge/unit/fuzz/bridge-manager/BridgeSlash.t.sol | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/bridge/unit/fuzz/bridge-manager/BridgeReward.t.sol b/test/bridge/unit/fuzz/bridge-manager/BridgeReward.t.sol index 5cd3f041..498454f9 100644 --- a/test/bridge/unit/fuzz/bridge-manager/BridgeReward.t.sol +++ b/test/bridge/unit/fuzz/bridge-manager/BridgeReward.t.sol @@ -210,7 +210,7 @@ contract BridgeRewardTest is Base_Test, IBridgeRewardEvents, BridgeManagerUtils _defaultBridgeManagerInputs = abi.encode(bridgeOperators, governors, voteWeights); - _bridgeManagerLogic = deployCode("MockBridgeManager.sol"); + _bridgeManagerLogic = address(new MockBridgeManager()); _bridgeManagerContract = address( new TransparentUpgradeableProxy(_bridgeManagerLogic, _admin, abi.encodeCall(MockBridgeManager.initialize, (bridgeOperators, governors, voteWeights))) ); diff --git a/test/bridge/unit/fuzz/bridge-manager/BridgeSlash.t.sol b/test/bridge/unit/fuzz/bridge-manager/BridgeSlash.t.sol index 96579a83..8906f1e9 100644 --- a/test/bridge/unit/fuzz/bridge-manager/BridgeSlash.t.sol +++ b/test/bridge/unit/fuzz/bridge-manager/BridgeSlash.t.sol @@ -266,7 +266,7 @@ contract BridgeSlashTest is IBridgeSlashEvents, BridgeManagerUtils { _bridgeManagerContract = address( new TransparentUpgradeableProxyV2( - deployCode("MockBridgeManager.sol"), _admin, abi.encodeCall(MockBridgeManager.initialize, (bridgeOperators, governors, voteWeights)) + address(new MockBridgeManager()), _admin, abi.encodeCall(MockBridgeManager.initialize, (bridgeOperators, governors, voteWeights)) ) ); From e61da0cfd9d39e683b066fe6fba89ad0d7a9c216 Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Fri, 23 Aug 2024 01:00:58 +0700 Subject: [PATCH 37/74] ci: setup secret --- .github/workflows/test.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 260397fe..e1f03192 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,6 +29,11 @@ jobs: name: Foundry project runs-on: ubuntu-latest + + env: + ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }} + INFURA_API_KEY: ${{ secrets.INFURA_API_KEY }} + steps: - uses: actions/checkout@v3 with: From 63bd7ee237c29f27f5036d507691b2e020e2e7ca Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Fri, 23 Aug 2024 02:04:33 +0700 Subject: [PATCH 38/74] script: add more post check --- ...PostCheck_Gateway_DepositAndWithdraw.s.sol | 52 ++++++++++++++++++- script/shared/libraries/LibArray.sol | 19 +++++++ 2 files changed, 70 insertions(+), 1 deletion(-) diff --git a/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol b/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol index 1985e123..0ba9938b 100644 --- a/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol +++ b/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol @@ -48,6 +48,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { uint256 private ethChainId; IWETH private ethWETH; + MockERC20 private ronWETH; TNetwork private currNetwork; TNetwork private companionNetwork; @@ -109,6 +110,8 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { vm.deal(user, 10 ether); deal(address(ronERC20), user, 1000 ether); + + ronWETH = MockERC20(loadContract(Contract.WETH.key())); } function _setUpOnMainchain() private { @@ -132,6 +135,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { function _validate_Gateway_DepositAndWithdraw() internal { _setUp(); + validate_Gateway_RevertIf_OperatorsRenounced_InsufficientThreshold_Withdraw_ERC20(); validate_Gateway_WETHAddressUnchanged(); validate_Gateway_Deposit_ETH(); validate_Gateway_RevertIf_InsufficientSentValue_Deposit_ETH(); @@ -145,6 +149,52 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { validate_Gateway_RevertIf_InsufficientThreshold_Withdraw_ERC20(); } + function validate_Gateway_RevertIf_OperatorsRenounced_InsufficientThreshold_Withdraw_ERC20() + private + onPostCheck("validate_Gateway_RevertIf_OperatorsRenounced_InsufficientThreshold_Withdraw_ERC20") + onlyOnRoninNetworkOrLocal + { + withdrawReq.recipientAddr = makeAddr("mainchain-recipient"); + withdrawReq.tokenAddr = address(ronERC20); + withdrawReq.info.erc = TokenStandard.ERC20; + withdrawReq.info.id = 0; + withdrawReq.info.quantity = 100 ether; + + vm.prank(user); + ronERC20.approve(ronGW, withdrawReq.info.quantity); + + vm.prank(user); + vm.recordLogs(); + IRoninGatewayV3(ronGW).requestWithdrawalFor(withdrawReq, ethChainId); + + (LibTransfer.Receipt memory receipt, bytes32 receiptHash) = _getReceiptHash(ronGW, IRoninGatewayV3.WithdrawalRequested.selector); + + (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + + bytes32 receiptDigest = LibTransfer.receiptDigest(gwDomainHash, receiptHash); + + overrideMockBOs(ethBM); + + uint256 minVW = IQuorum(ethGW).minimumVoteWeight(); + uint256 defaultVW = IBridgeManager(ethBM).getTotalWeight() / IBridgeManager(ethBM).totalBridgeOperator(); + uint256 minSigRequired = minVW / defaultVW; + uint256 unmetSigCount = minSigRequired - 1; + assertTrue(unmetSigCount > 1, "Invalid test setup"); + + // Sign first to get renounced operator signatures + Signature[] memory sigs = _bulkSignReceipt(mockOps, receiptDigest); + // Renounce operators + vm.prank(address(ethBM)); + ITransparentUpgradeableProxyV2(ethBM).functionDelegateCall( + abi.encodeCall(IBridgeManager.removeBridgeOperators, (mockOps.slice(unmetSigCount, mockOps.length))) + ); + + vm.expectRevert(); + IMainchainGatewayV3(ethGW).submitWithdrawal(receipt, sigs); + + switchBack(prevNetwork, prevForkId); + } + function validate_Gateway_RevertIf_InsufficientSentValue_Deposit_ETH() private onPostCheck("validate_Gateway_RevertIf_InsufficientSentValue_Deposit_ETH") @@ -194,7 +244,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { IRoninGatewayV3(ronGW).depositFor(receipt); } - assertEq(ronERC20.balanceOf(depositReq.recipientAddr), depositReq.info.quantity, "Deposit should be processed"); + assertEq(ronWETH.balanceOf(depositReq.recipientAddr), depositReq.info.quantity, "Deposit should be processed"); } function validate_Gateway_WETHAddressUnchanged() private onPostCheck("validate_Gateway_WETHAddressUnchanged") onlyOnRoninNetworkOrLocal { diff --git a/script/shared/libraries/LibArray.sol b/script/shared/libraries/LibArray.sol index 4af49c04..760fe97c 100644 --- a/script/shared/libraries/LibArray.sol +++ b/script/shared/libraries/LibArray.sol @@ -18,6 +18,25 @@ library LibArray { } } + /** + * @dev Returns a slice of an array. + */ + function slice(uint256[] memory self, uint256 start, uint256 end) internal pure returns (uint256[] memory) { + require(start <= end, "LibArray: invalid slice range"); + require(end <= self.length, "LibArray: slice end exceeds array length"); + + uint256[] memory output = new uint256[](end - start); + for (uint256 i = start; i < end; ++i) { + output[i - start] = self[i]; + } + + return output; + } + + function slice(address[] memory self, uint256 start, uint256 end) internal pure returns (address[] memory) { + return toAddressesUnsafe(slice(toUint256s(self), start, end)); + } + function toSingletonArray(address self) internal pure returns (address[] memory arr) { arr = new address[](1); arr[0] = self; From 1711aad45a911648db11363925542689c6f99365 Mon Sep 17 00:00:00 2001 From: Huy Ngo Date: Fri, 23 Aug 2024 13:45:12 +0700 Subject: [PATCH 39/74] ci: split PostCheck and analyze step in Unittest --- .github/workflows/post_check.yml | 63 ++++++++++++++++++++++++++++++++ .github/workflows/test.yml | 17 ++++++--- 2 files changed, 75 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/post_check.yml diff --git a/.github/workflows/post_check.yml b/.github/workflows/post_check.yml new file mode 100644 index 00000000..f9d02fc9 --- /dev/null +++ b/.github/workflows/post_check.yml @@ -0,0 +1,63 @@ +name: PostCheck + +on: + push: + branches: + - mainnet + - testnet + - "feature/*" + - "features/*" + - "feat/*" + - "feats/*" + pull_request: + branches: + - mainnet + - testnet + - "feature/*" + - "features/*" + - "feat/*" + - "feats/*" + - "release/*" + +env: + FOUNDRY_PROFILE: ci + +jobs: + check: + strategy: + fail-fast: true + + name: Foundry project + runs-on: ubuntu-latest + + env: + ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }} + INFURA_API_KEY: ${{ secrets.INFURA_API_KEY }} + + steps: + - uses: actions/checkout@v3 + with: + submodules: recursive + + - name: Install Foundry + uses: foundry-rs/foundry-toolchain@v1 + + - name: Update package with soldeer + run: forge soldeer update + + - name: Recursively update dependencies + run: | + chmod +x ./update-deps.sh + ./update-deps.sh + id: update-deps + + - name: Run Forge build + run: | + forge --version + forge build + id: build + + - name: Run PostCheck CI + run: ./run.sh PostCheckCI -f ronin-mainnet + id: postcheck + diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e1f03192..1a25fd98 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,4 @@ -name: test +name: Test & Analyze on: push: @@ -57,11 +57,18 @@ jobs: forge build id: build - - name: Run PostCheck CI - run: ./run.sh PostCheckCI -f ronin-mainnet - id: postcheck - - name: Run Forge tests run: | forge test -vvv id: test + + - name: Install Slither for security analysis + run: | + sudo apt-get update + sudo apt-get install -y python3-pip + python3 -m pip install slither-analyzer + + - name: Run Slither analysis + run: | + slither . --exclude-low --exclude-medium --exclude-informational --exclude-dependencies --filter-paths "dependencies/|mocks/" --exclude-optimization + id: slither From b797a965fea775381a58ede041bb3752b6d7cbf9 Mon Sep 17 00:00:00 2001 From: nxqbao Date: Fri, 23 Aug 2024 11:00:14 +0700 Subject: [PATCH 40/74] fix(MainchainGateway): rollback setter and assert of wethUnwrapper --- src/mainchain/MainchainGatewayV3.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainchain/MainchainGatewayV3.sol b/src/mainchain/MainchainGatewayV3.sol index fb2a953c..45bba76a 100644 --- a/src/mainchain/MainchainGatewayV3.sol +++ b/src/mainchain/MainchainGatewayV3.sol @@ -128,7 +128,7 @@ contract MainchainGatewayV3 is _totalOperatorWeight = totalWeight; } - function initializeV4(address payable /* wethUnwrapper_ */) external reinitializer(4) { + function initializeV4(address payable wethUnwrapper_) external reinitializer(4) { /** @deprecated * * wethUnwrapper = WethUnwrapper(wethUnwrapper_); From 359f9ee7efb08386123d8a70288690b9bc920753 Mon Sep 17 00:00:00 2001 From: Bao Date: Fri, 23 Aug 2024 11:51:14 +0700 Subject: [PATCH 41/74] Update src/mainchain/MainchainGatewayV3.sol Co-authored-by: tu-do.ron Signed-off-by: Bao --- src/mainchain/MainchainGatewayV3.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainchain/MainchainGatewayV3.sol b/src/mainchain/MainchainGatewayV3.sol index 45bba76a..fb2a953c 100644 --- a/src/mainchain/MainchainGatewayV3.sol +++ b/src/mainchain/MainchainGatewayV3.sol @@ -128,7 +128,7 @@ contract MainchainGatewayV3 is _totalOperatorWeight = totalWeight; } - function initializeV4(address payable wethUnwrapper_) external reinitializer(4) { + function initializeV4(address payable /* wethUnwrapper_ */) external reinitializer(4) { /** @deprecated * * wethUnwrapper = WethUnwrapper(wethUnwrapper_); From 1c0c4eadab9457b8777a9bf65cd2c77911fb4f07 Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Fri, 23 Aug 2024 13:57:15 +0700 Subject: [PATCH 42/74] ci: print detail log --- .github/workflows/post_check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/post_check.yml b/.github/workflows/post_check.yml index f9d02fc9..d06d3b9b 100644 --- a/.github/workflows/post_check.yml +++ b/.github/workflows/post_check.yml @@ -58,6 +58,6 @@ jobs: id: build - name: Run PostCheck CI - run: ./run.sh PostCheckCI -f ronin-mainnet + run: ./run.sh PostCheckCI -f ronin-mainnet -vvvv id: postcheck From 57c5c4b60ab2320c2a05b11f68edf6483a594281 Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Fri, 23 Aug 2024 13:57:52 +0700 Subject: [PATCH 43/74] chore: storage layout --- logs/contract-code-sizes.log | 2 +- logs/storage/MainchainGatewayV3.sol:MainchainGatewayV3.log | 2 +- logs/storage/PRBTest.sol:PRBTest.log | 2 +- logs/storage/PostChecker.sol:PostChecker.log | 5 +++-- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/logs/contract-code-sizes.log b/logs/contract-code-sizes.log index 1d67aba9..5886b9bb 100644 --- a/logs/contract-code-sizes.log +++ b/logs/contract-code-sizes.log @@ -44,7 +44,7 @@ | LibTokenOwner | 166 | 24,410 | | MainchainBridgeManager | 20,894 | 3,682 | | MainchainGatewayBatcher | 4,158 | 20,418 | -| MainchainGatewayV3 | 22,982 | 1,594 | +| MainchainGatewayV3 | 22,532 | 2,044 | | Math | 86 | 24,490 | | MockBridge | 1,293 | 23,283 | | MockBridgeManager | 2,671 | 21,905 | diff --git a/logs/storage/MainchainGatewayV3.sol:MainchainGatewayV3.log b/logs/storage/MainchainGatewayV3.sol:MainchainGatewayV3.log index 06eec253..a6a84152 100644 --- a/logs/storage/MainchainGatewayV3.sol:MainchainGatewayV3.log +++ b/logs/storage/MainchainGatewayV3.sol:MainchainGatewayV3.log @@ -29,4 +29,4 @@ src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3:______deprecatedBridgeOp src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3:______deprecatedBridgeOperators (storage_slot: 124) (offset: 0) (type: uint256) (numberOfBytes: 32) src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3:_totalOperatorWeight (storage_slot: 125) (offset: 0) (type: uint96) (numberOfBytes: 12) src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3:_operatorWeight (storage_slot: 126) (offset: 0) (type: mapping(address => uint96)) (numberOfBytes: 32) -src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3:wethUnwrapper (storage_slot: 127) (offset: 0) (type: contract WethUnwrapper) (numberOfBytes: 20) \ No newline at end of file +src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3:______deprecatedWethUnwrapper (storage_slot: 127) (offset: 0) (type: uint256) (numberOfBytes: 32) \ No newline at end of file diff --git a/logs/storage/PRBTest.sol:PRBTest.log b/logs/storage/PRBTest.sol:PRBTest.log index dd1f125d..ec464581 100644 --- a/logs/storage/PRBTest.sol:PRBTest.log +++ b/logs/storage/PRBTest.sol:PRBTest.log @@ -1 +1 @@ -lib/prb-test/src/PRBTest.sol:PRBTest:_failed (storage_slot: 0) (offset: 0) (type: bool) (numberOfBytes: 1) \ No newline at end of file +dependencies/@prb-test-0.6.5/src/PRBTest.sol:PRBTest:_failed (storage_slot: 0) (offset: 0) (type: bool) (numberOfBytes: 1) \ No newline at end of file diff --git a/logs/storage/PostChecker.sol:PostChecker.log b/logs/storage/PostChecker.sol:PostChecker.log index d0fd6f4e..dd6da191 100644 --- a/logs/storage/PostChecker.sol:PostChecker.log +++ b/logs/storage/PostChecker.sol:PostChecker.log @@ -52,5 +52,6 @@ script/PostChecker.sol:PostChecker:standards (storage_slot: 62) (offset: 0) (typ script/PostChecker.sol:PostChecker:ronChainId (storage_slot: 63) (offset: 0) (type: uint256) (numberOfBytes: 32) script/PostChecker.sol:PostChecker:ethChainId (storage_slot: 64) (offset: 0) (type: uint256) (numberOfBytes: 32) script/PostChecker.sol:PostChecker:ethWETH (storage_slot: 65) (offset: 0) (type: contract IWETH) (numberOfBytes: 20) -script/PostChecker.sol:PostChecker:currNetwork (storage_slot: 66) (offset: 0) (type: TNetwork) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:companionNetwork (storage_slot: 67) (offset: 0) (type: TNetwork) (numberOfBytes: 32) \ No newline at end of file +script/PostChecker.sol:PostChecker:ronWETH (storage_slot: 66) (offset: 0) (type: contract MockERC20) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:currNetwork (storage_slot: 67) (offset: 0) (type: TNetwork) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:companionNetwork (storage_slot: 68) (offset: 0) (type: TNetwork) (numberOfBytes: 32) \ No newline at end of file From f59bc24ec7a45567bb5405c15d627d5912764618 Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Fri, 23 Aug 2024 15:19:07 +0700 Subject: [PATCH 44/74] script: update post check --- .../20240411-operators-key-template.s.sol | 6 +- .../20240411-operators-key.s.sol | 12 +- ...0240411-p3-upgrade-bridge-main-chain.s.sol | 14 +- .../20240619-operators-key.s.sol | 12 +- ...0240619-p3-upgrade-bridge-main-chain.s.sol | 78 +++++++++++- .../20240716-operators-key-template.s.sol | 6 +- script/operations/PostCheckCI.s.sol | 1 + .../gateway/PostCheck_Gateway.s.sol | 4 +- ...PostCheck_Gateway_DepositAndWithdraw.s.sol | 120 +++++++++++++++--- .../quorum/PostCheck_Gateway_Quorum.s.sol | 63 +++++++++ .../manager/PostCheck_BridgeManager.s.sol | 2 +- .../PostCheck_BridgeManager_Quorum.s.sol | 78 +++++------- 12 files changed, 306 insertions(+), 90 deletions(-) create mode 100644 script/post-check/gateway/quorum/PostCheck_Gateway_Quorum.s.sol diff --git a/script/20240411-upgrade-v3.2.0-testnet/20240411-operators-key-template.s.sol b/script/20240411-upgrade-v3.2.0-testnet/20240411-operators-key-template.s.sol index 3381acfb..a69e45a1 100644 --- a/script/20240411-upgrade-v3.2.0-testnet/20240411-operators-key-template.s.sol +++ b/script/20240411-upgrade-v3.2.0-testnet/20240411-operators-key-template.s.sol @@ -2,9 +2,9 @@ pragma solidity ^0.8.19; contract Migration__20240409_GovernorsKey { - function _loadGovernorPKs() internal pure returns (uint256[] memory res) { - res = new uint256[](1); + function _loadGovernors() internal pure returns (address[] memory res) { + res = new address[](1); - res[0] = 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef; + res[0] = address(0xdeadbeef); } } diff --git a/script/20240411-upgrade-v3.2.0-testnet/20240411-operators-key.s.sol b/script/20240411-upgrade-v3.2.0-testnet/20240411-operators-key.s.sol index 78e02f75..f85fde1d 100644 --- a/script/20240411-upgrade-v3.2.0-testnet/20240411-operators-key.s.sol +++ b/script/20240411-upgrade-v3.2.0-testnet/20240411-operators-key.s.sol @@ -2,12 +2,12 @@ pragma solidity ^0.8.19; contract Migration__20240409_GovernorsKey { - function _loadGovernorPKs() internal pure returns (uint256[] memory res) { - res = new uint256[](4); + function _loadGovernors() internal pure returns (address[] memory res) { + res = new address[](4); - res[3] = 0xe3c1c8220c4ee4a6532d633296c3301db5397cff8a89a920da28f8bec97fcfb6; - res[2] = 0xeb80bc77e3164b6bb3eebf7d5f96f2496eb292fab563377f247d2db5887395e0; - res[0] = 0xed79936f720ac50b7c06138c6fd2d70abc19935de0fb347b0d782bdb6630e5a4; - res[1] = 0x3b3eb1d442ea0d728bc069f9d6d47ba8dcc6c867800cdf42a12117cf231bba59; + res[3] = 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa; + res[2] = 0xb033ba62EC622dC54D0ABFE0254e79692147CA26; + res[0] = 0x087D08e3ba42e64E3948962dd1371F906D1278b9; + res[1] = 0x52ec2e6BBcE45AfFF8955Da6410bb13812F4289F; } } diff --git a/script/20240411-upgrade-v3.2.0-testnet/20240411-p3-upgrade-bridge-main-chain.s.sol b/script/20240411-upgrade-v3.2.0-testnet/20240411-p3-upgrade-bridge-main-chain.s.sol index 28e42cd2..cbf54bdf 100644 --- a/script/20240411-upgrade-v3.2.0-testnet/20240411-p3-upgrade-bridge-main-chain.s.sol +++ b/script/20240411-upgrade-v3.2.0-testnet/20240411-p3-upgrade-bridge-main-chain.s.sol @@ -188,7 +188,7 @@ contract Migration__20240409_P3_UpgradeBridgeMainchain is Migration, Migration__ supports_[i] = Ballot.VoteType.For; } - Signature[] memory signatures = _generateSignaturesFor(getDomain(), hashLegacyProposal(proposal), _loadGovernorPKs(), Ballot.VoteType.For); + Signature[] memory signatures = _generateSignaturesFor(getDomain(), hashLegacyProposal(proposal), _loadGovernors(), Ballot.VoteType.For); vm.broadcast(_governor); (bool success,) = address(_currMainchainBridgeManager).call{ gas: (proposal.targets.length + 1) * 1_000_000 }( @@ -213,19 +213,19 @@ contract Migration__20240409_P3_UpgradeBridgeMainchain is Migration, Migration__ function _generateSignaturesFor( bytes32 domain, bytes32 proposalHash, - uint256[] memory signerPKs, + address[] memory signers, Ballot.VoteType support ) public pure returns (Signature[] memory sigs) { - sigs = new Signature[](signerPKs.length); + sigs = new Signature[](signers.length); - for (uint256 i; i < signerPKs.length; i++) { + for (uint256 i; i < signers.length; i++) { bytes32 digest = ECDSA.toTypedDataHash(domain, Ballot.hash(proposalHash, support)); - sigs[i] = _sign(signerPKs[i], digest); + sigs[i] = _sign(signers[i], digest); } } - function _sign(uint256 pk, bytes32 digest) internal pure returns (Signature memory sig) { - (uint8 v, bytes32 r, bytes32 s) = vm.sign(pk, digest); + function _sign(address signer, bytes32 digest) internal pure returns (Signature memory sig) { + (uint8 v, bytes32 r, bytes32 s) = vm.sign(signer, digest); sig.v = v; sig.r = r; sig.s = s; diff --git a/script/20240619-upgrade-sepolia/20240619-operators-key.s.sol b/script/20240619-upgrade-sepolia/20240619-operators-key.s.sol index 11c2f3fd..58d745d6 100644 --- a/script/20240619-upgrade-sepolia/20240619-operators-key.s.sol +++ b/script/20240619-upgrade-sepolia/20240619-operators-key.s.sol @@ -2,12 +2,12 @@ pragma solidity ^0.8.19; contract Migration__20240619_GovernorsKey { - function _loadGovernorPKs() internal pure returns (uint256[] memory res) { - res = new uint256[](4); + function _loadGovernors() internal pure returns (address[] memory res) { + res = new address[](4); - res[0] = 0x00; - res[1] = 0x00; - res[2] = 0x00; - res[3] = 0x00; + res[0] = address(0x0); + res[1] = address(0x0); + res[2] = address(0x0); + res[3] = address(0x0); } } diff --git a/script/20240619-upgrade-sepolia/20240619-p3-upgrade-bridge-main-chain.s.sol b/script/20240619-upgrade-sepolia/20240619-p3-upgrade-bridge-main-chain.s.sol index eb8f92fd..43238d83 100644 --- a/script/20240619-upgrade-sepolia/20240619-p3-upgrade-bridge-main-chain.s.sol +++ b/script/20240619-upgrade-sepolia/20240619-p3-upgrade-bridge-main-chain.s.sol @@ -80,8 +80,6 @@ contract Migration__20240619_P3_UpgradeBridgeMainchain is Migration, Migration__ governors[0] = 0x087D08e3ba42e64E3948962dd1371F906D1278b9; governors[1] = 0x52ec2e6BBcE45AfFF8955Da6410bb13812F4289F; - _mainchainProposalUtils = new MainchainBridgeAdminUtils(2021, _loadGovernorPKs(), IMainchainBridgeManager(_mainchainBridgeManager), governors[0]); - Proposal.ProposalDetail memory proposal = Proposal.ProposalDetail({ nonce: IMainchainBridgeManager(_mainchainBridgeManager).round(block.chainid) + 1, chainId: block.chainid, @@ -93,16 +91,90 @@ contract Migration__20240619_P3_UpgradeBridgeMainchain is Migration, Migration__ gasAmounts: gasAmounts }); + LegacyProposalDetail memory legacyProposal; + legacyProposal.nonce = proposal.nonce; + legacyProposal.chainId = proposal.chainId; + legacyProposal.expiryTimestamp = proposal.expiryTimestamp; + legacyProposal.targets = proposal.targets; + legacyProposal.values = proposal.values; + legacyProposal.calldatas = proposal.calldatas; + legacyProposal.gasAmounts = proposal.gasAmounts; + Ballot.VoteType[] memory supports_ = new Ballot.VoteType[](4); supports_[0] = Ballot.VoteType.For; supports_[1] = Ballot.VoteType.For; supports_[2] = Ballot.VoteType.For; supports_[3] = Ballot.VoteType.For; - Signature[] memory signatures = _mainchainProposalUtils.generateSignatures(proposal, _loadGovernorPKs()); + bytes32 proposalHash = hashLegacyProposal(legacyProposal); + Signature[] memory signatures = _generateSignaturesFor(getDomain(), proposalHash, _loadGovernors(), supports_[0]); vm.broadcast(governors[0]); // 2_000_000 to assure tx.gasleft is bigger than the gas of the proposal. IMainchainBridgeManager(_mainchainBridgeManager).relayProposal{ gas: 2_000_000 }(proposal, supports_, signatures); } + + function getDomain() public pure returns (bytes32) { + return keccak256( + abi.encode( + keccak256("EIP712Domain(string name,string version,bytes32 salt)"), + keccak256("BridgeAdmin"), // name hash + keccak256("2"), // version hash + keccak256(abi.encode("BRIDGE_ADMIN", 2021)) // salt + ) + ); + } + + function hashLegacyProposal(LegacyProposalDetail memory proposal) public pure returns (bytes32 digest_) { + bytes32 TYPE_HASH = 0xd051578048e6ff0bbc9fca3b65a42088dbde10f36ca841de566711087ad9b08a; + + uint256[] memory values = proposal.values; + address[] memory targets = proposal.targets; + bytes32[] memory calldataHashList = new bytes32[](proposal.calldatas.length); + uint256[] memory gasAmounts = proposal.gasAmounts; + + for (uint256 i; i < calldataHashList.length; ++i) { + calldataHashList[i] = keccak256(proposal.calldatas[i]); + } + + assembly { + let ptr := mload(0x40) + mstore(ptr, TYPE_HASH) + mstore(add(ptr, 0x20), mload(proposal)) // _proposal.nonce + mstore(add(ptr, 0x40), mload(add(proposal, 0x20))) // _proposal.chainId + mstore(add(ptr, 0x60), mload(add(proposal, 0x40))) // expiry timestamp + + let arrayHashed + arrayHashed := keccak256(add(targets, 32), mul(mload(targets), 32)) // targetsHash + mstore(add(ptr, 0x80), arrayHashed) + arrayHashed := keccak256(add(values, 32), mul(mload(values), 32)) // _valuesHash + mstore(add(ptr, 0xa0), arrayHashed) + arrayHashed := keccak256(add(calldataHashList, 32), mul(mload(calldataHashList), 32)) // _calldatasHash + mstore(add(ptr, 0xc0), arrayHashed) + arrayHashed := keccak256(add(gasAmounts, 32), mul(mload(gasAmounts), 32)) // _gasAmountsHash + mstore(add(ptr, 0xe0), arrayHashed) + digest_ := keccak256(ptr, 0x100) + } + } + + function _generateSignaturesFor( + bytes32 domain, + bytes32 proposalHash, + address[] memory signers, + Ballot.VoteType support + ) public pure returns (Signature[] memory sigs) { + sigs = new Signature[](signers.length); + + for (uint256 i; i < signers.length; i++) { + bytes32 digest = ECDSA.toTypedDataHash(domain, Ballot.hash(proposalHash, support)); + sigs[i] = _sign(signers[i], digest); + } + } + + function _sign(address signer, bytes32 digest) internal pure returns (Signature memory sig) { + (uint8 v, bytes32 r, bytes32 s) = vm.sign(signer, digest); + sig.v = v; + sig.r = r; + sig.s = s; + } } diff --git a/script/20240716-upgrade-v3.2.0-mainnet/20240716-operators-key-template.s.sol b/script/20240716-upgrade-v3.2.0-mainnet/20240716-operators-key-template.s.sol index fa6c4ab1..0036a60f 100644 --- a/script/20240716-upgrade-v3.2.0-mainnet/20240716-operators-key-template.s.sol +++ b/script/20240716-upgrade-v3.2.0-mainnet/20240716-operators-key-template.s.sol @@ -2,9 +2,9 @@ pragma solidity ^0.8.19; contract Migration__20240716_GovernorsKey { - function _loadGovernorPKs() internal pure returns (uint256[] memory res) { - res = new uint256[](1); + function _loadGovernors() internal pure returns (address[] memory res) { + res = new address[](1); - res[0] = 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef; + res[0] = address(0xdeadbeef); } } diff --git a/script/operations/PostCheckCI.s.sol b/script/operations/PostCheckCI.s.sol index 24a4da83..78e71cb0 100644 --- a/script/operations/PostCheckCI.s.sol +++ b/script/operations/PostCheckCI.s.sol @@ -28,6 +28,7 @@ contract PostCheckCI is Migration { (, uint256 prevForkId) = switchTo(companionNetwork); address payable ethBM = loadContract(Contract.MainchainBridgeManager.key()); address payable ethGW = loadContract(Contract.MainchainGatewayV3.key()); + _cheatChangePAIfNotSelf(ethBM); _cheatUnpauseIfPaused(ethGW); diff --git a/script/post-check/gateway/PostCheck_Gateway.s.sol b/script/post-check/gateway/PostCheck_Gateway.s.sol index 0abd1f0a..21829192 100644 --- a/script/post-check/gateway/PostCheck_Gateway.s.sol +++ b/script/post-check/gateway/PostCheck_Gateway.s.sol @@ -2,9 +2,11 @@ pragma solidity ^0.8.19; import { PostCheck_Gateway_DepositAndWithdraw } from "./deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol"; +import { PostCheck_Gateway_Quorum } from "./quorum/PostCheck_Gateway_Quorum.s.sol"; -abstract contract PostCheck_Gateway is PostCheck_Gateway_DepositAndWithdraw { +abstract contract PostCheck_Gateway is PostCheck_Gateway_DepositAndWithdraw, PostCheck_Gateway_Quorum { function _validate_Gateway() internal onPostCheck("_validate_Gateway") { + _validate_Gateway_Quorum(); _validate_Gateway_DepositAndWithdraw(); } } diff --git a/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol b/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol index 0ba9938b..c6920ea8 100644 --- a/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol +++ b/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol @@ -135,10 +135,13 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { function _validate_Gateway_DepositAndWithdraw() internal { _setUp(); - validate_Gateway_RevertIf_OperatorsRenounced_InsufficientThreshold_Withdraw_ERC20(); + validate_Gateway_Deposit_WETH(); + // validate_Gateway_RevertIf_OperatorsRenounced_InsufficientThreshold_Withdraw_ERC20(); + validate_Gateway_Withdraw_ETH(); validate_Gateway_WETHAddressUnchanged(); validate_Gateway_Deposit_ETH(); validate_Gateway_RevertIf_InsufficientSentValue_Deposit_ETH(); + validate_Gateway_RevertIf_DuplicatedSigs_Withdraw_ERC20(); validate_Gateway_RevertIf_UnsortedSigs_Withdraw_ERC20(); validate_HasBridgeManager(); @@ -149,6 +152,40 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { validate_Gateway_RevertIf_InsufficientThreshold_Withdraw_ERC20(); } + function validate_Gateway_Withdraw_ETH() private onPostCheck("validate_Gateway_Withdraw_ETH") onlyOnRoninNetworkOrLocal { + withdrawReq.recipientAddr = makeAddr("mainchain-recipient"); + withdrawReq.tokenAddr = address(ronWETH); + withdrawReq.info.erc = TokenStandard.ERC20; + withdrawReq.info.id = 0; + withdrawReq.info.quantity = 100 ether; + + deal(address(ronWETH), user, withdrawReq.info.quantity); + vm.prank(user); + ronWETH.approve(ronGW, withdrawReq.info.quantity); + vm.prank(user); + vm.recordLogs(); + IRoninGatewayV3(ronGW).requestWithdrawalFor(withdrawReq, ethChainId); + + (LibTransfer.Receipt memory receipt, bytes32 receiptHash) = _getReceiptHash(ronGW, IRoninGatewayV3.WithdrawalRequested.selector); + + (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + + bytes32 receiptDigest = LibTransfer.receiptDigest(gwDomainHash, receiptHash); + + overrideMockBOs(ethBM); + + uint256 minSigRequired = _calcMinSigOrVoteRequired(ethBM); + assertTrue(minSigRequired > 1, "Invalid test setup"); + + Signature[] memory sigs = _bulkSignReceipt(mockOps.slice(0, minSigRequired), receiptDigest); + + IMainchainGatewayV3(ethGW).submitWithdrawal(receipt, sigs); + + assertEq(withdrawReq.recipientAddr.balance, withdrawReq.info.quantity, "Withdraw should be processed"); + + switchBack(prevNetwork, prevForkId); + } + function validate_Gateway_RevertIf_OperatorsRenounced_InsufficientThreshold_Withdraw_ERC20() private onPostCheck("validate_Gateway_RevertIf_OperatorsRenounced_InsufficientThreshold_Withdraw_ERC20") @@ -175,20 +212,23 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { overrideMockBOs(ethBM); - uint256 minVW = IQuorum(ethGW).minimumVoteWeight(); - uint256 defaultVW = IBridgeManager(ethBM).getTotalWeight() / IBridgeManager(ethBM).totalBridgeOperator(); - uint256 minSigRequired = minVW / defaultVW; + uint256 minSigRequired = _calcMinSigOrVoteRequired(ethBM); uint256 unmetSigCount = minSigRequired - 1; assertTrue(unmetSigCount > 1, "Invalid test setup"); // Sign first to get renounced operator signatures Signature[] memory sigs = _bulkSignReceipt(mockOps, receiptDigest); + console.log("Sig count", sigs.length); + // Renounce operators vm.prank(address(ethBM)); ITransparentUpgradeableProxyV2(ethBM).functionDelegateCall( abi.encodeCall(IBridgeManager.removeBridgeOperators, (mockOps.slice(unmetSigCount, mockOps.length))) ); + console.log("Current operator count", IBridgeManager(ethBM).totalBridgeOperator()); + console.log("MinVW After", IQuorum(ethGW).minimumVoteWeight()); + vm.expectRevert(); IMainchainGatewayV3(ethGW).submitWithdrawal(receipt, sigs); @@ -212,6 +252,49 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { vm.prank(user); vm.expectRevert(); IMainchainGatewayV3(ethGW).requestDepositFor{ value: depositReq.info.quantity - 1 }(depositReq); + + switchBack(prevNetwork, prevForkId); + } + + function validate_Gateway_Deposit_WETH() private onPostCheck("validate_Gateway_Deposit_WETH") onlyOnRoninNetworkOrLocal { + depositReq.recipientAddr = makeAddr("ronin-recipient"); + depositReq.tokenAddr = address(ethWETH); + depositReq.info.erc = TokenStandard.ERC20; + depositReq.info.id = 0; + depositReq.info.quantity = 100 ether; + + (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + + deal(address(ethWETH), user, depositReq.info.quantity); + + vm.prank(user); + ethWETH.approve(ethGW, depositReq.info.quantity); + + uint256 balBefore = ethGW.balance; + + vm.prank(user); + vm.recordLogs(); + IMainchainGatewayV3(ethGW).requestDepositFor(depositReq); + + uint256 balAfter = ethGW.balance; + + assertEq(balAfter - balBefore, depositReq.info.quantity, "ETH should be deposited"); + + (LibTransfer.Receipt memory receipt,) = _getReceiptHash(ethGW, IMainchainGatewayV3.DepositRequested.selector); + + switchBack(prevNetwork, prevForkId); + + overrideMockBOs(ronBM); + + uint256 minVoteRequired = _calcMinSigOrVoteRequired(ronBM); + assertTrue(minVoteRequired > 1, "Invalid test setup"); + + for (uint256 i; i < minVoteRequired; ++i) { + vm.prank(mockOps[i]); + IRoninGatewayV3(ronGW).depositFor(receipt); + } + + assertEq(ronWETH.balanceOf(depositReq.recipientAddr), depositReq.info.quantity, "Deposit should be processed"); } function validate_Gateway_Deposit_ETH() private onPostCheck("validate_Gateway_Deposit_ETH") onlyOnRoninNetworkOrLocal { @@ -225,18 +308,22 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { vm.deal(user, depositReq.info.quantity); vm.prank(user); + + uint256 balBefore = address(ethGW).balance; + vm.recordLogs(); IMainchainGatewayV3(ethGW).requestDepositFor{ value: depositReq.info.quantity }(depositReq); + uint256 balAfter = address(ethGW).balance; + assertEq(balAfter - balBefore, depositReq.info.quantity, "ETH should be deposited"); + (LibTransfer.Receipt memory receipt,) = _getReceiptHash(ethGW, IMainchainGatewayV3.DepositRequested.selector); switchBack(prevNetwork, prevForkId); overrideMockBOs(ronBM); - uint256 minVW = IQuorum(ronGW).minimumVoteWeight(); - uint256 defaultVW = IBridgeManager(ronBM).getTotalWeight() / IBridgeManager(ronBM).totalBridgeOperator(); - uint256 minVoteRequired = minVW / defaultVW + 1; + uint256 minVoteRequired = _calcMinSigOrVoteRequired(ronBM); assertTrue(minVoteRequired > 1, "Invalid test setup"); for (uint256 i; i < minVoteRequired; ++i) { @@ -370,9 +457,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { overrideMockBOs(ronBM); - uint256 minVW = IQuorum(ronGW).minimumVoteWeight(); - uint256 defaultVW = IBridgeManager(ronBM).getTotalWeight() / IBridgeManager(ronBM).totalBridgeOperator(); - uint256 minVoteRequired = minVW / defaultVW + 1; + uint256 minVoteRequired = _calcMinSigOrVoteRequired(ronBM); assertTrue(minVoteRequired > 1, "Invalid test setup"); for (uint256 i; i < minVoteRequired; ++i) { @@ -447,8 +532,9 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { bytes32 receiptDigest = LibTransfer.receiptDigest(gwDomainHash, receiptHash); - (, uint256 invalidPK) = makeAddrAndKey(string.concat("invalid-signer-", vm.toString(vm.unixTime()))); - (uint8 v, bytes32 r, bytes32 s) = vm.sign(invalidPK, receiptDigest); + (address invalidSigner, uint256 invalidPK) = makeAddrAndKey(string.concat("invalid-signer-", vm.toString(vm.unixTime()))); + vm.rememberKey(invalidPK); + (uint8 v, bytes32 r, bytes32 s) = vm.sign(invalidSigner, receiptDigest); Signature[] memory sigs = new Signature[](1); sigs[0] = Signature(v, r, s); @@ -484,9 +570,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { overrideMockBOs(ethBM); - uint256 minVW = IQuorum(ethGW).minimumVoteWeight(); - uint256 defaultVW = IBridgeManager(ethBM).getTotalWeight() / IBridgeManager(ethBM).totalBridgeOperator(); - uint256 minSigRequired = minVW / defaultVW; + uint256 minSigRequired = _calcMinSigOrVoteRequired(ethBM); uint256 unmetSigCount = minSigRequired - 1; assertTrue(unmetSigCount > 1, "Invalid test setup"); @@ -532,6 +616,12 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { switchBack(prevNetwork, prevForkId); } + function _calcMinSigOrVoteRequired(address bm) private view returns (uint256 minVoteOrSig) { + uint256 minVW = IQuorum(bm).minimumVoteWeight(); + uint256 defaultVW = IBridgeManager(bm).getTotalWeight() / IBridgeManager(bm).totalBridgeOperator(); + minVoteOrSig = minVW / defaultVW + 1; + } + function _bulkSignReceipt(address[] memory signers, bytes32 receiptDigest) private pure returns (Signature[] memory sigs) { LibArray.inplaceAscSort(signers); diff --git a/script/post-check/gateway/quorum/PostCheck_Gateway_Quorum.s.sol b/script/post-check/gateway/quorum/PostCheck_Gateway_Quorum.s.sol new file mode 100644 index 00000000..add3ddfc --- /dev/null +++ b/script/post-check/gateway/quorum/PostCheck_Gateway_Quorum.s.sol @@ -0,0 +1,63 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.0; + +import { IBridgeManager } from "@ronin/contracts/interfaces/bridge/IBridgeManager.sol"; +import { IQuorum } from "@ronin/contracts/interfaces/IQuorum.sol"; +import { BasePostCheck } from "script/post-check/BasePostCheck.s.sol"; +import { LibArray } from "script/shared/libraries/LibArray.sol"; +import { Contract } from "script/utils/Contract.sol"; +import { TNetwork } from "@fdk/types/Types.sol"; +import { Network } from "script/utils/Network.sol"; +import { LibCompanionNetwork } from "script/shared/libraries/LibCompanionNetwork.sol"; + +abstract contract PostCheck_Gateway_Quorum is BasePostCheck { + using LibArray for *; + using LibCompanionNetwork for *; + + function _validate_Gateway_Quorum() internal { + // -------------- Gateway Quorum -------------- + validate_NonZero_MinimumVoteWeight_Gateway(); + validate_NonZero_TotalWeight_Gateway(); + validate_Valid_Threshold_Gateway(); + } + + function validate_Valid_Threshold_Gateway() private onlyOnRoninNetworkOrLocal onPostCheck("validate_Valid_Threshold_Gateway") { + (uint256 num, uint256 denom) = IQuorum(ronGW).getThreshold(); + assertTrue(num > 0 && denom > 0, "Ronin: Gateway's Threshold must be greater than 0"); + assertTrue(num <= denom, "Ronin: Gateway's Threshold numerator must be less than or equal to denominator"); + TNetwork currNetwork = network(); + + (, TNetwork companionNetwork) = currNetwork.companionNetworkData(); + (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + + (num, denom) = IQuorum(ethGW).getThreshold(); + assertTrue(num > 0 && denom > 0, "Mainchain: Gateway's Threshold must be greater than 0"); + assertTrue(num <= denom, "Mainchain: Gateway's Threshold numerator must be less than or equal to denominator"); + + switchBack(prevNetwork, prevForkId); + } + + function validate_NonZero_TotalWeight_Gateway() private onlyOnRoninNetworkOrLocal onPostCheck("validate_NonZero_TotalWeight_Gateway") { + assertTrue(IBridgeManager(ronGW).getTotalWeight() > 0, "Ronin: Gateway's Total weight must be greater than 0"); + TNetwork currNetwork = network(); + + (, TNetwork companionNetwork) = currNetwork.companionNetworkData(); + (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + + assertTrue(IBridgeManager(ethGW).getTotalWeight() > 0, "Mainchain: Gateway's Total weight must be greater than 0"); + + switchBack(prevNetwork, prevForkId); + } + + function validate_NonZero_MinimumVoteWeight_Gateway() private onlyOnRoninNetworkOrLocal onPostCheck("validate_NonZero_Threshold_Gateway") { + assertTrue(IQuorum(ronGW).minimumVoteWeight() > 0, "Ronin: Gateway's Minimum vote weight must be greater than 0"); + TNetwork currNetwork = network(); + + (, TNetwork companionNetwork) = currNetwork.companionNetworkData(); + (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + + assertTrue(IQuorum(ethGW).minimumVoteWeight() > 0, "Mainchain: Gateway's Minimum vote weight must be greater than 0"); + + switchBack(prevNetwork, prevForkId); + } +} diff --git a/script/post-check/manager/PostCheck_BridgeManager.s.sol b/script/post-check/manager/PostCheck_BridgeManager.s.sol index ba953ae9..5face6bf 100644 --- a/script/post-check/manager/PostCheck_BridgeManager.s.sol +++ b/script/post-check/manager/PostCheck_BridgeManager.s.sol @@ -16,6 +16,6 @@ abstract contract PostCheck_BridgeManager is _validate_BridgeManager_CRUD_addBridgeOperators(); _validate_BridgeManager_CRUD_removeBridgeOperators(); _validate_BridgeManager_Proposal(); - // _validate_BridgeManager_Quorum(); + _validate_BridgeManager_Quorum(); } } diff --git a/script/post-check/manager/quorum/PostCheck_BridgeManager_Quorum.s.sol b/script/post-check/manager/quorum/PostCheck_BridgeManager_Quorum.s.sol index f83b2b38..37f6d8b1 100644 --- a/script/post-check/manager/quorum/PostCheck_BridgeManager_Quorum.s.sol +++ b/script/post-check/manager/quorum/PostCheck_BridgeManager_Quorum.s.sol @@ -14,70 +14,52 @@ abstract contract PostCheck_BridgeManager_Quorum is BasePostCheck { using LibArray for *; using LibCompanionNetwork for *; + /// @dev Expected vote weight for BridgeManager's Operator + uint256 private constant expectedVW = 100; + /// @dev Expected minimum vote weight for BridgeManager + uint256 private constant expectedMinTotalWeight = 100 * 3; + function _validate_BridgeManager_Quorum() internal { // -------------- BridgeManager Quorum -------------- + validate_Equal_VoteWeight_Operator_BridgeManager(); validate_NonZero_MinimumVoteWeight_BridgeManager(); - validate_NonZero_TotalWeight_BridgeManager(); + validate_GreaterOrEqualMinExpected_TotalWeight_BridgeManager(); validate_Valid_Threshold_BridgeManager(); - - // -------------- Gateway Quorum -------------- - validate_NonZero_MinimumVoteWeight_Gateway(); - validate_NonZero_TotalWeight_Gateway(); - validate_Valid_Threshold_Gateway(); } - function validate_Valid_Threshold_BridgeManager() internal onlyOnRoninNetworkOrLocal onPostCheck("validate_valid_Threshold_BridgeManager") { - (uint256 num, uint256 denom) = IQuorum(ronBM).getThreshold(); - assertTrue(num > 0 && denom > 0, "Ronin: BridgeManager's Threshold must be greater than 0"); - assertTrue(num <= denom, "Ronin: BridgeManager's Threshold numerator must be less than or equal to denominator"); - TNetwork currNetwork = network(); - - (, TNetwork companionNetwork) = currNetwork.companionNetworkData(); - (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); - - (num, denom) = IQuorum(ethBM).getThreshold(); - assertTrue(num > 0 && denom > 0, "Mainchain: BridgeManager's Threshold must be greater than 0"); - assertTrue(num <= denom, "Mainchain: BridgeManager's Threshold numerator must be less than or equal to denominator"); - - switchBack(prevNetwork, prevForkId); - } + function validate_Equal_VoteWeight_Operator_BridgeManager() private onlyOnRoninNetworkOrLocal onPostCheck("validate_Equal_VoteWeight_Operator_BridgeManager") { + address[] memory operators = IBridgeManager(ronBM).getBridgeOperators(); + for (uint256 i = 0; i < operators.length; i++) { + uint256 voteWeight = IBridgeManager(ronBM).getBridgeOperatorWeight(operators[i]); + assertTrue(voteWeight == expectedVW, "Ronin: BridgeManager's Operator vote weight must be equal to 100"); + } - function validate_Valid_Threshold_Gateway() internal onlyOnRoninNetworkOrLocal onPostCheck("validate_Valid_Threshold_Gateway") { - (uint256 num, uint256 denom) = IQuorum(ronGW).getThreshold(); - assertTrue(num > 0 && denom > 0, "Ronin: Gateway's Threshold must be greater than 0"); - assertTrue(num <= denom, "Ronin: Gateway's Threshold numerator must be less than or equal to denominator"); TNetwork currNetwork = network(); (, TNetwork companionNetwork) = currNetwork.companionNetworkData(); (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); - (num, denom) = IQuorum(ethGW).getThreshold(); - assertTrue(num > 0 && denom > 0, "Mainchain: Gateway's Threshold must be greater than 0"); - assertTrue(num <= denom, "Mainchain: Gateway's Threshold numerator must be less than or equal to denominator"); + operators = IBridgeManager(ethBM).getBridgeOperators(); + for (uint256 i = 0; i < operators.length; i++) { + uint256 voteWeight = IBridgeManager(ethBM).getBridgeOperatorWeight(operators[i]); + assertTrue(voteWeight == expectedVW, "Mainchain: BridgeManager's Operator vote weight must be equal to 100"); + } switchBack(prevNetwork, prevForkId); } - function validate_NonZero_TotalWeight_Gateway() internal onlyOnRoninNetworkOrLocal onPostCheck("validate_NonZero_TotalWeight_Gateway") { - assertTrue(IBridgeManager(ronGW).getTotalWeight() > 0, "Ronin: Gateway's Total weight must be greater than 0"); - TNetwork currNetwork = network(); - - (, TNetwork companionNetwork) = currNetwork.companionNetworkData(); - (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); - - assertTrue(IBridgeManager(ethGW).getTotalWeight() > 0, "Mainchain: Gateway's Total weight must be greater than 0"); - - switchBack(prevNetwork, prevForkId); - } - - function validate_NonZero_MinimumVoteWeight_Gateway() internal onlyOnRoninNetworkOrLocal onPostCheck("validate_NonZero_Threshold_Gateway") { - assertTrue(IQuorum(ronGW).minimumVoteWeight() > 0, "Ronin: Gateway's Minimum vote weight must be greater than 0"); + function validate_Valid_Threshold_BridgeManager() private onlyOnRoninNetworkOrLocal onPostCheck("validate_valid_Threshold_BridgeManager") { + (uint256 num, uint256 denom) = IQuorum(ronBM).getThreshold(); + assertTrue(num > 0 && denom > 0, "Ronin: BridgeManager's Threshold must be greater than 0"); + assertTrue(num <= denom, "Ronin: BridgeManager's Threshold numerator must be less than or equal to denominator"); TNetwork currNetwork = network(); (, TNetwork companionNetwork) = currNetwork.companionNetworkData(); (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); - assertTrue(IQuorum(ethGW).minimumVoteWeight() > 0, "Mainchain: Gateway's Minimum vote weight must be greater than 0"); + (num, denom) = IQuorum(ethBM).getThreshold(); + assertTrue(num > 0 && denom > 0, "Mainchain: BridgeManager's Threshold must be greater than 0"); + assertTrue(num <= denom, "Mainchain: BridgeManager's Threshold numerator must be less than or equal to denominator"); switchBack(prevNetwork, prevForkId); } @@ -94,14 +76,20 @@ abstract contract PostCheck_BridgeManager_Quorum is BasePostCheck { switchBack(prevNetwork, prevForkId); } - function validate_NonZero_TotalWeight_BridgeManager() private onlyOnRoninNetworkOrLocal onPostCheck("validate_NonZero_TotalWeight_BridgeManager") { + function validate_GreaterOrEqualMinExpected_TotalWeight_BridgeManager() + private + onlyOnRoninNetworkOrLocal + onPostCheck("validate_GreaterOrEqualMinExpected_TotalWeight_BridgeManager") + { assertTrue(IBridgeManager(ronBM).getTotalWeight() > 0, "Ronin: BridgeManager's Total weight must be greater than 0"); TNetwork currNetwork = network(); (, TNetwork companionNetwork) = currNetwork.companionNetworkData(); (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); - assertTrue(IBridgeManager(ethBM).getTotalWeight() > 0, "Mainchain: BridgeManager's Total weight must be greater than 0"); + assertTrue( + IBridgeManager(ethBM).getTotalWeight() > expectedMinTotalWeight, "Mainchain: BridgeManager's Total weight must be greater than `expectedMinTotalWeight`" + ); switchBack(prevNetwork, prevForkId); } From 67cf7cfa9fc022ff65b894df26d56c3cde0fc914 Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Fri, 23 Aug 2024 15:42:37 +0700 Subject: [PATCH 45/74] script: update post check --- logs/contract-code-sizes.log | 141 ++++++++++++++++++ script/PostChecker.sol | 2 +- script/post-check/BasePostCheck.s.sol | 12 +- ...PostCheck_Gateway_DepositAndWithdraw.s.sol | 27 +++- 4 files changed, 169 insertions(+), 13 deletions(-) diff --git a/logs/contract-code-sizes.log b/logs/contract-code-sizes.log index 5886b9bb..f96be1e5 100644 --- a/logs/contract-code-sizes.log +++ b/logs/contract-code-sizes.log @@ -1,3 +1,144 @@ +13 | address bridgeRewardLogic = _deployLogic(Contract.BridgeReward.key()); + | ^^^^^^^^^^^^^^^^^^^^^^^^^ + +Warning (2072): Unused local variable. + --> script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-3-deploy-all-contract-roninchain.sol:14:5: + | +14 | address bridgeSlashLogic = _deployLogic(Contract.BridgeSlash.key()); + | ^^^^^^^^^^^^^^^^^^^^^^^^ + +Warning (2072): Unused local variable. + --> script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-3-deploy-all-contract-roninchain.sol:15:5: + | +15 | address bridgeTrackingLogic = _deployLogic(Contract.BridgeTracking.key()); + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Warning (2072): Unused local variable. + --> script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-3-deploy-all-contract-roninchain.sol:16:5: + | +16 | address pauseEnforcerLogic = _deployLogic(Contract.RoninPauseEnforcer.key()); + | ^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Warning (2072): Unused local variable. + --> script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-3-deploy-all-contract-roninchain.sol:17:5: + | +17 | address roninGatewayV3Logic = _deployLogic(Contract.RoninGatewayV3.key()); + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Warning (5667): Unused function parameter. Remove or comment out the variable name to silence this warning. + --> script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-4-deploy-all-contract-roninchain.sol:20:34: + | +20 | function run() public returns (WBTC instance) { + | ^^^^^^^^^^^^^ + +Warning (2072): Unused local variable. + --> script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-4-deploy-all-contract-roninchain.sol:82:5: + | +82 | address wethUnwrapper = new MainchainWethUnwrapperDeploy().overrideArgs(abi.encode(weth)).run(); + | ^^^^^^^^^^^^^^^^^^^^^ + +Warning (2072): Unused local variable. + --> script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-4-deploy-all-contract-roninchain.sol:86:5: + | +86 | address mainchainGatewayV3Logic = _deployLogic(Contract.MainchainGatewayV3.key()); + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Warning (2018): Function state mutability can be restricted to pure + --> lib/prb-math/test/utils/Utils.sol:17:5: + | +17 | function bound(SD1x18 x, SD1x18 min, SD1x18 max) internal view returns (SD1x18 result) { + | ^ (Relevant source part starts here and spans across multiple lines). + +Warning (2018): Function state mutability can be restricted to pure + --> lib/prb-math/test/utils/Utils.sol:27:5: + | +27 | function bound(SD1x18 x, int64 min, SD1x18 max) internal view returns (SD1x18 result) { + | ^ (Relevant source part starts here and spans across multiple lines). + +Warning (2018): Function state mutability can be restricted to pure + --> lib/prb-math/test/utils/Utils.sol:37:5: + | +37 | function bound(SD1x18 x, SD1x18 min, int64 max) internal view returns (SD1x18 result) { + | ^ (Relevant source part starts here and spans across multiple lines). + +Warning (2018): Function state mutability can be restricted to pure + --> lib/prb-math/test/utils/Utils.sol:47:5: + | +47 | function bound(SD1x18 x, int64 min, int64 max) internal view returns (SD1x18 result) { + | ^ (Relevant source part starts here and spans across multiple lines). + +Warning (2018): Function state mutability can be restricted to pure + --> lib/prb-math/test/utils/Utils.sol:61:5: + | +61 | function bound(SD59x18 x, SD59x18 min, SD59x18 max) internal view returns (SD59x18 result) { + | ^ (Relevant source part starts here and spans across multiple lines). + +Warning (2018): Function state mutability can be restricted to pure + --> lib/prb-math/test/utils/Utils.sol:71:5: + | +71 | function bound(SD59x18 x, int256 min, SD59x18 max) internal view returns (SD59x18 result) { + | ^ (Relevant source part starts here and spans across multiple lines). + +Warning (2018): Function state mutability can be restricted to pure + --> lib/prb-math/test/utils/Utils.sol:81:5: + | +81 | function bound(SD59x18 x, SD59x18 min, int256 max) internal view returns (SD59x18 result) { + | ^ (Relevant source part starts here and spans across multiple lines). + +Warning (2018): Function state mutability can be restricted to pure + --> lib/prb-math/test/utils/Utils.sol:91:5: + | +91 | function bound(SD59x18 x, int256 min, int256 max) internal view returns (SD59x18 result) { + | ^ (Relevant source part starts here and spans across multiple lines). + +Warning (2018): Function state mutability can be restricted to pure + --> lib/prb-math/test/utils/Utils.sol:105:5: + | +105 | function bound(UD2x18 x, UD2x18 min, UD2x18 max) internal view returns (UD2x18 result) { + | ^ (Relevant source part starts here and spans across multiple lines). + +Warning (2018): Function state mutability can be restricted to pure + --> lib/prb-math/test/utils/Utils.sol:115:5: + | +115 | function bound(UD2x18 x, uint64 min, UD2x18 max) internal view returns (UD2x18 result) { + | ^ (Relevant source part starts here and spans across multiple lines). + +Warning (2018): Function state mutability can be restricted to pure + --> lib/prb-math/test/utils/Utils.sol:125:5: + | +125 | function bound(UD2x18 x, UD2x18 min, uint64 max) internal view returns (UD2x18 result) { + | ^ (Relevant source part starts here and spans across multiple lines). + +Warning (2018): Function state mutability can be restricted to pure + --> lib/prb-math/test/utils/Utils.sol:135:5: + | +135 | function bound(UD2x18 x, uint64 min, uint64 max) internal view returns (UD2x18 result) { + | ^ (Relevant source part starts here and spans across multiple lines). + +Warning (2018): Function state mutability can be restricted to pure + --> lib/prb-math/test/utils/Utils.sol:149:5: + | +149 | function bound(UD60x18 x, UD60x18 min, UD60x18 max) internal view returns (UD60x18 result) { + | ^ (Relevant source part starts here and spans across multiple lines). + +Warning (2018): Function state mutability can be restricted to pure + --> lib/prb-math/test/utils/Utils.sol:159:5: + | +159 | function bound(UD60x18 x, uint256 min, UD60x18 max) internal view returns (UD60x18 result) { + | ^ (Relevant source part starts here and spans across multiple lines). + +Warning (2018): Function state mutability can be restricted to pure + --> lib/prb-math/test/utils/Utils.sol:169:5: + | +169 | function bound(UD60x18 x, UD60x18 min, uint256 max) internal view returns (UD60x18 result) { + | ^ (Relevant source part starts here and spans across multiple lines). + +Warning (2018): Function state mutability can be restricted to pure + --> lib/prb-math/test/utils/Utils.sol:179:5: + | +179 | function bound(UD60x18 x, uint256 min, uint256 max) internal view returns (UD60x18 result) { + | ^ (Relevant source part starts here and spans across multiple lines). + | Contract | Size (B) | Margin (B) | |-------------------------------------------------|----------|------------| | Address | 86 | 24,490 | diff --git a/script/PostChecker.sol b/script/PostChecker.sol index 71c9d3e8..3231bd2b 100644 --- a/script/PostChecker.sol +++ b/script/PostChecker.sol @@ -24,8 +24,8 @@ contract PostChecker is Migration, PostCheck_BridgeManager, PostCheck_Gateway { _originForkBlockNumber = opt.forkBlockNumber; _loadSysContract(); - _validate_BridgeManager(); _validate_Gateway(); + _validate_BridgeManager(); } function _deployLogic(TContract contractType) internal virtual override(BaseMigration, Migration) returns (address payable logic) { diff --git a/script/post-check/BasePostCheck.s.sol b/script/post-check/BasePostCheck.s.sol index 658cba74..03e9ce52 100644 --- a/script/post-check/BasePostCheck.s.sol +++ b/script/post-check/BasePostCheck.s.sol @@ -32,13 +32,9 @@ abstract contract BasePostCheck is BaseMigration, SignatureConsumer { address internal cheatGv; address internal cheatOp; - uint256 internal cheatGvPK; - uint256 internal cheatOpPK; address[] internal mockGvs; address[] internal mockOps; - uint256[] internal mockGvPKs; - uint256[] internal mockOpPKs; bytes32 internal gwDomainHash; @@ -65,7 +61,11 @@ abstract contract BasePostCheck is BaseMigration, SignatureConsumer { (, bytes memory res) = bm.staticcall(abi.encodeWithSignature("getTotalWeights()")); totalWeight = abi.decode(res, (uint256)); } + uint256 cheatVW = totalWeight * 100; + uint256 cheatOpPK; + uint256 cheatGvPK; + (cheatOp, cheatOpPK) = makeAddrAndKey(string.concat("cheat-op-", vm.toString(seed))); (cheatGv, cheatGvPK) = makeAddrAndKey(string.concat("cheat-gv-", vm.toString(seed))); @@ -95,8 +95,6 @@ abstract contract BasePostCheck is BaseMigration, SignatureConsumer { delete mockGvs; delete mockOps; - delete mockGvPKs; - delete mockOpPKs; for (uint256 i; i < boCount; ++i) { vws[i] = IBridgeManager(bm).getBridgeOperatorWeight(bos[i]); @@ -110,8 +108,6 @@ abstract contract BasePostCheck is BaseMigration, SignatureConsumer { mockGvs.push(gv); mockOps.push(op); - mockGvPKs.push(gvPK); - mockOpPKs.push(opPK); } address pa = bm.getProxyAdmin(); diff --git a/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol b/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol index c6920ea8..94112f74 100644 --- a/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol +++ b/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol @@ -136,7 +136,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { _setUp(); validate_Gateway_Deposit_WETH(); - // validate_Gateway_RevertIf_OperatorsRenounced_InsufficientThreshold_Withdraw_ERC20(); + validate_Gateway_RevertIf_OperatorsRenounced_InsufficientThreshold_Withdraw_ERC20(); validate_Gateway_Withdraw_ETH(); validate_Gateway_WETHAddressUnchanged(); validate_Gateway_Deposit_ETH(); @@ -218,16 +218,35 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { // Sign first to get renounced operator signatures Signature[] memory sigs = _bulkSignReceipt(mockOps, receiptDigest); - console.log("Sig count", sigs.length); // Renounce operators vm.prank(address(ethBM)); ITransparentUpgradeableProxyV2(ethBM).functionDelegateCall( abi.encodeCall(IBridgeManager.removeBridgeOperators, (mockOps.slice(unmetSigCount, mockOps.length))) ); + mockOps = mockOps.slice(0, unmetSigCount); + mockGvs = mockGvs.slice(0, unmetSigCount); - console.log("Current operator count", IBridgeManager(ethBM).totalBridgeOperator()); - console.log("MinVW After", IQuorum(ethGW).minimumVoteWeight()); + uint256 reAddOpCount = mockOps.length - unmetSigCount; + address[] memory newOps = new address[](reAddOpCount); + address[] memory newGvs = new address[](reAddOpCount); + uint96[] memory newVWs = new uint96[](reAddOpCount); + + for (uint256 i; i < reAddOpCount; ++i) { + uint256 opPK; + uint256 gvPK; + + (newOps[i], opPK) = makeAddrAndKey(string.concat("new-op", vm.toString(i))); + (newGvs[i], gvPK) = makeAddrAndKey(string.concat("new-gv", vm.toString(i))); + newVWs[i] = 100; + + vm.rememberKey(opPK); + vm.rememberKey(gvPK); + } + + // Re-add new operators + vm.prank(address(ethBM)); + ITransparentUpgradeableProxyV2(ethBM).functionDelegateCall(abi.encodeCall(IBridgeManager.addBridgeOperators, (newVWs, newGvs, newOps))); vm.expectRevert(); IMainchainGatewayV3(ethGW).submitWithdrawal(receipt, sigs); From 1e08afc9b61f95559cac8fa34ee27f0f32c1248f Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Fri, 23 Aug 2024 15:44:59 +0700 Subject: [PATCH 46/74] chore: storage layout --- logs/contract-code-sizes.log | 141 ------------------- logs/storage/PostChecker.sol:PostChecker.log | 64 ++++----- 2 files changed, 30 insertions(+), 175 deletions(-) diff --git a/logs/contract-code-sizes.log b/logs/contract-code-sizes.log index f96be1e5..5886b9bb 100644 --- a/logs/contract-code-sizes.log +++ b/logs/contract-code-sizes.log @@ -1,144 +1,3 @@ -13 | address bridgeRewardLogic = _deployLogic(Contract.BridgeReward.key()); - | ^^^^^^^^^^^^^^^^^^^^^^^^^ - -Warning (2072): Unused local variable. - --> script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-3-deploy-all-contract-roninchain.sol:14:5: - | -14 | address bridgeSlashLogic = _deployLogic(Contract.BridgeSlash.key()); - | ^^^^^^^^^^^^^^^^^^^^^^^^ - -Warning (2072): Unused local variable. - --> script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-3-deploy-all-contract-roninchain.sol:15:5: - | -15 | address bridgeTrackingLogic = _deployLogic(Contract.BridgeTracking.key()); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -Warning (2072): Unused local variable. - --> script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-3-deploy-all-contract-roninchain.sol:16:5: - | -16 | address pauseEnforcerLogic = _deployLogic(Contract.RoninPauseEnforcer.key()); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ - -Warning (2072): Unused local variable. - --> script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-3-deploy-all-contract-roninchain.sol:17:5: - | -17 | address roninGatewayV3Logic = _deployLogic(Contract.RoninGatewayV3.key()); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -Warning (5667): Unused function parameter. Remove or comment out the variable name to silence this warning. - --> script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-4-deploy-all-contract-roninchain.sol:20:34: - | -20 | function run() public returns (WBTC instance) { - | ^^^^^^^^^^^^^ - -Warning (2072): Unused local variable. - --> script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-4-deploy-all-contract-roninchain.sol:82:5: - | -82 | address wethUnwrapper = new MainchainWethUnwrapperDeploy().overrideArgs(abi.encode(weth)).run(); - | ^^^^^^^^^^^^^^^^^^^^^ - -Warning (2072): Unused local variable. - --> script/20240716-upgrade-v3.2.0-mainnet/20240716-p1-4-deploy-all-contract-roninchain.sol:86:5: - | -86 | address mainchainGatewayV3Logic = _deployLogic(Contract.MainchainGatewayV3.key()); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -Warning (2018): Function state mutability can be restricted to pure - --> lib/prb-math/test/utils/Utils.sol:17:5: - | -17 | function bound(SD1x18 x, SD1x18 min, SD1x18 max) internal view returns (SD1x18 result) { - | ^ (Relevant source part starts here and spans across multiple lines). - -Warning (2018): Function state mutability can be restricted to pure - --> lib/prb-math/test/utils/Utils.sol:27:5: - | -27 | function bound(SD1x18 x, int64 min, SD1x18 max) internal view returns (SD1x18 result) { - | ^ (Relevant source part starts here and spans across multiple lines). - -Warning (2018): Function state mutability can be restricted to pure - --> lib/prb-math/test/utils/Utils.sol:37:5: - | -37 | function bound(SD1x18 x, SD1x18 min, int64 max) internal view returns (SD1x18 result) { - | ^ (Relevant source part starts here and spans across multiple lines). - -Warning (2018): Function state mutability can be restricted to pure - --> lib/prb-math/test/utils/Utils.sol:47:5: - | -47 | function bound(SD1x18 x, int64 min, int64 max) internal view returns (SD1x18 result) { - | ^ (Relevant source part starts here and spans across multiple lines). - -Warning (2018): Function state mutability can be restricted to pure - --> lib/prb-math/test/utils/Utils.sol:61:5: - | -61 | function bound(SD59x18 x, SD59x18 min, SD59x18 max) internal view returns (SD59x18 result) { - | ^ (Relevant source part starts here and spans across multiple lines). - -Warning (2018): Function state mutability can be restricted to pure - --> lib/prb-math/test/utils/Utils.sol:71:5: - | -71 | function bound(SD59x18 x, int256 min, SD59x18 max) internal view returns (SD59x18 result) { - | ^ (Relevant source part starts here and spans across multiple lines). - -Warning (2018): Function state mutability can be restricted to pure - --> lib/prb-math/test/utils/Utils.sol:81:5: - | -81 | function bound(SD59x18 x, SD59x18 min, int256 max) internal view returns (SD59x18 result) { - | ^ (Relevant source part starts here and spans across multiple lines). - -Warning (2018): Function state mutability can be restricted to pure - --> lib/prb-math/test/utils/Utils.sol:91:5: - | -91 | function bound(SD59x18 x, int256 min, int256 max) internal view returns (SD59x18 result) { - | ^ (Relevant source part starts here and spans across multiple lines). - -Warning (2018): Function state mutability can be restricted to pure - --> lib/prb-math/test/utils/Utils.sol:105:5: - | -105 | function bound(UD2x18 x, UD2x18 min, UD2x18 max) internal view returns (UD2x18 result) { - | ^ (Relevant source part starts here and spans across multiple lines). - -Warning (2018): Function state mutability can be restricted to pure - --> lib/prb-math/test/utils/Utils.sol:115:5: - | -115 | function bound(UD2x18 x, uint64 min, UD2x18 max) internal view returns (UD2x18 result) { - | ^ (Relevant source part starts here and spans across multiple lines). - -Warning (2018): Function state mutability can be restricted to pure - --> lib/prb-math/test/utils/Utils.sol:125:5: - | -125 | function bound(UD2x18 x, UD2x18 min, uint64 max) internal view returns (UD2x18 result) { - | ^ (Relevant source part starts here and spans across multiple lines). - -Warning (2018): Function state mutability can be restricted to pure - --> lib/prb-math/test/utils/Utils.sol:135:5: - | -135 | function bound(UD2x18 x, uint64 min, uint64 max) internal view returns (UD2x18 result) { - | ^ (Relevant source part starts here and spans across multiple lines). - -Warning (2018): Function state mutability can be restricted to pure - --> lib/prb-math/test/utils/Utils.sol:149:5: - | -149 | function bound(UD60x18 x, UD60x18 min, UD60x18 max) internal view returns (UD60x18 result) { - | ^ (Relevant source part starts here and spans across multiple lines). - -Warning (2018): Function state mutability can be restricted to pure - --> lib/prb-math/test/utils/Utils.sol:159:5: - | -159 | function bound(UD60x18 x, uint256 min, UD60x18 max) internal view returns (UD60x18 result) { - | ^ (Relevant source part starts here and spans across multiple lines). - -Warning (2018): Function state mutability can be restricted to pure - --> lib/prb-math/test/utils/Utils.sol:169:5: - | -169 | function bound(UD60x18 x, UD60x18 min, uint256 max) internal view returns (UD60x18 result) { - | ^ (Relevant source part starts here and spans across multiple lines). - -Warning (2018): Function state mutability can be restricted to pure - --> lib/prb-math/test/utils/Utils.sol:179:5: - | -179 | function bound(UD60x18 x, uint256 min, uint256 max) internal view returns (UD60x18 result) { - | ^ (Relevant source part starts here and spans across multiple lines). - | Contract | Size (B) | Margin (B) | |-------------------------------------------------|----------|------------| | Address | 86 | 24,490 | diff --git a/logs/storage/PostChecker.sol:PostChecker.log b/logs/storage/PostChecker.sol:PostChecker.log index dd6da191..6f1242a9 100644 --- a/logs/storage/PostChecker.sol:PostChecker.log +++ b/logs/storage/PostChecker.sol:PostChecker.log @@ -20,38 +20,34 @@ script/PostChecker.sol:PostChecker:ethGW (storage_slot: 22) (offset: 0) (type: a script/PostChecker.sol:PostChecker:ethBM (storage_slot: 23) (offset: 0) (type: address payable) (numberOfBytes: 20) script/PostChecker.sol:PostChecker:cheatGv (storage_slot: 24) (offset: 0) (type: address) (numberOfBytes: 20) script/PostChecker.sol:PostChecker:cheatOp (storage_slot: 25) (offset: 0) (type: address) (numberOfBytes: 20) -script/PostChecker.sol:PostChecker:cheatGvPK (storage_slot: 26) (offset: 0) (type: uint256) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:cheatOpPK (storage_slot: 27) (offset: 0) (type: uint256) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:mockGvs (storage_slot: 28) (offset: 0) (type: address[]) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:mockOps (storage_slot: 29) (offset: 0) (type: address[]) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:mockGvPKs (storage_slot: 30) (offset: 0) (type: uint256[]) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:mockOpPKs (storage_slot: 31) (offset: 0) (type: uint256[]) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:gwDomainHash (storage_slot: 32) (offset: 0) (type: bytes32) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:proposalDuration (storage_slot: 33) (offset: 0) (type: uint256) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:vws (storage_slot: 34) (offset: 0) (type: uint96[]) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:gvs (storage_slot: 35) (offset: 0) (type: address[]) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:ops (storage_slot: 36) (offset: 0) (type: address[]) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:vw (storage_slot: 37) (offset: 0) (type: uint256) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:mockGvs (storage_slot: 26) (offset: 0) (type: address[]) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:mockOps (storage_slot: 27) (offset: 0) (type: address[]) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:gwDomainHash (storage_slot: 28) (offset: 0) (type: bytes32) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:proposalDuration (storage_slot: 29) (offset: 0) (type: uint256) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:vws (storage_slot: 30) (offset: 0) (type: uint96[]) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:gvs (storage_slot: 31) (offset: 0) (type: address[]) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:ops (storage_slot: 32) (offset: 0) (type: address[]) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:vw (storage_slot: 33) (offset: 0) (type: uint256) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:seedStr (storage_slot: 34) (offset: 0) (type: string) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:any (storage_slot: 35) (offset: 0) (type: address) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:op (storage_slot: 36) (offset: 0) (type: address) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:gv (storage_slot: 37) (offset: 0) (type: address) (numberOfBytes: 20) script/PostChecker.sol:PostChecker:seedStr (storage_slot: 38) (offset: 0) (type: string) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:any (storage_slot: 39) (offset: 0) (type: address) (numberOfBytes: 20) -script/PostChecker.sol:PostChecker:op (storage_slot: 40) (offset: 0) (type: address) (numberOfBytes: 20) -script/PostChecker.sol:PostChecker:gv (storage_slot: 41) (offset: 0) (type: address) (numberOfBytes: 20) -script/PostChecker.sol:PostChecker:seedStr (storage_slot: 42) (offset: 0) (type: string) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:op2Remove (storage_slot: 43) (offset: 0) (type: address) (numberOfBytes: 20) -script/PostChecker.sol:PostChecker:vw2Remove (storage_slot: 44) (offset: 0) (type: uint256) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:any (storage_slot: 45) (offset: 0) (type: address) (numberOfBytes: 20) -script/PostChecker.sol:PostChecker:user (storage_slot: 46) (offset: 0) (type: address) (numberOfBytes: 20) -script/PostChecker.sol:PostChecker:quantity (storage_slot: 47) (offset: 0) (type: uint256) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:depositReq (storage_slot: 48) (offset: 0) (type: struct Transfer.Request) (numberOfBytes: 160) -script/PostChecker.sol:PostChecker:withdrawReq (storage_slot: 53) (offset: 0) (type: struct Transfer.Request) (numberOfBytes: 160) -script/PostChecker.sol:PostChecker:ronERC20 (storage_slot: 58) (offset: 0) (type: contract MockERC20) (numberOfBytes: 20) -script/PostChecker.sol:PostChecker:ethERC20 (storage_slot: 59) (offset: 0) (type: contract MockERC20) (numberOfBytes: 20) -script/PostChecker.sol:PostChecker:ronTokens (storage_slot: 60) (offset: 0) (type: address[]) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:ethTokens (storage_slot: 61) (offset: 0) (type: address[]) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:standards (storage_slot: 62) (offset: 0) (type: enum TokenStandard[]) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:ronChainId (storage_slot: 63) (offset: 0) (type: uint256) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:ethChainId (storage_slot: 64) (offset: 0) (type: uint256) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:ethWETH (storage_slot: 65) (offset: 0) (type: contract IWETH) (numberOfBytes: 20) -script/PostChecker.sol:PostChecker:ronWETH (storage_slot: 66) (offset: 0) (type: contract MockERC20) (numberOfBytes: 20) -script/PostChecker.sol:PostChecker:currNetwork (storage_slot: 67) (offset: 0) (type: TNetwork) (numberOfBytes: 32) -script/PostChecker.sol:PostChecker:companionNetwork (storage_slot: 68) (offset: 0) (type: TNetwork) (numberOfBytes: 32) \ No newline at end of file +script/PostChecker.sol:PostChecker:op2Remove (storage_slot: 39) (offset: 0) (type: address) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:vw2Remove (storage_slot: 40) (offset: 0) (type: uint256) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:any (storage_slot: 41) (offset: 0) (type: address) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:user (storage_slot: 42) (offset: 0) (type: address) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:quantity (storage_slot: 43) (offset: 0) (type: uint256) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:depositReq (storage_slot: 44) (offset: 0) (type: struct Transfer.Request) (numberOfBytes: 160) +script/PostChecker.sol:PostChecker:withdrawReq (storage_slot: 49) (offset: 0) (type: struct Transfer.Request) (numberOfBytes: 160) +script/PostChecker.sol:PostChecker:ronERC20 (storage_slot: 54) (offset: 0) (type: contract MockERC20) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:ethERC20 (storage_slot: 55) (offset: 0) (type: contract MockERC20) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:ronTokens (storage_slot: 56) (offset: 0) (type: address[]) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:ethTokens (storage_slot: 57) (offset: 0) (type: address[]) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:standards (storage_slot: 58) (offset: 0) (type: enum TokenStandard[]) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:ronChainId (storage_slot: 59) (offset: 0) (type: uint256) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:ethChainId (storage_slot: 60) (offset: 0) (type: uint256) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:ethWETH (storage_slot: 61) (offset: 0) (type: contract IWETH) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:ronWETH (storage_slot: 62) (offset: 0) (type: contract MockERC20) (numberOfBytes: 20) +script/PostChecker.sol:PostChecker:currNetwork (storage_slot: 63) (offset: 0) (type: TNetwork) (numberOfBytes: 32) +script/PostChecker.sol:PostChecker:companionNetwork (storage_slot: 64) (offset: 0) (type: TNetwork) (numberOfBytes: 32) \ No newline at end of file From 912c77db82b54f3031a8437e6dc4509650573132 Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Fri, 23 Aug 2024 15:59:14 +0700 Subject: [PATCH 47/74] ci: split workflow --- .../{post_check.yml => post-check.yml} | 0 .github/workflows/slither-analyze.yml | 69 +++++++++++++++++++ 2 files changed, 69 insertions(+) rename .github/workflows/{post_check.yml => post-check.yml} (100%) create mode 100644 .github/workflows/slither-analyze.yml diff --git a/.github/workflows/post_check.yml b/.github/workflows/post-check.yml similarity index 100% rename from .github/workflows/post_check.yml rename to .github/workflows/post-check.yml diff --git a/.github/workflows/slither-analyze.yml b/.github/workflows/slither-analyze.yml new file mode 100644 index 00000000..c8297430 --- /dev/null +++ b/.github/workflows/slither-analyze.yml @@ -0,0 +1,69 @@ +name: Test & Analyze + +on: + push: + branches: + - mainnet + - testnet + - "feature/*" + - "features/*" + - "feat/*" + - "feats/*" + pull_request: + branches: + - mainnet + - testnet + - "feature/*" + - "features/*" + - "feat/*" + - "feats/*" + - "release/*" + +env: + FOUNDRY_PROFILE: ci + +jobs: + check: + strategy: + fail-fast: true + + name: Foundry project + runs-on: ubuntu-latest + + env: + ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }} + INFURA_API_KEY: ${{ secrets.INFURA_API_KEY }} + + steps: + - uses: actions/checkout@v3 + with: + submodules: recursive + + - name: Install Foundry + uses: foundry-rs/foundry-toolchain@v1 + + - name: Update package with soldeer + run: forge soldeer update + + - name: Recursively update dependencies + run: | + chmod +x ./update-deps.sh + ./update-deps.sh + id: update-deps + + - name: Run Forge build + run: | + forge --version + forge build + id: build + + - name: Install Slither for security analysis + run: | + sudo apt-get update + sudo apt-get install -y python3-pip + python3 -m pip install slither-analyzer + + - name: Run Slither analysis + run: | + slither . --exclude-low --exclude-medium --exclude-informational --exclude-dependencies --filter-paths "dependencies/|mocks/" --exclude-optimization + id: slither From cca4318bb38b11b84caada4b91c0d0562f9ff915 Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Fri, 23 Aug 2024 16:01:35 +0700 Subject: [PATCH 48/74] ci: revert on failure --- .github/workflows/post-check.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/post-check.yml b/.github/workflows/post-check.yml index d06d3b9b..35a9ba75 100644 --- a/.github/workflows/post-check.yml +++ b/.github/workflows/post-check.yml @@ -1,4 +1,4 @@ -name: PostCheck +name: PostCheck on: push: @@ -58,6 +58,10 @@ jobs: id: build - name: Run PostCheck CI - run: ./run.sh PostCheckCI -f ronin-mainnet -vvvv + run: | + ./run.sh PostCheckCI -f ronin-mainnet -vvvv + if [ $? -ne 0 ]; then + echo "Script failed. Reverting changes..." + exit 1 + fi id: postcheck - From 82c0f3bc32b9fd67e325c03e165ddbb70bf42241 Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Fri, 23 Aug 2024 16:04:04 +0700 Subject: [PATCH 49/74] script: update post checl --- ...PostCheck_Gateway_DepositAndWithdraw.s.sol | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol b/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol index 94112f74..4d4aa4c1 100644 --- a/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol +++ b/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol @@ -240,6 +240,9 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { (newGvs[i], gvPK) = makeAddrAndKey(string.concat("new-gv", vm.toString(i))); newVWs[i] = 100; + mockOps.push(newOps[i]); + mockGvs.push(newGvs[i]); + vm.rememberKey(opPK); vm.rememberKey(gvPK); } @@ -251,6 +254,10 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { vm.expectRevert(); IMainchainGatewayV3(ethGW).submitWithdrawal(receipt, sigs); + Signature[] memory newSig = _bulkSignReceipt(newOps[0].toSingletonArray(), receiptDigest); + + IMainchainGatewayV3(ethGW).submitWithdrawal(receipt, _concat(sigs, newSig)); + switchBack(prevNetwork, prevForkId); } @@ -652,6 +659,18 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { } } + function _concat(Signature[] memory a, Signature[] memory b) private pure returns (Signature[] memory c) { + c = new Signature[](a.length + b.length); + + for (uint256 i; i < a.length; ++i) { + c[i] = a[i]; + } + + for (uint256 i; i < b.length; ++i) { + c[a.length + i] = b[i]; + } + } + function _getReceiptHash(address emitter, bytes32 eventTopic) private returns (LibTransfer.Receipt memory receipt, bytes32 receiptHash) { Vm.Log[] memory recordedLogs = vm.getRecordedLogs(); From cbf24cfd00bccd9318e0947830a826a4d19e0b33 Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Fri, 23 Aug 2024 16:04:42 +0700 Subject: [PATCH 50/74] ci: rename ci --- .github/workflows/post-check.yml | 2 +- .github/workflows/slither-analyze.yml | 2 +- .github/workflows/test.yml | 13 +------------ 3 files changed, 3 insertions(+), 14 deletions(-) diff --git a/.github/workflows/post-check.yml b/.github/workflows/post-check.yml index 35a9ba75..3704430a 100644 --- a/.github/workflows/post-check.yml +++ b/.github/workflows/post-check.yml @@ -1,4 +1,4 @@ -name: PostCheck +name: Post Check on: push: diff --git a/.github/workflows/slither-analyze.yml b/.github/workflows/slither-analyze.yml index c8297430..f1acdd8e 100644 --- a/.github/workflows/slither-analyze.yml +++ b/.github/workflows/slither-analyze.yml @@ -1,4 +1,4 @@ -name: Test & Analyze +name: Slither Analyze on: push: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1a25fd98..f3945f03 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,4 @@ -name: Test & Analyze +name: Unit Test on: push: @@ -61,14 +61,3 @@ jobs: run: | forge test -vvv id: test - - - name: Install Slither for security analysis - run: | - sudo apt-get update - sudo apt-get install -y python3-pip - python3 -m pip install slither-analyzer - - - name: Run Slither analysis - run: | - slither . --exclude-low --exclude-medium --exclude-informational --exclude-dependencies --filter-paths "dependencies/|mocks/" --exclude-optimization - id: slither From 7da19a6d203bd04f5593fcb58e422459ece3b675 Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Fri, 23 Aug 2024 16:30:44 +0700 Subject: [PATCH 51/74] ci: new error code --- .github/workflows/post-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/post-check.yml b/.github/workflows/post-check.yml index 3704430a..a99c8b92 100644 --- a/.github/workflows/post-check.yml +++ b/.github/workflows/post-check.yml @@ -62,6 +62,6 @@ jobs: ./run.sh PostCheckCI -f ronin-mainnet -vvvv if [ $? -ne 0 ]; then echo "Script failed. Reverting changes..." - exit 1 + exit 255 fi id: postcheck From 05442685ed8eaf095f3899b3daed69296abbf5a0 Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Fri, 23 Aug 2024 17:00:24 +0700 Subject: [PATCH 52/74] ci: fix ci --- .github/workflows/post-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/post-check.yml b/.github/workflows/post-check.yml index a99c8b92..d5aa554a 100644 --- a/.github/workflows/post-check.yml +++ b/.github/workflows/post-check.yml @@ -62,6 +62,6 @@ jobs: ./run.sh PostCheckCI -f ronin-mainnet -vvvv if [ $? -ne 0 ]; then echo "Script failed. Reverting changes..." - exit 255 + return 1 fi id: postcheck From 2bec5e1a7f14120761799fdbf1a97aba65613a7f Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Fri, 23 Aug 2024 17:06:06 +0700 Subject: [PATCH 53/74] ci: fix ci --- .github/workflows/post-check.yml | 4 ---- run.sh | 6 +++++- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/post-check.yml b/.github/workflows/post-check.yml index d5aa554a..fb553ee4 100644 --- a/.github/workflows/post-check.yml +++ b/.github/workflows/post-check.yml @@ -60,8 +60,4 @@ jobs: - name: Run PostCheck CI run: | ./run.sh PostCheckCI -f ronin-mainnet -vvvv - if [ $? -ne 0 ]; then - echo "Script failed. Reverting changes..." - return 1 - fi id: postcheck diff --git a/run.sh b/run.sh index 85db82ff..674b716e 100755 --- a/run.sh +++ b/run.sh @@ -1 +1,5 @@ -source dependencies/@fdk-0.3.1-beta/run.sh \ No newline at end of file +source dependencies/@fdk-0.3.1-beta/run.sh + +if [ $? -ne 0 ]; then + return 1 +fi From 5b64d3bfaa321c5e58b49f01b34f77d8d4bc8c07 Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Fri, 23 Aug 2024 17:13:04 +0700 Subject: [PATCH 54/74] chore: enhance pre-commit hook --- .husky/generate-layout.sh | 11 +++++++++-- .husky/pre-push | 4 ++-- run.sh | 4 ---- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.husky/generate-layout.sh b/.husky/generate-layout.sh index 8fc74d42..4f9fc1c4 100755 --- a/.husky/generate-layout.sh +++ b/.husky/generate-layout.sh @@ -1,15 +1,22 @@ #!/bin/sh rm -rf logs/storage/* + dirOutputs=$(ls out | grep '^[^.]*\.sol$') # assuming the out dir is at 'out' + while IFS= read -r contractDir; do - innerdirOutputs=$(ls out/$contractDir) + innerDirOutputs=$(ls out/$contractDir) + + # Skip if folder ends with .s.sol + if [[ $contractDir == *".s.sol" ]]; then + continue + fi while IFS= read -r jsonFile; do fileIn=out/$contractDir/$jsonFile fileOut=logs/storage/$contractDir:${jsonFile%.json}.log node .husky/storage-logger.js $fileIn $fileOut & - done <<< "$innerdirOutputs" + done <<< "$innerDirOutputs" done <<< "$dirOutputs" # Wait for all background jobs to finish diff --git a/.husky/pre-push b/.husky/pre-push index e652225a..3d247cb2 100755 --- a/.husky/pre-push +++ b/.husky/pre-push @@ -9,7 +9,7 @@ stashed=true if [[ $output == *"No local changes to save"* ]]; then stashed=false fi -forge build --skip test script --sizes 2>&1 | sed -n '/Contract/,$p' > logs/contract-code-sizes.log +forge build --skip test --skip script --sizes 2>&1 | sed -n '/Contract/,$p' >logs/contract-code-sizes.log .husky/generate-layout.sh git add logs @@ -21,5 +21,5 @@ if [ "$line_count" -gt 1 ]; then fi if $stashed; then - git stash pop + git stash pop fi diff --git a/run.sh b/run.sh index 674b716e..e4ea8b09 100755 --- a/run.sh +++ b/run.sh @@ -1,5 +1 @@ source dependencies/@fdk-0.3.1-beta/run.sh - -if [ $? -ne 0 ]; then - return 1 -fi From 49cf228614bb97953fd6932ffeff88cffb0ad901 Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Mon, 26 Aug 2024 02:19:23 +0700 Subject: [PATCH 55/74] script: fix post check --- script/GeneralConfig.sol | 2 +- ...PostCheck_Gateway_DepositAndWithdraw.s.sol | 43 +++++++++---------- .../quorum/PostCheck_Gateway_Quorum.s.sol | 13 ------ script/shared/libraries/LibProposal.sol | 32 +++++++++++++- 4 files changed, 53 insertions(+), 37 deletions(-) diff --git a/script/GeneralConfig.sol b/script/GeneralConfig.sol index 04def745..0be1691b 100644 --- a/script/GeneralConfig.sol +++ b/script/GeneralConfig.sol @@ -56,6 +56,7 @@ contract GeneralConfig is BaseGeneralConfig, Utils { _mapContractName(Contract.RoninBridgeManagerConstructor); _mapContractName(Contract.WBTC); _mapContractName(Contract.PostChecker); + _mapContractName(Contract.WETH); _contractNameMap[Contract.AXS.key()] = "MockERC20"; _contractNameMap[Contract.SLP.key()] = "MockSLP"; @@ -68,7 +69,6 @@ contract GeneralConfig is BaseGeneralConfig, Utils { _contractNameMap[Contract.MainchainPauseEnforcer.key()] = "PauseEnforcer"; _contractAddrMap[Network.Goerli.key()][Contract.WETH.name()] = 0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6; - _contractAddrMap[Network.Sepolia.key()][Contract.WETH.name()] = 0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9; _contractAddrMap[Network.EthMainnet.key()][Contract.WETH.name()] = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2; _contractAddrMap[DefaultNetwork.RoninTestnet.key()][Contract.AXS.name()] = 0x0eD7e52944161450477ee417DE9Cd3a859b14fD0; diff --git a/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol b/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol index 4d4aa4c1..ed87a213 100644 --- a/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol +++ b/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol @@ -157,7 +157,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { withdrawReq.tokenAddr = address(ronWETH); withdrawReq.info.erc = TokenStandard.ERC20; withdrawReq.info.id = 0; - withdrawReq.info.quantity = 100 ether; + withdrawReq.info.quantity = 1 ether; deal(address(ronWETH), user, withdrawReq.info.quantity); vm.prank(user); @@ -195,7 +195,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { withdrawReq.tokenAddr = address(ronERC20); withdrawReq.info.erc = TokenStandard.ERC20; withdrawReq.info.id = 0; - withdrawReq.info.quantity = 100 ether; + withdrawReq.info.quantity = 1 ether; vm.prank(user); ronERC20.approve(ronGW, withdrawReq.info.quantity); @@ -219,15 +219,14 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { // Sign first to get renounced operator signatures Signature[] memory sigs = _bulkSignReceipt(mockOps, receiptDigest); - // Renounce operators - vm.prank(address(ethBM)); - ITransparentUpgradeableProxyV2(ethBM).functionDelegateCall( - abi.encodeCall(IBridgeManager.removeBridgeOperators, (mockOps.slice(unmetSigCount, mockOps.length))) - ); + // Cache to be renounced operators + address[] memory gvsToRemove = mockOps.slice(unmetSigCount, mockOps.length); + + uint256 reAddOpCount = mockOps.length - unmetSigCount; + mockOps = mockOps.slice(0, unmetSigCount); mockGvs = mockGvs.slice(0, unmetSigCount); - uint256 reAddOpCount = mockOps.length - unmetSigCount; address[] memory newOps = new address[](reAddOpCount); address[] memory newGvs = new address[](reAddOpCount); uint96[] memory newVWs = new uint96[](reAddOpCount); @@ -251,13 +250,13 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { vm.prank(address(ethBM)); ITransparentUpgradeableProxyV2(ethBM).functionDelegateCall(abi.encodeCall(IBridgeManager.addBridgeOperators, (newVWs, newGvs, newOps))); + // Renounce operators + vm.prank(address(ethBM)); + ITransparentUpgradeableProxyV2(ethBM).functionDelegateCall(abi.encodeCall(IBridgeManager.removeBridgeOperators, (gvsToRemove))); + vm.expectRevert(); IMainchainGatewayV3(ethGW).submitWithdrawal(receipt, sigs); - Signature[] memory newSig = _bulkSignReceipt(newOps[0].toSingletonArray(), receiptDigest); - - IMainchainGatewayV3(ethGW).submitWithdrawal(receipt, _concat(sigs, newSig)); - switchBack(prevNetwork, prevForkId); } @@ -270,7 +269,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { depositReq.tokenAddr = address(0x0); depositReq.info.erc = TokenStandard.ERC20; depositReq.info.id = 0; - depositReq.info.quantity = 100 ether; + depositReq.info.quantity = 1 ether; (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); @@ -287,7 +286,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { depositReq.tokenAddr = address(ethWETH); depositReq.info.erc = TokenStandard.ERC20; depositReq.info.id = 0; - depositReq.info.quantity = 100 ether; + depositReq.info.quantity = 1 ether; (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); @@ -328,7 +327,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { depositReq.tokenAddr = address(0x0); depositReq.info.erc = TokenStandard.ERC20; depositReq.info.id = 0; - depositReq.info.quantity = 100 ether; + depositReq.info.quantity = 1 ether; (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); @@ -377,7 +376,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { withdrawReq.tokenAddr = address(ronERC20); withdrawReq.info.erc = TokenStandard.ERC20; withdrawReq.info.id = 0; - withdrawReq.info.quantity = 100 ether; + withdrawReq.info.quantity = 1 ether; vm.prank(user); ronERC20.approve(ronGW, withdrawReq.info.quantity); @@ -416,7 +415,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { withdrawReq.tokenAddr = address(ronERC20); withdrawReq.info.erc = TokenStandard.ERC20; withdrawReq.info.id = 0; - withdrawReq.info.quantity = 100 ether; + withdrawReq.info.quantity = 1 ether; vm.prank(user); ronERC20.approve(ronGW, withdrawReq.info.quantity); @@ -466,7 +465,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { depositReq.tokenAddr = address(ethERC20); depositReq.info.erc = TokenStandard.ERC20; depositReq.info.id = 0; - depositReq.info.quantity = 100 ether; + depositReq.info.quantity = 1 ether; (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); @@ -503,7 +502,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { depositReq.tokenAddr = address(ethERC20); depositReq.info.erc = TokenStandard.ERC20; depositReq.info.id = 0; - depositReq.info.quantity = 100 ether; + depositReq.info.quantity = 1 ether; (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); @@ -543,7 +542,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { withdrawReq.tokenAddr = address(ronERC20); withdrawReq.info.erc = TokenStandard.ERC20; withdrawReq.info.id = 0; - withdrawReq.info.quantity = 100 ether; + withdrawReq.info.quantity = 1 ether; vm.prank(user); ronERC20.approve(ronGW, withdrawReq.info.quantity); @@ -579,7 +578,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { withdrawReq.tokenAddr = address(ronERC20); withdrawReq.info.erc = TokenStandard.ERC20; withdrawReq.info.id = 0; - withdrawReq.info.quantity = 100 ether; + withdrawReq.info.quantity = 1 ether; vm.prank(user); ronERC20.approve(ronGW, withdrawReq.info.quantity); @@ -617,7 +616,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { withdrawReq.tokenAddr = address(ronERC20); withdrawReq.info.erc = TokenStandard.ERC20; withdrawReq.info.id = 0; - withdrawReq.info.quantity = 100 ether; + withdrawReq.info.quantity = 1 ether; vm.prank(user); ronERC20.approve(ronGW, withdrawReq.info.quantity); diff --git a/script/post-check/gateway/quorum/PostCheck_Gateway_Quorum.s.sol b/script/post-check/gateway/quorum/PostCheck_Gateway_Quorum.s.sol index add3ddfc..b31688cf 100644 --- a/script/post-check/gateway/quorum/PostCheck_Gateway_Quorum.s.sol +++ b/script/post-check/gateway/quorum/PostCheck_Gateway_Quorum.s.sol @@ -17,7 +17,6 @@ abstract contract PostCheck_Gateway_Quorum is BasePostCheck { function _validate_Gateway_Quorum() internal { // -------------- Gateway Quorum -------------- validate_NonZero_MinimumVoteWeight_Gateway(); - validate_NonZero_TotalWeight_Gateway(); validate_Valid_Threshold_Gateway(); } @@ -37,18 +36,6 @@ abstract contract PostCheck_Gateway_Quorum is BasePostCheck { switchBack(prevNetwork, prevForkId); } - function validate_NonZero_TotalWeight_Gateway() private onlyOnRoninNetworkOrLocal onPostCheck("validate_NonZero_TotalWeight_Gateway") { - assertTrue(IBridgeManager(ronGW).getTotalWeight() > 0, "Ronin: Gateway's Total weight must be greater than 0"); - TNetwork currNetwork = network(); - - (, TNetwork companionNetwork) = currNetwork.companionNetworkData(); - (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); - - assertTrue(IBridgeManager(ethGW).getTotalWeight() > 0, "Mainchain: Gateway's Total weight must be greater than 0"); - - switchBack(prevNetwork, prevForkId); - } - function validate_NonZero_MinimumVoteWeight_Gateway() private onlyOnRoninNetworkOrLocal onPostCheck("validate_NonZero_Threshold_Gateway") { assertTrue(IQuorum(ronGW).minimumVoteWeight() > 0, "Ronin: Gateway's Minimum vote weight must be greater than 0"); TNetwork currNetwork = network(); diff --git a/script/shared/libraries/LibProposal.sol b/script/shared/libraries/LibProposal.sol index 1628b4e5..32d7d2ef 100644 --- a/script/shared/libraries/LibProposal.sol +++ b/script/shared/libraries/LibProposal.sol @@ -141,7 +141,7 @@ library LibProposal { if (totalGas < DEFAULT_PROPOSAL_GAS) totalGas = DEFAULT_PROPOSAL_GAS * 120_00 / 100_00; for (uint256 i = 1; i < governors.length; ++i) { - (VoteStatusConsumer.VoteStatus status,,,,) = bm.vote(block.chainid, proposal.nonce); + (VoteStatusConsumer.VoteStatus status,,,,) = bm.vote(proposal.chainId, proposal.nonce); if (status != VoteStatusConsumer.VoteStatus.Pending) break; address governor = governors[i]; @@ -155,6 +155,36 @@ library LibProposal { } } + function voteForBySignature(IRoninBridgeManager bm, Proposal.ProposalDetail memory proposal, Ballot.VoteType support) internal { + Ballot.VoteType[] memory supports_ = new Ballot.VoteType[](1); + supports_[0] = support; + + address[] memory governors = bm.getGovernors(); + bool shouldPrankOnly = vme.isPostChecking(); + + uint256 totalGas = proposal.gasAmounts.sum(); + // 20% more gas for each governor + totalGas += totalGas * 20_00 / 100_00; + // if totalGas is less than DEFAULT_PROPOSAL_GAS, set it to 120% of DEFAULT_PROPOSAL_GAS + if (totalGas < DEFAULT_PROPOSAL_GAS) totalGas = DEFAULT_PROPOSAL_GAS * 120_00 / 100_00; + + for (uint256 i = 1; i < governors.length; ++i) { + (VoteStatusConsumer.VoteStatus status,,,,) = bm.vote(proposal.chainId, proposal.nonce); + if (status != VoteStatusConsumer.VoteStatus.Pending) break; + + address governor = governors[i]; + SignatureConsumer.Signature[] memory sig = generateSignatures(proposal, governor.toSingletonArray(), support); + + if (shouldPrankOnly) { + vm.prank(governor); + } else { + vm.prank(governor); + } + + bm.castProposalBySignatures{ gas: totalGas }(proposal, supports_, sig); + } + } + function verifyGlobalProposalGasAmount( uint256[] memory values, bytes[] memory callDatas, From 31603abea99d35147df72130fffbc1b8fe0fcdf8 Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Mon, 26 Aug 2024 02:22:42 +0700 Subject: [PATCH 56/74] chore: storage layout --- logs/contract-code-sizes.log | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logs/contract-code-sizes.log b/logs/contract-code-sizes.log index 5886b9bb..b0a4d6df 100644 --- a/logs/contract-code-sizes.log +++ b/logs/contract-code-sizes.log @@ -19,7 +19,7 @@ | ERC721 | 4,363 | 20,213 | | EnumerableSet | 86 | 24,490 | | ErrorHandler | 86 | 24,490 | -| GeneralConfig | 33,011 | -8,435 | +| GeneralConfig | 32,890 | -8,314 | | GlobalProposal | 86 | 24,490 | | HasBridgeDeprecated | 63 | 24,513 | | HasValidatorDeprecated | 63 | 24,513 | From 410f2589a03cb001da3d8c5ad2aa292943c0a500 Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Mon, 26 Aug 2024 02:23:19 +0700 Subject: [PATCH 57/74] script: add ir-recover testnet script --- .../20240807-ir-recover-testnet.s.sol | 360 ++++++++++++++++++ 1 file changed, 360 insertions(+) create mode 100644 script/20240807-ir-recover/20240807-ir-recover-testnet.s.sol diff --git a/script/20240807-ir-recover/20240807-ir-recover-testnet.s.sol b/script/20240807-ir-recover/20240807-ir-recover-testnet.s.sol new file mode 100644 index 00000000..9e6d2ff4 --- /dev/null +++ b/script/20240807-ir-recover/20240807-ir-recover-testnet.s.sol @@ -0,0 +1,360 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.19; + +import { Vm } from "forge-std/Vm.sol"; +import { console } from "forge-std/console.sol"; +import { cheatBroadcast } from "@fdk/utils/Helpers.sol"; +import { DefaultNetwork } from "@fdk/utils/DefaultNetwork.sol"; +import { TNetwork } from "@fdk/types/Types.sol"; +import { LibCompanionNetwork } from "script/shared/libraries/LibCompanionNetwork.sol"; + +import { Contract } from "../utils/Contract.sol"; +import { Network } from "../utils/Network.sol"; +import { Migration } from "../Migration.s.sol"; +import { LibProposal } from "../shared/libraries/LibProposal.sol"; +import { LibStorage } from "../shared/libraries/LibStorage.sol"; + +import { TransparentUpgradeableProxyV2, TransparentUpgradeableProxy } from "@ronin/contracts/extensions/TransparentUpgradeableProxyV2.sol"; +import { IMainchainBridgeManager } from "script/interfaces/IMainchainBridgeManager.sol"; +import { IRoninBridgeManager } from "script/interfaces/IRoninBridgeManager.sol"; +import { MainchainBridgeManager } from "@ronin/contracts/mainchain/MainchainBridgeManager.sol"; +import { IMainchainGatewayV3 } from "@ronin/contracts/interfaces/IMainchainGatewayV3.sol"; +import { MainchainGatewayV3 } from "@ronin/contracts/mainchain/MainchainGatewayV3.sol"; +import { IBridgeManagerCallback } from "@ronin/contracts/interfaces/bridge/IBridgeManagerCallback.sol"; + +import { Ballot } from "@ronin/contracts/libraries/Ballot.sol"; +import { Proposal } from "@ronin/contracts/libraries/Proposal.sol"; +import { Transfer } from "@ronin/contracts/libraries/Transfer.sol"; +import { TokenStandard } from "@ronin/contracts/libraries/LibTokenInfo.sol"; +import { SignatureConsumer } from "@ronin/contracts/interfaces/consumers/SignatureConsumer.sol"; +import { LibProxy } from "@fdk/libraries/LibProxy.sol"; + +contract Migration__20240807_IR_Recover_Testnet is Migration { + using LibProxy for *; + using LibCompanionNetwork for TNetwork; + + TNetwork _companionNetwork; + TNetwork _currNetwork; + uint256 _prevForkId; + + address private constant SM_GOVERNOR = address(0x0); + address private _multisigEth = 0x51F6696Ae42C6C40CA9F5955EcA2aaaB1Cefb26e; + IMainchainBridgeManager private _mainchainBM; + TransparentUpgradeableProxyV2 private _mainchainBMproxy; + IMainchainGatewayV3 private _mainchainGW; + IRoninBridgeManager private _roninBM; + + // address _prevBMLogic;` + // address _newBMLogic; + address _newGWLogic; + + Proposal.ProposalDetail private _proposal; + + function run() public virtual onlyOn(DefaultNetwork.RoninTestnet.key()) { + _roninBM = IRoninBridgeManager(loadContract(Contract.RoninBridgeManager.key())); + + _currNetwork = network(); + (, _companionNetwork) = _currNetwork.companionNetworkData(); + (TNetwork prevNetwork, uint256 prevForkId) = switchTo(_companionNetwork); + + _mainchainBM = IMainchainBridgeManager(loadContract(Contract.MainchainBridgeManager.key())); + _mainchainBMproxy = TransparentUpgradeableProxyV2(payable(address(_mainchainBM))); + _mainchainGW = IMainchainGatewayV3(loadContract(Contract.MainchainGatewayV3.key())); + + { + // _preCheck_Withdrawable(); + _perform_PrankFix(); + _perform_checkAfterPrankFix(); + } + + switchBack(prevNetwork, prevForkId); + + _performCreateAndExecuteProposalOnRonin(); + } + + function _perform_PrankFix() internal { + // vm.prank(_multisigEth); + // _prevBMLogic = _mainchainBMproxy.implementation(); + // _newBMLogic = _deployLogic(Contract.MainchainBridgeManager.key()); + _newGWLogic = _deployLogic(Contract.MainchainGatewayV3.key()); + + _recover_relayProposalWithCheatGovernors(); + + // // 1. Upgrade to new version and call hotfix + // cheatBroadcast( + // _multisigEth, + // address(_mainchainBMproxy), + // 0, + // abi.encodeCall( + // TransparentUpgradeableProxy.upgradeToAndCall, + // ( + // _newBMLogic, + // abi.encodeWithSelector(MainchainBridgeManager.hotfix__ir_recover.selector) + // ) + // ) + // ); + + // // 2. Downgrade to previous version + // cheatBroadcast({ + // from: _multisigEth, + // to: address(_mainchainBMproxy), + // callValue: 0, + // callData: abi.encodeWithSignature( + // "upgradeTo(address)", + // _prevBMLogic + // ) + // }); + } + + function _performCreateAndExecuteProposalOnRonin() internal { + address[] memory gvs = _roninBM.getGovernors(); + address gv = gvs[0]; + + vm.broadcast(gv); + vm.recordLogs(); + _roninBM.propose({ + chainId: _proposal.chainId, + expiryTimestamp: _proposal.expiryTimestamp, + executor: _proposal.executor, + targets: _proposal.targets, + values: _proposal.values, + calldatas: _proposal.calldatas, + gasAmounts: _proposal.gasAmounts + }); + + Vm.Log[] memory logs = vm.getRecordedLogs(); + Proposal.ProposalDetail memory proposal; + + for (uint256 i = 0; i < logs.length; i++) { + if (logs[i].emitter == address(_roninBM) && logs[i].topics[0] == IRoninBridgeManager.ProposalCreated.selector) { + (proposal,) = abi.decode(logs[i].data, (Proposal.ProposalDetail, address)); + break; + } + } + + LibProposal.voteForBySignature(_roninBM, proposal, Ballot.VoteType.For); + } + + function _recover_relayProposalWithCheatGovernors() internal { + // Create proposal + _proposal = __recover_createProposal(); + + // Validate proposal's gas amount + LibProposal.verifyProposalGasAmount(address(_mainchainBM), _proposal.targets, _proposal.values, _proposal.calldatas, _proposal.gasAmounts); + + // Validate proposal's execution + LibProposal.verifyProposalExecutionMainchain({ bm: address(_mainchainBM), proposal: _proposal, shouldRevertState: false }); + } + + function __recover_createProposal() internal view returns (Proposal.ProposalDetail memory proposal) { + // struct ProposalDetail { + // // Nonce to make sure proposals are executed in order + // uint256 nonce; + // // Value 0: all chain should run this proposal + // // Other values: only specific chain has to execute + // uint256 chainId; + // uint256 expiryTimestamp; + // // The address that execute the proposal after the proposal passes. + // // Leave this address as address(0) to auto-execute by the last valid vote. + // address executor; + // address[] targets; + // uint256[] values; + // bytes[] calldatas; + // uint256[] gasAmounts; + // } + + proposal.nonce = 8; + proposal.chainId = 11155111; + proposal.expiryTimestamp = block.timestamp + 12 days; + proposal.executor = SM_GOVERNOR; + + // proposal.targets = new address[](2); + // proposal.values = new uint256[](2); + // proposal.calldatas = new bytes[](2); + // proposal.gasAmounts = new uint256[](2); + + // proposal.targets[0] = address(_mainchainBM); + // proposal.values[0] = 0; + // proposal.calldatas[0] = abi.encodeCall( + // TransparentUpgradeableProxy.upgradeToAndCall, + // ( + // _newBMLogic, + // abi.encodeWithSelector(MainchainBridgeManager.hotfix__ir_recover.selector) + // ) + // ); + // proposal.gasAmounts[0] = 4000000; + + // proposal.targets[1] = address(_mainchainBM); + // proposal.values[1] = 0; + // proposal.calldatas[1] = abi.encodeWithSignature("upgradeTo(address)", _prevBMLogic); + // proposal.gasAmounts[1] = 1000000; + (, address[] memory operators, uint96[] memory weights) = _mainchainBM.getFullBridgeOperatorInfos(); + bool[] memory addeds = new bool[](operators.length); + for (uint256 i = 0; i < operators.length; i++) { + addeds[i] = true; + } + + proposal.targets = new address[](2); + proposal.values = new uint256[](2); + proposal.calldatas = new bytes[](2); + proposal.gasAmounts = new uint256[](2); + + proposal.targets[0] = address(_mainchainGW); + proposal.values[0] = 0; + proposal.gasAmounts[0] = 2000000; + proposal.calldatas[0] = abi.encodeWithSignature( + "functionDelegateCall(bytes)", abi.encodeWithSelector(IBridgeManagerCallback.onBridgeOperatorsAdded.selector, operators, weights, addeds) + ); + + proposal.targets[1] = address(_mainchainGW); + proposal.values[1] = 0; + proposal.calldatas[1] = abi.encodeWithSignature("upgradeTo(address)", _newGWLogic); + proposal.gasAmounts[1] = 1000000; + } + + function _preCheck_Withdrawable() internal { + uint256 snapshotId = vm.snapshot(); + + _fake_unpause(); + + Transfer.Receipt memory dummyReceipt = _generateReceipt(); + + SignatureConsumer.Signature[] memory sigs = new SignatureConsumer.Signature[](1); + sigs[0].v = 28; + sigs[0].r = 0xb377fd3c624426b0ef33f110dfc9424e6444f9000e8d4a859cd9102e59834544; + sigs[0].s = 0x2e7f1f124b131944db2982c70f5ffc4054326facbbca95f161f3f042b58f52f8; + + vm.expectEmit(true, false, false, false, address(_mainchainGW)); + emit IMainchainGatewayV3.Withdrew(bytes32(0), dummyReceipt); + _mainchainGW.submitWithdrawal(dummyReceipt, sigs); + + bool reverted = vm.revertTo(snapshotId); + require(reverted, string.concat("Cannot revert to snapshot id: ", vm.toString(snapshotId))); + } + + function _fake_unpause() internal { } + + function _perform_checkAfterPrankFix() internal { + // - Total weight in `BM` and `GW` the same + { + uint256 totalWeightBM = _mainchainBM.getTotalWeight(); + uint96 totalWeightGW = getGWTotalWeight(); + require(totalWeightBM == uint256(totalWeightGW), "Mismatched total weight"); + } + + // - Weight of all operators in `BM` and `GW` the same + (, address[] memory operatorsBM, uint96[] memory weightsBM) = _mainchainBM.getFullBridgeOperatorInfos(); + for (uint256 i = 0; i < operatorsBM.length; i++) { + require(getGWWeight(operatorsBM[i]) == weightsBM[i], "Mismatched weight"); + } + + { + _postCheck_Withdrawable(); + } + } + + function _postCheck_Withdrawable() internal { + uint256 snapshotId = vm.snapshot(); + _fake_unpause(); + + Transfer.Receipt memory dummyReceipt = _generateReceipt(); + + SignatureConsumer.Signature[] memory sigs = new SignatureConsumer.Signature[](1); + sigs[0].v = 28; + sigs[0].r = 0xb377fd3c624426b0ef33f110dfc9424e6444f9000e8d4a859cd9102e59834544; + sigs[0].s = 0x2e7f1f124b131944db2982c70f5ffc4054326facbbca95f161f3f042b58f52f8; + + vm.expectRevert(abi.encodeWithSelector(IMainchainGatewayV3.ErrInvalidSigner.selector, 0xDf6d11d428FEdd8f3a5d800fBDe66Bf6dD070577, 0, sigs[0])); + _mainchainGW.submitWithdrawal(dummyReceipt, sigs); + + bool reverted = vm.revertTo(snapshotId); + require(reverted, string.concat("Cannot revert to snapshot id: ", vm.toString(snapshotId))); + } + + function _postCheck() internal virtual override { + // switchTo(_companionNetwork); + + // Cheat to unpause of MainchainGatewayV3 to self to pass post-check. + // _fake_unpause(); + + // Cheat to change admin of MainchainBridgeManager to self to pass post-check. + // vm.prank(_multisigEth); + // TransparentUpgradeableProxy(payable(address(_mainchainBM))).changeAdmin(address(_mainchainBM)); + + // switchTo(DefaultNetwork.RoninTestnet.key()); + + // Cheat to change admin of RoninBridgeManager to self to pass post-check. + address payable roninBM = loadContract(Contract.RoninBridgeManager.key()); + address admin = roninBM.getProxyAdmin(); + vm.prank(admin); + TransparentUpgradeableProxy(roninBM).changeAdmin(roninBM); + + super._postCheck(); + } + + function getGWTotalWeight() public view returns (uint96 totalWeight) { + uint256 $$_operatorWeightSlot = 125; + bytes32 paddedTotalWeight = vm.load(address(_mainchainGW), bytes32($$_operatorWeightSlot)); + totalWeight = uint96(uint256(paddedTotalWeight)); + console.log(string.concat("[STORAGE] Total weight in GW is ", vm.toString(totalWeight))); + } + + function getGWWeight(address operator) public view returns (uint96 weight) { + uint256 $$_operatorWeightSlot = 126; + bytes32 $$ = LibStorage.getMappingElementSlotIndex(operator, $$_operatorWeightSlot); + bytes32 paddedWeight = vm.load(address(_mainchainGW), $$); + weight = uint96(uint256(paddedWeight)); + console.log(string.concat("[STORAGE] Weight of ", vm.toString(operator), " is ", vm.toString(weight))); + } + + function _generateReceipt() internal returns (Transfer.Receipt memory receipt_) { + // struct Receipt { + // uint256 id; + // Kind kind; + // TokenOwner mainchain; + // TokenOwner ronin; + // TokenInfo info; + // } + + // struct TokenOwner { + // address addr; + // address tokenAddr; + // uint256 chainId; + // } + + /* Receipt({ + id: 166631 [1.666e5], + kind: 1, + mainchain: TokenOwner({ + addr: 0x4Ab12E7CE31857Ee022f273e8580F73335a73c0B, + tokenAddr: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, + chainId: 1 + }), + ronin: TokenOwner({ + addr: 0x03E1f309d281b0af1A17EBb29e89136c05b67206, + tokenAddr: 0xc99a6A985eD2Cac1ef41640596C5A5f9F4E19Ef5, + chainId: 2021 + }), + info: TokenInfo({ + erc: 0, + id: 0, + quantity: 3996093750000000000000 [3.996e21] + }) + }) */ + + address mainchainETH = 0x1Aa1BC6BaEFCF09D6Fd0139B828b5E764D050F08; + address roninETH = 0x29C6F8349A028E1bdfC68BFa08BDee7bC5D47E16; + + receipt_.id = 2021; + receipt_.kind = Transfer.Kind.Withdrawal; + receipt_.mainchain.addr = makeAddr("recipient-mainchain"); + receipt_.mainchain.tokenAddr = mainchainETH; + receipt_.mainchain.chainId = 11155111; + receipt_.ronin.addr = makeAddr("recipient-ronin"); + receipt_.ronin.tokenAddr = roninETH; + receipt_.ronin.chainId = 2021; + receipt_.info.erc = TokenStandard.ERC20; + receipt_.info.id = 0; + receipt_.info.quantity = 3996093750000000000000; + } +} From 4a68d51ede7562d2492abb06cc1f9b1b43d5ac62 Mon Sep 17 00:00:00 2001 From: Bao Date: Mon, 26 Aug 2024 13:13:43 +0700 Subject: [PATCH 58/74] script: more check after proposal (#74) * script: more check after proposal * script: add pre check for `submitDepositBatch` --- .../20240807-ir-recover.s.sol | 137 +++++++++++++++++- 1 file changed, 135 insertions(+), 2 deletions(-) diff --git a/script/20240807-ir-recover/20240807-ir-recover.s.sol b/script/20240807-ir-recover/20240807-ir-recover.s.sol index 5700d94b..3e85c976 100644 --- a/script/20240807-ir-recover/20240807-ir-recover.s.sol +++ b/script/20240807-ir-recover/20240807-ir-recover.s.sol @@ -2,6 +2,7 @@ pragma solidity ^0.8.19; import { console } from "forge-std/console.sol"; +import { Vm } from "forge-std/Vm.sol"; import { cheatBroadcast } from "@fdk/utils/Helpers.sol"; import { DefaultNetwork } from "@fdk/utils/DefaultNetwork.sol"; import { TNetwork } from "@fdk/types/Types.sol"; @@ -17,6 +18,7 @@ import { TransparentUpgradeableProxyV2, TransparentUpgradeableProxy } from "@ron import { IMainchainBridgeManager } from "script/interfaces/IMainchainBridgeManager.sol"; import { IRoninBridgeManager } from "script/interfaces/IRoninBridgeManager.sol"; import { MainchainBridgeManager } from "@ronin/contracts/mainchain/MainchainBridgeManager.sol"; +import { IQuorum } from "@ronin/contracts/interfaces/IQuorum.sol"; import { IMainchainGatewayV3 } from "@ronin/contracts/interfaces/IMainchainGatewayV3.sol"; import { MainchainGatewayV3 } from "@ronin/contracts/mainchain/MainchainGatewayV3.sol"; import { IBridgeManagerCallback } from "@ronin/contracts/interfaces/bridge/IBridgeManagerCallback.sol"; @@ -27,6 +29,10 @@ import { TokenStandard } from "@ronin/contracts/libraries/LibTokenInfo.sol"; import { SignatureConsumer } from "@ronin/contracts/interfaces/consumers/SignatureConsumer.sol"; import { LibProxy } from "@fdk/libraries/LibProxy.sol"; +interface IWithdrawalLimitation { + function checkHighTierVoteWeightThreshold(uint256 _voteWeight) external view virtual returns (bool); +} + contract Migration__20240807_IR_Recover is Migration { using LibProxy for *; using LibCompanionNetwork for TNetwork; @@ -35,6 +41,8 @@ contract Migration__20240807_IR_Recover is Migration { TNetwork _prevNetwork; uint256 _prevForkId; + address private constant USDC = 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48; + address private constant SM_GOVERNOR = 0xe880802580a1fbdeF67ACe39D1B21c5b2C74f059; address private _multisigEth = 0x51F6696Ae42C6C40CA9F5955EcA2aaaB1Cefb26e; IMainchainBridgeManager private _mainchainBM = IMainchainBridgeManager(0x2Cf3CFb17774Ce0CFa34bB3f3761904e7fc3FaDB); @@ -55,6 +63,7 @@ contract Migration__20240807_IR_Recover is Migration { { _preCheck_Withdrawable(); + _preCheck_submitDepositBatch(); _perform_PrankFix(); _perform_checkAfterPrankFix(); } @@ -197,7 +206,6 @@ contract Migration__20240807_IR_Recover is Migration { } function _preCheck_Withdrawable() internal { - uint256 snapshotId = vm.snapshot(); _fake_unpause(); @@ -217,6 +225,84 @@ contract Migration__20240807_IR_Recover is Migration { require(reverted, string.concat("Cannot revert to snapshot id: ", vm.toString(snapshotId))); } + function _preCheck_submitDepositBatch() internal { + uint256 snapshotId = vm.snapshot(); + + _fake_unpause(); + + address requester = makeAddr("requester-1"); + Transfer.Request[] memory dummyRequests = _genDummyParam_submitDepositBatch(); + + // Top-up USDC for requester + vm.prank(0x5041ed759Dd4aFc3a72b8192C143F72f4724081A); // USDC whale + address(USDC).call(abi.encodeWithSignature("transfer(address,uint256)", requester, dummyRequests[0].info.quantity + dummyRequests[1].info.quantity)); + + // Approve USDC for MainchainGateway + vm.prank(requester); + address(USDC).call( + abi.encodeWithSignature("approve(address,uint256)", address(_mainchainGW), dummyRequests[0].info.quantity + dummyRequests[1].info.quantity) + ); + + // Deposit USDC, check logs + vm.recordLogs(); + vm.prank(requester); + address(_mainchainGW).call(abi.encodeWithSignature("requestDepositForBatch((address,address,(uint8,uint256,uint256))[])", dummyRequests)); + + Vm.Log[] memory entries = vm.getRecordedLogs(); + + /** + * Topic 0, 2: Transferred(USDC) + * Topic 1, 3: DepositRequested + */ + assertEq(entries.length, 4, "Recorded logs should contain 4 entries"); + + { + assertEq( + entries[1].topics[0], + keccak256("DepositRequested(bytes32,(uint256,uint8,(address,address,uint256),(address,address,uint256),(uint8,uint256,uint256)))"), + "Entry 1: Invalid topic 1" + ); + (, Transfer.Receipt memory receipt) = abi.decode(entries[1].data, (bytes32, Transfer.Receipt)); + assertEq(receipt.info.quantity, 2000, "Entry 1: Invalid quantity"); + } + + { + assertEq( + entries[3].topics[0], + keccak256("DepositRequested(bytes32,(uint256,uint8,(address,address,uint256),(address,address,uint256),(uint8,uint256,uint256)))"), + "Entry 3: Invalid topic 1" + ); + (, Transfer.Receipt memory receipt) = abi.decode(entries[3].data, (bytes32, Transfer.Receipt)); + assertEq(receipt.info.quantity, 1000, "Entry 3: Invalid quantity"); + } + + bool reverted = vm.revertTo(snapshotId); + require(reverted, string.concat("Cannot revert to snapshot id: ", vm.toString(snapshotId))); + } + + function _postCheck_submitDepositBatch() internal { + Transfer.Request[] memory dummyRequests = _genDummyParam_submitDepositBatch(); + + // Method get removed, so it reverted in fallback with invalid deposit + vm.expectRevert(); + address(_mainchainGW).call(abi.encodeWithSignature("requestDepositForBatch((address,address,(uint8,uint256,uint256))[])", dummyRequests)); + } + + function _genDummyParam_submitDepositBatch() internal returns (Transfer.Request[] memory dummyRequests) { + dummyRequests = new Transfer.Request[](2); + dummyRequests[0].tokenAddr = USDC; + dummyRequests[0].recipientAddr = makeAddr("recipient-1"); + dummyRequests[0].info.erc = TokenStandard.ERC20; + dummyRequests[0].info.id = 0; + dummyRequests[0].info.quantity = 2000; + + dummyRequests[1].tokenAddr = USDC; + dummyRequests[1].recipientAddr = makeAddr("recipient-2"); + dummyRequests[1].info.erc = TokenStandard.ERC20; + dummyRequests[1].info.id = 0; + dummyRequests[1].info.quantity = 1000; + } + function _fake_unpause() internal { address pauseEnforcer = 0xe514d9DEB7966c8BE0ca922de8a064264eA6bcd4; console.log("Pranking Pause Enforcer"); @@ -226,23 +312,70 @@ contract Migration__20240807_IR_Recover is Migration { console.log("Stop pranking Pause Enforcer"); } + function _fake_pause() internal { + address pauseEnforcer = 0xe514d9DEB7966c8BE0ca922de8a064264eA6bcd4; + console.log("Pranking Pause Enforcer"); + vm.prank(pauseEnforcer); + (bool success,) = address(_mainchainGW).call(abi.encodeWithSignature("pause()")); + require(success, "Cannot pause mainchain gateway"); + console.log("Stop pranking Pause Enforcer"); + } + function _perform_checkAfterPrankFix() internal { + console.log("=== _perform_checkAfterPrankFix ==="); // - Total weight in `BM` and `GW` the same { uint256 totalWeightBM = _mainchainBM.getTotalWeight(); uint96 totalWeightGW = getGWTotalWeight(); require(totalWeightBM == uint256(totalWeightGW), "Mismatched total weight"); + require(totalWeightBM == 2200, "Mismatched total weight 2200"); } // - Weight of all operators in `BM` and `GW` the same (, address[] memory operatorsBM, uint96[] memory weightsBM) = _mainchainBM.getFullBridgeOperatorInfos(); for (uint256 i = 0; i < operatorsBM.length; i++) { require(getGWWeight(operatorsBM[i]) == weightsBM[i], "Mismatched weight"); + require(getGWWeight(operatorsBM[i]) == 100, "Mismatched weight 100"); } { _postCheck_Withdrawable(); } + + // Check minimum weight = specific number + { + require(IQuorum(address(_mainchainGW)).minimumVoteWeight() == 1540, "Mismatched minimum vote weight 1540"); + } + + // Check threshold + { + require(IQuorum(address(_mainchainGW)).checkThreshold(1540) == true, "Malfunction threshold 1540"); + require(IQuorum(address(_mainchainGW)).checkThreshold(1541) == true, "Malfunction threshold 1541"); + require(IQuorum(address(_mainchainGW)).checkThreshold(1539) == false, "Malfunction threshold 1539"); + require(IQuorum(address(_mainchainGW)).checkThreshold(0) == false, "Malfunction threshold 0"); + + require(IWithdrawalLimitation(address(_mainchainGW)).checkHighTierVoteWeightThreshold(1980) == true, "Malfunction high tier threshold 1980"); + require(IWithdrawalLimitation(address(_mainchainGW)).checkHighTierVoteWeightThreshold(1981) == true, "Malfunction high tier threshold 1981"); + require(IWithdrawalLimitation(address(_mainchainGW)).checkHighTierVoteWeightThreshold(1979) == false, "Malfunction high tier threshold 1979"); + require(IWithdrawalLimitation(address(_mainchainGW)).checkHighTierVoteWeightThreshold(0) == false, "Malfunction high tier threshold 0"); + } + + // Check `depositForBatch` is removed + { + _fake_unpause(); + _postCheck_submitDepositBatch(); + _fake_pause(); + } + + // Check `WETHUnwrapper` is removed + { + _fake_unpause(); + + // Method get removed, so it reverted in fallback with invalid deposit + vm.expectRevert(abi.encodeWithSignature("ErrInvalidInfo()")); + address(_mainchainGW).staticcall(abi.encodeWithSignature("WETHUnwrapper()")); + _fake_pause(); + } } function _postCheck_Withdrawable() internal { @@ -263,7 +396,7 @@ contract Migration__20240807_IR_Recover is Migration { require(reverted, string.concat("Cannot revert to snapshot id: ", vm.toString(snapshotId))); } - function _postCheck() virtual override internal { + function _postCheck() internal virtual override { switchTo(_companionNetwork); // Cheat to unpause of MainchainGatewayV3 to self to pass post-check. From 0ad1f690b15827bb2073ca51b5c517dc520aabb8 Mon Sep 17 00:00:00 2001 From: "tu-do.ron" Date: Mon, 26 Aug 2024 15:58:34 +0700 Subject: [PATCH 59/74] script: post check should revert state on mainchain (#76) --- ...PostCheck_Gateway_DepositAndWithdraw.s.sol | 34 ++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol b/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol index ed87a213..03d361f3 100644 --- a/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol +++ b/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol @@ -159,6 +159,10 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { withdrawReq.info.id = 0; withdrawReq.info.quantity = 1 ether; + if (network() == DefaultNetwork.RoninTestnet.key()) { + withdrawReq.info.quantity = 0.00009 ether; // Low tier 0.0001 + } + deal(address(ronWETH), user, withdrawReq.info.quantity); vm.prank(user); ronWETH.approve(ronGW, withdrawReq.info.quantity); @@ -169,6 +173,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { (LibTransfer.Receipt memory receipt, bytes32 receiptHash) = _getReceiptHash(ronGW, IRoninGatewayV3.WithdrawalRequested.selector); (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + uint256 snapshotId = vm.snapshot(); bytes32 receiptDigest = LibTransfer.receiptDigest(gwDomainHash, receiptHash); @@ -183,6 +188,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { assertEq(withdrawReq.recipientAddr.balance, withdrawReq.info.quantity, "Withdraw should be processed"); + vm.revertTo(snapshotId); switchBack(prevNetwork, prevForkId); } @@ -207,6 +213,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { (LibTransfer.Receipt memory receipt, bytes32 receiptHash) = _getReceiptHash(ronGW, IRoninGatewayV3.WithdrawalRequested.selector); (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + uint256 snapshotId = vm.snapshot(); bytes32 receiptDigest = LibTransfer.receiptDigest(gwDomainHash, receiptHash); @@ -257,6 +264,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { vm.expectRevert(); IMainchainGatewayV3(ethGW).submitWithdrawal(receipt, sigs); + vm.revertTo(snapshotId); switchBack(prevNetwork, prevForkId); } @@ -272,12 +280,14 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { depositReq.info.quantity = 1 ether; (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + uint256 snapshotId = vm.snapshot(); vm.deal(user, depositReq.info.quantity); vm.prank(user); vm.expectRevert(); IMainchainGatewayV3(ethGW).requestDepositFor{ value: depositReq.info.quantity - 1 }(depositReq); + vm.revertTo(snapshotId); switchBack(prevNetwork, prevForkId); } @@ -289,6 +299,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { depositReq.info.quantity = 1 ether; (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + uint256 snapshotId = vm.snapshot(); deal(address(ethWETH), user, depositReq.info.quantity); @@ -307,6 +318,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { (LibTransfer.Receipt memory receipt,) = _getReceiptHash(ethGW, IMainchainGatewayV3.DepositRequested.selector); + vm.revertTo(snapshotId); switchBack(prevNetwork, prevForkId); overrideMockBOs(ronBM); @@ -330,6 +342,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { depositReq.info.quantity = 1 ether; (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + uint256 snapshotId = vm.snapshot(); vm.deal(user, depositReq.info.quantity); vm.prank(user); @@ -344,6 +357,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { (LibTransfer.Receipt memory receipt,) = _getReceiptHash(ethGW, IMainchainGatewayV3.DepositRequested.selector); + vm.revertTo(snapshotId); switchBack(prevNetwork, prevForkId); overrideMockBOs(ronBM); @@ -361,9 +375,11 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { function validate_Gateway_WETHAddressUnchanged() private onPostCheck("validate_Gateway_WETHAddressUnchanged") onlyOnRoninNetworkOrLocal { (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + uint256 snapshotId = vm.snapshot(); assertEq(address(ethWETH), address(IMainchainGatewayV3(ethGW).wrappedNativeToken()), "WETH address should not change"); + vm.revertTo(snapshotId); switchBack(prevNetwork, prevForkId); } @@ -388,6 +404,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { (LibTransfer.Receipt memory receipt, bytes32 receiptHash) = _getReceiptHash(ronGW, IRoninGatewayV3.WithdrawalRequested.selector); (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + uint256 snapshotId = vm.snapshot(); bytes32 receiptDigest = LibTransfer.receiptDigest(gwDomainHash, receiptHash); @@ -398,11 +415,12 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { bos[0] = mockOps[0]; bos[1] = mockOps[1]; - Signature[] memory sigs = _bulkSignReceipt(bos, receiptDigest); + Signature[] memory sigs = _bulkSignReceipt(bos.concat(mockOps), receiptDigest); vm.expectRevert(); IMainchainGatewayV3(ethGW).submitWithdrawal(receipt, sigs); + vm.revertTo(snapshotId); switchBack(prevNetwork, prevForkId); } @@ -427,6 +445,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { (LibTransfer.Receipt memory receipt, bytes32 receiptHash) = _getReceiptHash(ronGW, IRoninGatewayV3.WithdrawalRequested.selector); (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + uint256 snapshotId = vm.snapshot(); bytes32 receiptDigest = LibTransfer.receiptDigest(gwDomainHash, receiptHash); @@ -442,6 +461,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { vm.expectRevert(); IMainchainGatewayV3(ethGW).submitWithdrawal(receipt, sigs); + vm.revertTo(snapshotId); switchBack(prevNetwork, prevForkId); } @@ -453,10 +473,12 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { assertEq(IHasContracts(brSl).getContract(ContractType.BRIDGE_MANAGER), ronBM, "Invalid RoninBridgeManager in bridgeSlash"); (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + uint256 snapshotId = vm.snapshot(); assertEq(ethBM.getProxyAdmin(), ethBM, "Invalid ProxyAdmin in MainchainBridgeManager, expected self"); assertEq(IHasContracts(ethGW).getContract(ContractType.BRIDGE_MANAGER), ethBM, "Invalid MainchainBridgeManager in ethGW"); + vm.revertTo(snapshotId); switchBack(prevNetwork, prevForkId); } @@ -468,6 +490,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { depositReq.info.quantity = 1 ether; (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + uint256 snapshotId = vm.snapshot(); vm.prank(user); ethERC20.approve(ethGW, depositReq.info.quantity); @@ -478,6 +501,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { (LibTransfer.Receipt memory receipt,) = _getReceiptHash(ethGW, IMainchainGatewayV3.DepositRequested.selector); + vm.revertTo(snapshotId); switchBack(prevNetwork, prevForkId); overrideMockBOs(ronBM); @@ -505,6 +529,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { depositReq.info.quantity = 1 ether; (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + uint256 snapshotId = vm.snapshot(); vm.prank(user); ethERC20.approve(ethGW, depositReq.info.quantity); @@ -515,6 +540,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { (LibTransfer.Receipt memory receipt,) = _getReceiptHash(ethGW, IMainchainGatewayV3.DepositRequested.selector); + vm.revertTo(snapshotId); switchBack(prevNetwork, prevForkId); overrideMockBOs(ronBM); @@ -554,6 +580,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { (LibTransfer.Receipt memory receipt, bytes32 receiptHash) = _getReceiptHash(ronGW, IRoninGatewayV3.WithdrawalRequested.selector); (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + uint256 snapshotId = vm.snapshot(); bytes32 receiptDigest = LibTransfer.receiptDigest(gwDomainHash, receiptHash); @@ -566,6 +593,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { vm.expectRevert(); IMainchainGatewayV3(ethGW).submitWithdrawal(receipt, sigs); + vm.revertTo(snapshotId); switchBack(prevNetwork, prevForkId); } @@ -592,6 +620,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { bytes32 receiptDigest = LibTransfer.receiptDigest(gwDomainHash, receiptHash); (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + uint256 snapshotId = vm.snapshot(); overrideMockBOs(ethBM); @@ -608,6 +637,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { vm.expectRevert(); IMainchainGatewayV3(ethGW).submitWithdrawal(receipt, sigs); + vm.revertTo(snapshotId); switchBack(prevNetwork, prevForkId); } @@ -630,6 +660,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { bytes32 receiptDigest = LibTransfer.receiptDigest(gwDomainHash, receiptHash); (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + uint256 snapshotId = vm.snapshot(); overrideMockBOs(ethBM); Signature[] memory sigs = _bulkSignReceipt(mockOps, receiptDigest); @@ -638,6 +669,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { assertEq(ethERC20.balanceOf(withdrawReq.recipientAddr), withdrawReq.info.quantity, "Withdraw should be processed"); + vm.revertTo(snapshotId); switchBack(prevNetwork, prevForkId); } From 6029e772f506601064b24c7af7e5c96f0bc543f3 Mon Sep 17 00:00:00 2001 From: Bao Date: Mon, 26 Aug 2024 13:13:43 +0700 Subject: [PATCH 60/74] script: more check after proposal (#74) * script: more check after proposal * script: add pre check for `submitDepositBatch` --- .../20240807-ir-recover.s.sol | 134 ++++++++++++++++++ 1 file changed, 134 insertions(+) diff --git a/script/20240807-ir-recover/20240807-ir-recover.s.sol b/script/20240807-ir-recover/20240807-ir-recover.s.sol index 389dd1bf..f93e9c22 100644 --- a/script/20240807-ir-recover/20240807-ir-recover.s.sol +++ b/script/20240807-ir-recover/20240807-ir-recover.s.sol @@ -2,6 +2,7 @@ pragma solidity ^0.8.19; import { console } from "forge-std/console.sol"; +import { Vm } from "forge-std/Vm.sol"; import { cheatBroadcast } from "@fdk/utils/Helpers.sol"; import { DefaultNetwork } from "@fdk/utils/DefaultNetwork.sol"; import { TNetwork } from "@fdk/types/Types.sol"; @@ -17,6 +18,7 @@ import { TransparentUpgradeableProxyV2, TransparentUpgradeableProxy } from "@ron import { IMainchainBridgeManager } from "script/interfaces/IMainchainBridgeManager.sol"; import { IRoninBridgeManager } from "script/interfaces/IRoninBridgeManager.sol"; import { MainchainBridgeManager } from "@ronin/contracts/mainchain/MainchainBridgeManager.sol"; +import { IQuorum } from "@ronin/contracts/interfaces/IQuorum.sol"; import { IMainchainGatewayV3 } from "@ronin/contracts/interfaces/IMainchainGatewayV3.sol"; import { MainchainGatewayV3 } from "@ronin/contracts/mainchain/MainchainGatewayV3.sol"; import { IBridgeManagerCallback } from "@ronin/contracts/interfaces/bridge/IBridgeManagerCallback.sol"; @@ -27,6 +29,10 @@ import { TokenStandard } from "@ronin/contracts/libraries/LibTokenInfo.sol"; import { SignatureConsumer } from "@ronin/contracts/interfaces/consumers/SignatureConsumer.sol"; import { LibProxy } from "@fdk/libraries/LibProxy.sol"; +interface IWithdrawalLimitation { + function checkHighTierVoteWeightThreshold(uint256 _voteWeight) external view virtual returns (bool); +} + contract Migration__20240807_IR_Recover is Migration { using LibProxy for *; using LibCompanionNetwork for TNetwork; @@ -35,6 +41,8 @@ contract Migration__20240807_IR_Recover is Migration { TNetwork _prevNetwork; uint256 _prevForkId; + address private constant USDC = 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48; + address private constant SM_GOVERNOR = 0xe880802580a1fbdeF67ACe39D1B21c5b2C74f059; address private _multisigEth = 0x51F6696Ae42C6C40CA9F5955EcA2aaaB1Cefb26e; IMainchainBridgeManager private _mainchainBM = IMainchainBridgeManager(0x2Cf3CFb17774Ce0CFa34bB3f3761904e7fc3FaDB); @@ -55,6 +63,7 @@ contract Migration__20240807_IR_Recover is Migration { { _preCheck_Withdrawable(); + _preCheck_submitDepositBatch(); _perform_PrankFix(); _perform_checkAfterPrankFix(); } @@ -216,6 +225,84 @@ contract Migration__20240807_IR_Recover is Migration { require(reverted, string.concat("Cannot revert to snapshot id: ", vm.toString(snapshotId))); } + function _preCheck_submitDepositBatch() internal { + uint256 snapshotId = vm.snapshot(); + + _fake_unpause(); + + address requester = makeAddr("requester-1"); + Transfer.Request[] memory dummyRequests = _genDummyParam_submitDepositBatch(); + + // Top-up USDC for requester + vm.prank(0x5041ed759Dd4aFc3a72b8192C143F72f4724081A); // USDC whale + address(USDC).call(abi.encodeWithSignature("transfer(address,uint256)", requester, dummyRequests[0].info.quantity + dummyRequests[1].info.quantity)); + + // Approve USDC for MainchainGateway + vm.prank(requester); + address(USDC).call( + abi.encodeWithSignature("approve(address,uint256)", address(_mainchainGW), dummyRequests[0].info.quantity + dummyRequests[1].info.quantity) + ); + + // Deposit USDC, check logs + vm.recordLogs(); + vm.prank(requester); + address(_mainchainGW).call(abi.encodeWithSignature("requestDepositForBatch((address,address,(uint8,uint256,uint256))[])", dummyRequests)); + + Vm.Log[] memory entries = vm.getRecordedLogs(); + + /** + * Topic 0, 2: Transferred(USDC) + * Topic 1, 3: DepositRequested + */ + assertEq(entries.length, 4, "Recorded logs should contain 4 entries"); + + { + assertEq( + entries[1].topics[0], + keccak256("DepositRequested(bytes32,(uint256,uint8,(address,address,uint256),(address,address,uint256),(uint8,uint256,uint256)))"), + "Entry 1: Invalid topic 1" + ); + (, Transfer.Receipt memory receipt) = abi.decode(entries[1].data, (bytes32, Transfer.Receipt)); + assertEq(receipt.info.quantity, 2000, "Entry 1: Invalid quantity"); + } + + { + assertEq( + entries[3].topics[0], + keccak256("DepositRequested(bytes32,(uint256,uint8,(address,address,uint256),(address,address,uint256),(uint8,uint256,uint256)))"), + "Entry 3: Invalid topic 1" + ); + (, Transfer.Receipt memory receipt) = abi.decode(entries[3].data, (bytes32, Transfer.Receipt)); + assertEq(receipt.info.quantity, 1000, "Entry 3: Invalid quantity"); + } + + bool reverted = vm.revertTo(snapshotId); + require(reverted, string.concat("Cannot revert to snapshot id: ", vm.toString(snapshotId))); + } + + function _postCheck_submitDepositBatch() internal { + Transfer.Request[] memory dummyRequests = _genDummyParam_submitDepositBatch(); + + // Method get removed, so it reverted in fallback with invalid deposit + vm.expectRevert(); + address(_mainchainGW).call(abi.encodeWithSignature("requestDepositForBatch((address,address,(uint8,uint256,uint256))[])", dummyRequests)); + } + + function _genDummyParam_submitDepositBatch() internal returns (Transfer.Request[] memory dummyRequests) { + dummyRequests = new Transfer.Request[](2); + dummyRequests[0].tokenAddr = USDC; + dummyRequests[0].recipientAddr = makeAddr("recipient-1"); + dummyRequests[0].info.erc = TokenStandard.ERC20; + dummyRequests[0].info.id = 0; + dummyRequests[0].info.quantity = 2000; + + dummyRequests[1].tokenAddr = USDC; + dummyRequests[1].recipientAddr = makeAddr("recipient-2"); + dummyRequests[1].info.erc = TokenStandard.ERC20; + dummyRequests[1].info.id = 0; + dummyRequests[1].info.quantity = 1000; + } + function _fake_unpause() internal { address pauseEnforcer = 0xe514d9DEB7966c8BE0ca922de8a064264eA6bcd4; console.log("Pranking Pause Enforcer"); @@ -225,23 +312,70 @@ contract Migration__20240807_IR_Recover is Migration { console.log("Stop pranking Pause Enforcer"); } + function _fake_pause() internal { + address pauseEnforcer = 0xe514d9DEB7966c8BE0ca922de8a064264eA6bcd4; + console.log("Pranking Pause Enforcer"); + vm.prank(pauseEnforcer); + (bool success,) = address(_mainchainGW).call(abi.encodeWithSignature("pause()")); + require(success, "Cannot pause mainchain gateway"); + console.log("Stop pranking Pause Enforcer"); + } + function _perform_checkAfterPrankFix() internal { + console.log("=== _perform_checkAfterPrankFix ==="); // - Total weight in `BM` and `GW` the same { uint256 totalWeightBM = _mainchainBM.getTotalWeight(); uint96 totalWeightGW = getGWTotalWeight(); require(totalWeightBM == uint256(totalWeightGW), "Mismatched total weight"); + require(totalWeightBM == 2200, "Mismatched total weight 2200"); } // - Weight of all operators in `BM` and `GW` the same (, address[] memory operatorsBM, uint96[] memory weightsBM) = _mainchainBM.getFullBridgeOperatorInfos(); for (uint256 i = 0; i < operatorsBM.length; i++) { require(getGWWeight(operatorsBM[i]) == weightsBM[i], "Mismatched weight"); + require(getGWWeight(operatorsBM[i]) == 100, "Mismatched weight 100"); } { _postCheck_Withdrawable(); } + + // Check minimum weight = specific number + { + require(IQuorum(address(_mainchainGW)).minimumVoteWeight() == 1540, "Mismatched minimum vote weight 1540"); + } + + // Check threshold + { + require(IQuorum(address(_mainchainGW)).checkThreshold(1540) == true, "Malfunction threshold 1540"); + require(IQuorum(address(_mainchainGW)).checkThreshold(1541) == true, "Malfunction threshold 1541"); + require(IQuorum(address(_mainchainGW)).checkThreshold(1539) == false, "Malfunction threshold 1539"); + require(IQuorum(address(_mainchainGW)).checkThreshold(0) == false, "Malfunction threshold 0"); + + require(IWithdrawalLimitation(address(_mainchainGW)).checkHighTierVoteWeightThreshold(1980) == true, "Malfunction high tier threshold 1980"); + require(IWithdrawalLimitation(address(_mainchainGW)).checkHighTierVoteWeightThreshold(1981) == true, "Malfunction high tier threshold 1981"); + require(IWithdrawalLimitation(address(_mainchainGW)).checkHighTierVoteWeightThreshold(1979) == false, "Malfunction high tier threshold 1979"); + require(IWithdrawalLimitation(address(_mainchainGW)).checkHighTierVoteWeightThreshold(0) == false, "Malfunction high tier threshold 0"); + } + + // Check `depositForBatch` is removed + { + _fake_unpause(); + _postCheck_submitDepositBatch(); + _fake_pause(); + } + + // Check `WETHUnwrapper` is removed + { + _fake_unpause(); + + // Method get removed, so it reverted in fallback with invalid deposit + vm.expectRevert(abi.encodeWithSignature("ErrInvalidInfo()")); + address(_mainchainGW).staticcall(abi.encodeWithSignature("WETHUnwrapper()")); + _fake_pause(); + } } function _postCheck_Withdrawable() internal { From b32a98bc177ca7a1455addbc757a6dc3655c39d1 Mon Sep 17 00:00:00 2001 From: "tu-do.ron" Date: Mon, 26 Aug 2024 15:58:34 +0700 Subject: [PATCH 61/74] script: post check should revert state on mainchain (#76) --- ...PostCheck_Gateway_DepositAndWithdraw.s.sol | 34 ++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol b/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol index ed87a213..03d361f3 100644 --- a/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol +++ b/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol @@ -159,6 +159,10 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { withdrawReq.info.id = 0; withdrawReq.info.quantity = 1 ether; + if (network() == DefaultNetwork.RoninTestnet.key()) { + withdrawReq.info.quantity = 0.00009 ether; // Low tier 0.0001 + } + deal(address(ronWETH), user, withdrawReq.info.quantity); vm.prank(user); ronWETH.approve(ronGW, withdrawReq.info.quantity); @@ -169,6 +173,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { (LibTransfer.Receipt memory receipt, bytes32 receiptHash) = _getReceiptHash(ronGW, IRoninGatewayV3.WithdrawalRequested.selector); (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + uint256 snapshotId = vm.snapshot(); bytes32 receiptDigest = LibTransfer.receiptDigest(gwDomainHash, receiptHash); @@ -183,6 +188,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { assertEq(withdrawReq.recipientAddr.balance, withdrawReq.info.quantity, "Withdraw should be processed"); + vm.revertTo(snapshotId); switchBack(prevNetwork, prevForkId); } @@ -207,6 +213,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { (LibTransfer.Receipt memory receipt, bytes32 receiptHash) = _getReceiptHash(ronGW, IRoninGatewayV3.WithdrawalRequested.selector); (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + uint256 snapshotId = vm.snapshot(); bytes32 receiptDigest = LibTransfer.receiptDigest(gwDomainHash, receiptHash); @@ -257,6 +264,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { vm.expectRevert(); IMainchainGatewayV3(ethGW).submitWithdrawal(receipt, sigs); + vm.revertTo(snapshotId); switchBack(prevNetwork, prevForkId); } @@ -272,12 +280,14 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { depositReq.info.quantity = 1 ether; (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + uint256 snapshotId = vm.snapshot(); vm.deal(user, depositReq.info.quantity); vm.prank(user); vm.expectRevert(); IMainchainGatewayV3(ethGW).requestDepositFor{ value: depositReq.info.quantity - 1 }(depositReq); + vm.revertTo(snapshotId); switchBack(prevNetwork, prevForkId); } @@ -289,6 +299,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { depositReq.info.quantity = 1 ether; (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + uint256 snapshotId = vm.snapshot(); deal(address(ethWETH), user, depositReq.info.quantity); @@ -307,6 +318,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { (LibTransfer.Receipt memory receipt,) = _getReceiptHash(ethGW, IMainchainGatewayV3.DepositRequested.selector); + vm.revertTo(snapshotId); switchBack(prevNetwork, prevForkId); overrideMockBOs(ronBM); @@ -330,6 +342,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { depositReq.info.quantity = 1 ether; (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + uint256 snapshotId = vm.snapshot(); vm.deal(user, depositReq.info.quantity); vm.prank(user); @@ -344,6 +357,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { (LibTransfer.Receipt memory receipt,) = _getReceiptHash(ethGW, IMainchainGatewayV3.DepositRequested.selector); + vm.revertTo(snapshotId); switchBack(prevNetwork, prevForkId); overrideMockBOs(ronBM); @@ -361,9 +375,11 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { function validate_Gateway_WETHAddressUnchanged() private onPostCheck("validate_Gateway_WETHAddressUnchanged") onlyOnRoninNetworkOrLocal { (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + uint256 snapshotId = vm.snapshot(); assertEq(address(ethWETH), address(IMainchainGatewayV3(ethGW).wrappedNativeToken()), "WETH address should not change"); + vm.revertTo(snapshotId); switchBack(prevNetwork, prevForkId); } @@ -388,6 +404,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { (LibTransfer.Receipt memory receipt, bytes32 receiptHash) = _getReceiptHash(ronGW, IRoninGatewayV3.WithdrawalRequested.selector); (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + uint256 snapshotId = vm.snapshot(); bytes32 receiptDigest = LibTransfer.receiptDigest(gwDomainHash, receiptHash); @@ -398,11 +415,12 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { bos[0] = mockOps[0]; bos[1] = mockOps[1]; - Signature[] memory sigs = _bulkSignReceipt(bos, receiptDigest); + Signature[] memory sigs = _bulkSignReceipt(bos.concat(mockOps), receiptDigest); vm.expectRevert(); IMainchainGatewayV3(ethGW).submitWithdrawal(receipt, sigs); + vm.revertTo(snapshotId); switchBack(prevNetwork, prevForkId); } @@ -427,6 +445,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { (LibTransfer.Receipt memory receipt, bytes32 receiptHash) = _getReceiptHash(ronGW, IRoninGatewayV3.WithdrawalRequested.selector); (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + uint256 snapshotId = vm.snapshot(); bytes32 receiptDigest = LibTransfer.receiptDigest(gwDomainHash, receiptHash); @@ -442,6 +461,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { vm.expectRevert(); IMainchainGatewayV3(ethGW).submitWithdrawal(receipt, sigs); + vm.revertTo(snapshotId); switchBack(prevNetwork, prevForkId); } @@ -453,10 +473,12 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { assertEq(IHasContracts(brSl).getContract(ContractType.BRIDGE_MANAGER), ronBM, "Invalid RoninBridgeManager in bridgeSlash"); (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + uint256 snapshotId = vm.snapshot(); assertEq(ethBM.getProxyAdmin(), ethBM, "Invalid ProxyAdmin in MainchainBridgeManager, expected self"); assertEq(IHasContracts(ethGW).getContract(ContractType.BRIDGE_MANAGER), ethBM, "Invalid MainchainBridgeManager in ethGW"); + vm.revertTo(snapshotId); switchBack(prevNetwork, prevForkId); } @@ -468,6 +490,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { depositReq.info.quantity = 1 ether; (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + uint256 snapshotId = vm.snapshot(); vm.prank(user); ethERC20.approve(ethGW, depositReq.info.quantity); @@ -478,6 +501,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { (LibTransfer.Receipt memory receipt,) = _getReceiptHash(ethGW, IMainchainGatewayV3.DepositRequested.selector); + vm.revertTo(snapshotId); switchBack(prevNetwork, prevForkId); overrideMockBOs(ronBM); @@ -505,6 +529,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { depositReq.info.quantity = 1 ether; (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + uint256 snapshotId = vm.snapshot(); vm.prank(user); ethERC20.approve(ethGW, depositReq.info.quantity); @@ -515,6 +540,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { (LibTransfer.Receipt memory receipt,) = _getReceiptHash(ethGW, IMainchainGatewayV3.DepositRequested.selector); + vm.revertTo(snapshotId); switchBack(prevNetwork, prevForkId); overrideMockBOs(ronBM); @@ -554,6 +580,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { (LibTransfer.Receipt memory receipt, bytes32 receiptHash) = _getReceiptHash(ronGW, IRoninGatewayV3.WithdrawalRequested.selector); (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + uint256 snapshotId = vm.snapshot(); bytes32 receiptDigest = LibTransfer.receiptDigest(gwDomainHash, receiptHash); @@ -566,6 +593,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { vm.expectRevert(); IMainchainGatewayV3(ethGW).submitWithdrawal(receipt, sigs); + vm.revertTo(snapshotId); switchBack(prevNetwork, prevForkId); } @@ -592,6 +620,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { bytes32 receiptDigest = LibTransfer.receiptDigest(gwDomainHash, receiptHash); (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + uint256 snapshotId = vm.snapshot(); overrideMockBOs(ethBM); @@ -608,6 +637,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { vm.expectRevert(); IMainchainGatewayV3(ethGW).submitWithdrawal(receipt, sigs); + vm.revertTo(snapshotId); switchBack(prevNetwork, prevForkId); } @@ -630,6 +660,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { bytes32 receiptDigest = LibTransfer.receiptDigest(gwDomainHash, receiptHash); (TNetwork prevNetwork, uint256 prevForkId) = switchTo(companionNetwork); + uint256 snapshotId = vm.snapshot(); overrideMockBOs(ethBM); Signature[] memory sigs = _bulkSignReceipt(mockOps, receiptDigest); @@ -638,6 +669,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { assertEq(ethERC20.balanceOf(withdrawReq.recipientAddr), withdrawReq.info.quantity, "Withdraw should be processed"); + vm.revertTo(snapshotId); switchBack(prevNetwork, prevForkId); } From b1786931f6e87a08c76428964cdbee8fe4c073c5 Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Mon, 26 Aug 2024 16:13:23 +0700 Subject: [PATCH 62/74] script: update ir recover script relay on sepolia --- .../20240807-ir-recover-testnet.s.sol | 78 +++++++++++++------ 1 file changed, 53 insertions(+), 25 deletions(-) diff --git a/script/20240807-ir-recover/20240807-ir-recover-testnet.s.sol b/script/20240807-ir-recover/20240807-ir-recover-testnet.s.sol index 9e6d2ff4..44b64964 100644 --- a/script/20240807-ir-recover/20240807-ir-recover-testnet.s.sol +++ b/script/20240807-ir-recover/20240807-ir-recover-testnet.s.sol @@ -31,6 +31,7 @@ import { LibProxy } from "@fdk/libraries/LibProxy.sol"; contract Migration__20240807_IR_Recover_Testnet is Migration { using LibProxy for *; + using LibProposal for *; using LibCompanionNetwork for TNetwork; TNetwork _companionNetwork; @@ -61,22 +62,43 @@ contract Migration__20240807_IR_Recover_Testnet is Migration { _mainchainBMproxy = TransparentUpgradeableProxyV2(payable(address(_mainchainBM))); _mainchainGW = IMainchainGatewayV3(loadContract(Contract.MainchainGatewayV3.key())); + _newGWLogic = _deployLogic(Contract.MainchainGatewayV3.key()); + uint256 snapshotId = vm.snapshot(); { // _preCheck_Withdrawable(); _perform_PrankFix(); _perform_checkAfterPrankFix(); } + // Cheat to cache proposal + Proposal.ProposalDetail memory _cache = _proposal; + vm.revertTo(snapshotId); + + _proposal = _cache; switchBack(prevNetwork, prevForkId); _performCreateAndExecuteProposalOnRonin(); + + (prevNetwork, prevForkId) = switchTo(_companionNetwork); + + _performRelayProposalOnMainchain(); + + switchBack(prevNetwork, prevForkId); + } + + function _performRelayProposalOnMainchain() internal { + address[] memory gvs = _mainchainBM.getGovernors(); + Signature[] memory signatures = _proposal.generateSignatures(gvs, Ballot.VoteType.For); + Ballot.VoteType[] memory _supports = new Ballot.VoteType[](signatures.length); + + vm.broadcast(gvs[0]); + IMainchainBridgeManager(_mainchainBM).relayProposal(_proposal, _supports, signatures); } function _perform_PrankFix() internal { // vm.prank(_multisigEth); // _prevBMLogic = _mainchainBMproxy.implementation(); // _newBMLogic = _deployLogic(Contract.MainchainBridgeManager.key()); - _newGWLogic = _deployLogic(Contract.MainchainGatewayV3.key()); _recover_relayProposalWithCheatGovernors(); @@ -107,32 +129,38 @@ contract Migration__20240807_IR_Recover_Testnet is Migration { } function _performCreateAndExecuteProposalOnRonin() internal { - address[] memory gvs = _roninBM.getGovernors(); - address gv = gvs[0]; - - vm.broadcast(gv); - vm.recordLogs(); - _roninBM.propose({ - chainId: _proposal.chainId, - expiryTimestamp: _proposal.expiryTimestamp, - executor: _proposal.executor, - targets: _proposal.targets, - values: _proposal.values, - calldatas: _proposal.calldatas, - gasAmounts: _proposal.gasAmounts - }); - - Vm.Log[] memory logs = vm.getRecordedLogs(); - Proposal.ProposalDetail memory proposal; - - for (uint256 i = 0; i < logs.length; i++) { - if (logs[i].emitter == address(_roninBM) && logs[i].topics[0] == IRoninBridgeManager.ProposalCreated.selector) { - (proposal,) = abi.decode(logs[i].data, (Proposal.ProposalDetail, address)); - break; + while (_roninBM.round(11155111) <= 7) { + uint256 nonce = _roninBM.round(11155111) + 1; + + address[] memory gvs = _roninBM.getGovernors(); + address gv = gvs[0]; + + vm.broadcast(gv); + vm.recordLogs(); + _roninBM.propose({ + chainId: _proposal.chainId, + expiryTimestamp: _proposal.expiryTimestamp, + executor: _proposal.executor, + targets: _proposal.targets, + values: _proposal.values, + calldatas: _proposal.calldatas, + gasAmounts: _proposal.gasAmounts + }); + + Vm.Log[] memory logs = vm.getRecordedLogs(); + + for (uint256 i = 0; i < logs.length; i++) { + if (logs[i].emitter == address(_roninBM) && logs[i].topics[0] == IRoninBridgeManager.ProposalCreated.selector) { + (_proposal,) = abi.decode(logs[i].data, (Proposal.ProposalDetail, address)); + break; + } } - } - LibProposal.voteForBySignature(_roninBM, proposal, Ballot.VoteType.For); + console.log("Proposal nonce: ", _proposal.nonce); + require(_proposal.nonce == nonce, "Invalid proposal nonce"); + + LibProposal.voteForBySignature(_roninBM, _proposal, Ballot.VoteType.For); + } } function _recover_relayProposalWithCheatGovernors() internal { From f4e97cfec5b47104854ad05ec3aa970e5fed5156 Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Mon, 26 Aug 2024 16:16:24 +0700 Subject: [PATCH 63/74] script: fix compile error post check --- .../PostCheck_Gateway_DepositAndWithdraw.s.sol | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol b/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol index 03d361f3..df5ddae6 100644 --- a/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol +++ b/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol @@ -221,6 +221,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { uint256 minSigRequired = _calcMinSigOrVoteRequired(ethBM); uint256 unmetSigCount = minSigRequired - 1; + console.log("Unmet sig count", unmetSigCount); assertTrue(unmetSigCount > 1, "Invalid test setup"); // Sign first to get renounced operator signatures @@ -261,6 +262,8 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { vm.prank(address(ethBM)); ITransparentUpgradeableProxyV2(ethBM).functionDelegateCall(abi.encodeCall(IBridgeManager.removeBridgeOperators, (gvsToRemove))); + assertEq(IMainchainBridgeManager(ethBM).totalBridgeOperator(), 4, "Invalid total BOs"); + vm.expectRevert(); IMainchainGatewayV3(ethGW).submitWithdrawal(receipt, sigs); @@ -415,7 +418,10 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { bos[0] = mockOps[0]; bos[1] = mockOps[1]; - Signature[] memory sigs = _bulkSignReceipt(bos.concat(mockOps), receiptDigest); + console.log("GW min vote weight:", IQuorum(ethGW).minimumVoteWeight()); + assertEq(IMainchainBridgeManager(ethBM).totalBridgeOperator(), 4, "Invalid total BOs"); + + Signature[] memory sigs = _bulkSignReceipt(bos.extend(mockOps), receiptDigest); vm.expectRevert(); IMainchainGatewayV3(ethGW).submitWithdrawal(receipt, sigs); From a6e506be2b4ac4e41e73ad74642a3964174f2558 Mon Sep 17 00:00:00 2001 From: Bao Date: Mon, 26 Aug 2024 16:28:43 +0700 Subject: [PATCH 64/74] script: prank unpause ronin gateway (#77) * script: prank unpause ronin gateway for running postcheck * script: fix syntax error --- .../20240807-ir-recover.s.sol | 44 ++++++++++++------- ...PostCheck_Gateway_DepositAndWithdraw.s.sol | 2 +- 2 files changed, 30 insertions(+), 16 deletions(-) diff --git a/script/20240807-ir-recover/20240807-ir-recover.s.sol b/script/20240807-ir-recover/20240807-ir-recover.s.sol index f93e9c22..0c6ab874 100644 --- a/script/20240807-ir-recover/20240807-ir-recover.s.sol +++ b/script/20240807-ir-recover/20240807-ir-recover.s.sol @@ -19,6 +19,7 @@ import { IMainchainBridgeManager } from "script/interfaces/IMainchainBridgeManag import { IRoninBridgeManager } from "script/interfaces/IRoninBridgeManager.sol"; import { MainchainBridgeManager } from "@ronin/contracts/mainchain/MainchainBridgeManager.sol"; import { IQuorum } from "@ronin/contracts/interfaces/IQuorum.sol"; +import { IRoninGatewayV3 } from "@ronin/contracts/interfaces/IRoninGatewayV3.sol"; import { IMainchainGatewayV3 } from "@ronin/contracts/interfaces/IMainchainGatewayV3.sol"; import { MainchainGatewayV3 } from "@ronin/contracts/mainchain/MainchainGatewayV3.sol"; import { IBridgeManagerCallback } from "@ronin/contracts/interfaces/bridge/IBridgeManagerCallback.sol"; @@ -48,7 +49,12 @@ contract Migration__20240807_IR_Recover is Migration { IMainchainBridgeManager private _mainchainBM = IMainchainBridgeManager(0x2Cf3CFb17774Ce0CFa34bB3f3761904e7fc3FaDB); TransparentUpgradeableProxyV2 private _mainchainBMproxy = TransparentUpgradeableProxyV2(payable(address(_mainchainBM))); IMainchainGatewayV3 private _mainchainGW = IMainchainGatewayV3(0x64192819Ac13Ef72bF6b5AE239AC672B43a9AF08); + address private _mainchainPE = 0xe514d9DEB7966c8BE0ca922de8a064264eA6bcd4; + IRoninBridgeManager private _roninBM = IRoninBridgeManager(0x2ae89936FC398AeA23c63dB2404018fE361A8628); + IRoninGatewayV3 private _roninGW = IRoninGatewayV3(0x0CF8fF40a508bdBc39fBe1Bb679dCBa64E65C7Df); + address private _roninPE = 0x2367cD5468c2b3cD18aA74AdB7e14E43426aF837; + // address _prevBMLogic; // address _newBMLogic; @@ -208,7 +214,7 @@ contract Migration__20240807_IR_Recover is Migration { function _preCheck_Withdrawable() internal { uint256 snapshotId = vm.snapshot(); - _fake_unpause(); + _fake_unpauseMainchain(); Transfer.Receipt memory dummyReceipt = _generateReceipt(); @@ -228,7 +234,7 @@ contract Migration__20240807_IR_Recover is Migration { function _preCheck_submitDepositBatch() internal { uint256 snapshotId = vm.snapshot(); - _fake_unpause(); + _fake_unpauseMainchain(); address requester = makeAddr("requester-1"); Transfer.Request[] memory dummyRequests = _genDummyParam_submitDepositBatch(); @@ -303,22 +309,28 @@ contract Migration__20240807_IR_Recover is Migration { dummyRequests[1].info.quantity = 1000; } - function _fake_unpause() internal { - address pauseEnforcer = 0xe514d9DEB7966c8BE0ca922de8a064264eA6bcd4; - console.log("Pranking Pause Enforcer"); - vm.prank(pauseEnforcer); + function _fake_unpauseRonin() internal { + console.log("Pranking Ronin Pause Enforcer"); + vm.prank(_roninPE); + (bool success,) = address(_roninGW).call(abi.encodeWithSignature("unpause()")); + require(success, "Cannot unpause ronin gateway"); + console.log("Stop pranking Ronin Pause Enforcer"); + } + + function _fake_unpauseMainchain() internal { + console.log("Pranking Mainchain Pause Enforcer"); + vm.prank(_mainchainPE); (bool success,) = address(_mainchainGW).call(abi.encodeWithSignature("unpause()")); require(success, "Cannot unpause mainchain gateway"); - console.log("Stop pranking Pause Enforcer"); + console.log("Stop pranking Mainchain Pause Enforcer"); } function _fake_pause() internal { - address pauseEnforcer = 0xe514d9DEB7966c8BE0ca922de8a064264eA6bcd4; - console.log("Pranking Pause Enforcer"); - vm.prank(pauseEnforcer); + console.log("Pranking Mainchain Pause Enforcer"); + vm.prank(_mainchainPE); (bool success,) = address(_mainchainGW).call(abi.encodeWithSignature("pause()")); require(success, "Cannot pause mainchain gateway"); - console.log("Stop pranking Pause Enforcer"); + console.log("Stop pranking Mainchain Pause Enforcer"); } function _perform_checkAfterPrankFix() internal { @@ -362,14 +374,14 @@ contract Migration__20240807_IR_Recover is Migration { // Check `depositForBatch` is removed { - _fake_unpause(); + _fake_unpauseMainchain(); _postCheck_submitDepositBatch(); _fake_pause(); } // Check `WETHUnwrapper` is removed { - _fake_unpause(); + _fake_unpauseMainchain(); // Method get removed, so it reverted in fallback with invalid deposit vm.expectRevert(abi.encodeWithSignature("ErrInvalidInfo()")); @@ -380,7 +392,7 @@ contract Migration__20240807_IR_Recover is Migration { function _postCheck_Withdrawable() internal { uint256 snapshotId = vm.snapshot(); - _fake_unpause(); + _fake_unpauseMainchain(); Transfer.Receipt memory dummyReceipt = _generateReceipt(); @@ -400,7 +412,7 @@ contract Migration__20240807_IR_Recover is Migration { switchTo(_companionNetwork); // Cheat to unpause of MainchainGatewayV3 to self to pass post-check. - _fake_unpause(); + _fake_unpauseMainchain(); // Cheat to change admin of MainchainBridgeManager to self to pass post-check. vm.prank(_multisigEth); @@ -414,6 +426,8 @@ contract Migration__20240807_IR_Recover is Migration { vm.prank(admin); TransparentUpgradeableProxy(roninBM).changeAdmin(roninBM); + _fake_unpauseRonin(); + super._postCheck(); } diff --git a/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol b/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol index 03d361f3..7c57e7fb 100644 --- a/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol +++ b/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol @@ -415,7 +415,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { bos[0] = mockOps[0]; bos[1] = mockOps[1]; - Signature[] memory sigs = _bulkSignReceipt(bos.concat(mockOps), receiptDigest); + Signature[] memory sigs = _bulkSignReceipt(bos.extend(mockOps), receiptDigest); vm.expectRevert(); IMainchainGatewayV3(ethGW).submitWithdrawal(receipt, sigs); From 34ac2c285c40a72801803769c31c69d0cdc5d605 Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Mon, 26 Aug 2024 17:13:04 +0700 Subject: [PATCH 65/74] script: fix post check and and more custom postcheck for weth unwrapper removal --- .../20240807-ir-recover-testnet.s.sol | 11 ++++- ...PostCheck_Gateway_DepositAndWithdraw.s.sol | 42 ++++++++++++++----- script/shared/libraries/LibProposal.sol | 2 +- 3 files changed, 41 insertions(+), 14 deletions(-) diff --git a/script/20240807-ir-recover/20240807-ir-recover-testnet.s.sol b/script/20240807-ir-recover/20240807-ir-recover-testnet.s.sol index 44b64964..215c959c 100644 --- a/script/20240807-ir-recover/20240807-ir-recover-testnet.s.sol +++ b/script/20240807-ir-recover/20240807-ir-recover-testnet.s.sol @@ -38,7 +38,7 @@ contract Migration__20240807_IR_Recover_Testnet is Migration { TNetwork _currNetwork; uint256 _prevForkId; - address private constant SM_GOVERNOR = address(0x0); + address private constant SM_GOVERNOR = address(0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa); address private _multisigEth = 0x51F6696Ae42C6C40CA9F5955EcA2aaaB1Cefb26e; IMainchainBridgeManager private _mainchainBM; TransparentUpgradeableProxyV2 private _mainchainBMproxy; @@ -91,7 +91,7 @@ contract Migration__20240807_IR_Recover_Testnet is Migration { Signature[] memory signatures = _proposal.generateSignatures(gvs, Ballot.VoteType.For); Ballot.VoteType[] memory _supports = new Ballot.VoteType[](signatures.length); - vm.broadcast(gvs[0]); + vm.broadcast(SM_GOVERNOR); IMainchainBridgeManager(_mainchainBM).relayProposal(_proposal, _supports, signatures); } @@ -279,6 +279,13 @@ contract Migration__20240807_IR_Recover_Testnet is Migration { { _postCheck_Withdrawable(); } + + // Check `WETHUnwrapper` is removed + { + // Method get removed, so it reverted in fallback with invalid deposit + vm.expectRevert(abi.encodeWithSignature("ErrInvalidInfo()")); + address(_mainchainGW).staticcall(abi.encodeWithSignature("WETHUnwrapper()")); + } } function _postCheck_Withdrawable() internal { diff --git a/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol b/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol index df5ddae6..674dd8a7 100644 --- a/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol +++ b/script/post-check/gateway/deposit-withdraw/PostCheck_Gateway_DepositAndWithdraw.s.sol @@ -179,7 +179,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { overrideMockBOs(ethBM); - uint256 minSigRequired = _calcMinSigOrVoteRequired(ethBM); + uint256 minSigRequired = _calcMinSigOrVoteRequired(ethBM, ethGW); assertTrue(minSigRequired > 1, "Invalid test setup"); Signature[] memory sigs = _bulkSignReceipt(mockOps.slice(0, minSigRequired), receiptDigest); @@ -219,10 +219,10 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { overrideMockBOs(ethBM); - uint256 minSigRequired = _calcMinSigOrVoteRequired(ethBM); + uint256 minSigRequired = _calcMinSigOrVoteRequired(ethBM, ethGW); uint256 unmetSigCount = minSigRequired - 1; console.log("Unmet sig count", unmetSigCount); - assertTrue(unmetSigCount > 1, "Invalid test setup"); + assertTrue(unmetSigCount >= 1, "Invalid test setup"); // Sign first to get renounced operator signatures Signature[] memory sigs = _bulkSignReceipt(mockOps, receiptDigest); @@ -326,7 +326,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { overrideMockBOs(ronBM); - uint256 minVoteRequired = _calcMinSigOrVoteRequired(ronBM); + uint256 minVoteRequired = _calcMinSigOrVoteRequired(ronBM, ronGW); assertTrue(minVoteRequired > 1, "Invalid test setup"); for (uint256 i; i < minVoteRequired; ++i) { @@ -365,7 +365,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { overrideMockBOs(ronBM); - uint256 minVoteRequired = _calcMinSigOrVoteRequired(ronBM); + uint256 minVoteRequired = _calcMinSigOrVoteRequired(ronBM, ronGW); assertTrue(minVoteRequired > 1, "Invalid test setup"); for (uint256 i; i < minVoteRequired; ++i) { @@ -464,6 +464,26 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { sigs[i] = Signature(v, r, s); } + if (uint160(mockOps[0]) < uint160(mockOps[1])) { + // Swap if sorted + Signature memory temp = sigs[0]; + sigs[0] = sigs[1]; + sigs[1] = temp; + + // Swap the mock ops + address tempOp = mockOps[0]; + mockOps[0] = mockOps[1]; + mockOps[1] = tempOp; + + // Swap the mock gvs + address tempGv = mockGvs[0]; + mockGvs[0] = mockGvs[1]; + mockGvs[1] = tempGv; + } + + console.log("GW min vote weight:", IQuorum(ethGW).minimumVoteWeight()); + assertEq(IMainchainBridgeManager(ethBM).totalBridgeOperator(), 4, "Invalid total BOs"); + vm.expectRevert(); IMainchainGatewayV3(ethGW).submitWithdrawal(receipt, sigs); @@ -512,7 +532,7 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { overrideMockBOs(ronBM); - uint256 minVoteRequired = _calcMinSigOrVoteRequired(ronBM); + uint256 minVoteRequired = _calcMinSigOrVoteRequired(ronBM, ronGW); assertTrue(minVoteRequired > 1, "Invalid test setup"); for (uint256 i; i < minVoteRequired; ++i) { @@ -630,9 +650,9 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { overrideMockBOs(ethBM); - uint256 minSigRequired = _calcMinSigOrVoteRequired(ethBM); + uint256 minSigRequired = _calcMinSigOrVoteRequired(ethBM, ethGW); uint256 unmetSigCount = minSigRequired - 1; - assertTrue(unmetSigCount > 1, "Invalid test setup"); + assertTrue(unmetSigCount >= 1, "Invalid test setup"); Signature[] memory sigs = _bulkSignReceipt(mockOps, receiptDigest); @@ -679,10 +699,10 @@ abstract contract PostCheck_Gateway_DepositAndWithdraw is BasePostCheck { switchBack(prevNetwork, prevForkId); } - function _calcMinSigOrVoteRequired(address bm) private view returns (uint256 minVoteOrSig) { - uint256 minVW = IQuorum(bm).minimumVoteWeight(); + function _calcMinSigOrVoteRequired(address bm, address gw) private view returns (uint256 minVoteOrSig) { + uint256 minVW = IQuorum(gw).minimumVoteWeight(); uint256 defaultVW = IBridgeManager(bm).getTotalWeight() / IBridgeManager(bm).totalBridgeOperator(); - minVoteOrSig = minVW / defaultVW + 1; + minVoteOrSig = (minVW / defaultVW) + 1; } function _bulkSignReceipt(address[] memory signers, bytes32 receiptDigest) private pure returns (Signature[] memory sigs) { diff --git a/script/shared/libraries/LibProposal.sol b/script/shared/libraries/LibProposal.sol index 32d7d2ef..61cda9a2 100644 --- a/script/shared/libraries/LibProposal.sol +++ b/script/shared/libraries/LibProposal.sol @@ -178,7 +178,7 @@ library LibProposal { if (shouldPrankOnly) { vm.prank(governor); } else { - vm.prank(governor); + vm.broadcast(governor); } bm.castProposalBySignatures{ gas: totalGas }(proposal, supports_, sig); From f95b8b14e8c594ebc01aa134ba0c4c885a61dcac Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Mon, 26 Aug 2024 17:19:59 +0700 Subject: [PATCH 66/74] script: fix relay proposal gas --- script/20240807-ir-recover/20240807-ir-recover-testnet.s.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/20240807-ir-recover/20240807-ir-recover-testnet.s.sol b/script/20240807-ir-recover/20240807-ir-recover-testnet.s.sol index 215c959c..71823d78 100644 --- a/script/20240807-ir-recover/20240807-ir-recover-testnet.s.sol +++ b/script/20240807-ir-recover/20240807-ir-recover-testnet.s.sol @@ -92,7 +92,7 @@ contract Migration__20240807_IR_Recover_Testnet is Migration { Ballot.VoteType[] memory _supports = new Ballot.VoteType[](signatures.length); vm.broadcast(SM_GOVERNOR); - IMainchainBridgeManager(_mainchainBM).relayProposal(_proposal, _supports, signatures); + IMainchainBridgeManager(_mainchainBM).relayProposal{ gas: 4_000_000 }(_proposal, _supports, signatures); } function _perform_PrankFix() internal { From 77b3b4c5c3b2b81fbd43cf86c0592cd93782ad39 Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Mon, 26 Aug 2024 18:00:20 +0700 Subject: [PATCH 67/74] chore: add testnet artifact --- .../run.json | 847 ++++++ .../run.json | 847 ++++++ .../run.json | 2135 ++++++++++++++ .../run.json | 2135 ++++++++++++++ .../sepolia/MainchainGatewayV3Logic.json | 2541 +---------------- 5 files changed, 6057 insertions(+), 2448 deletions(-) create mode 100644 broadcast/multi/20240807-ir-recover-testnet.s.sol-1724668426/run.json create mode 100644 broadcast/multi/20240807-ir-recover-testnet.s.sol-1724668621/run.json create mode 100644 broadcast/multi/20240807-ir-recover-testnet.s.sol-1724669090/run.json create mode 100644 broadcast/multi/20240807-ir-recover-testnet.s.sol-latest/run.json diff --git a/broadcast/multi/20240807-ir-recover-testnet.s.sol-1724668426/run.json b/broadcast/multi/20240807-ir-recover-testnet.s.sol-1724668426/run.json new file mode 100644 index 00000000..3b78d100 --- /dev/null +++ b/broadcast/multi/20240807-ir-recover-testnet.s.sol-1724668426/run.json @@ -0,0 +1,847 @@ +{ + "deployments": [ + { + "transactions": [ + { + "hash": null, + "transactionType": "CREATE", + "contractName": "MainchainGatewayV3", + "contractAddress": "0x19287ca493748a5452b3900d393cb1a4369f47d5", + "function": null, + "arguments": null, + "transaction": { + "from": "0xd90bb8ed38bcde74889d66a5d346f6e0e1a244a7", + "gas": "0x93f382", + "value": "0x0", + "input": "0x608060405234801562000010575f80fd5b505f805460ff19169055620000246200002a565b620000ec565b607154610100900460ff1615620000975760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60715460ff9081161015620000ea576071805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b61561480620000fa5f395ff3fe60806040526004361061038f575f3560e01c80638f34e347116101db578063b9c3620911610101578063d55ed1031161009f578063dff525e11161006e578063dff525e114610a99578063e400327c14610ab8578063e75235b814610ad7578063f23a6e6114610aee5761039e565b8063d55ed10314610a11578063d64af2a614610a3c578063dafae40814610a5b578063de981f1b14610a7a5761039e565b8063ca15c873116100db578063ca15c87314610991578063cdb67444146109b0578063d19773d2146109c7578063d547741f146109f25761039e565b8063b9c3620914610928578063bc197c8114610947578063c48549de146109725761039e565b8063a217fddf11610179578063affed0e011610148578063affed0e01461089d578063b1a2567e146108b2578063b1d08a03146108d1578063b2975794146108fc5761039e565b8063a217fddf14610840578063a3912ec81461039c578063ab79656614610853578063ac78dfe81461087e5761039e565b80639157921c116101b55780639157921c146107af57806391d14854146107ce57806393c5678f146107ed5780639dcc4da31461080c5761039e565b80638f34e347146107315780638f851d8a146107645780639010d07c146107905761039e565b806336568abe116102c0578063504af48c1161025e5780636c1ce6701161022d5780636c1ce670146106cb5780637de5dedd146106ea5780638456cb59146106fe578063865e6fd3146107125761039e565b8063504af48c1461064c57806359122f6b1461065f5780635c975abb1461068a5780636932be98146106a05761039e565b80633f4ba83a1161029a5780633f4ba83a146105d85780634b14557e146105ec5780634d0d6673146105ff5780634d493f4e1461061e5761039e565b806336568abe1461058657806338e454b1146105a55780633e70838b146105b95761039e565b80631d4a72101161032d5780632dfdf0b5116103075780632dfdf0b5146105285780632f2ff15d1461053d578063302d12db1461055c5780633644e515146105725761039e565b80631d4a7210146104b0578063248a9ca3146104db57806329b6eca9146105095761039e565b806317ce2dd41161036957806317ce2dd41461043057806317fcb39b146104535780631a8e55b0146104725780631b6e7594146104915761039e565b806301ffc9a7146103a6578063065b3adf146103da578063110a8308146104115761039e565b3661039e5761039c610b19565b005b61039c610b19565b3480156103b1575f80fd5b506103c56103c03660046142cf565b610b37565b60405190151581526020015b60405180910390f35b3480156103e5575f80fd5b506005546103f9906001600160a01b031681565b6040516001600160a01b0390911681526020016103d1565b34801561041c575f80fd5b5061039c61042b36600461430a565b610b7c565b34801561043b575f80fd5b5061044560755481565b6040519081526020016103d1565b34801561045e575f80fd5b506074546103f9906001600160a01b031681565b34801561047d575f80fd5b5061039c61048c366004614365565b610c04565b34801561049c575f80fd5b5061039c6104ab3660046143cb565b610c3f565b3480156104bb575f80fd5b506104456104ca36600461430a565b603e6020525f908152604090205481565b3480156104e6575f80fd5b506104456104f5366004614468565b5f9081526072602052604090206001015490565b348015610514575f80fd5b5061039c61052336600461430a565b610c7e565b348015610533575f80fd5b5061044560765481565b348015610548575f80fd5b5061039c61055736600461447f565b610d06565b348015610567575f80fd5b50610445620f424081565b34801561057d575f80fd5b50607754610445565b348015610591575f80fd5b5061039c6105a036600461447f565b610d2f565b3480156105b0575f80fd5b5061039c610dad565b3480156105c4575f80fd5b5061039c6105d336600461430a565b610f7f565b3480156105e3575f80fd5b5061039c610fa9565b61039c6105fa3660046144ad565b610fb9565b34801561060a575f80fd5b506103c56106193660046144d4565b610fdc565b348015610629575f80fd5b506103c5610638366004614468565b607a6020525f908152604090205460ff1681565b61039c61065a366004614575565b61104a565b34801561066a575f80fd5b5061044561067936600461430a565b603a6020525f908152604090205481565b348015610695575f80fd5b505f5460ff166103c5565b3480156106ab575f80fd5b506104456106ba366004614468565b60796020525f908152604090205481565b3480156106d6575f80fd5b506103c56106e5366004614646565b61130b565b3480156106f5575f80fd5b50610445611316565b348015610709575f80fd5b5061039c61132c565b34801561071d575f80fd5b5061039c61072c36600461467e565b61133c565b34801561073c575f80fd5b506104457f5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e481565b34801561076f575f80fd5b5061078361077e366004614743565b611357565b6040516103d19190614831565b34801561079b575f80fd5b506103f96107aa366004614846565b6114d3565b3480156107ba575f80fd5b5061039c6107c9366004614866565b6114ea565b3480156107d9575f80fd5b506103c56107e836600461447f565b611765565b3480156107f8575f80fd5b5061039c610807366004614365565b61178f565b348015610817575f80fd5b5061082b610826366004614846565b6117c4565b604080519283526020830191909152016103d1565b34801561084b575f80fd5b506104455f81565b34801561085e575f80fd5b5061044561086d36600461430a565b603c6020525f908152604090205481565b348015610889575f80fd5b506103c5610898366004614468565b6117ec565b3480156108a8575f80fd5b5061044560045481565b3480156108bd575f80fd5b5061039c6108cc366004614365565b611817565b3480156108dc575f80fd5b506104456108eb36600461430a565b60396020525f908152604090205481565b348015610907575f80fd5b5061091b61091636600461430a565b61184c565b6040516103d191906148a9565b348015610933575f80fd5b5061039c610942366004614846565b6118ed565b348015610952575f80fd5b506107836109613660046149a4565b63bc197c8160e01b95945050505050565b34801561097d575f80fd5b5061078361098c366004614365565b611907565b34801561099c575f80fd5b506104456109ab366004614468565b611a93565b3480156109bb575f80fd5b5060375460385461082b565b3480156109d2575f80fd5b506104456109e136600461430a565b603b6020525f908152604090205481565b3480156109fd575f80fd5b5061039c610a0c36600461447f565b611aa9565b348015610a1c575f80fd5b50610445610a2b36600461430a565b603d6020525f908152604090205481565b348015610a47575f80fd5b5061039c610a5636600461430a565b611acd565b348015610a66575f80fd5b506103c5610a75366004614468565b611ade565b348015610a85575f80fd5b506103f9610a94366004614a4a565b611b01565b348015610aa4575f80fd5b5061039c610ab3366004614a63565b611b74565b348015610ac3575f80fd5b5061039c610ad2366004614365565b611be7565b348015610ae2575f80fd5b5060015460025461082b565b348015610af9575f80fd5b50610783610b08366004614b17565b63f23a6e6160e01b95945050505050565b6074546001600160a01b03163303610b2d57565b610b35611c1c565b565b5f6001600160e01b03198216631f3673bb60e01b1480610b6757506001600160e01b031982166312c0151560e21b145b80610b765750610b7682611c46565b92915050565b607154600490610100900460ff16158015610b9e575060715460ff8083169116105b610bc35760405162461bcd60e51b8152600401610bba90614b7a565b60405180910390fd5b6071805461ffff191660ff83169081176101001761ff0019169091556040519081525f805160206155bf833981519152906020015b60405180910390a15050565b610c0c611c6a565b5f839003610c2d576040516316ee9d3b60e11b815260040160405180910390fd5b610c3984848484611cc3565b50505050565b610c47611c6a565b5f859003610c68576040516316ee9d3b60e11b815260040160405180910390fd5b610c76868686868686611d94565b505050505050565b607154600290610100900460ff16158015610ca0575060715460ff8083169116105b610cbc5760405162461bcd60e51b8152600401610bba90614b7a565b6071805461ffff191660ff831617610100179055610cdb600b83611f36565b6071805461ff001916905560405160ff821681525f805160206155bf83398151915290602001610bf8565b5f82815260726020526040902060010154610d2081611fd7565b610d2a8383611fe1565b505050565b6001600160a01b0381163314610d9f5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610bba565b610da98282612002565b5050565b607154600390610100900460ff16158015610dcf575060715460ff8083169116105b610deb5760405162461bcd60e51b8152600401610bba90614b7a565b6071805461ffff191660ff8316176101001790555f610e0a600b611b01565b90505f80826001600160a01b031663c441c4a86040518163ffffffff1660e01b81526004015f60405180830381865afa158015610e49573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610e709190810190614c41565b92509250505f805b8351811015610f2957828181518110610e9357610e93614d1f565b6020026020010151607e5f868481518110610eb057610eb0614d1f565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f205f6101000a8154816001600160601b0302191690836001600160601b03160217905550828181518110610f0c57610f0c614d1f565b602002602001015182610f1f9190614d47565b9150600101610e78565b50607d80546001600160601b0319166001600160601b039290921691909117905550506071805461ff00191690555060405160ff821681525f805160206155bf833981519152906020015b60405180910390a150565b610f87611c6a565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b610fb1612023565b610b35612091565b610fc16120e2565b610fd9610fd336839003830183614db4565b33612127565b50565b5f610fe56120e2565b611040848484808060200260200160405190810160405280939291908181526020015f905b828210156110365761102760608302860136819003810190614e05565b8152602001906001019061100a565b505050505061236e565b90505b9392505050565b607154610100900460ff161580801561106a5750607154600160ff909116105b806110845750303b158015611084575060715460ff166001145b6110a05760405162461bcd60e51b8152600401610bba90614b7a565b6071805460ff1916600117905580156110c3576071805461ff0019166101001790555b6110cd5f8c6127fa565b60758990556110db8a612804565b6111666040517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81527f159f52c1e3a2b6a6aad3950adf713516211484e0516dad685ea662a094b7c43b60208201527fad7c5bef027816a800da1736444fb58a807ef4c9603b7848673f7e3a68eb14a5604082015246606082015230608082015260a0812060775550565b6111708887612852565b61117a87876128f3565b505061118461299a565b5f61118f8680614e4c565b9050111561124f576111b86111a48680614e4c565b6111b16020890189614e4c565b8787611d94565b6111dd6111c58680614e4c565b865f5b6020028101906111d89190614e4c565b6129e6565b6112036111ea8680614e4c565b8660015b6020028101906111fe9190614e4c565b611cc3565b6112296112108680614e4c565b8660025b6020028101906112249190614e4c565b612ab7565b61124f6112368680614e4c565b8660035b60200281019061124a9190614e4c565b612bc4565b5f5b61125e6040870187614e4c565b90508110156112ca576112c27f5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e46112986040890189614e4c565b848181106112a8576112a8614d1f565b90506020020160208101906112bd919061430a565b611fe1565b600101611251565b5080156112fe576071805461ff0019169055604051600181525f805160206155bf8339815191529060200160405180910390a15b5050505050505050505050565b5f6110438383612c95565b5f611327611322612d59565b612d96565b905090565b611334612023565b610b35612dfa565b611344611c6a565b61134d81612e36565b610da98282611f36565b5f600b61136381612e6b565b82518690811415806113755750808514155b156113a0575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b805f036113b757506347c28ec560e11b91506114c9565b5f5b818110156114bc578481815181106113d3576113d3614d1f565b6020026020010151156114b4578686828181106113f2576113f2614d1f565b90506020020160208101906114079190614e91565b607d80546001600160601b031981166001600160601b03918216939093011691909117905586868281811061143e5761143e614d1f565b90506020020160208101906114539190614e91565b607e5f8b8b8581811061146857611468614d1f565b905060200201602081019061147d919061430a565b6001600160a01b0316815260208101919091526040015f2080546001600160601b0319166001600160601b03929092169190911790555b6001016113b9565b506347c28ec560e11b9250505b5095945050505050565b5f8281526073602052604081206110439083612eb6565b7f5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e461151481611fd7565b5f61152c61152736859003850185614f06565b612ec1565b905061154061152736859003850185614f06565b83355f908152607960205260409020541461156e5760405163f4b8742f60e01b815260040160405180910390fd5b82355f908152607a602052604090205460ff1661159e5760405163147bfe0760e01b815260040160405180910390fd5b82355f908152607a602052604090819020805460ff19169055517fd639511b37b3b002cca6cfe6bca0d833945a5af5a045578a0627fc43b79b2630906115e79083908690614fd7565b60405180910390a15f611600608085016060860161430a565b90505f6116156101208601610100870161505c565b600281111561162657611626614881565b036116ea575f61163f3686900386016101008701615075565b6001600160a01b0383165f908152603b602052604090205490915061166a9061014087013590612f88565b60408201525f6116833687900387016101008801615075565b604083015190915061169a9061014088013561508f565b60408201526074546116ba908390339086906001600160a01b0316612fa1565b6116e36116cd606088016040890161430a565b60745483919086906001600160a01b0316612fa1565b5050611726565b6117266116fd606086016040870161430a565b60745483906001600160a01b031661171e3689900389016101008a01615075565b929190612fa1565b7f21e88e956aa3e086f6388e899965cef814688f99ad8bb29b08d396571016372d8285604051611757929190614fd7565b60405180910390a150505050565b5f9182526072602090815260408084206001600160a01b0393909316845291905290205460ff1690565b611797611c6a565b5f8390036117b8576040516316ee9d3b60e11b815260040160405180910390fd5b610c39848484846129e6565b5f806117ce611c6a565b6117d884846128f3565b90925090506117e561299a565b9250929050565b5f6117f5612d59565b60375461180291906150a2565b60385461180f90846150a2565b101592915050565b61181f611c6a565b5f839003611840576040516316ee9d3b60e11b815260040160405180910390fd5b610c3984848484612ab7565b604080518082019091525f80825260208201526001600160a01b0382165f908152607860205260409081902081518083019092528054829060ff16600281111561189857611898614881565b60028111156118a9576118a9614881565b815290546001600160a01b03610100909104811660209283015290820151919250166118e857604051631b79f53b60e21b815260040160405180910390fd5b919050565b6118f5611c6a565b6118ff8282612852565b610da961299a565b5f600b61191381612e6b565b84838114611941575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b805f036119585750636242a4ef60e11b9150611a8a565b5f805b82811015611a3b5786868281811061197557611975614d1f565b905060200201602081019061198a91906150b9565b15611a3357607e5f8a8a848181106119a4576119a4614d1f565b90506020020160208101906119b9919061430a565b6001600160a01b0316815260208101919091526040015f908120546001600160601b03169290920191607e908a8a848181106119f7576119f7614d1f565b9050602002016020810190611a0c919061430a565b6001600160a01b0316815260208101919091526040015f2080546001600160601b03191690555b60010161195b565b50607d80548291905f90611a599084906001600160601b03166150d4565b92506101000a8154816001600160601b0302191690836001600160601b0316021790555063c48549de60e01b935050505b50949350505050565b5f818152607360205260408120610b76906131ca565b5f82815260726020526040902060010154611ac381611fd7565b610d2a8383612002565b611ad5611c6a565b610fd981612804565b5f611ae7612d59565b600154611af491906150a2565b60025461180f90846150a2565b5f7fdea3103d22025c269050bea94c0c84688877f12fa22b7e6d2d5d78a9a49aa1cb5f83600f811115611b3657611b36614881565b60ff16815260208101919091526040015f20546001600160a01b03169050806118e8578160405163409140df60e11b8152600401610bba9190615104565b611b7c611c6a565b5f869003611b9d576040516316ee9d3b60e11b815260040160405180910390fd5b611bab878787878787611d94565b611bb78787835f6111c8565b611bc487878360016111ee565b611bd18787836002611214565b611bde878783600361123a565b50505050505050565b611bef611c6a565b5f839003611c10576040516316ee9d3b60e11b815260040160405180910390fd5b610c3984848484612bc4565b611c246120e2565b611c2c614292565b338152604080820151349101528051610fd9908290612127565b5f6001600160e01b03198216630271189760e51b1480610b765750610b76826131d3565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103546001600160a01b03163314610b35575f356001600160e01b0319166001604051620f948f60ea1b8152600401610bba929190615112565b828114611cf0575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b83811015611d5e57828282818110611d0c57611d0c614d1f565b90506020020135603a5f878785818110611d2857611d28614d1f565b9050602002016020810190611d3d919061430a565b6001600160a01b0316815260208101919091526040015f2055600101611cf2565b507f64557254143204d91ba2d95acb9fda1e5fea55f77efd028685765bc1e94dd4b5848484846040516117579493929190615187565b8483148015611da257508481145b611dcc575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b85811015611eec57848482818110611de857611de8614d1f565b9050602002016020810190611dfd919061430a565b60785f898985818110611e1257611e12614d1f565b9050602002016020810190611e27919061430a565b6001600160a01b03908116825260208201929092526040015f208054610100600160a81b0319166101009390921692909202179055828282818110611e6e57611e6e614d1f565b9050602002016020810190611e83919061505c565b60785f898985818110611e9857611e98614d1f565b9050602002016020810190611ead919061430a565b6001600160a01b0316815260208101919091526040015f20805460ff19166001836002811115611edf57611edf614881565b0217905550600101611dce565b507fa4f03cc9c0e0aeb5b71b4ec800702753f65748c2cf3064695ba8e8b46be70444868686868686604051611f26969594939291906151d1565b60405180910390a1505050505050565b807fdea3103d22025c269050bea94c0c84688877f12fa22b7e6d2d5d78a9a49aa1cb5f84600f811115611f6b57611f6b614881565b60ff16815260208101919091526040015f2080546001600160a01b0319166001600160a01b03928316179055811682600f811115611fab57611fab614881565b6040517f865d1c228a8ea13709cfe61f346f7ff67f1bbd4a18ff31ad3e7147350d317c59905f90a35050565b610fd981336131f7565b611feb828261325b565b5f828152607360205260409020610d2a90826132e0565b61200c82826132f4565b5f828152607360205260409020610d2a908261335a565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103546001600160a01b031633148061206557506005546001600160a01b031633145b610b35575f356001600160e01b0319166001604051620f948f60ea1b8152600401610bba929190615112565b61209961336e565b5f805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b5f5460ff1615610b355760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610bba565b6040805180820182525f80825260208201526074549184015190916001600160a01b031690612155906133b6565b60208401516001600160a01b03166121f657348460400151604001511461218f5760405163129c2ce160e31b815260040160405180910390fd5b6121988161184c565b60408501515190925060028111156121b2576121b2614881565b825160028111156121c5576121c5614881565b146121e25760405162035e2b60ea1b815260040160405180910390fd5b6001600160a01b03811660208501526122fd565b34156122155760405163129c2ce160e31b815260040160405180910390fd5b612222846020015161184c565b604085015151909250600281111561223c5761223c614881565b8251600281111561224f5761224f614881565b1461226c5760405162035e2b60ea1b815260040160405180910390fd5b602084015160408501516122819185906133fa565b83602001516001600160a01b0316816001600160a01b0316036122fd576040848101518101519051632e1a7d4d60e01b815260048101919091526001600160a01b03821690632e1a7d4d906024015f604051808303815f87803b1580156122e6575f80fd5b505af11580156122f8573d5f803e3d5ffd5b505050505b607680545f918261230d83615240565b9190505590505f612333858386602001516075548a61356e90949392919063ffffffff16565b90507fd7b25068d9dc8d00765254cfb7f5070f98d263c8d68931d937c7362fa738048b61235f82612ec1565b82604051611f26929190615278565b5f823561014084013582612388608087016060880161430a565b90506123a56123a03688900388016101008901615075565b6133b6565b60016123b76040880160208901615313565b60018111156123c8576123c8614881565b146123e65760405163182f3d8760e11b815260040160405180910390fd5b608086013546146124275760405163092048d160e11b81525f356001600160e01b031916600482015260808701356024820152466044820152606401610bba565b5f61243b6109166080890160608a0161430a565b905061244f6101208801610100890161505c565b600281111561246057612460614881565b8151600281111561247357612473614881565b1480156124a4575061248b60e0880160c0890161430a565b6001600160a01b031681602001516001600160a01b0316145b80156124b5575060755460e0880135145b6124d25760405163f4b8742f60e01b815260040160405180910390fd5b5f84815260796020526040902054156124fe57604051634f13df6160e01b815260040160405180910390fd5b600161251261012089016101008a0161505c565b600281111561252357612523614881565b148061253657506125348284612c95565b155b6125535760405163c51297b760e01b815260040160405180910390fd5b5f612566611527368a90038a018a614f06565b90505f61257560775483613641565b90505f61259461258d6101208c016101008d0161505c565b8688613681565b604080516060810182525f80825260208201819052918101829052919a50919250819081905f805b8e518110156126d4578e81815181106125d7576125d7614d1f565b602002602001015192506125f888845f015185602001518660400151613702565b9450846001600160a01b0316846001600160a01b031610612639575f356001600160e01b031916604051635d3dcd3160e01b8152600401610bba9190614831565b6001600160a01b0385165f908152607e60205260408120548695506001600160601b0316908190036126ae5760408051634e97700760e01b81526001600160a01b038816600482015260248101839052855160ff1660448201526020860151606482015290850151608482015260a401610bba565b6126b8818461532c565b92508783106126cb5760019650506126d4565b506001016125bc565b50846126f357604051639e8f5f6360e01b815260040160405180910390fd5b5050505f8981526079602052604090208590555050871561276c575f878152607a602052604090819020805460ff19166001179055517f89e52969465b1f1866fc5d46fd62de953962e9cb33552443cd999eba05bd20dc906127589085908d90614fd7565b60405180910390a150505050505050610b76565b612776858761372a565b6127b461278960608c0160408d0161430a565b8660745f9054906101000a90046001600160a01b03168d6101000180360381019061171e9190615075565b7f21e88e956aa3e086f6388e899965cef814688f99ad8bb29b08d396571016372d838b6040516127e5929190614fd7565b60405180910390a15050505050505092915050565b610da98282611fe1565b607480546001600160a01b0319166001600160a01b0383169081179091556040519081527f9d2334c23be647e994f27a72c5eee42a43d5bdcfe15bb88e939103c2b114cbaf90602001610f74565b8082118061285e575080155b80612867575081155b15612892575f356001600160e01b0319166040516387f6f09560e01b8152600401610bba9190614831565b6001805460028054858455908490556004805493840190556040805183815260208101839052929391928592879290917f976f8a9c5bdf8248dec172376d6e2b80a8e3df2f0328e381c6db8e1cf138c0f8910160405180910390a450505050565b5f8082841180612901575083155b8061290a575082155b15612935575f356001600160e01b0319166040516387f6f09560e01b8152600401610bba9190614831565b5050603780546038805492859055839055600480546001810190915560408051838152602081018590529293928592879290917f31312c97b89cc751b832d98fd459b967a2c3eef3b49757d1cf5ebaa12bb6eee1910160405180910390a49250929050565b6002546037546129aa91906150a2565b6038546001546129ba91906150a2565b1115610b35575f356001600160e01b0319166040516387f6f09560e01b8152600401610bba9190614831565b828114612a13575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b83811015612a8157828282818110612a2f57612a2f614d1f565b9050602002013560395f878785818110612a4b57612a4b614d1f565b9050602002016020810190612a60919061430a565b6001600160a01b0316815260208101919091526040015f2055600101612a15565b507f80bc635c452ae67f12f9b6f12ad4daa6dbbc04eeb9ebb87d354ce10c0e210dc0848484846040516117579493929190615187565b828114612ae4575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b83811015612b8e57620f4240838383818110612b0457612b04614d1f565b905060200201351115612b2a5760405163572d3bd360e11b815260040160405180910390fd5b828282818110612b3c57612b3c614d1f565b90506020020135603b5f878785818110612b5857612b58614d1f565b9050602002016020810190612b6d919061430a565b6001600160a01b0316815260208101919091526040015f2055600101612ae6565b507fb05f5de88ae0294ebb6f67c5af2fcbbd593cc6bdfe543e2869794a4c8ce3ea50848484846040516117579493929190615187565b828114612bf1575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b83811015612c5f57828282818110612c0d57612c0d614d1f565b90506020020135603c5f878785818110612c2957612c29614d1f565b9050602002016020810190612c3e919061430a565b6001600160a01b0316815260208101919091526040015f2055600101612bf3565b507fb5d2963614d72181b4df1f993d45b83edf42fa19710f0204217ba1b3e183bb73848484846040516117579493929190615187565b6001600160a01b0382165f908152603a60205260408120548210612cba57505f610b76565b5f612cc8620151804261533f565b6001600160a01b0385165f908152603e6020526040902054909150811115612d0c5750506001600160a01b0382165f908152603c6020526040902054811015610b76565b6001600160a01b0384165f908152603d6020526040902054612d2f90849061532c565b6001600160a01b0385165f908152603c602052604090205411159150610b769050565b5092915050565b607d546001600160601b03165f819003612d93575f356001600160e01b031916604051631103b51560e31b8152600401610bba9190614831565b90565b5f600254600160025484600154612dad91906150a2565b612db7919061532c565b612dc1919061508f565b612dcb919061533f565b9050805f036118e8575f356001600160e01b03191660405163267b1b9160e01b8152600401610bba9190614831565b612e026120e2565b5f805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586120c53390565b806001600160a01b03163b5f03610fd957604051630bfc64a360e21b81526001600160a01b0382166004820152602401610bba565b612e7481611b01565b6001600160a01b0316336001600160a01b031614610fd9575f356001600160e01b03191681336040516320e0f98d60e21b8152600401610bba9392919061535e565b5f61104383836137b6565b5f80612ed083604001516137dc565b90505f612ee084606001516137dc565b90505f612f338560800151604080517f1e2b74b2a792d5c0f0b6e59b037fa9d43d84fbb759337f0112fcc15ca414fc8d815282516020808301919091528301518183015291015160608201526080902090565b604080517fb9d1fe7c9deeec5dc90a2f47ff1684239519f2545b2228d3d91fb27df3189eea815287516020808301919091529097015190870152606086019390935250608084015260a08301525060c0902090565b5f620f4240612f9783856150a2565b611043919061533f565b806001600160a01b0316826001600160a01b0316036130495760408085015190516001600160a01b0385169180156108fc02915f818181858888f1935050505061304457806001600160a01b031663d0e30db085604001516040518263ffffffff1660e01b81526004015f604051808303818588803b158015613022575f80fd5b505af1158015613034573d5f803e3d5ffd5b5050505050613044848484613824565b610c39565b5f8451600281111561305d5761305d614881565b03613120576040516370a0823160e01b81523060048201525f906001600160a01b038416906370a0823190602401602060405180830381865afa1580156130a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130ca9190615395565b9050846040015181101561310f576130f283308388604001516130ed919061508f565b6138a2565b61310f57604051632f739fff60e11b815260040160405180910390fd5b61311a858585613824565b50610c39565b60018451600281111561313557613135614881565b036131665761314982848660200151613942565b6130445760405163c8e3a09f60e01b815260040160405180910390fd5b60028451600281111561317b5761317b614881565b036131b157613194828486602001518760400151613968565b613044576040516334b471a760e21b815260040160405180910390fd5b6040516361e411a760e11b815260040160405180910390fd5b5f610b76825490565b5f6001600160e01b03198216635a05180f60e01b1480610b765750610b7682613990565b6132018282611765565b610da957613219816001600160a01b031660146139c4565b6132248360206139c4565b6040516020016132359291906153ce565b60408051601f198184030181529082905262461bcd60e51b8252610bba9160040161546d565b6132658282611765565b610da9575f8281526072602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561329c3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b5f611043836001600160a01b038416613b59565b6132fe8282611765565b15610da9575f8281526072602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b5f611043836001600160a01b038416613ba5565b5f5460ff16610b355760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610bba565b6133bf81613c88565b806133ce57506133ce81613cbd565b806133dd57506133dd81613ce4565b610fd95760405163034992a760e51b815260040160405180910390fd5b5f6060818551600281111561341157613411614881565b036134e85760408581015181516001600160a01b03878116602483015230604483015260648083019390935283518083039093018352608490910183526020820180516001600160e01b03166323b872dd60e01b179052915191851691613478919061547f565b5f604051808303815f865af19150503d805f81146134b1576040519150601f19603f3d011682016040523d82523d5f602084013e6134b6565b606091505b5090925090508180156134e15750805115806134e15750808060200190518101906134e1919061549a565b9150613541565b6001855160028111156134fd576134fd614881565b03613512576134e18385308860200151613d0c565b60028551600281111561352757613527614881565b036131b1576134e183853088602001518960400151613db5565b816135675784843085604051639d2e4c6760e01b8152600401610bba94939291906154b5565b5050505050565b6135dd6040805160a0810182525f8082526020808301829052835160608082018652838252818301849052818601849052848601919091528451808201865283815280830184905280860184905281850152845190810185528281529081018290529283015290608082015290565b8381525f6020820181905250604080820180516001600160a01b039788169052602080890151825190891690820152905146908301528751606084018051918916909152805195909716940193909352935182015292909201516080820152919050565b6040805161190160f01b60208083019190915260228201859052604280830185905283518084039091018152606290920190925280519101205f90611043565b5f805f61368c612d59565b905061369781612d96565b92505f8660028111156136ac576136ac614881565b036136f9576001600160a01b0385165f9081526039602052604090205484106136db576136d881613e64565b92505b6001600160a01b0385165f908152603a602052604090205484101591505b50935093915050565b5f805f61371187878787613ec8565b9150915061371e81613fad565b5090505b949350505050565b5f613738620151804261533f565b6001600160a01b0384165f908152603e6020526040902054909150811115613785576001600160a01b03929092165f908152603e6020908152604080832094909455603d90529190912055565b6001600160a01b0383165f908152603d6020526040812080548492906137ac90849061532c565b9091555050505050565b5f825f0182815481106137cb576137cb614d1f565b905f5260205f200154905092915050565b604080517f353bdd8d69b9e3185b3972e08b03845c0c14a21a390215302776a7a34b0e8764815282516020808301919091528301518183015291015160608201526080902090565b5f808451600281111561383957613839614881565b036138545761384d82848660400151614162565b905061387e565b60018451600281111561386957613869614881565b036131b15761384d8230858760200151613d0c565b80610c39578383836040516341bd7d9160e11b8152600401610bba939291906154eb565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b03166340c10f1960e01b17905291515f928616916138f99161547f565b5f604051808303815f865af19150503d805f8114613932576040519150601f19603f3d011682016040523d82523d5f602084013e613937565b606091505b509095945050505050565b5f61394f84308585613d0c565b905080611043576139618484846138a2565b9050611043565b5f6139768530868686613db5565b9050806137225761398985858585614230565b9050613722565b5f6001600160e01b03198216637965db0b60e01b1480610b7657506301ffc9a760e01b6001600160e01b0319831614610b76565b60605f6139d28360026150a2565b6139dd90600261532c565b6001600160401b038111156139f4576139f46146a8565b6040519080825280601f01601f191660200182016040528015613a1e576020820181803683370190505b509050600360fc1b815f81518110613a3857613a38614d1f565b60200101906001600160f81b03191690815f1a905350600f60fb1b81600181518110613a6657613a66614d1f565b60200101906001600160f81b03191690815f1a9053505f613a888460026150a2565b613a9390600161532c565b90505b6001811115613b0a576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110613ac757613ac7614d1f565b1a60f81b828281518110613add57613add614d1f565b60200101906001600160f81b03191690815f1a90535060049490941c93613b038161551b565b9050613a96565b5083156110435760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610bba565b5f818152600183016020526040812054613b9e57508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610b76565b505f610b76565b5f8181526001830160205260408120548015613c7f575f613bc760018361508f565b85549091505f90613bda9060019061508f565b9050818114613c39575f865f018281548110613bf857613bf8614d1f565b905f5260205f200154905080875f018481548110613c1857613c18614d1f565b5f918252602080832090910192909255918252600188019052604090208390555b8554869080613c4a57613c4a615530565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f905560019350505050610b76565b5f915050610b76565b5f8082516002811115613c9d57613c9d614881565b148015613cad57505f8260400151115b8015610b76575050602001511590565b5f600182516002811115613cd357613cd3614881565b148015610b76575050604001511590565b5f600282516002811115613cfa57613cfa614881565b148015610b7657505060400151151590565b604080516001600160a01b0385811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180516001600160e01b03166323b872dd60e01b17905291515f92871691613d6b9161547f565b5f604051808303815f865af19150503d805f8114613da4576040519150601f19603f3d011682016040523d82523d5f602084013e613da9565b606091505b50909695505050505050565b604080515f808252602082019092526001600160a01b03871690613de490879087908790879060448101615544565b60408051601f198184030181529181526020820180516001600160e01b0316637921219560e11b17905251613e19919061547f565b5f604051808303815f865af19150503d805f8114613e52576040519150601f19603f3d011682016040523d82523d5f602084013e613e57565b606091505b5090979650505050505050565b5f603854600160385484603754613e7b91906150a2565b613e85919061532c565b613e8f919061508f565b613e99919061533f565b9050805f036118e8575f356001600160e01b031916604051639b974b0f60e01b8152600401610bba9190614831565b5f807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115613efd57505f90506003613fa4565b8460ff16601b14158015613f1557508460ff16601c14155b15613f2557505f90506004613fa4565b604080515f8082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015613f76573d5f803e3d5ffd5b5050604051601f1901519150506001600160a01b038116613f9e575f60019250925050613fa4565b91505f90505b94509492505050565b5f816004811115613fc057613fc0614881565b03613fc85750565b6001816004811115613fdc57613fdc614881565b036140295760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610bba565b600281600481111561403d5761403d614881565b0361408a5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610bba565b600381600481111561409e5761409e614881565b036140f65760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610bba565b600481600481111561410a5761410a614881565b03610fd95760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610bba565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663a9059cbb60e01b17905291515f92606092908716916141be919061547f565b5f604051808303815f865af19150503d805f81146141f7576040519150601f19603f3d011682016040523d82523d5f602084013e6141fc565b606091505b509092509050818015614227575080511580614227575080806020019051810190614227919061549a565b95945050505050565b604080515f808252602082019092526001600160a01b0386169061425d9086908690869060448101615588565b60408051601f198184030181529181526020820180516001600160e01b031663731133e960e01b17905251613d6b919061547f565b604080516060810182525f80825260208201529081016142ca6040805160608101909152805f81526020015f81526020015f81525090565b905290565b5f602082840312156142df575f80fd5b81356001600160e01b031981168114611043575f80fd5b6001600160a01b0381168114610fd9575f80fd5b5f6020828403121561431a575f80fd5b8135611043816142f6565b5f8083601f840112614335575f80fd5b5081356001600160401b0381111561434b575f80fd5b6020830191508360208260051b85010111156117e5575f80fd5b5f805f8060408587031215614378575f80fd5b84356001600160401b038082111561438e575f80fd5b61439a88838901614325565b909650945060208701359150808211156143b2575f80fd5b506143bf87828801614325565b95989497509550505050565b5f805f805f80606087890312156143e0575f80fd5b86356001600160401b03808211156143f6575f80fd5b6144028a838b01614325565b9098509650602089013591508082111561441a575f80fd5b6144268a838b01614325565b9096509450604089013591508082111561443e575f80fd5b5061444b89828a01614325565b979a9699509497509295939492505050565b80356118e8816142f6565b5f60208284031215614478575f80fd5b5035919050565b5f8060408385031215614490575f80fd5b8235915060208301356144a2816142f6565b809150509250929050565b5f60a082840312156144bd575f80fd5b50919050565b5f61016082840312156144bd575f80fd5b5f805f61018084860312156144e7575f80fd5b6144f185856144c3565b92506101608401356001600160401b038082111561450d575f80fd5b818601915086601f830112614520575f80fd5b81358181111561452e575f80fd5b876020606083028501011115614542575f80fd5b6020830194508093505050509250925092565b8060608101831015610b76575f80fd5b8060808101831015610b76575f80fd5b5f805f805f805f805f806101208b8d03121561458f575f80fd5b6145988b61445d565b99506145a660208c0161445d565b985060408b0135975060608b0135965060808b0135955060a08b0135945060c08b01356001600160401b03808211156145dd575f80fd5b6145e98e838f01614555565b955060e08d01359150808211156145fe575f80fd5b61460a8e838f01614565565b94506101008d0135915080821115614620575f80fd5b5061462d8d828e01614325565b915080935050809150509295989b9194979a5092959850565b5f8060408385031215614657575f80fd5b8235614662816142f6565b946020939093013593505050565b8035601081106118e8575f80fd5b5f806040838503121561468f575f80fd5b61469883614670565b915060208301356144a2816142f6565b634e487b7160e01b5f52604160045260245ffd5b604051606081016001600160401b03811182821017156146de576146de6146a8565b60405290565b604051601f8201601f191681016001600160401b038111828210171561470c5761470c6146a8565b604052919050565b5f6001600160401b0382111561472c5761472c6146a8565b5060051b60200190565b8015158114610fd9575f80fd5b5f805f805f60608688031215614757575f80fd5b85356001600160401b038082111561476d575f80fd5b61477989838a01614325565b9097509550602091508782013581811115614792575f80fd5b61479e8a828b01614325565b9096509450506040880135818111156147b5575f80fd5b88019050601f810189136147c7575f80fd5b80356147da6147d582614714565b6146e4565b81815260059190911b8201830190838101908b8311156147f8575f80fd5b928401925b8284101561481f57833561481081614736565b825292840192908401906147fd565b80955050505050509295509295909350565b6001600160e01b031991909116815260200190565b5f8060408385031215614857575f80fd5b50508035926020909101359150565b5f6101608284031215614877575f80fd5b61104383836144c3565b634e487b7160e01b5f52602160045260245ffd5b600381106148a5576148a5614881565b9052565b5f6040820190506148bb828451614895565b6020928301516001600160a01b0316919092015290565b5f82601f8301126148e1575f80fd5b813560206148f16147d583614714565b8083825260208201915060208460051b870101935086841115614912575f80fd5b602086015b8481101561492e5780358352918301918301614917565b509695505050505050565b5f82601f830112614948575f80fd5b81356001600160401b03811115614961576149616146a8565b614974601f8201601f19166020016146e4565b818152846020838601011115614988575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f805f60a086880312156149b8575f80fd5b85356149c3816142f6565b945060208601356149d3816142f6565b935060408601356001600160401b03808211156149ee575f80fd5b6149fa89838a016148d2565b94506060880135915080821115614a0f575f80fd5b614a1b89838a016148d2565b93506080880135915080821115614a30575f80fd5b50614a3d88828901614939565b9150509295509295909350565b5f60208284031215614a5a575f80fd5b61104382614670565b5f805f805f805f6080888a031215614a79575f80fd5b87356001600160401b0380821115614a8f575f80fd5b614a9b8b838c01614325565b909950975060208a0135915080821115614ab3575f80fd5b614abf8b838c01614325565b909750955060408a0135915080821115614ad7575f80fd5b614ae38b838c01614325565b909550935060608a0135915080821115614afb575f80fd5b50614b088a828b01614565565b91505092959891949750929550565b5f805f805f60a08688031215614b2b575f80fd5b8535614b36816142f6565b94506020860135614b46816142f6565b9350604086013592506060860135915060808601356001600160401b03811115614b6e575f80fd5b614a3d88828901614939565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b5f82601f830112614bd7575f80fd5b81516020614be76147d583614714565b8083825260208201915060208460051b870101935086841115614c08575f80fd5b602086015b8481101561492e578051614c20816142f6565b8352918301918301614c0d565b6001600160601b0381168114610fd9575f80fd5b5f805f60608486031215614c53575f80fd5b83516001600160401b0380821115614c69575f80fd5b614c7587838801614bc8565b9450602091508186015181811115614c8b575f80fd5b614c9788828901614bc8565b945050604086015181811115614cab575f80fd5b86019050601f81018713614cbd575f80fd5b8051614ccb6147d582614714565b81815260059190911b82018301908381019089831115614ce9575f80fd5b928401925b82841015614d10578351614d0181614c2d565b82529284019290840190614cee565b80955050505050509250925092565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b6001600160601b03818116838216019080821115612d5257612d52614d33565b8035600381106118e8575f80fd5b5f60608284031215614d85575f80fd5b614d8d6146bc565b9050614d9882614d67565b8152602082013560208201526040820135604082015292915050565b5f60a08284031215614dc4575f80fd5b614dcc6146bc565b8235614dd7816142f6565b81526020830135614de7816142f6565b6020820152614df98460408501614d75565b60408201529392505050565b5f60608284031215614e15575f80fd5b614e1d6146bc565b823560ff81168114614e2d575f80fd5b8152602083810135908201526040928301359281019290925250919050565b5f808335601e19843603018112614e61575f80fd5b8301803591506001600160401b03821115614e7a575f80fd5b6020019150600581901b36038213156117e5575f80fd5b5f60208284031215614ea1575f80fd5b813561104381614c2d565b8035600281106118e8575f80fd5b5f60608284031215614eca575f80fd5b614ed26146bc565b90508135614edf816142f6565b81526020820135614eef816142f6565b806020830152506040820135604082015292915050565b5f6101608284031215614f17575f80fd5b60405160a081018181106001600160401b0382111715614f3957614f396146a8565b60405282358152614f4c60208401614eac565b6020820152614f5e8460408501614eba565b6040820152614f708460a08501614eba565b6060820152614f83846101008501614d75565b60808201529392505050565b600281106148a5576148a5614881565b8035614faa816142f6565b6001600160a01b039081168352602082013590614fc6826142f6565b166020830152604090810135910152565b5f6101808201905083825282356020830152614ff560208401614eac565b6150026040840182614f8f565b506150136060830160408501614f9f565b61502360c0830160a08501614f9f565b61012061503e8184016150396101008701614d67565b614895565b61014081850135818501528085013561016085015250509392505050565b5f6020828403121561506c575f80fd5b61104382614d67565b5f60608284031215615085575f80fd5b6110438383614d75565b81810381811115610b7657610b76614d33565b8082028115828204841417610b7657610b76614d33565b5f602082840312156150c9575f80fd5b813561104381614736565b6001600160601b03828116828216039080821115612d5257612d52614d33565b601081106148a5576148a5614881565b60208101610b7682846150f4565b6001600160e01b03198316815260408101600b831061513357615133614881565b8260208301529392505050565b8183525f60208085019450825f5b8581101561517c578135615161816142f6565b6001600160a01b03168752958201959082019060010161514e565b509495945050505050565b604081525f61519a604083018688615140565b82810360208401528381526001600160fb1b038411156151b8575f80fd5b8360051b80866020840137016020019695505050505050565b606081525f6151e460608301888a615140565b602083820360208501526151f982888a615140565b84810360408601528581528692506020015f5b86811015615231576152218261503986614d67565b928201929082019060010161520c565b509a9950505050505050505050565b5f6001820161525157615251614d33565b5060010190565b615263828251614895565b60208181015190830152604090810151910152565b5f6101808201905083825282516020830152602083015161529c6040840182614f8f565b5060408381015180516001600160a01b03908116606086015260208201511660808501529081015160a084015250606083015180516001600160a01b0390811660c085015260208201511660e0840152604081015161010084015250608083015161530b610120840182615258565b509392505050565b5f60208284031215615323575f80fd5b61104382614eac565b80820180821115610b7657610b76614d33565b5f8261535957634e487b7160e01b5f52601260045260245ffd5b500490565b6001600160e01b0319841681526060810161537c60208301856150f4565b6001600160a01b03929092166040919091015292915050565b5f602082840312156153a5575f80fd5b5051919050565b5f5b838110156153c65781810151838201526020016153ae565b50505f910152565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081525f83516154058160178501602088016153ac565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516154368160288401602088016153ac565b01602801949350505050565b5f81518084526154598160208601602086016153ac565b601f01601f19169290920160200192915050565b602081525f6110436020830184615442565b5f82516154908184602087016153ac565b9190910192915050565b5f602082840312156154aa575f80fd5b815161104381614736565b60c081016154c38287615258565b6001600160a01b0394851660608301529284166080820152921660a090920191909152919050565b60a081016154f98286615258565b6001600160a01b03938416606083015291909216608090920191909152919050565b5f8161552957615529614d33565b505f190190565b634e487b7160e01b5f52603160045260245ffd5b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190525f9061557d90830184615442565b979650505050505050565b60018060a01b0385168152836020820152826040820152608060608201525f6155b46080830184615442565b969550505050505056fe7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498a2646970667358221220c6a7eacb7b230132910498f6731b258f7a69a5a03ae63978c6cb11ce1f4c993364736f6c63430008170033", + "nonce": "0x0", + "chainId": "0xaa36a7" + }, + "additionalContracts": [], + "isFixedGasLimit": false + } + ], + "receipts": [], + "libraries": [], + "pending": [], + "returns": {}, + "timestamp": 1724668425, + "chain": 11155111, + "commit": "93f3448" + }, + { + "transactions": [ + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "propose(uint256,uint256,address,address[],uint256[],bytes[],uint256[])", + "arguments": [ + "11155111", + "1725705084", + "0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa", + "[0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e]", + "[0, 0]", + "[0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5]", + "[2000000, 1000000]" + ], + "transaction": { + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x4b71e", + "value": "0x0", + "input": "0x15702f050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2b7c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000540000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "nonce": "0x26a", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(1, 11155111, 1725705084, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0x011d8a5ea1472fe8446d3f05bbe3eaf956202b82fe9a7185f8e83d48678838e3, 0x6d6757e32729328b4651ea84576d9a3311c40a93524041613bf4329aa5d29df5)]" + ], + "transaction": { + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2b7c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001b011d8a5ea1472fe8446d3f05bbe3eaf956202b82fe9a7185f8e83d48678838e36d6757e32729328b4651ea84576d9a3311c40a93524041613bf4329aa5d29df5", + "nonce": "0x6d", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(1, 11155111, 1725705084, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0xe23b8264053114da02b1d2f3ccf81105b40302666d36659b79b1f6ed84c541ab, 0x51e5100c9e10800ef29c3e65e3a70041420fec792164c42f186de471a2ee4347)]" + ], + "transaction": { + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2b7c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001be23b8264053114da02b1d2f3ccf81105b40302666d36659b79b1f6ed84c541ab51e5100c9e10800ef29c3e65e3a70041420fec792164c42f186de471a2ee4347", + "nonce": "0x7d", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(1, 11155111, 1725705084, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0x52a8446cfe29d561f9f01ce43b2c98b869a3f65878e82cf6abe43a3b34cc65a7, 0x386a85cbed3b03e3b7eda38a3f769b4ebf86402bc01e942cc7c11650d7f6f5c3)]" + ], + "transaction": { + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2b7c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001b52a8446cfe29d561f9f01ce43b2c98b869a3f65878e82cf6abe43a3b34cc65a7386a85cbed3b03e3b7eda38a3f769b4ebf86402bc01e942cc7c11650d7f6f5c3", + "nonce": "0x6e", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "propose(uint256,uint256,address,address[],uint256[],bytes[],uint256[])", + "arguments": [ + "11155111", + "1725705084", + "0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa", + "[0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e]", + "[0, 0]", + "[0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5]", + "[2000000, 1000000]" + ], + "transaction": { + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x47f40", + "value": "0x0", + "input": "0x15702f050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2b7c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000540000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "nonce": "0x26b", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(2, 11155111, 1725705084, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0x4d545068f762307860eae65e1151c2d59801d902b051b1a57ee2484db840369f, 0x218ad2abdc812b9ba3db91a354e115db3bd0d4ee29101c29ad5410fdfa3693dc)]" + ], + "transaction": { + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2b7c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001b4d545068f762307860eae65e1151c2d59801d902b051b1a57ee2484db840369f218ad2abdc812b9ba3db91a354e115db3bd0d4ee29101c29ad5410fdfa3693dc", + "nonce": "0x6e", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(2, 11155111, 1725705084, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0x4d4a5ecff6c90b6183d4c94a426c4b619113d693ac32a46e2b992289c51fc1a3, 0x15d26fd1eae9b6f11c6b0e2a54baac2ed770e811f1330e294e88256a4539b56e)]" + ], + "transaction": { + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2b7c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001c4d4a5ecff6c90b6183d4c94a426c4b619113d693ac32a46e2b992289c51fc1a315d26fd1eae9b6f11c6b0e2a54baac2ed770e811f1330e294e88256a4539b56e", + "nonce": "0x7e", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(2, 11155111, 1725705084, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0xbb7bfa67d02b98e130e1ff6adc1cd8a4dbaa47ad10cfce0b170b75d8e9b0116b, 0x410109a4614d38c86bda61f49d26952b05ecb047a8612f477c161546276bf617)]" + ], + "transaction": { + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2b7c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001bbb7bfa67d02b98e130e1ff6adc1cd8a4dbaa47ad10cfce0b170b75d8e9b0116b410109a4614d38c86bda61f49d26952b05ecb047a8612f477c161546276bf617", + "nonce": "0x6f", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "propose(uint256,uint256,address,address[],uint256[],bytes[],uint256[])", + "arguments": [ + "11155111", + "1725705084", + "0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa", + "[0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e]", + "[0, 0]", + "[0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5]", + "[2000000, 1000000]" + ], + "transaction": { + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x47f40", + "value": "0x0", + "input": "0x15702f050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2b7c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000540000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "nonce": "0x26c", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(3, 11155111, 1725705084, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0xe565e1a5e32465b3b4e282cd0eefcd94fe3e967a770076016468ed82bfdf6f14, 0x621b40cb4ffdeb613b635f84936c168edb40ab38fa0044c9dee0796ff9f9fd21)]" + ], + "transaction": { + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2b7c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001be565e1a5e32465b3b4e282cd0eefcd94fe3e967a770076016468ed82bfdf6f14621b40cb4ffdeb613b635f84936c168edb40ab38fa0044c9dee0796ff9f9fd21", + "nonce": "0x6f", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(3, 11155111, 1725705084, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0x05511a81a09dd06041a46306b831d2d168d1696486bbafe746d46a8b43a0a3b5, 0x365663cfb333bd4d96c5a731337143c6ca9b0a8612db1d408712fa9c8a807e3a)]" + ], + "transaction": { + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2b7c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001b05511a81a09dd06041a46306b831d2d168d1696486bbafe746d46a8b43a0a3b5365663cfb333bd4d96c5a731337143c6ca9b0a8612db1d408712fa9c8a807e3a", + "nonce": "0x7f", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(3, 11155111, 1725705084, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0x115fac0afd54c88f71414ff5a4fa740a28569e01a02c8b83aeaee14c02d5cb2c, 0x7413f952e10b113944907d3d240526ac5af6f66797570416872939452754ca96)]" + ], + "transaction": { + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2b7c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001c115fac0afd54c88f71414ff5a4fa740a28569e01a02c8b83aeaee14c02d5cb2c7413f952e10b113944907d3d240526ac5af6f66797570416872939452754ca96", + "nonce": "0x70", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "propose(uint256,uint256,address,address[],uint256[],bytes[],uint256[])", + "arguments": [ + "11155111", + "1725705084", + "0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa", + "[0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e]", + "[0, 0]", + "[0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5]", + "[2000000, 1000000]" + ], + "transaction": { + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x47f40", + "value": "0x0", + "input": "0x15702f050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2b7c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000540000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "nonce": "0x26d", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(4, 11155111, 1725705084, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0x456f71bfecaca9765247fd2c2f74a6908d67c898c5bcbc836d939e4c5d20d6e6, 0x3a51a99785f4ef0cc733f92d4434adedca96d88ac54d1782686c7f2a2f9a0d58)]" + ], + "transaction": { + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2b7c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001c456f71bfecaca9765247fd2c2f74a6908d67c898c5bcbc836d939e4c5d20d6e63a51a99785f4ef0cc733f92d4434adedca96d88ac54d1782686c7f2a2f9a0d58", + "nonce": "0x70", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(4, 11155111, 1725705084, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0x85236b44f565b5df5d159698af4969821f5b6b757985dd5dfbddbee1293a7f44, 0x2c6f271064b231ae1e2b725467b71a6c226493b97b4f985f141729dd45eebebb)]" + ], + "transaction": { + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2b7c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001c85236b44f565b5df5d159698af4969821f5b6b757985dd5dfbddbee1293a7f442c6f271064b231ae1e2b725467b71a6c226493b97b4f985f141729dd45eebebb", + "nonce": "0x80", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(4, 11155111, 1725705084, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0x89088e019b7cf36c4172cdaa978b34f1aafedec4d971691b0b6bf592eb705a8b, 0x38ced5f7e6d00eef0215bca60582b0c6bd622024eab329c12435c9bf2ed55a5e)]" + ], + "transaction": { + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2b7c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001b89088e019b7cf36c4172cdaa978b34f1aafedec4d971691b0b6bf592eb705a8b38ced5f7e6d00eef0215bca60582b0c6bd622024eab329c12435c9bf2ed55a5e", + "nonce": "0x71", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "propose(uint256,uint256,address,address[],uint256[],bytes[],uint256[])", + "arguments": [ + "11155111", + "1725705084", + "0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa", + "[0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e]", + "[0, 0]", + "[0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5]", + "[2000000, 1000000]" + ], + "transaction": { + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x47f40", + "value": "0x0", + "input": "0x15702f050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2b7c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000540000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "nonce": "0x26e", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(5, 11155111, 1725705084, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0xeee60ba82d87175064031ca3a912bf07b58a0c4a594283032648e6d4c1b2e3b6, 0x691a4a6dfb975fdb80c236ab6fd05be4ce6be6e716cf54509c40b0b242e09557)]" + ], + "transaction": { + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2b7c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001beee60ba82d87175064031ca3a912bf07b58a0c4a594283032648e6d4c1b2e3b6691a4a6dfb975fdb80c236ab6fd05be4ce6be6e716cf54509c40b0b242e09557", + "nonce": "0x71", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(5, 11155111, 1725705084, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0x79991961364ea025ec7698cbd9e7868772459e0083972b902e5156a7d892d0a5, 0x3201da22d569d83a536ff3993d41abe56c9b339074ab3b9656c853d0f7cfb684)]" + ], + "transaction": { + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2b7c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001b79991961364ea025ec7698cbd9e7868772459e0083972b902e5156a7d892d0a53201da22d569d83a536ff3993d41abe56c9b339074ab3b9656c853d0f7cfb684", + "nonce": "0x81", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(5, 11155111, 1725705084, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0x1a2eab777f21102ef40e2148f8a222f736dabe5252bfefe736d345851fe97bbf, 0x0e2dda6e7f7f6a093ef4dff9f2f3ded8a2b2d7e7132da4494f6bb94d1768fe46)]" + ], + "transaction": { + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2b7c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001b1a2eab777f21102ef40e2148f8a222f736dabe5252bfefe736d345851fe97bbf0e2dda6e7f7f6a093ef4dff9f2f3ded8a2b2d7e7132da4494f6bb94d1768fe46", + "nonce": "0x72", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "propose(uint256,uint256,address,address[],uint256[],bytes[],uint256[])", + "arguments": [ + "11155111", + "1725705084", + "0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa", + "[0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e]", + "[0, 0]", + "[0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5]", + "[2000000, 1000000]" + ], + "transaction": { + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x47f40", + "value": "0x0", + "input": "0x15702f050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2b7c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000540000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "nonce": "0x26f", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(6, 11155111, 1725705084, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0x8f807acdf124331bf3ec219407c9fe8ca7c8bf208620436c6d0cce1db7eadea6, 0x4b70f1abb5dd1a82897ae943350a15973543d619838bb30c240b226e1011d7a7)]" + ], + "transaction": { + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2b7c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001c8f807acdf124331bf3ec219407c9fe8ca7c8bf208620436c6d0cce1db7eadea64b70f1abb5dd1a82897ae943350a15973543d619838bb30c240b226e1011d7a7", + "nonce": "0x72", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(6, 11155111, 1725705084, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0x44f739204f36c207635c374ac045bb71ce533fa3d7e0e827f22f51ed282e485c, 0x728f8cde0a9b4dd680dc0c4b92c5f59ade6678b5f733a3c77fb001fd4f46da23)]" + ], + "transaction": { + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2b7c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001c44f739204f36c207635c374ac045bb71ce533fa3d7e0e827f22f51ed282e485c728f8cde0a9b4dd680dc0c4b92c5f59ade6678b5f733a3c77fb001fd4f46da23", + "nonce": "0x82", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(6, 11155111, 1725705084, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0xe37aef228acc575eb6fc86e6977188425691c06306237b40fd045db4ecff7818, 0x3b2b466c9c5cbcd1e8fa3d9037f1b15d592c1eac06970bd17ef420556d38cfd9)]" + ], + "transaction": { + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2b7c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001ce37aef228acc575eb6fc86e6977188425691c06306237b40fd045db4ecff78183b2b466c9c5cbcd1e8fa3d9037f1b15d592c1eac06970bd17ef420556d38cfd9", + "nonce": "0x73", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "propose(uint256,uint256,address,address[],uint256[],bytes[],uint256[])", + "arguments": [ + "11155111", + "1725705084", + "0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa", + "[0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e]", + "[0, 0]", + "[0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5]", + "[2000000, 1000000]" + ], + "transaction": { + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x47f40", + "value": "0x0", + "input": "0x15702f050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2b7c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000540000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "nonce": "0x270", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(7, 11155111, 1725705084, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0x3edd1d9bb60b6e68a36f0220ae0cbb50e8973f6344e5bffdea9acd06b29ed6f6, 0x2709e97b3fbf8461f14dd7fc8596428d87fb89ff0a829272d19cd7cc4751b5dc)]" + ], + "transaction": { + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2b7c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001b3edd1d9bb60b6e68a36f0220ae0cbb50e8973f6344e5bffdea9acd06b29ed6f62709e97b3fbf8461f14dd7fc8596428d87fb89ff0a829272d19cd7cc4751b5dc", + "nonce": "0x73", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(7, 11155111, 1725705084, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0x447d14182a24decdf0d964e3b6e467f18522ed213395f9a9ab9896d246821023, 0x1cb1d1ffb9c8b390fe8cad9c843f9673c3163cd0738bea11b7ac1619018ccdb6)]" + ], + "transaction": { + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2b7c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001c447d14182a24decdf0d964e3b6e467f18522ed213395f9a9ab9896d2468210231cb1d1ffb9c8b390fe8cad9c843f9673c3163cd0738bea11b7ac1619018ccdb6", + "nonce": "0x83", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(7, 11155111, 1725705084, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0xbe54e0f9fe7ec3705d977a9560477be1cd8d9eb9a179675f49f76f7210443ec8, 0x67063bd4d1ead4c0d170157393b1d519ef215b2f34e4ec0322580cb38d19c605)]" + ], + "transaction": { + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2b7c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001bbe54e0f9fe7ec3705d977a9560477be1cd8d9eb9a179675f49f76f7210443ec867063bd4d1ead4c0d170157393b1d519ef215b2f34e4ec0322580cb38d19c605", + "nonce": "0x74", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "propose(uint256,uint256,address,address[],uint256[],bytes[],uint256[])", + "arguments": [ + "11155111", + "1725705084", + "0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa", + "[0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e]", + "[0, 0]", + "[0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5]", + "[2000000, 1000000]" + ], + "transaction": { + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x47f40", + "value": "0x0", + "input": "0x15702f050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2b7c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000540000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "nonce": "0x271", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(8, 11155111, 1725705084, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0x7eb421add28ec3e8967124cf2b5bd2e3421ef21ca9747d0b260f29830c47b117, 0x5c89a8d333db1fa9adbfe2e9a74bae5b0af0b3afa5db1ec2b5e82a8ac4e42e8a)]" + ], + "transaction": { + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2b7c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001c7eb421add28ec3e8967124cf2b5bd2e3421ef21ca9747d0b260f29830c47b1175c89a8d333db1fa9adbfe2e9a74bae5b0af0b3afa5db1ec2b5e82a8ac4e42e8a", + "nonce": "0x74", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(8, 11155111, 1725705084, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0x46688295859d552e63e1e5795069dc4dbb0c2e17e57d14624cd2944a7b5e3584, 0x08446765217d812604e91367d86e796128cbb267c9a71b371a01c9ca6caefba1)]" + ], + "transaction": { + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2b7c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001b46688295859d552e63e1e5795069dc4dbb0c2e17e57d14624cd2944a7b5e358408446765217d812604e91367d86e796128cbb267c9a71b371a01c9ca6caefba1", + "nonce": "0x84", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(8, 11155111, 1725705084, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0x03014cf74c20f80cdfbc02a0268bc7ef489776f51684180a166585a2c4b818bf, 0x252b25ab56b35617e027b436d5d3e9cc06ec8c26bde01adb04ab1967aad686dc)]" + ], + "transaction": { + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2b7c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001b03014cf74c20f80cdfbc02a0268bc7ef489776f51684180a166585a2c4b818bf252b25ab56b35617e027b436d5d3e9cc06ec8c26bde01adb04ab1967aad686dc", + "nonce": "0x75", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + } + ], + "receipts": [], + "libraries": [], + "pending": [], + "returns": {}, + "timestamp": 1724668426, + "chain": 2021, + "commit": "93f3448" + }, + { + "transactions": [ + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x603075b625cc2cf69fbb3546c6acc2451fe792af", + "function": "relayProposal((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(8, 11155111, 1725705084, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0, 0, 0, 0]", + "[(27, 0x46688295859d552e63e1e5795069dc4dbb0c2e17e57d14624cd2944a7b5e3584, 0x08446765217d812604e91367d86e796128cbb267c9a71b371a01c9ca6caefba1), (27, 0x03014cf74c20f80cdfbc02a0268bc7ef489776f51684180a166585a2c4b818bf, 0x252b25ab56b35617e027b436d5d3e9cc06ec8c26bde01adb04ab1967aad686dc), (28, 0x7eb421add28ec3e8967124cf2b5bd2e3421ef21ca9747d0b260f29830c47b117, 0x5c89a8d333db1fa9adbfe2e9a74bae5b0af0b3afa5db1ec2b5e82a8ac4e42e8a), (27, 0xc2e88825d7a985c2164635c082d3862c3722dd3e310b6abb5c2fc3ca620d73dc, 0x3b726126e504dc2739accb9e099fa96452e9511075f28492db4aed2570d24662)]" + ], + "transaction": { + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x603075b625cc2cf69fbb3546c6acc2451fe792af", + "gas": "0x3d0900", + "value": "0x0", + "input": "0x8dc0dbc60000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000000000000000000000000000000000006c000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2b7c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001b46688295859d552e63e1e5795069dc4dbb0c2e17e57d14624cd2944a7b5e358408446765217d812604e91367d86e796128cbb267c9a71b371a01c9ca6caefba1000000000000000000000000000000000000000000000000000000000000001b03014cf74c20f80cdfbc02a0268bc7ef489776f51684180a166585a2c4b818bf252b25ab56b35617e027b436d5d3e9cc06ec8c26bde01adb04ab1967aad686dc000000000000000000000000000000000000000000000000000000000000001c7eb421add28ec3e8967124cf2b5bd2e3421ef21ca9747d0b260f29830c47b1175c89a8d333db1fa9adbfe2e9a74bae5b0af0b3afa5db1ec2b5e82a8ac4e42e8a000000000000000000000000000000000000000000000000000000000000001bc2e88825d7a985c2164635c082d3862c3722dd3e310b6abb5c2fc3ca620d73dc3b726126e504dc2739accb9e099fa96452e9511075f28492db4aed2570d24662", + "nonce": "0x6", + "chainId": "0xaa36a7" + }, + "additionalContracts": [], + "isFixedGasLimit": true + } + ], + "receipts": [], + "libraries": [], + "pending": [], + "returns": {}, + "timestamp": 1724668426, + "chain": 11155111, + "commit": "93f3448" + } + ], + "timestamp": 1724668426 +} \ No newline at end of file diff --git a/broadcast/multi/20240807-ir-recover-testnet.s.sol-1724668621/run.json b/broadcast/multi/20240807-ir-recover-testnet.s.sol-1724668621/run.json new file mode 100644 index 00000000..bfba0313 --- /dev/null +++ b/broadcast/multi/20240807-ir-recover-testnet.s.sol-1724668621/run.json @@ -0,0 +1,847 @@ +{ + "deployments": [ + { + "transactions": [ + { + "hash": null, + "transactionType": "CREATE", + "contractName": "MainchainGatewayV3", + "contractAddress": "0x19287ca493748a5452b3900d393cb1a4369f47d5", + "function": null, + "arguments": null, + "transaction": { + "from": "0xd90bb8ed38bcde74889d66a5d346f6e0e1a244a7", + "gas": "0x93f382", + "value": "0x0", + "input": "0x608060405234801562000010575f80fd5b505f805460ff19169055620000246200002a565b620000ec565b607154610100900460ff1615620000975760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60715460ff9081161015620000ea576071805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b61561480620000fa5f395ff3fe60806040526004361061038f575f3560e01c80638f34e347116101db578063b9c3620911610101578063d55ed1031161009f578063dff525e11161006e578063dff525e114610a99578063e400327c14610ab8578063e75235b814610ad7578063f23a6e6114610aee5761039e565b8063d55ed10314610a11578063d64af2a614610a3c578063dafae40814610a5b578063de981f1b14610a7a5761039e565b8063ca15c873116100db578063ca15c87314610991578063cdb67444146109b0578063d19773d2146109c7578063d547741f146109f25761039e565b8063b9c3620914610928578063bc197c8114610947578063c48549de146109725761039e565b8063a217fddf11610179578063affed0e011610148578063affed0e01461089d578063b1a2567e146108b2578063b1d08a03146108d1578063b2975794146108fc5761039e565b8063a217fddf14610840578063a3912ec81461039c578063ab79656614610853578063ac78dfe81461087e5761039e565b80639157921c116101b55780639157921c146107af57806391d14854146107ce57806393c5678f146107ed5780639dcc4da31461080c5761039e565b80638f34e347146107315780638f851d8a146107645780639010d07c146107905761039e565b806336568abe116102c0578063504af48c1161025e5780636c1ce6701161022d5780636c1ce670146106cb5780637de5dedd146106ea5780638456cb59146106fe578063865e6fd3146107125761039e565b8063504af48c1461064c57806359122f6b1461065f5780635c975abb1461068a5780636932be98146106a05761039e565b80633f4ba83a1161029a5780633f4ba83a146105d85780634b14557e146105ec5780634d0d6673146105ff5780634d493f4e1461061e5761039e565b806336568abe1461058657806338e454b1146105a55780633e70838b146105b95761039e565b80631d4a72101161032d5780632dfdf0b5116103075780632dfdf0b5146105285780632f2ff15d1461053d578063302d12db1461055c5780633644e515146105725761039e565b80631d4a7210146104b0578063248a9ca3146104db57806329b6eca9146105095761039e565b806317ce2dd41161036957806317ce2dd41461043057806317fcb39b146104535780631a8e55b0146104725780631b6e7594146104915761039e565b806301ffc9a7146103a6578063065b3adf146103da578063110a8308146104115761039e565b3661039e5761039c610b19565b005b61039c610b19565b3480156103b1575f80fd5b506103c56103c03660046142cf565b610b37565b60405190151581526020015b60405180910390f35b3480156103e5575f80fd5b506005546103f9906001600160a01b031681565b6040516001600160a01b0390911681526020016103d1565b34801561041c575f80fd5b5061039c61042b36600461430a565b610b7c565b34801561043b575f80fd5b5061044560755481565b6040519081526020016103d1565b34801561045e575f80fd5b506074546103f9906001600160a01b031681565b34801561047d575f80fd5b5061039c61048c366004614365565b610c04565b34801561049c575f80fd5b5061039c6104ab3660046143cb565b610c3f565b3480156104bb575f80fd5b506104456104ca36600461430a565b603e6020525f908152604090205481565b3480156104e6575f80fd5b506104456104f5366004614468565b5f9081526072602052604090206001015490565b348015610514575f80fd5b5061039c61052336600461430a565b610c7e565b348015610533575f80fd5b5061044560765481565b348015610548575f80fd5b5061039c61055736600461447f565b610d06565b348015610567575f80fd5b50610445620f424081565b34801561057d575f80fd5b50607754610445565b348015610591575f80fd5b5061039c6105a036600461447f565b610d2f565b3480156105b0575f80fd5b5061039c610dad565b3480156105c4575f80fd5b5061039c6105d336600461430a565b610f7f565b3480156105e3575f80fd5b5061039c610fa9565b61039c6105fa3660046144ad565b610fb9565b34801561060a575f80fd5b506103c56106193660046144d4565b610fdc565b348015610629575f80fd5b506103c5610638366004614468565b607a6020525f908152604090205460ff1681565b61039c61065a366004614575565b61104a565b34801561066a575f80fd5b5061044561067936600461430a565b603a6020525f908152604090205481565b348015610695575f80fd5b505f5460ff166103c5565b3480156106ab575f80fd5b506104456106ba366004614468565b60796020525f908152604090205481565b3480156106d6575f80fd5b506103c56106e5366004614646565b61130b565b3480156106f5575f80fd5b50610445611316565b348015610709575f80fd5b5061039c61132c565b34801561071d575f80fd5b5061039c61072c36600461467e565b61133c565b34801561073c575f80fd5b506104457f5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e481565b34801561076f575f80fd5b5061078361077e366004614743565b611357565b6040516103d19190614831565b34801561079b575f80fd5b506103f96107aa366004614846565b6114d3565b3480156107ba575f80fd5b5061039c6107c9366004614866565b6114ea565b3480156107d9575f80fd5b506103c56107e836600461447f565b611765565b3480156107f8575f80fd5b5061039c610807366004614365565b61178f565b348015610817575f80fd5b5061082b610826366004614846565b6117c4565b604080519283526020830191909152016103d1565b34801561084b575f80fd5b506104455f81565b34801561085e575f80fd5b5061044561086d36600461430a565b603c6020525f908152604090205481565b348015610889575f80fd5b506103c5610898366004614468565b6117ec565b3480156108a8575f80fd5b5061044560045481565b3480156108bd575f80fd5b5061039c6108cc366004614365565b611817565b3480156108dc575f80fd5b506104456108eb36600461430a565b60396020525f908152604090205481565b348015610907575f80fd5b5061091b61091636600461430a565b61184c565b6040516103d191906148a9565b348015610933575f80fd5b5061039c610942366004614846565b6118ed565b348015610952575f80fd5b506107836109613660046149a4565b63bc197c8160e01b95945050505050565b34801561097d575f80fd5b5061078361098c366004614365565b611907565b34801561099c575f80fd5b506104456109ab366004614468565b611a93565b3480156109bb575f80fd5b5060375460385461082b565b3480156109d2575f80fd5b506104456109e136600461430a565b603b6020525f908152604090205481565b3480156109fd575f80fd5b5061039c610a0c36600461447f565b611aa9565b348015610a1c575f80fd5b50610445610a2b36600461430a565b603d6020525f908152604090205481565b348015610a47575f80fd5b5061039c610a5636600461430a565b611acd565b348015610a66575f80fd5b506103c5610a75366004614468565b611ade565b348015610a85575f80fd5b506103f9610a94366004614a4a565b611b01565b348015610aa4575f80fd5b5061039c610ab3366004614a63565b611b74565b348015610ac3575f80fd5b5061039c610ad2366004614365565b611be7565b348015610ae2575f80fd5b5060015460025461082b565b348015610af9575f80fd5b50610783610b08366004614b17565b63f23a6e6160e01b95945050505050565b6074546001600160a01b03163303610b2d57565b610b35611c1c565b565b5f6001600160e01b03198216631f3673bb60e01b1480610b6757506001600160e01b031982166312c0151560e21b145b80610b765750610b7682611c46565b92915050565b607154600490610100900460ff16158015610b9e575060715460ff8083169116105b610bc35760405162461bcd60e51b8152600401610bba90614b7a565b60405180910390fd5b6071805461ffff191660ff83169081176101001761ff0019169091556040519081525f805160206155bf833981519152906020015b60405180910390a15050565b610c0c611c6a565b5f839003610c2d576040516316ee9d3b60e11b815260040160405180910390fd5b610c3984848484611cc3565b50505050565b610c47611c6a565b5f859003610c68576040516316ee9d3b60e11b815260040160405180910390fd5b610c76868686868686611d94565b505050505050565b607154600290610100900460ff16158015610ca0575060715460ff8083169116105b610cbc5760405162461bcd60e51b8152600401610bba90614b7a565b6071805461ffff191660ff831617610100179055610cdb600b83611f36565b6071805461ff001916905560405160ff821681525f805160206155bf83398151915290602001610bf8565b5f82815260726020526040902060010154610d2081611fd7565b610d2a8383611fe1565b505050565b6001600160a01b0381163314610d9f5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610bba565b610da98282612002565b5050565b607154600390610100900460ff16158015610dcf575060715460ff8083169116105b610deb5760405162461bcd60e51b8152600401610bba90614b7a565b6071805461ffff191660ff8316176101001790555f610e0a600b611b01565b90505f80826001600160a01b031663c441c4a86040518163ffffffff1660e01b81526004015f60405180830381865afa158015610e49573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610e709190810190614c41565b92509250505f805b8351811015610f2957828181518110610e9357610e93614d1f565b6020026020010151607e5f868481518110610eb057610eb0614d1f565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f205f6101000a8154816001600160601b0302191690836001600160601b03160217905550828181518110610f0c57610f0c614d1f565b602002602001015182610f1f9190614d47565b9150600101610e78565b50607d80546001600160601b0319166001600160601b039290921691909117905550506071805461ff00191690555060405160ff821681525f805160206155bf833981519152906020015b60405180910390a150565b610f87611c6a565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b610fb1612023565b610b35612091565b610fc16120e2565b610fd9610fd336839003830183614db4565b33612127565b50565b5f610fe56120e2565b611040848484808060200260200160405190810160405280939291908181526020015f905b828210156110365761102760608302860136819003810190614e05565b8152602001906001019061100a565b505050505061236e565b90505b9392505050565b607154610100900460ff161580801561106a5750607154600160ff909116105b806110845750303b158015611084575060715460ff166001145b6110a05760405162461bcd60e51b8152600401610bba90614b7a565b6071805460ff1916600117905580156110c3576071805461ff0019166101001790555b6110cd5f8c6127fa565b60758990556110db8a612804565b6111666040517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81527f159f52c1e3a2b6a6aad3950adf713516211484e0516dad685ea662a094b7c43b60208201527fad7c5bef027816a800da1736444fb58a807ef4c9603b7848673f7e3a68eb14a5604082015246606082015230608082015260a0812060775550565b6111708887612852565b61117a87876128f3565b505061118461299a565b5f61118f8680614e4c565b9050111561124f576111b86111a48680614e4c565b6111b16020890189614e4c565b8787611d94565b6111dd6111c58680614e4c565b865f5b6020028101906111d89190614e4c565b6129e6565b6112036111ea8680614e4c565b8660015b6020028101906111fe9190614e4c565b611cc3565b6112296112108680614e4c565b8660025b6020028101906112249190614e4c565b612ab7565b61124f6112368680614e4c565b8660035b60200281019061124a9190614e4c565b612bc4565b5f5b61125e6040870187614e4c565b90508110156112ca576112c27f5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e46112986040890189614e4c565b848181106112a8576112a8614d1f565b90506020020160208101906112bd919061430a565b611fe1565b600101611251565b5080156112fe576071805461ff0019169055604051600181525f805160206155bf8339815191529060200160405180910390a15b5050505050505050505050565b5f6110438383612c95565b5f611327611322612d59565b612d96565b905090565b611334612023565b610b35612dfa565b611344611c6a565b61134d81612e36565b610da98282611f36565b5f600b61136381612e6b565b82518690811415806113755750808514155b156113a0575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b805f036113b757506347c28ec560e11b91506114c9565b5f5b818110156114bc578481815181106113d3576113d3614d1f565b6020026020010151156114b4578686828181106113f2576113f2614d1f565b90506020020160208101906114079190614e91565b607d80546001600160601b031981166001600160601b03918216939093011691909117905586868281811061143e5761143e614d1f565b90506020020160208101906114539190614e91565b607e5f8b8b8581811061146857611468614d1f565b905060200201602081019061147d919061430a565b6001600160a01b0316815260208101919091526040015f2080546001600160601b0319166001600160601b03929092169190911790555b6001016113b9565b506347c28ec560e11b9250505b5095945050505050565b5f8281526073602052604081206110439083612eb6565b7f5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e461151481611fd7565b5f61152c61152736859003850185614f06565b612ec1565b905061154061152736859003850185614f06565b83355f908152607960205260409020541461156e5760405163f4b8742f60e01b815260040160405180910390fd5b82355f908152607a602052604090205460ff1661159e5760405163147bfe0760e01b815260040160405180910390fd5b82355f908152607a602052604090819020805460ff19169055517fd639511b37b3b002cca6cfe6bca0d833945a5af5a045578a0627fc43b79b2630906115e79083908690614fd7565b60405180910390a15f611600608085016060860161430a565b90505f6116156101208601610100870161505c565b600281111561162657611626614881565b036116ea575f61163f3686900386016101008701615075565b6001600160a01b0383165f908152603b602052604090205490915061166a9061014087013590612f88565b60408201525f6116833687900387016101008801615075565b604083015190915061169a9061014088013561508f565b60408201526074546116ba908390339086906001600160a01b0316612fa1565b6116e36116cd606088016040890161430a565b60745483919086906001600160a01b0316612fa1565b5050611726565b6117266116fd606086016040870161430a565b60745483906001600160a01b031661171e3689900389016101008a01615075565b929190612fa1565b7f21e88e956aa3e086f6388e899965cef814688f99ad8bb29b08d396571016372d8285604051611757929190614fd7565b60405180910390a150505050565b5f9182526072602090815260408084206001600160a01b0393909316845291905290205460ff1690565b611797611c6a565b5f8390036117b8576040516316ee9d3b60e11b815260040160405180910390fd5b610c39848484846129e6565b5f806117ce611c6a565b6117d884846128f3565b90925090506117e561299a565b9250929050565b5f6117f5612d59565b60375461180291906150a2565b60385461180f90846150a2565b101592915050565b61181f611c6a565b5f839003611840576040516316ee9d3b60e11b815260040160405180910390fd5b610c3984848484612ab7565b604080518082019091525f80825260208201526001600160a01b0382165f908152607860205260409081902081518083019092528054829060ff16600281111561189857611898614881565b60028111156118a9576118a9614881565b815290546001600160a01b03610100909104811660209283015290820151919250166118e857604051631b79f53b60e21b815260040160405180910390fd5b919050565b6118f5611c6a565b6118ff8282612852565b610da961299a565b5f600b61191381612e6b565b84838114611941575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b805f036119585750636242a4ef60e11b9150611a8a565b5f805b82811015611a3b5786868281811061197557611975614d1f565b905060200201602081019061198a91906150b9565b15611a3357607e5f8a8a848181106119a4576119a4614d1f565b90506020020160208101906119b9919061430a565b6001600160a01b0316815260208101919091526040015f908120546001600160601b03169290920191607e908a8a848181106119f7576119f7614d1f565b9050602002016020810190611a0c919061430a565b6001600160a01b0316815260208101919091526040015f2080546001600160601b03191690555b60010161195b565b50607d80548291905f90611a599084906001600160601b03166150d4565b92506101000a8154816001600160601b0302191690836001600160601b0316021790555063c48549de60e01b935050505b50949350505050565b5f818152607360205260408120610b76906131ca565b5f82815260726020526040902060010154611ac381611fd7565b610d2a8383612002565b611ad5611c6a565b610fd981612804565b5f611ae7612d59565b600154611af491906150a2565b60025461180f90846150a2565b5f7fdea3103d22025c269050bea94c0c84688877f12fa22b7e6d2d5d78a9a49aa1cb5f83600f811115611b3657611b36614881565b60ff16815260208101919091526040015f20546001600160a01b03169050806118e8578160405163409140df60e11b8152600401610bba9190615104565b611b7c611c6a565b5f869003611b9d576040516316ee9d3b60e11b815260040160405180910390fd5b611bab878787878787611d94565b611bb78787835f6111c8565b611bc487878360016111ee565b611bd18787836002611214565b611bde878783600361123a565b50505050505050565b611bef611c6a565b5f839003611c10576040516316ee9d3b60e11b815260040160405180910390fd5b610c3984848484612bc4565b611c246120e2565b611c2c614292565b338152604080820151349101528051610fd9908290612127565b5f6001600160e01b03198216630271189760e51b1480610b765750610b76826131d3565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103546001600160a01b03163314610b35575f356001600160e01b0319166001604051620f948f60ea1b8152600401610bba929190615112565b828114611cf0575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b83811015611d5e57828282818110611d0c57611d0c614d1f565b90506020020135603a5f878785818110611d2857611d28614d1f565b9050602002016020810190611d3d919061430a565b6001600160a01b0316815260208101919091526040015f2055600101611cf2565b507f64557254143204d91ba2d95acb9fda1e5fea55f77efd028685765bc1e94dd4b5848484846040516117579493929190615187565b8483148015611da257508481145b611dcc575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b85811015611eec57848482818110611de857611de8614d1f565b9050602002016020810190611dfd919061430a565b60785f898985818110611e1257611e12614d1f565b9050602002016020810190611e27919061430a565b6001600160a01b03908116825260208201929092526040015f208054610100600160a81b0319166101009390921692909202179055828282818110611e6e57611e6e614d1f565b9050602002016020810190611e83919061505c565b60785f898985818110611e9857611e98614d1f565b9050602002016020810190611ead919061430a565b6001600160a01b0316815260208101919091526040015f20805460ff19166001836002811115611edf57611edf614881565b0217905550600101611dce565b507fa4f03cc9c0e0aeb5b71b4ec800702753f65748c2cf3064695ba8e8b46be70444868686868686604051611f26969594939291906151d1565b60405180910390a1505050505050565b807fdea3103d22025c269050bea94c0c84688877f12fa22b7e6d2d5d78a9a49aa1cb5f84600f811115611f6b57611f6b614881565b60ff16815260208101919091526040015f2080546001600160a01b0319166001600160a01b03928316179055811682600f811115611fab57611fab614881565b6040517f865d1c228a8ea13709cfe61f346f7ff67f1bbd4a18ff31ad3e7147350d317c59905f90a35050565b610fd981336131f7565b611feb828261325b565b5f828152607360205260409020610d2a90826132e0565b61200c82826132f4565b5f828152607360205260409020610d2a908261335a565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103546001600160a01b031633148061206557506005546001600160a01b031633145b610b35575f356001600160e01b0319166001604051620f948f60ea1b8152600401610bba929190615112565b61209961336e565b5f805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b5f5460ff1615610b355760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610bba565b6040805180820182525f80825260208201526074549184015190916001600160a01b031690612155906133b6565b60208401516001600160a01b03166121f657348460400151604001511461218f5760405163129c2ce160e31b815260040160405180910390fd5b6121988161184c565b60408501515190925060028111156121b2576121b2614881565b825160028111156121c5576121c5614881565b146121e25760405162035e2b60ea1b815260040160405180910390fd5b6001600160a01b03811660208501526122fd565b34156122155760405163129c2ce160e31b815260040160405180910390fd5b612222846020015161184c565b604085015151909250600281111561223c5761223c614881565b8251600281111561224f5761224f614881565b1461226c5760405162035e2b60ea1b815260040160405180910390fd5b602084015160408501516122819185906133fa565b83602001516001600160a01b0316816001600160a01b0316036122fd576040848101518101519051632e1a7d4d60e01b815260048101919091526001600160a01b03821690632e1a7d4d906024015f604051808303815f87803b1580156122e6575f80fd5b505af11580156122f8573d5f803e3d5ffd5b505050505b607680545f918261230d83615240565b9190505590505f612333858386602001516075548a61356e90949392919063ffffffff16565b90507fd7b25068d9dc8d00765254cfb7f5070f98d263c8d68931d937c7362fa738048b61235f82612ec1565b82604051611f26929190615278565b5f823561014084013582612388608087016060880161430a565b90506123a56123a03688900388016101008901615075565b6133b6565b60016123b76040880160208901615313565b60018111156123c8576123c8614881565b146123e65760405163182f3d8760e11b815260040160405180910390fd5b608086013546146124275760405163092048d160e11b81525f356001600160e01b031916600482015260808701356024820152466044820152606401610bba565b5f61243b6109166080890160608a0161430a565b905061244f6101208801610100890161505c565b600281111561246057612460614881565b8151600281111561247357612473614881565b1480156124a4575061248b60e0880160c0890161430a565b6001600160a01b031681602001516001600160a01b0316145b80156124b5575060755460e0880135145b6124d25760405163f4b8742f60e01b815260040160405180910390fd5b5f84815260796020526040902054156124fe57604051634f13df6160e01b815260040160405180910390fd5b600161251261012089016101008a0161505c565b600281111561252357612523614881565b148061253657506125348284612c95565b155b6125535760405163c51297b760e01b815260040160405180910390fd5b5f612566611527368a90038a018a614f06565b90505f61257560775483613641565b90505f61259461258d6101208c016101008d0161505c565b8688613681565b604080516060810182525f80825260208201819052918101829052919a50919250819081905f805b8e518110156126d4578e81815181106125d7576125d7614d1f565b602002602001015192506125f888845f015185602001518660400151613702565b9450846001600160a01b0316846001600160a01b031610612639575f356001600160e01b031916604051635d3dcd3160e01b8152600401610bba9190614831565b6001600160a01b0385165f908152607e60205260408120548695506001600160601b0316908190036126ae5760408051634e97700760e01b81526001600160a01b038816600482015260248101839052855160ff1660448201526020860151606482015290850151608482015260a401610bba565b6126b8818461532c565b92508783106126cb5760019650506126d4565b506001016125bc565b50846126f357604051639e8f5f6360e01b815260040160405180910390fd5b5050505f8981526079602052604090208590555050871561276c575f878152607a602052604090819020805460ff19166001179055517f89e52969465b1f1866fc5d46fd62de953962e9cb33552443cd999eba05bd20dc906127589085908d90614fd7565b60405180910390a150505050505050610b76565b612776858761372a565b6127b461278960608c0160408d0161430a565b8660745f9054906101000a90046001600160a01b03168d6101000180360381019061171e9190615075565b7f21e88e956aa3e086f6388e899965cef814688f99ad8bb29b08d396571016372d838b6040516127e5929190614fd7565b60405180910390a15050505050505092915050565b610da98282611fe1565b607480546001600160a01b0319166001600160a01b0383169081179091556040519081527f9d2334c23be647e994f27a72c5eee42a43d5bdcfe15bb88e939103c2b114cbaf90602001610f74565b8082118061285e575080155b80612867575081155b15612892575f356001600160e01b0319166040516387f6f09560e01b8152600401610bba9190614831565b6001805460028054858455908490556004805493840190556040805183815260208101839052929391928592879290917f976f8a9c5bdf8248dec172376d6e2b80a8e3df2f0328e381c6db8e1cf138c0f8910160405180910390a450505050565b5f8082841180612901575083155b8061290a575082155b15612935575f356001600160e01b0319166040516387f6f09560e01b8152600401610bba9190614831565b5050603780546038805492859055839055600480546001810190915560408051838152602081018590529293928592879290917f31312c97b89cc751b832d98fd459b967a2c3eef3b49757d1cf5ebaa12bb6eee1910160405180910390a49250929050565b6002546037546129aa91906150a2565b6038546001546129ba91906150a2565b1115610b35575f356001600160e01b0319166040516387f6f09560e01b8152600401610bba9190614831565b828114612a13575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b83811015612a8157828282818110612a2f57612a2f614d1f565b9050602002013560395f878785818110612a4b57612a4b614d1f565b9050602002016020810190612a60919061430a565b6001600160a01b0316815260208101919091526040015f2055600101612a15565b507f80bc635c452ae67f12f9b6f12ad4daa6dbbc04eeb9ebb87d354ce10c0e210dc0848484846040516117579493929190615187565b828114612ae4575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b83811015612b8e57620f4240838383818110612b0457612b04614d1f565b905060200201351115612b2a5760405163572d3bd360e11b815260040160405180910390fd5b828282818110612b3c57612b3c614d1f565b90506020020135603b5f878785818110612b5857612b58614d1f565b9050602002016020810190612b6d919061430a565b6001600160a01b0316815260208101919091526040015f2055600101612ae6565b507fb05f5de88ae0294ebb6f67c5af2fcbbd593cc6bdfe543e2869794a4c8ce3ea50848484846040516117579493929190615187565b828114612bf1575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b83811015612c5f57828282818110612c0d57612c0d614d1f565b90506020020135603c5f878785818110612c2957612c29614d1f565b9050602002016020810190612c3e919061430a565b6001600160a01b0316815260208101919091526040015f2055600101612bf3565b507fb5d2963614d72181b4df1f993d45b83edf42fa19710f0204217ba1b3e183bb73848484846040516117579493929190615187565b6001600160a01b0382165f908152603a60205260408120548210612cba57505f610b76565b5f612cc8620151804261533f565b6001600160a01b0385165f908152603e6020526040902054909150811115612d0c5750506001600160a01b0382165f908152603c6020526040902054811015610b76565b6001600160a01b0384165f908152603d6020526040902054612d2f90849061532c565b6001600160a01b0385165f908152603c602052604090205411159150610b769050565b5092915050565b607d546001600160601b03165f819003612d93575f356001600160e01b031916604051631103b51560e31b8152600401610bba9190614831565b90565b5f600254600160025484600154612dad91906150a2565b612db7919061532c565b612dc1919061508f565b612dcb919061533f565b9050805f036118e8575f356001600160e01b03191660405163267b1b9160e01b8152600401610bba9190614831565b612e026120e2565b5f805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586120c53390565b806001600160a01b03163b5f03610fd957604051630bfc64a360e21b81526001600160a01b0382166004820152602401610bba565b612e7481611b01565b6001600160a01b0316336001600160a01b031614610fd9575f356001600160e01b03191681336040516320e0f98d60e21b8152600401610bba9392919061535e565b5f61104383836137b6565b5f80612ed083604001516137dc565b90505f612ee084606001516137dc565b90505f612f338560800151604080517f1e2b74b2a792d5c0f0b6e59b037fa9d43d84fbb759337f0112fcc15ca414fc8d815282516020808301919091528301518183015291015160608201526080902090565b604080517fb9d1fe7c9deeec5dc90a2f47ff1684239519f2545b2228d3d91fb27df3189eea815287516020808301919091529097015190870152606086019390935250608084015260a08301525060c0902090565b5f620f4240612f9783856150a2565b611043919061533f565b806001600160a01b0316826001600160a01b0316036130495760408085015190516001600160a01b0385169180156108fc02915f818181858888f1935050505061304457806001600160a01b031663d0e30db085604001516040518263ffffffff1660e01b81526004015f604051808303818588803b158015613022575f80fd5b505af1158015613034573d5f803e3d5ffd5b5050505050613044848484613824565b610c39565b5f8451600281111561305d5761305d614881565b03613120576040516370a0823160e01b81523060048201525f906001600160a01b038416906370a0823190602401602060405180830381865afa1580156130a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130ca9190615395565b9050846040015181101561310f576130f283308388604001516130ed919061508f565b6138a2565b61310f57604051632f739fff60e11b815260040160405180910390fd5b61311a858585613824565b50610c39565b60018451600281111561313557613135614881565b036131665761314982848660200151613942565b6130445760405163c8e3a09f60e01b815260040160405180910390fd5b60028451600281111561317b5761317b614881565b036131b157613194828486602001518760400151613968565b613044576040516334b471a760e21b815260040160405180910390fd5b6040516361e411a760e11b815260040160405180910390fd5b5f610b76825490565b5f6001600160e01b03198216635a05180f60e01b1480610b765750610b7682613990565b6132018282611765565b610da957613219816001600160a01b031660146139c4565b6132248360206139c4565b6040516020016132359291906153ce565b60408051601f198184030181529082905262461bcd60e51b8252610bba9160040161546d565b6132658282611765565b610da9575f8281526072602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561329c3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b5f611043836001600160a01b038416613b59565b6132fe8282611765565b15610da9575f8281526072602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b5f611043836001600160a01b038416613ba5565b5f5460ff16610b355760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610bba565b6133bf81613c88565b806133ce57506133ce81613cbd565b806133dd57506133dd81613ce4565b610fd95760405163034992a760e51b815260040160405180910390fd5b5f6060818551600281111561341157613411614881565b036134e85760408581015181516001600160a01b03878116602483015230604483015260648083019390935283518083039093018352608490910183526020820180516001600160e01b03166323b872dd60e01b179052915191851691613478919061547f565b5f604051808303815f865af19150503d805f81146134b1576040519150601f19603f3d011682016040523d82523d5f602084013e6134b6565b606091505b5090925090508180156134e15750805115806134e15750808060200190518101906134e1919061549a565b9150613541565b6001855160028111156134fd576134fd614881565b03613512576134e18385308860200151613d0c565b60028551600281111561352757613527614881565b036131b1576134e183853088602001518960400151613db5565b816135675784843085604051639d2e4c6760e01b8152600401610bba94939291906154b5565b5050505050565b6135dd6040805160a0810182525f8082526020808301829052835160608082018652838252818301849052818601849052848601919091528451808201865283815280830184905280860184905281850152845190810185528281529081018290529283015290608082015290565b8381525f6020820181905250604080820180516001600160a01b039788169052602080890151825190891690820152905146908301528751606084018051918916909152805195909716940193909352935182015292909201516080820152919050565b6040805161190160f01b60208083019190915260228201859052604280830185905283518084039091018152606290920190925280519101205f90611043565b5f805f61368c612d59565b905061369781612d96565b92505f8660028111156136ac576136ac614881565b036136f9576001600160a01b0385165f9081526039602052604090205484106136db576136d881613e64565b92505b6001600160a01b0385165f908152603a602052604090205484101591505b50935093915050565b5f805f61371187878787613ec8565b9150915061371e81613fad565b5090505b949350505050565b5f613738620151804261533f565b6001600160a01b0384165f908152603e6020526040902054909150811115613785576001600160a01b03929092165f908152603e6020908152604080832094909455603d90529190912055565b6001600160a01b0383165f908152603d6020526040812080548492906137ac90849061532c565b9091555050505050565b5f825f0182815481106137cb576137cb614d1f565b905f5260205f200154905092915050565b604080517f353bdd8d69b9e3185b3972e08b03845c0c14a21a390215302776a7a34b0e8764815282516020808301919091528301518183015291015160608201526080902090565b5f808451600281111561383957613839614881565b036138545761384d82848660400151614162565b905061387e565b60018451600281111561386957613869614881565b036131b15761384d8230858760200151613d0c565b80610c39578383836040516341bd7d9160e11b8152600401610bba939291906154eb565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b03166340c10f1960e01b17905291515f928616916138f99161547f565b5f604051808303815f865af19150503d805f8114613932576040519150601f19603f3d011682016040523d82523d5f602084013e613937565b606091505b509095945050505050565b5f61394f84308585613d0c565b905080611043576139618484846138a2565b9050611043565b5f6139768530868686613db5565b9050806137225761398985858585614230565b9050613722565b5f6001600160e01b03198216637965db0b60e01b1480610b7657506301ffc9a760e01b6001600160e01b0319831614610b76565b60605f6139d28360026150a2565b6139dd90600261532c565b6001600160401b038111156139f4576139f46146a8565b6040519080825280601f01601f191660200182016040528015613a1e576020820181803683370190505b509050600360fc1b815f81518110613a3857613a38614d1f565b60200101906001600160f81b03191690815f1a905350600f60fb1b81600181518110613a6657613a66614d1f565b60200101906001600160f81b03191690815f1a9053505f613a888460026150a2565b613a9390600161532c565b90505b6001811115613b0a576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110613ac757613ac7614d1f565b1a60f81b828281518110613add57613add614d1f565b60200101906001600160f81b03191690815f1a90535060049490941c93613b038161551b565b9050613a96565b5083156110435760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610bba565b5f818152600183016020526040812054613b9e57508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610b76565b505f610b76565b5f8181526001830160205260408120548015613c7f575f613bc760018361508f565b85549091505f90613bda9060019061508f565b9050818114613c39575f865f018281548110613bf857613bf8614d1f565b905f5260205f200154905080875f018481548110613c1857613c18614d1f565b5f918252602080832090910192909255918252600188019052604090208390555b8554869080613c4a57613c4a615530565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f905560019350505050610b76565b5f915050610b76565b5f8082516002811115613c9d57613c9d614881565b148015613cad57505f8260400151115b8015610b76575050602001511590565b5f600182516002811115613cd357613cd3614881565b148015610b76575050604001511590565b5f600282516002811115613cfa57613cfa614881565b148015610b7657505060400151151590565b604080516001600160a01b0385811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180516001600160e01b03166323b872dd60e01b17905291515f92871691613d6b9161547f565b5f604051808303815f865af19150503d805f8114613da4576040519150601f19603f3d011682016040523d82523d5f602084013e613da9565b606091505b50909695505050505050565b604080515f808252602082019092526001600160a01b03871690613de490879087908790879060448101615544565b60408051601f198184030181529181526020820180516001600160e01b0316637921219560e11b17905251613e19919061547f565b5f604051808303815f865af19150503d805f8114613e52576040519150601f19603f3d011682016040523d82523d5f602084013e613e57565b606091505b5090979650505050505050565b5f603854600160385484603754613e7b91906150a2565b613e85919061532c565b613e8f919061508f565b613e99919061533f565b9050805f036118e8575f356001600160e01b031916604051639b974b0f60e01b8152600401610bba9190614831565b5f807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115613efd57505f90506003613fa4565b8460ff16601b14158015613f1557508460ff16601c14155b15613f2557505f90506004613fa4565b604080515f8082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015613f76573d5f803e3d5ffd5b5050604051601f1901519150506001600160a01b038116613f9e575f60019250925050613fa4565b91505f90505b94509492505050565b5f816004811115613fc057613fc0614881565b03613fc85750565b6001816004811115613fdc57613fdc614881565b036140295760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610bba565b600281600481111561403d5761403d614881565b0361408a5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610bba565b600381600481111561409e5761409e614881565b036140f65760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610bba565b600481600481111561410a5761410a614881565b03610fd95760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610bba565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663a9059cbb60e01b17905291515f92606092908716916141be919061547f565b5f604051808303815f865af19150503d805f81146141f7576040519150601f19603f3d011682016040523d82523d5f602084013e6141fc565b606091505b509092509050818015614227575080511580614227575080806020019051810190614227919061549a565b95945050505050565b604080515f808252602082019092526001600160a01b0386169061425d9086908690869060448101615588565b60408051601f198184030181529181526020820180516001600160e01b031663731133e960e01b17905251613d6b919061547f565b604080516060810182525f80825260208201529081016142ca6040805160608101909152805f81526020015f81526020015f81525090565b905290565b5f602082840312156142df575f80fd5b81356001600160e01b031981168114611043575f80fd5b6001600160a01b0381168114610fd9575f80fd5b5f6020828403121561431a575f80fd5b8135611043816142f6565b5f8083601f840112614335575f80fd5b5081356001600160401b0381111561434b575f80fd5b6020830191508360208260051b85010111156117e5575f80fd5b5f805f8060408587031215614378575f80fd5b84356001600160401b038082111561438e575f80fd5b61439a88838901614325565b909650945060208701359150808211156143b2575f80fd5b506143bf87828801614325565b95989497509550505050565b5f805f805f80606087890312156143e0575f80fd5b86356001600160401b03808211156143f6575f80fd5b6144028a838b01614325565b9098509650602089013591508082111561441a575f80fd5b6144268a838b01614325565b9096509450604089013591508082111561443e575f80fd5b5061444b89828a01614325565b979a9699509497509295939492505050565b80356118e8816142f6565b5f60208284031215614478575f80fd5b5035919050565b5f8060408385031215614490575f80fd5b8235915060208301356144a2816142f6565b809150509250929050565b5f60a082840312156144bd575f80fd5b50919050565b5f61016082840312156144bd575f80fd5b5f805f61018084860312156144e7575f80fd5b6144f185856144c3565b92506101608401356001600160401b038082111561450d575f80fd5b818601915086601f830112614520575f80fd5b81358181111561452e575f80fd5b876020606083028501011115614542575f80fd5b6020830194508093505050509250925092565b8060608101831015610b76575f80fd5b8060808101831015610b76575f80fd5b5f805f805f805f805f806101208b8d03121561458f575f80fd5b6145988b61445d565b99506145a660208c0161445d565b985060408b0135975060608b0135965060808b0135955060a08b0135945060c08b01356001600160401b03808211156145dd575f80fd5b6145e98e838f01614555565b955060e08d01359150808211156145fe575f80fd5b61460a8e838f01614565565b94506101008d0135915080821115614620575f80fd5b5061462d8d828e01614325565b915080935050809150509295989b9194979a5092959850565b5f8060408385031215614657575f80fd5b8235614662816142f6565b946020939093013593505050565b8035601081106118e8575f80fd5b5f806040838503121561468f575f80fd5b61469883614670565b915060208301356144a2816142f6565b634e487b7160e01b5f52604160045260245ffd5b604051606081016001600160401b03811182821017156146de576146de6146a8565b60405290565b604051601f8201601f191681016001600160401b038111828210171561470c5761470c6146a8565b604052919050565b5f6001600160401b0382111561472c5761472c6146a8565b5060051b60200190565b8015158114610fd9575f80fd5b5f805f805f60608688031215614757575f80fd5b85356001600160401b038082111561476d575f80fd5b61477989838a01614325565b9097509550602091508782013581811115614792575f80fd5b61479e8a828b01614325565b9096509450506040880135818111156147b5575f80fd5b88019050601f810189136147c7575f80fd5b80356147da6147d582614714565b6146e4565b81815260059190911b8201830190838101908b8311156147f8575f80fd5b928401925b8284101561481f57833561481081614736565b825292840192908401906147fd565b80955050505050509295509295909350565b6001600160e01b031991909116815260200190565b5f8060408385031215614857575f80fd5b50508035926020909101359150565b5f6101608284031215614877575f80fd5b61104383836144c3565b634e487b7160e01b5f52602160045260245ffd5b600381106148a5576148a5614881565b9052565b5f6040820190506148bb828451614895565b6020928301516001600160a01b0316919092015290565b5f82601f8301126148e1575f80fd5b813560206148f16147d583614714565b8083825260208201915060208460051b870101935086841115614912575f80fd5b602086015b8481101561492e5780358352918301918301614917565b509695505050505050565b5f82601f830112614948575f80fd5b81356001600160401b03811115614961576149616146a8565b614974601f8201601f19166020016146e4565b818152846020838601011115614988575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f805f60a086880312156149b8575f80fd5b85356149c3816142f6565b945060208601356149d3816142f6565b935060408601356001600160401b03808211156149ee575f80fd5b6149fa89838a016148d2565b94506060880135915080821115614a0f575f80fd5b614a1b89838a016148d2565b93506080880135915080821115614a30575f80fd5b50614a3d88828901614939565b9150509295509295909350565b5f60208284031215614a5a575f80fd5b61104382614670565b5f805f805f805f6080888a031215614a79575f80fd5b87356001600160401b0380821115614a8f575f80fd5b614a9b8b838c01614325565b909950975060208a0135915080821115614ab3575f80fd5b614abf8b838c01614325565b909750955060408a0135915080821115614ad7575f80fd5b614ae38b838c01614325565b909550935060608a0135915080821115614afb575f80fd5b50614b088a828b01614565565b91505092959891949750929550565b5f805f805f60a08688031215614b2b575f80fd5b8535614b36816142f6565b94506020860135614b46816142f6565b9350604086013592506060860135915060808601356001600160401b03811115614b6e575f80fd5b614a3d88828901614939565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b5f82601f830112614bd7575f80fd5b81516020614be76147d583614714565b8083825260208201915060208460051b870101935086841115614c08575f80fd5b602086015b8481101561492e578051614c20816142f6565b8352918301918301614c0d565b6001600160601b0381168114610fd9575f80fd5b5f805f60608486031215614c53575f80fd5b83516001600160401b0380821115614c69575f80fd5b614c7587838801614bc8565b9450602091508186015181811115614c8b575f80fd5b614c9788828901614bc8565b945050604086015181811115614cab575f80fd5b86019050601f81018713614cbd575f80fd5b8051614ccb6147d582614714565b81815260059190911b82018301908381019089831115614ce9575f80fd5b928401925b82841015614d10578351614d0181614c2d565b82529284019290840190614cee565b80955050505050509250925092565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b6001600160601b03818116838216019080821115612d5257612d52614d33565b8035600381106118e8575f80fd5b5f60608284031215614d85575f80fd5b614d8d6146bc565b9050614d9882614d67565b8152602082013560208201526040820135604082015292915050565b5f60a08284031215614dc4575f80fd5b614dcc6146bc565b8235614dd7816142f6565b81526020830135614de7816142f6565b6020820152614df98460408501614d75565b60408201529392505050565b5f60608284031215614e15575f80fd5b614e1d6146bc565b823560ff81168114614e2d575f80fd5b8152602083810135908201526040928301359281019290925250919050565b5f808335601e19843603018112614e61575f80fd5b8301803591506001600160401b03821115614e7a575f80fd5b6020019150600581901b36038213156117e5575f80fd5b5f60208284031215614ea1575f80fd5b813561104381614c2d565b8035600281106118e8575f80fd5b5f60608284031215614eca575f80fd5b614ed26146bc565b90508135614edf816142f6565b81526020820135614eef816142f6565b806020830152506040820135604082015292915050565b5f6101608284031215614f17575f80fd5b60405160a081018181106001600160401b0382111715614f3957614f396146a8565b60405282358152614f4c60208401614eac565b6020820152614f5e8460408501614eba565b6040820152614f708460a08501614eba565b6060820152614f83846101008501614d75565b60808201529392505050565b600281106148a5576148a5614881565b8035614faa816142f6565b6001600160a01b039081168352602082013590614fc6826142f6565b166020830152604090810135910152565b5f6101808201905083825282356020830152614ff560208401614eac565b6150026040840182614f8f565b506150136060830160408501614f9f565b61502360c0830160a08501614f9f565b61012061503e8184016150396101008701614d67565b614895565b61014081850135818501528085013561016085015250509392505050565b5f6020828403121561506c575f80fd5b61104382614d67565b5f60608284031215615085575f80fd5b6110438383614d75565b81810381811115610b7657610b76614d33565b8082028115828204841417610b7657610b76614d33565b5f602082840312156150c9575f80fd5b813561104381614736565b6001600160601b03828116828216039080821115612d5257612d52614d33565b601081106148a5576148a5614881565b60208101610b7682846150f4565b6001600160e01b03198316815260408101600b831061513357615133614881565b8260208301529392505050565b8183525f60208085019450825f5b8581101561517c578135615161816142f6565b6001600160a01b03168752958201959082019060010161514e565b509495945050505050565b604081525f61519a604083018688615140565b82810360208401528381526001600160fb1b038411156151b8575f80fd5b8360051b80866020840137016020019695505050505050565b606081525f6151e460608301888a615140565b602083820360208501526151f982888a615140565b84810360408601528581528692506020015f5b86811015615231576152218261503986614d67565b928201929082019060010161520c565b509a9950505050505050505050565b5f6001820161525157615251614d33565b5060010190565b615263828251614895565b60208181015190830152604090810151910152565b5f6101808201905083825282516020830152602083015161529c6040840182614f8f565b5060408381015180516001600160a01b03908116606086015260208201511660808501529081015160a084015250606083015180516001600160a01b0390811660c085015260208201511660e0840152604081015161010084015250608083015161530b610120840182615258565b509392505050565b5f60208284031215615323575f80fd5b61104382614eac565b80820180821115610b7657610b76614d33565b5f8261535957634e487b7160e01b5f52601260045260245ffd5b500490565b6001600160e01b0319841681526060810161537c60208301856150f4565b6001600160a01b03929092166040919091015292915050565b5f602082840312156153a5575f80fd5b5051919050565b5f5b838110156153c65781810151838201526020016153ae565b50505f910152565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081525f83516154058160178501602088016153ac565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516154368160288401602088016153ac565b01602801949350505050565b5f81518084526154598160208601602086016153ac565b601f01601f19169290920160200192915050565b602081525f6110436020830184615442565b5f82516154908184602087016153ac565b9190910192915050565b5f602082840312156154aa575f80fd5b815161104381614736565b60c081016154c38287615258565b6001600160a01b0394851660608301529284166080820152921660a090920191909152919050565b60a081016154f98286615258565b6001600160a01b03938416606083015291909216608090920191909152919050565b5f8161552957615529614d33565b505f190190565b634e487b7160e01b5f52603160045260245ffd5b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190525f9061557d90830184615442565b979650505050505050565b60018060a01b0385168152836020820152826040820152608060608201525f6155b46080830184615442565b969550505050505056fe7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498a2646970667358221220c6a7eacb7b230132910498f6731b258f7a69a5a03ae63978c6cb11ce1f4c993364736f6c63430008170033", + "nonce": "0x0", + "chainId": "0xaa36a7" + }, + "additionalContracts": [], + "isFixedGasLimit": false + } + ], + "receipts": [], + "libraries": [], + "pending": [], + "returns": {}, + "timestamp": 1724668620, + "chain": 11155111, + "commit": "93f3448" + }, + { + "transactions": [ + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "propose(uint256,uint256,address,address[],uint256[],bytes[],uint256[])", + "arguments": [ + "11155111", + "1725705276", + "0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa", + "[0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e]", + "[0, 0]", + "[0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5]", + "[2000000, 1000000]" + ], + "transaction": { + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x4b71e", + "value": "0x0", + "input": "0x15702f050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2c3c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000540000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "nonce": "0x26a", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(1, 11155111, 1725705276, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0x6bda4a1d50aec6fe9c9b8f82c309007b903b37f1801d2a199958d990eaea5f25, 0x18d6db60af9651b1b707756a21876f60ec3d4a0f6565e8a1582bf04c6ee7b838)]" + ], + "transaction": { + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2c3c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001c6bda4a1d50aec6fe9c9b8f82c309007b903b37f1801d2a199958d990eaea5f2518d6db60af9651b1b707756a21876f60ec3d4a0f6565e8a1582bf04c6ee7b838", + "nonce": "0x6d", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(1, 11155111, 1725705276, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0xdc01518e611c5eb857e914bd04018bde8f3d89de75337b7e3540d356bf85f4ca, 0x1b099cdd311bea8acd9221a536b6220ee39bf4c95c1bfff4f849e0425c628f53)]" + ], + "transaction": { + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2c3c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001bdc01518e611c5eb857e914bd04018bde8f3d89de75337b7e3540d356bf85f4ca1b099cdd311bea8acd9221a536b6220ee39bf4c95c1bfff4f849e0425c628f53", + "nonce": "0x7d", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(1, 11155111, 1725705276, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0x0cb5985e0aeb8b7c8050b0b7e83f3eee8edf40b6eeaefff5767cbcf54965d6da, 0x4a6daad06bf39fb8b7690c6bf292abbf995f9c7c03e644bf33d31dc0bfe79ebe)]" + ], + "transaction": { + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2c3c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001b0cb5985e0aeb8b7c8050b0b7e83f3eee8edf40b6eeaefff5767cbcf54965d6da4a6daad06bf39fb8b7690c6bf292abbf995f9c7c03e644bf33d31dc0bfe79ebe", + "nonce": "0x6e", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "propose(uint256,uint256,address,address[],uint256[],bytes[],uint256[])", + "arguments": [ + "11155111", + "1725705276", + "0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa", + "[0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e]", + "[0, 0]", + "[0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5]", + "[2000000, 1000000]" + ], + "transaction": { + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x47f40", + "value": "0x0", + "input": "0x15702f050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2c3c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000540000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "nonce": "0x26b", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(2, 11155111, 1725705276, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0xfb4f8b426c42bbf22b40b1f0773fb73b8cab4e22f6280d6e559adb6cd5178fbc, 0x07f461ef8f755d44d91fab7169702565b46c1ecffe96d26374bb9cc1c1563cc2)]" + ], + "transaction": { + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2c3c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001bfb4f8b426c42bbf22b40b1f0773fb73b8cab4e22f6280d6e559adb6cd5178fbc07f461ef8f755d44d91fab7169702565b46c1ecffe96d26374bb9cc1c1563cc2", + "nonce": "0x6e", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(2, 11155111, 1725705276, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0xbf49ee397fc8a5f6d904752ccbbd42c39f68426eda46eb1dcc83651b546580b4, 0x6d4c72944dbd8b8efb93d4446d6713e8084de8d92a345caf967b72f44e2c0625)]" + ], + "transaction": { + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2c3c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001bbf49ee397fc8a5f6d904752ccbbd42c39f68426eda46eb1dcc83651b546580b46d4c72944dbd8b8efb93d4446d6713e8084de8d92a345caf967b72f44e2c0625", + "nonce": "0x7e", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(2, 11155111, 1725705276, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0x0169edd7bda11eb35b877951264a80b38527f4a16559907e6bc9ddbc536f8e4a, 0x0b56696f052bbaf8b6f983c402450df0421f90fe1cf651d225b32ff813b55238)]" + ], + "transaction": { + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2c3c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001b0169edd7bda11eb35b877951264a80b38527f4a16559907e6bc9ddbc536f8e4a0b56696f052bbaf8b6f983c402450df0421f90fe1cf651d225b32ff813b55238", + "nonce": "0x6f", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "propose(uint256,uint256,address,address[],uint256[],bytes[],uint256[])", + "arguments": [ + "11155111", + "1725705276", + "0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa", + "[0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e]", + "[0, 0]", + "[0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5]", + "[2000000, 1000000]" + ], + "transaction": { + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x47f40", + "value": "0x0", + "input": "0x15702f050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2c3c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000540000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "nonce": "0x26c", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(3, 11155111, 1725705276, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0xc8e11d3f915808ae34201b51bc6abefcace2851bd9884cba33086ec4a3490457, 0x250b9897e3ef891be1b9f2c5b896acc3104a6cdcfbcd3574456dd6830b0fdac2)]" + ], + "transaction": { + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2c3c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001cc8e11d3f915808ae34201b51bc6abefcace2851bd9884cba33086ec4a3490457250b9897e3ef891be1b9f2c5b896acc3104a6cdcfbcd3574456dd6830b0fdac2", + "nonce": "0x6f", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(3, 11155111, 1725705276, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0x3cb0b3e7a22f2e646b5fca214e8c4826307b2e83fcd0205a93c4fdb552f94579, 0x040c5b2d90867b42e1f7e4fe1f23ff6738d5b86e95e25f555d6bc9770893078e)]" + ], + "transaction": { + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2c3c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001b3cb0b3e7a22f2e646b5fca214e8c4826307b2e83fcd0205a93c4fdb552f94579040c5b2d90867b42e1f7e4fe1f23ff6738d5b86e95e25f555d6bc9770893078e", + "nonce": "0x7f", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(3, 11155111, 1725705276, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0xbd4d86237e082b54093f771a6ede9549d5fa1a57d9d6539b66d15c31ac3e1f67, 0x6824367f692ba6180b736f693d44570e65432f3b83c4f9e574a9adbe6244c134)]" + ], + "transaction": { + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2c3c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001cbd4d86237e082b54093f771a6ede9549d5fa1a57d9d6539b66d15c31ac3e1f676824367f692ba6180b736f693d44570e65432f3b83c4f9e574a9adbe6244c134", + "nonce": "0x70", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "propose(uint256,uint256,address,address[],uint256[],bytes[],uint256[])", + "arguments": [ + "11155111", + "1725705276", + "0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa", + "[0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e]", + "[0, 0]", + "[0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5]", + "[2000000, 1000000]" + ], + "transaction": { + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x47f40", + "value": "0x0", + "input": "0x15702f050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2c3c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000540000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "nonce": "0x26d", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(4, 11155111, 1725705276, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0xe0f8033525791aefa68a4308dd6a2150619a6694c6116f5feb879a65dd04de8d, 0x3855c7c76a3c4f4144b1e7217546aeace93c7c02c4bb11fd1f2364102c041281)]" + ], + "transaction": { + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2c3c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001ce0f8033525791aefa68a4308dd6a2150619a6694c6116f5feb879a65dd04de8d3855c7c76a3c4f4144b1e7217546aeace93c7c02c4bb11fd1f2364102c041281", + "nonce": "0x70", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(4, 11155111, 1725705276, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0x08d8dbc37e05902aa8c1f54578c3556db2acc02880098f98eab5671911a1eb25, 0x7a0b05d2ce934d796fa23a0ed5c5672a3ceb4aecde9cb66b3dca3b68967a7fb4)]" + ], + "transaction": { + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2c3c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001b08d8dbc37e05902aa8c1f54578c3556db2acc02880098f98eab5671911a1eb257a0b05d2ce934d796fa23a0ed5c5672a3ceb4aecde9cb66b3dca3b68967a7fb4", + "nonce": "0x80", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(4, 11155111, 1725705276, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0x50fbe32244379bd9d0f06bf1f4516008d0d19df603b0aa938d2e862a2b087838, 0x368d2cd7b6a9888fe668a658db852e80892d68cd557f3ccb8880c1dc3b1e77fb)]" + ], + "transaction": { + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2c3c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001b50fbe32244379bd9d0f06bf1f4516008d0d19df603b0aa938d2e862a2b087838368d2cd7b6a9888fe668a658db852e80892d68cd557f3ccb8880c1dc3b1e77fb", + "nonce": "0x71", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "propose(uint256,uint256,address,address[],uint256[],bytes[],uint256[])", + "arguments": [ + "11155111", + "1725705276", + "0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa", + "[0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e]", + "[0, 0]", + "[0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5]", + "[2000000, 1000000]" + ], + "transaction": { + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x47f40", + "value": "0x0", + "input": "0x15702f050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2c3c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000540000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "nonce": "0x26e", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(5, 11155111, 1725705276, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0xfdfdd49044c01341102f03a54ded7f17b959c83830196926a96ac43dfd69f14b, 0x7df1e3c8545bf936f771389585d279e9dfdd88f42e37ca4df2bd341dab597e25)]" + ], + "transaction": { + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2c3c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001bfdfdd49044c01341102f03a54ded7f17b959c83830196926a96ac43dfd69f14b7df1e3c8545bf936f771389585d279e9dfdd88f42e37ca4df2bd341dab597e25", + "nonce": "0x71", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(5, 11155111, 1725705276, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0x54a2348c8a10e1f79cc0bbee089ea07490fa694feb6567fb2fc196d61970d7b9, 0x2e116e75593afa414e60c0f44268ce66545047876861b751a879398464712abe)]" + ], + "transaction": { + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2c3c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001c54a2348c8a10e1f79cc0bbee089ea07490fa694feb6567fb2fc196d61970d7b92e116e75593afa414e60c0f44268ce66545047876861b751a879398464712abe", + "nonce": "0x81", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(5, 11155111, 1725705276, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0x7989f3cf73a787563582bd302f7960d7d7ea8e04009624a0c7ae4861203e7b53, 0x2bc13de08bbb0a1ca5c3a4c95333fd75a516d859dce92b949cb22bc13590407f)]" + ], + "transaction": { + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2c3c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001b7989f3cf73a787563582bd302f7960d7d7ea8e04009624a0c7ae4861203e7b532bc13de08bbb0a1ca5c3a4c95333fd75a516d859dce92b949cb22bc13590407f", + "nonce": "0x72", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "propose(uint256,uint256,address,address[],uint256[],bytes[],uint256[])", + "arguments": [ + "11155111", + "1725705276", + "0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa", + "[0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e]", + "[0, 0]", + "[0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5]", + "[2000000, 1000000]" + ], + "transaction": { + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x47f40", + "value": "0x0", + "input": "0x15702f050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2c3c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000540000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "nonce": "0x26f", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(6, 11155111, 1725705276, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0x3c10f8d03ca18147e3fcbb143602534ef6371704cc089e28d83951ce2dab706b, 0x4e5ce73af060b361fa9148de476dcd7bd4ca4f85f677d374c12133f76784a462)]" + ], + "transaction": { + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2c3c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001b3c10f8d03ca18147e3fcbb143602534ef6371704cc089e28d83951ce2dab706b4e5ce73af060b361fa9148de476dcd7bd4ca4f85f677d374c12133f76784a462", + "nonce": "0x72", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(6, 11155111, 1725705276, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0xb8f1fb7c0e15af1c1fff4796f59d50c936ef9923c24e79062097b38955e09624, 0x688df38184670181249599646a607d9d93b818aa8efee939be6bea3657fad0d3)]" + ], + "transaction": { + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2c3c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001cb8f1fb7c0e15af1c1fff4796f59d50c936ef9923c24e79062097b38955e09624688df38184670181249599646a607d9d93b818aa8efee939be6bea3657fad0d3", + "nonce": "0x82", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(6, 11155111, 1725705276, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0x6f06bf0ded077c4602f25ee4d834f228728bc25a6c376b81f76f9a16d709596f, 0x267b9fced8a184e425401c587947c19b9f9891b6a1305b6a383f29e95d41cbd1)]" + ], + "transaction": { + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2c3c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001b6f06bf0ded077c4602f25ee4d834f228728bc25a6c376b81f76f9a16d709596f267b9fced8a184e425401c587947c19b9f9891b6a1305b6a383f29e95d41cbd1", + "nonce": "0x73", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "propose(uint256,uint256,address,address[],uint256[],bytes[],uint256[])", + "arguments": [ + "11155111", + "1725705276", + "0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa", + "[0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e]", + "[0, 0]", + "[0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5]", + "[2000000, 1000000]" + ], + "transaction": { + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x47f40", + "value": "0x0", + "input": "0x15702f050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2c3c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000540000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "nonce": "0x270", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(7, 11155111, 1725705276, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0xaf50cb1efb43c2047f3a3cf1a362988c300f9253e92062e6b579bd4cc39a5a65, 0x2c073fa9515b0f0502f480483453e8a1fa3aec4db52e1e944b7dacbe0908a73d)]" + ], + "transaction": { + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2c3c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001baf50cb1efb43c2047f3a3cf1a362988c300f9253e92062e6b579bd4cc39a5a652c073fa9515b0f0502f480483453e8a1fa3aec4db52e1e944b7dacbe0908a73d", + "nonce": "0x73", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(7, 11155111, 1725705276, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0xd63be47231414d8d7dc3730df650bb70a3d71a1b9ff7738243921221421c3ec2, 0x4e40c68366c36345241a759922d1065648c3a5b892dbcf6cf9b03cbf502609af)]" + ], + "transaction": { + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2c3c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001cd63be47231414d8d7dc3730df650bb70a3d71a1b9ff7738243921221421c3ec24e40c68366c36345241a759922d1065648c3a5b892dbcf6cf9b03cbf502609af", + "nonce": "0x83", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(7, 11155111, 1725705276, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0x6f148baa507d3d63e33baf088cf3aec7edccefce4bc2d4e18a9aabb4da6d3da7, 0x54cfbe5ca26ced57cc714bf092227e61997d715ec5b5a04b902f003278d777a6)]" + ], + "transaction": { + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2c3c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001b6f148baa507d3d63e33baf088cf3aec7edccefce4bc2d4e18a9aabb4da6d3da754cfbe5ca26ced57cc714bf092227e61997d715ec5b5a04b902f003278d777a6", + "nonce": "0x74", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "propose(uint256,uint256,address,address[],uint256[],bytes[],uint256[])", + "arguments": [ + "11155111", + "1725705276", + "0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa", + "[0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e]", + "[0, 0]", + "[0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5]", + "[2000000, 1000000]" + ], + "transaction": { + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x47f40", + "value": "0x0", + "input": "0x15702f050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2c3c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000540000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "nonce": "0x271", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(8, 11155111, 1725705276, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0x592df3813c0fd5331f37b85dcc66f612a7efc419ac12519f79e1c6131fa4bd91, 0x53ad732b711ea990bbcdd1810289fbbff46d02c164f6c3fa14336b35af5cdc93)]" + ], + "transaction": { + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2c3c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001c592df3813c0fd5331f37b85dcc66f612a7efc419ac12519f79e1c6131fa4bd9153ad732b711ea990bbcdd1810289fbbff46d02c164f6c3fa14336b35af5cdc93", + "nonce": "0x74", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(8, 11155111, 1725705276, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0x6e5f2ff0ea518f6cc3c4290026d69f9e93c14759d24987c0c21844c5bf845aaa, 0x3bb50365bed1ad4c7ee3b06b672d49e91b91323eac4a9558a188b15e83426f12)]" + ], + "transaction": { + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2c3c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001c6e5f2ff0ea518f6cc3c4290026d69f9e93c14759d24987c0c21844c5bf845aaa3bb50365bed1ad4c7ee3b06b672d49e91b91323eac4a9558a188b15e83426f12", + "nonce": "0x84", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(8, 11155111, 1725705276, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0x430a310eabf77ac18099e7cb9222eca82713f58af7c9f018bd4909b125ce1a01, 0x270c1379ff6ae261991b6234d63bce034d40013e5e122bfb586717179bdbea39)]" + ], + "transaction": { + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2c3c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001c430a310eabf77ac18099e7cb9222eca82713f58af7c9f018bd4909b125ce1a01270c1379ff6ae261991b6234d63bce034d40013e5e122bfb586717179bdbea39", + "nonce": "0x75", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + } + ], + "receipts": [], + "libraries": [], + "pending": [], + "returns": {}, + "timestamp": 1724668621, + "chain": 2021, + "commit": "93f3448" + }, + { + "transactions": [ + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x603075b625cc2cf69fbb3546c6acc2451fe792af", + "function": "relayProposal((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(8, 11155111, 1725705276, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0, 0, 0, 0]", + "[(28, 0x6e5f2ff0ea518f6cc3c4290026d69f9e93c14759d24987c0c21844c5bf845aaa, 0x3bb50365bed1ad4c7ee3b06b672d49e91b91323eac4a9558a188b15e83426f12), (28, 0x430a310eabf77ac18099e7cb9222eca82713f58af7c9f018bd4909b125ce1a01, 0x270c1379ff6ae261991b6234d63bce034d40013e5e122bfb586717179bdbea39), (28, 0x592df3813c0fd5331f37b85dcc66f612a7efc419ac12519f79e1c6131fa4bd91, 0x53ad732b711ea990bbcdd1810289fbbff46d02c164f6c3fa14336b35af5cdc93), (27, 0xf715464f3395988ae8d1475dcde3228a8a7325597000c34a39b005c514c099ae, 0x6dbcfefb8a21198a86352384bf45406784ebb2bb7940702c814accfc7e8bea09)]" + ], + "transaction": { + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x603075b625cc2cf69fbb3546c6acc2451fe792af", + "gas": "0x3d0900", + "value": "0x0", + "input": "0x8dc0dbc60000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000000000000000000000000000000000006c000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2c3c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001c6e5f2ff0ea518f6cc3c4290026d69f9e93c14759d24987c0c21844c5bf845aaa3bb50365bed1ad4c7ee3b06b672d49e91b91323eac4a9558a188b15e83426f12000000000000000000000000000000000000000000000000000000000000001c430a310eabf77ac18099e7cb9222eca82713f58af7c9f018bd4909b125ce1a01270c1379ff6ae261991b6234d63bce034d40013e5e122bfb586717179bdbea39000000000000000000000000000000000000000000000000000000000000001c592df3813c0fd5331f37b85dcc66f612a7efc419ac12519f79e1c6131fa4bd9153ad732b711ea990bbcdd1810289fbbff46d02c164f6c3fa14336b35af5cdc93000000000000000000000000000000000000000000000000000000000000001bf715464f3395988ae8d1475dcde3228a8a7325597000c34a39b005c514c099ae6dbcfefb8a21198a86352384bf45406784ebb2bb7940702c814accfc7e8bea09", + "nonce": "0x6", + "chainId": "0xaa36a7" + }, + "additionalContracts": [], + "isFixedGasLimit": true + } + ], + "receipts": [], + "libraries": [], + "pending": [], + "returns": {}, + "timestamp": 1724668621, + "chain": 11155111, + "commit": "93f3448" + } + ], + "timestamp": 1724668621 +} \ No newline at end of file diff --git a/broadcast/multi/20240807-ir-recover-testnet.s.sol-1724669090/run.json b/broadcast/multi/20240807-ir-recover-testnet.s.sol-1724669090/run.json new file mode 100644 index 00000000..a507c1f7 --- /dev/null +++ b/broadcast/multi/20240807-ir-recover-testnet.s.sol-1724669090/run.json @@ -0,0 +1,2135 @@ +{ + "deployments": [ + { + "transactions": [ + { + "hash": "0x27ce63e6fbaff8172c5e9d66cbfbe64d580724d4b5aa5ffd9e8003a2444b6e4c", + "transactionType": "CREATE", + "contractName": "MainchainGatewayV3", + "contractAddress": "0x19287ca493748a5452b3900d393cb1a4369f47d5", + "function": null, + "arguments": null, + "transaction": { + "from": "0xd90bb8ed38bcde74889d66a5d346f6e0e1a244a7", + "gas": "0x93f382", + "value": "0x0", + "input": "0x608060405234801562000010575f80fd5b505f805460ff19169055620000246200002a565b620000ec565b607154610100900460ff1615620000975760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60715460ff9081161015620000ea576071805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b61561480620000fa5f395ff3fe60806040526004361061038f575f3560e01c80638f34e347116101db578063b9c3620911610101578063d55ed1031161009f578063dff525e11161006e578063dff525e114610a99578063e400327c14610ab8578063e75235b814610ad7578063f23a6e6114610aee5761039e565b8063d55ed10314610a11578063d64af2a614610a3c578063dafae40814610a5b578063de981f1b14610a7a5761039e565b8063ca15c873116100db578063ca15c87314610991578063cdb67444146109b0578063d19773d2146109c7578063d547741f146109f25761039e565b8063b9c3620914610928578063bc197c8114610947578063c48549de146109725761039e565b8063a217fddf11610179578063affed0e011610148578063affed0e01461089d578063b1a2567e146108b2578063b1d08a03146108d1578063b2975794146108fc5761039e565b8063a217fddf14610840578063a3912ec81461039c578063ab79656614610853578063ac78dfe81461087e5761039e565b80639157921c116101b55780639157921c146107af57806391d14854146107ce57806393c5678f146107ed5780639dcc4da31461080c5761039e565b80638f34e347146107315780638f851d8a146107645780639010d07c146107905761039e565b806336568abe116102c0578063504af48c1161025e5780636c1ce6701161022d5780636c1ce670146106cb5780637de5dedd146106ea5780638456cb59146106fe578063865e6fd3146107125761039e565b8063504af48c1461064c57806359122f6b1461065f5780635c975abb1461068a5780636932be98146106a05761039e565b80633f4ba83a1161029a5780633f4ba83a146105d85780634b14557e146105ec5780634d0d6673146105ff5780634d493f4e1461061e5761039e565b806336568abe1461058657806338e454b1146105a55780633e70838b146105b95761039e565b80631d4a72101161032d5780632dfdf0b5116103075780632dfdf0b5146105285780632f2ff15d1461053d578063302d12db1461055c5780633644e515146105725761039e565b80631d4a7210146104b0578063248a9ca3146104db57806329b6eca9146105095761039e565b806317ce2dd41161036957806317ce2dd41461043057806317fcb39b146104535780631a8e55b0146104725780631b6e7594146104915761039e565b806301ffc9a7146103a6578063065b3adf146103da578063110a8308146104115761039e565b3661039e5761039c610b19565b005b61039c610b19565b3480156103b1575f80fd5b506103c56103c03660046142cf565b610b37565b60405190151581526020015b60405180910390f35b3480156103e5575f80fd5b506005546103f9906001600160a01b031681565b6040516001600160a01b0390911681526020016103d1565b34801561041c575f80fd5b5061039c61042b36600461430a565b610b7c565b34801561043b575f80fd5b5061044560755481565b6040519081526020016103d1565b34801561045e575f80fd5b506074546103f9906001600160a01b031681565b34801561047d575f80fd5b5061039c61048c366004614365565b610c04565b34801561049c575f80fd5b5061039c6104ab3660046143cb565b610c3f565b3480156104bb575f80fd5b506104456104ca36600461430a565b603e6020525f908152604090205481565b3480156104e6575f80fd5b506104456104f5366004614468565b5f9081526072602052604090206001015490565b348015610514575f80fd5b5061039c61052336600461430a565b610c7e565b348015610533575f80fd5b5061044560765481565b348015610548575f80fd5b5061039c61055736600461447f565b610d06565b348015610567575f80fd5b50610445620f424081565b34801561057d575f80fd5b50607754610445565b348015610591575f80fd5b5061039c6105a036600461447f565b610d2f565b3480156105b0575f80fd5b5061039c610dad565b3480156105c4575f80fd5b5061039c6105d336600461430a565b610f7f565b3480156105e3575f80fd5b5061039c610fa9565b61039c6105fa3660046144ad565b610fb9565b34801561060a575f80fd5b506103c56106193660046144d4565b610fdc565b348015610629575f80fd5b506103c5610638366004614468565b607a6020525f908152604090205460ff1681565b61039c61065a366004614575565b61104a565b34801561066a575f80fd5b5061044561067936600461430a565b603a6020525f908152604090205481565b348015610695575f80fd5b505f5460ff166103c5565b3480156106ab575f80fd5b506104456106ba366004614468565b60796020525f908152604090205481565b3480156106d6575f80fd5b506103c56106e5366004614646565b61130b565b3480156106f5575f80fd5b50610445611316565b348015610709575f80fd5b5061039c61132c565b34801561071d575f80fd5b5061039c61072c36600461467e565b61133c565b34801561073c575f80fd5b506104457f5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e481565b34801561076f575f80fd5b5061078361077e366004614743565b611357565b6040516103d19190614831565b34801561079b575f80fd5b506103f96107aa366004614846565b6114d3565b3480156107ba575f80fd5b5061039c6107c9366004614866565b6114ea565b3480156107d9575f80fd5b506103c56107e836600461447f565b611765565b3480156107f8575f80fd5b5061039c610807366004614365565b61178f565b348015610817575f80fd5b5061082b610826366004614846565b6117c4565b604080519283526020830191909152016103d1565b34801561084b575f80fd5b506104455f81565b34801561085e575f80fd5b5061044561086d36600461430a565b603c6020525f908152604090205481565b348015610889575f80fd5b506103c5610898366004614468565b6117ec565b3480156108a8575f80fd5b5061044560045481565b3480156108bd575f80fd5b5061039c6108cc366004614365565b611817565b3480156108dc575f80fd5b506104456108eb36600461430a565b60396020525f908152604090205481565b348015610907575f80fd5b5061091b61091636600461430a565b61184c565b6040516103d191906148a9565b348015610933575f80fd5b5061039c610942366004614846565b6118ed565b348015610952575f80fd5b506107836109613660046149a4565b63bc197c8160e01b95945050505050565b34801561097d575f80fd5b5061078361098c366004614365565b611907565b34801561099c575f80fd5b506104456109ab366004614468565b611a93565b3480156109bb575f80fd5b5060375460385461082b565b3480156109d2575f80fd5b506104456109e136600461430a565b603b6020525f908152604090205481565b3480156109fd575f80fd5b5061039c610a0c36600461447f565b611aa9565b348015610a1c575f80fd5b50610445610a2b36600461430a565b603d6020525f908152604090205481565b348015610a47575f80fd5b5061039c610a5636600461430a565b611acd565b348015610a66575f80fd5b506103c5610a75366004614468565b611ade565b348015610a85575f80fd5b506103f9610a94366004614a4a565b611b01565b348015610aa4575f80fd5b5061039c610ab3366004614a63565b611b74565b348015610ac3575f80fd5b5061039c610ad2366004614365565b611be7565b348015610ae2575f80fd5b5060015460025461082b565b348015610af9575f80fd5b50610783610b08366004614b17565b63f23a6e6160e01b95945050505050565b6074546001600160a01b03163303610b2d57565b610b35611c1c565b565b5f6001600160e01b03198216631f3673bb60e01b1480610b6757506001600160e01b031982166312c0151560e21b145b80610b765750610b7682611c46565b92915050565b607154600490610100900460ff16158015610b9e575060715460ff8083169116105b610bc35760405162461bcd60e51b8152600401610bba90614b7a565b60405180910390fd5b6071805461ffff191660ff83169081176101001761ff0019169091556040519081525f805160206155bf833981519152906020015b60405180910390a15050565b610c0c611c6a565b5f839003610c2d576040516316ee9d3b60e11b815260040160405180910390fd5b610c3984848484611cc3565b50505050565b610c47611c6a565b5f859003610c68576040516316ee9d3b60e11b815260040160405180910390fd5b610c76868686868686611d94565b505050505050565b607154600290610100900460ff16158015610ca0575060715460ff8083169116105b610cbc5760405162461bcd60e51b8152600401610bba90614b7a565b6071805461ffff191660ff831617610100179055610cdb600b83611f36565b6071805461ff001916905560405160ff821681525f805160206155bf83398151915290602001610bf8565b5f82815260726020526040902060010154610d2081611fd7565b610d2a8383611fe1565b505050565b6001600160a01b0381163314610d9f5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610bba565b610da98282612002565b5050565b607154600390610100900460ff16158015610dcf575060715460ff8083169116105b610deb5760405162461bcd60e51b8152600401610bba90614b7a565b6071805461ffff191660ff8316176101001790555f610e0a600b611b01565b90505f80826001600160a01b031663c441c4a86040518163ffffffff1660e01b81526004015f60405180830381865afa158015610e49573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610e709190810190614c41565b92509250505f805b8351811015610f2957828181518110610e9357610e93614d1f565b6020026020010151607e5f868481518110610eb057610eb0614d1f565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f205f6101000a8154816001600160601b0302191690836001600160601b03160217905550828181518110610f0c57610f0c614d1f565b602002602001015182610f1f9190614d47565b9150600101610e78565b50607d80546001600160601b0319166001600160601b039290921691909117905550506071805461ff00191690555060405160ff821681525f805160206155bf833981519152906020015b60405180910390a150565b610f87611c6a565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b610fb1612023565b610b35612091565b610fc16120e2565b610fd9610fd336839003830183614db4565b33612127565b50565b5f610fe56120e2565b611040848484808060200260200160405190810160405280939291908181526020015f905b828210156110365761102760608302860136819003810190614e05565b8152602001906001019061100a565b505050505061236e565b90505b9392505050565b607154610100900460ff161580801561106a5750607154600160ff909116105b806110845750303b158015611084575060715460ff166001145b6110a05760405162461bcd60e51b8152600401610bba90614b7a565b6071805460ff1916600117905580156110c3576071805461ff0019166101001790555b6110cd5f8c6127fa565b60758990556110db8a612804565b6111666040517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81527f159f52c1e3a2b6a6aad3950adf713516211484e0516dad685ea662a094b7c43b60208201527fad7c5bef027816a800da1736444fb58a807ef4c9603b7848673f7e3a68eb14a5604082015246606082015230608082015260a0812060775550565b6111708887612852565b61117a87876128f3565b505061118461299a565b5f61118f8680614e4c565b9050111561124f576111b86111a48680614e4c565b6111b16020890189614e4c565b8787611d94565b6111dd6111c58680614e4c565b865f5b6020028101906111d89190614e4c565b6129e6565b6112036111ea8680614e4c565b8660015b6020028101906111fe9190614e4c565b611cc3565b6112296112108680614e4c565b8660025b6020028101906112249190614e4c565b612ab7565b61124f6112368680614e4c565b8660035b60200281019061124a9190614e4c565b612bc4565b5f5b61125e6040870187614e4c565b90508110156112ca576112c27f5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e46112986040890189614e4c565b848181106112a8576112a8614d1f565b90506020020160208101906112bd919061430a565b611fe1565b600101611251565b5080156112fe576071805461ff0019169055604051600181525f805160206155bf8339815191529060200160405180910390a15b5050505050505050505050565b5f6110438383612c95565b5f611327611322612d59565b612d96565b905090565b611334612023565b610b35612dfa565b611344611c6a565b61134d81612e36565b610da98282611f36565b5f600b61136381612e6b565b82518690811415806113755750808514155b156113a0575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b805f036113b757506347c28ec560e11b91506114c9565b5f5b818110156114bc578481815181106113d3576113d3614d1f565b6020026020010151156114b4578686828181106113f2576113f2614d1f565b90506020020160208101906114079190614e91565b607d80546001600160601b031981166001600160601b03918216939093011691909117905586868281811061143e5761143e614d1f565b90506020020160208101906114539190614e91565b607e5f8b8b8581811061146857611468614d1f565b905060200201602081019061147d919061430a565b6001600160a01b0316815260208101919091526040015f2080546001600160601b0319166001600160601b03929092169190911790555b6001016113b9565b506347c28ec560e11b9250505b5095945050505050565b5f8281526073602052604081206110439083612eb6565b7f5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e461151481611fd7565b5f61152c61152736859003850185614f06565b612ec1565b905061154061152736859003850185614f06565b83355f908152607960205260409020541461156e5760405163f4b8742f60e01b815260040160405180910390fd5b82355f908152607a602052604090205460ff1661159e5760405163147bfe0760e01b815260040160405180910390fd5b82355f908152607a602052604090819020805460ff19169055517fd639511b37b3b002cca6cfe6bca0d833945a5af5a045578a0627fc43b79b2630906115e79083908690614fd7565b60405180910390a15f611600608085016060860161430a565b90505f6116156101208601610100870161505c565b600281111561162657611626614881565b036116ea575f61163f3686900386016101008701615075565b6001600160a01b0383165f908152603b602052604090205490915061166a9061014087013590612f88565b60408201525f6116833687900387016101008801615075565b604083015190915061169a9061014088013561508f565b60408201526074546116ba908390339086906001600160a01b0316612fa1565b6116e36116cd606088016040890161430a565b60745483919086906001600160a01b0316612fa1565b5050611726565b6117266116fd606086016040870161430a565b60745483906001600160a01b031661171e3689900389016101008a01615075565b929190612fa1565b7f21e88e956aa3e086f6388e899965cef814688f99ad8bb29b08d396571016372d8285604051611757929190614fd7565b60405180910390a150505050565b5f9182526072602090815260408084206001600160a01b0393909316845291905290205460ff1690565b611797611c6a565b5f8390036117b8576040516316ee9d3b60e11b815260040160405180910390fd5b610c39848484846129e6565b5f806117ce611c6a565b6117d884846128f3565b90925090506117e561299a565b9250929050565b5f6117f5612d59565b60375461180291906150a2565b60385461180f90846150a2565b101592915050565b61181f611c6a565b5f839003611840576040516316ee9d3b60e11b815260040160405180910390fd5b610c3984848484612ab7565b604080518082019091525f80825260208201526001600160a01b0382165f908152607860205260409081902081518083019092528054829060ff16600281111561189857611898614881565b60028111156118a9576118a9614881565b815290546001600160a01b03610100909104811660209283015290820151919250166118e857604051631b79f53b60e21b815260040160405180910390fd5b919050565b6118f5611c6a565b6118ff8282612852565b610da961299a565b5f600b61191381612e6b565b84838114611941575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b805f036119585750636242a4ef60e11b9150611a8a565b5f805b82811015611a3b5786868281811061197557611975614d1f565b905060200201602081019061198a91906150b9565b15611a3357607e5f8a8a848181106119a4576119a4614d1f565b90506020020160208101906119b9919061430a565b6001600160a01b0316815260208101919091526040015f908120546001600160601b03169290920191607e908a8a848181106119f7576119f7614d1f565b9050602002016020810190611a0c919061430a565b6001600160a01b0316815260208101919091526040015f2080546001600160601b03191690555b60010161195b565b50607d80548291905f90611a599084906001600160601b03166150d4565b92506101000a8154816001600160601b0302191690836001600160601b0316021790555063c48549de60e01b935050505b50949350505050565b5f818152607360205260408120610b76906131ca565b5f82815260726020526040902060010154611ac381611fd7565b610d2a8383612002565b611ad5611c6a565b610fd981612804565b5f611ae7612d59565b600154611af491906150a2565b60025461180f90846150a2565b5f7fdea3103d22025c269050bea94c0c84688877f12fa22b7e6d2d5d78a9a49aa1cb5f83600f811115611b3657611b36614881565b60ff16815260208101919091526040015f20546001600160a01b03169050806118e8578160405163409140df60e11b8152600401610bba9190615104565b611b7c611c6a565b5f869003611b9d576040516316ee9d3b60e11b815260040160405180910390fd5b611bab878787878787611d94565b611bb78787835f6111c8565b611bc487878360016111ee565b611bd18787836002611214565b611bde878783600361123a565b50505050505050565b611bef611c6a565b5f839003611c10576040516316ee9d3b60e11b815260040160405180910390fd5b610c3984848484612bc4565b611c246120e2565b611c2c614292565b338152604080820151349101528051610fd9908290612127565b5f6001600160e01b03198216630271189760e51b1480610b765750610b76826131d3565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103546001600160a01b03163314610b35575f356001600160e01b0319166001604051620f948f60ea1b8152600401610bba929190615112565b828114611cf0575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b83811015611d5e57828282818110611d0c57611d0c614d1f565b90506020020135603a5f878785818110611d2857611d28614d1f565b9050602002016020810190611d3d919061430a565b6001600160a01b0316815260208101919091526040015f2055600101611cf2565b507f64557254143204d91ba2d95acb9fda1e5fea55f77efd028685765bc1e94dd4b5848484846040516117579493929190615187565b8483148015611da257508481145b611dcc575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b85811015611eec57848482818110611de857611de8614d1f565b9050602002016020810190611dfd919061430a565b60785f898985818110611e1257611e12614d1f565b9050602002016020810190611e27919061430a565b6001600160a01b03908116825260208201929092526040015f208054610100600160a81b0319166101009390921692909202179055828282818110611e6e57611e6e614d1f565b9050602002016020810190611e83919061505c565b60785f898985818110611e9857611e98614d1f565b9050602002016020810190611ead919061430a565b6001600160a01b0316815260208101919091526040015f20805460ff19166001836002811115611edf57611edf614881565b0217905550600101611dce565b507fa4f03cc9c0e0aeb5b71b4ec800702753f65748c2cf3064695ba8e8b46be70444868686868686604051611f26969594939291906151d1565b60405180910390a1505050505050565b807fdea3103d22025c269050bea94c0c84688877f12fa22b7e6d2d5d78a9a49aa1cb5f84600f811115611f6b57611f6b614881565b60ff16815260208101919091526040015f2080546001600160a01b0319166001600160a01b03928316179055811682600f811115611fab57611fab614881565b6040517f865d1c228a8ea13709cfe61f346f7ff67f1bbd4a18ff31ad3e7147350d317c59905f90a35050565b610fd981336131f7565b611feb828261325b565b5f828152607360205260409020610d2a90826132e0565b61200c82826132f4565b5f828152607360205260409020610d2a908261335a565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103546001600160a01b031633148061206557506005546001600160a01b031633145b610b35575f356001600160e01b0319166001604051620f948f60ea1b8152600401610bba929190615112565b61209961336e565b5f805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b5f5460ff1615610b355760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610bba565b6040805180820182525f80825260208201526074549184015190916001600160a01b031690612155906133b6565b60208401516001600160a01b03166121f657348460400151604001511461218f5760405163129c2ce160e31b815260040160405180910390fd5b6121988161184c565b60408501515190925060028111156121b2576121b2614881565b825160028111156121c5576121c5614881565b146121e25760405162035e2b60ea1b815260040160405180910390fd5b6001600160a01b03811660208501526122fd565b34156122155760405163129c2ce160e31b815260040160405180910390fd5b612222846020015161184c565b604085015151909250600281111561223c5761223c614881565b8251600281111561224f5761224f614881565b1461226c5760405162035e2b60ea1b815260040160405180910390fd5b602084015160408501516122819185906133fa565b83602001516001600160a01b0316816001600160a01b0316036122fd576040848101518101519051632e1a7d4d60e01b815260048101919091526001600160a01b03821690632e1a7d4d906024015f604051808303815f87803b1580156122e6575f80fd5b505af11580156122f8573d5f803e3d5ffd5b505050505b607680545f918261230d83615240565b9190505590505f612333858386602001516075548a61356e90949392919063ffffffff16565b90507fd7b25068d9dc8d00765254cfb7f5070f98d263c8d68931d937c7362fa738048b61235f82612ec1565b82604051611f26929190615278565b5f823561014084013582612388608087016060880161430a565b90506123a56123a03688900388016101008901615075565b6133b6565b60016123b76040880160208901615313565b60018111156123c8576123c8614881565b146123e65760405163182f3d8760e11b815260040160405180910390fd5b608086013546146124275760405163092048d160e11b81525f356001600160e01b031916600482015260808701356024820152466044820152606401610bba565b5f61243b6109166080890160608a0161430a565b905061244f6101208801610100890161505c565b600281111561246057612460614881565b8151600281111561247357612473614881565b1480156124a4575061248b60e0880160c0890161430a565b6001600160a01b031681602001516001600160a01b0316145b80156124b5575060755460e0880135145b6124d25760405163f4b8742f60e01b815260040160405180910390fd5b5f84815260796020526040902054156124fe57604051634f13df6160e01b815260040160405180910390fd5b600161251261012089016101008a0161505c565b600281111561252357612523614881565b148061253657506125348284612c95565b155b6125535760405163c51297b760e01b815260040160405180910390fd5b5f612566611527368a90038a018a614f06565b90505f61257560775483613641565b90505f61259461258d6101208c016101008d0161505c565b8688613681565b604080516060810182525f80825260208201819052918101829052919a50919250819081905f805b8e518110156126d4578e81815181106125d7576125d7614d1f565b602002602001015192506125f888845f015185602001518660400151613702565b9450846001600160a01b0316846001600160a01b031610612639575f356001600160e01b031916604051635d3dcd3160e01b8152600401610bba9190614831565b6001600160a01b0385165f908152607e60205260408120548695506001600160601b0316908190036126ae5760408051634e97700760e01b81526001600160a01b038816600482015260248101839052855160ff1660448201526020860151606482015290850151608482015260a401610bba565b6126b8818461532c565b92508783106126cb5760019650506126d4565b506001016125bc565b50846126f357604051639e8f5f6360e01b815260040160405180910390fd5b5050505f8981526079602052604090208590555050871561276c575f878152607a602052604090819020805460ff19166001179055517f89e52969465b1f1866fc5d46fd62de953962e9cb33552443cd999eba05bd20dc906127589085908d90614fd7565b60405180910390a150505050505050610b76565b612776858761372a565b6127b461278960608c0160408d0161430a565b8660745f9054906101000a90046001600160a01b03168d6101000180360381019061171e9190615075565b7f21e88e956aa3e086f6388e899965cef814688f99ad8bb29b08d396571016372d838b6040516127e5929190614fd7565b60405180910390a15050505050505092915050565b610da98282611fe1565b607480546001600160a01b0319166001600160a01b0383169081179091556040519081527f9d2334c23be647e994f27a72c5eee42a43d5bdcfe15bb88e939103c2b114cbaf90602001610f74565b8082118061285e575080155b80612867575081155b15612892575f356001600160e01b0319166040516387f6f09560e01b8152600401610bba9190614831565b6001805460028054858455908490556004805493840190556040805183815260208101839052929391928592879290917f976f8a9c5bdf8248dec172376d6e2b80a8e3df2f0328e381c6db8e1cf138c0f8910160405180910390a450505050565b5f8082841180612901575083155b8061290a575082155b15612935575f356001600160e01b0319166040516387f6f09560e01b8152600401610bba9190614831565b5050603780546038805492859055839055600480546001810190915560408051838152602081018590529293928592879290917f31312c97b89cc751b832d98fd459b967a2c3eef3b49757d1cf5ebaa12bb6eee1910160405180910390a49250929050565b6002546037546129aa91906150a2565b6038546001546129ba91906150a2565b1115610b35575f356001600160e01b0319166040516387f6f09560e01b8152600401610bba9190614831565b828114612a13575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b83811015612a8157828282818110612a2f57612a2f614d1f565b9050602002013560395f878785818110612a4b57612a4b614d1f565b9050602002016020810190612a60919061430a565b6001600160a01b0316815260208101919091526040015f2055600101612a15565b507f80bc635c452ae67f12f9b6f12ad4daa6dbbc04eeb9ebb87d354ce10c0e210dc0848484846040516117579493929190615187565b828114612ae4575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b83811015612b8e57620f4240838383818110612b0457612b04614d1f565b905060200201351115612b2a5760405163572d3bd360e11b815260040160405180910390fd5b828282818110612b3c57612b3c614d1f565b90506020020135603b5f878785818110612b5857612b58614d1f565b9050602002016020810190612b6d919061430a565b6001600160a01b0316815260208101919091526040015f2055600101612ae6565b507fb05f5de88ae0294ebb6f67c5af2fcbbd593cc6bdfe543e2869794a4c8ce3ea50848484846040516117579493929190615187565b828114612bf1575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b83811015612c5f57828282818110612c0d57612c0d614d1f565b90506020020135603c5f878785818110612c2957612c29614d1f565b9050602002016020810190612c3e919061430a565b6001600160a01b0316815260208101919091526040015f2055600101612bf3565b507fb5d2963614d72181b4df1f993d45b83edf42fa19710f0204217ba1b3e183bb73848484846040516117579493929190615187565b6001600160a01b0382165f908152603a60205260408120548210612cba57505f610b76565b5f612cc8620151804261533f565b6001600160a01b0385165f908152603e6020526040902054909150811115612d0c5750506001600160a01b0382165f908152603c6020526040902054811015610b76565b6001600160a01b0384165f908152603d6020526040902054612d2f90849061532c565b6001600160a01b0385165f908152603c602052604090205411159150610b769050565b5092915050565b607d546001600160601b03165f819003612d93575f356001600160e01b031916604051631103b51560e31b8152600401610bba9190614831565b90565b5f600254600160025484600154612dad91906150a2565b612db7919061532c565b612dc1919061508f565b612dcb919061533f565b9050805f036118e8575f356001600160e01b03191660405163267b1b9160e01b8152600401610bba9190614831565b612e026120e2565b5f805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586120c53390565b806001600160a01b03163b5f03610fd957604051630bfc64a360e21b81526001600160a01b0382166004820152602401610bba565b612e7481611b01565b6001600160a01b0316336001600160a01b031614610fd9575f356001600160e01b03191681336040516320e0f98d60e21b8152600401610bba9392919061535e565b5f61104383836137b6565b5f80612ed083604001516137dc565b90505f612ee084606001516137dc565b90505f612f338560800151604080517f1e2b74b2a792d5c0f0b6e59b037fa9d43d84fbb759337f0112fcc15ca414fc8d815282516020808301919091528301518183015291015160608201526080902090565b604080517fb9d1fe7c9deeec5dc90a2f47ff1684239519f2545b2228d3d91fb27df3189eea815287516020808301919091529097015190870152606086019390935250608084015260a08301525060c0902090565b5f620f4240612f9783856150a2565b611043919061533f565b806001600160a01b0316826001600160a01b0316036130495760408085015190516001600160a01b0385169180156108fc02915f818181858888f1935050505061304457806001600160a01b031663d0e30db085604001516040518263ffffffff1660e01b81526004015f604051808303818588803b158015613022575f80fd5b505af1158015613034573d5f803e3d5ffd5b5050505050613044848484613824565b610c39565b5f8451600281111561305d5761305d614881565b03613120576040516370a0823160e01b81523060048201525f906001600160a01b038416906370a0823190602401602060405180830381865afa1580156130a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130ca9190615395565b9050846040015181101561310f576130f283308388604001516130ed919061508f565b6138a2565b61310f57604051632f739fff60e11b815260040160405180910390fd5b61311a858585613824565b50610c39565b60018451600281111561313557613135614881565b036131665761314982848660200151613942565b6130445760405163c8e3a09f60e01b815260040160405180910390fd5b60028451600281111561317b5761317b614881565b036131b157613194828486602001518760400151613968565b613044576040516334b471a760e21b815260040160405180910390fd5b6040516361e411a760e11b815260040160405180910390fd5b5f610b76825490565b5f6001600160e01b03198216635a05180f60e01b1480610b765750610b7682613990565b6132018282611765565b610da957613219816001600160a01b031660146139c4565b6132248360206139c4565b6040516020016132359291906153ce565b60408051601f198184030181529082905262461bcd60e51b8252610bba9160040161546d565b6132658282611765565b610da9575f8281526072602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561329c3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b5f611043836001600160a01b038416613b59565b6132fe8282611765565b15610da9575f8281526072602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b5f611043836001600160a01b038416613ba5565b5f5460ff16610b355760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610bba565b6133bf81613c88565b806133ce57506133ce81613cbd565b806133dd57506133dd81613ce4565b610fd95760405163034992a760e51b815260040160405180910390fd5b5f6060818551600281111561341157613411614881565b036134e85760408581015181516001600160a01b03878116602483015230604483015260648083019390935283518083039093018352608490910183526020820180516001600160e01b03166323b872dd60e01b179052915191851691613478919061547f565b5f604051808303815f865af19150503d805f81146134b1576040519150601f19603f3d011682016040523d82523d5f602084013e6134b6565b606091505b5090925090508180156134e15750805115806134e15750808060200190518101906134e1919061549a565b9150613541565b6001855160028111156134fd576134fd614881565b03613512576134e18385308860200151613d0c565b60028551600281111561352757613527614881565b036131b1576134e183853088602001518960400151613db5565b816135675784843085604051639d2e4c6760e01b8152600401610bba94939291906154b5565b5050505050565b6135dd6040805160a0810182525f8082526020808301829052835160608082018652838252818301849052818601849052848601919091528451808201865283815280830184905280860184905281850152845190810185528281529081018290529283015290608082015290565b8381525f6020820181905250604080820180516001600160a01b039788169052602080890151825190891690820152905146908301528751606084018051918916909152805195909716940193909352935182015292909201516080820152919050565b6040805161190160f01b60208083019190915260228201859052604280830185905283518084039091018152606290920190925280519101205f90611043565b5f805f61368c612d59565b905061369781612d96565b92505f8660028111156136ac576136ac614881565b036136f9576001600160a01b0385165f9081526039602052604090205484106136db576136d881613e64565b92505b6001600160a01b0385165f908152603a602052604090205484101591505b50935093915050565b5f805f61371187878787613ec8565b9150915061371e81613fad565b5090505b949350505050565b5f613738620151804261533f565b6001600160a01b0384165f908152603e6020526040902054909150811115613785576001600160a01b03929092165f908152603e6020908152604080832094909455603d90529190912055565b6001600160a01b0383165f908152603d6020526040812080548492906137ac90849061532c565b9091555050505050565b5f825f0182815481106137cb576137cb614d1f565b905f5260205f200154905092915050565b604080517f353bdd8d69b9e3185b3972e08b03845c0c14a21a390215302776a7a34b0e8764815282516020808301919091528301518183015291015160608201526080902090565b5f808451600281111561383957613839614881565b036138545761384d82848660400151614162565b905061387e565b60018451600281111561386957613869614881565b036131b15761384d8230858760200151613d0c565b80610c39578383836040516341bd7d9160e11b8152600401610bba939291906154eb565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b03166340c10f1960e01b17905291515f928616916138f99161547f565b5f604051808303815f865af19150503d805f8114613932576040519150601f19603f3d011682016040523d82523d5f602084013e613937565b606091505b509095945050505050565b5f61394f84308585613d0c565b905080611043576139618484846138a2565b9050611043565b5f6139768530868686613db5565b9050806137225761398985858585614230565b9050613722565b5f6001600160e01b03198216637965db0b60e01b1480610b7657506301ffc9a760e01b6001600160e01b0319831614610b76565b60605f6139d28360026150a2565b6139dd90600261532c565b6001600160401b038111156139f4576139f46146a8565b6040519080825280601f01601f191660200182016040528015613a1e576020820181803683370190505b509050600360fc1b815f81518110613a3857613a38614d1f565b60200101906001600160f81b03191690815f1a905350600f60fb1b81600181518110613a6657613a66614d1f565b60200101906001600160f81b03191690815f1a9053505f613a888460026150a2565b613a9390600161532c565b90505b6001811115613b0a576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110613ac757613ac7614d1f565b1a60f81b828281518110613add57613add614d1f565b60200101906001600160f81b03191690815f1a90535060049490941c93613b038161551b565b9050613a96565b5083156110435760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610bba565b5f818152600183016020526040812054613b9e57508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610b76565b505f610b76565b5f8181526001830160205260408120548015613c7f575f613bc760018361508f565b85549091505f90613bda9060019061508f565b9050818114613c39575f865f018281548110613bf857613bf8614d1f565b905f5260205f200154905080875f018481548110613c1857613c18614d1f565b5f918252602080832090910192909255918252600188019052604090208390555b8554869080613c4a57613c4a615530565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f905560019350505050610b76565b5f915050610b76565b5f8082516002811115613c9d57613c9d614881565b148015613cad57505f8260400151115b8015610b76575050602001511590565b5f600182516002811115613cd357613cd3614881565b148015610b76575050604001511590565b5f600282516002811115613cfa57613cfa614881565b148015610b7657505060400151151590565b604080516001600160a01b0385811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180516001600160e01b03166323b872dd60e01b17905291515f92871691613d6b9161547f565b5f604051808303815f865af19150503d805f8114613da4576040519150601f19603f3d011682016040523d82523d5f602084013e613da9565b606091505b50909695505050505050565b604080515f808252602082019092526001600160a01b03871690613de490879087908790879060448101615544565b60408051601f198184030181529181526020820180516001600160e01b0316637921219560e11b17905251613e19919061547f565b5f604051808303815f865af19150503d805f8114613e52576040519150601f19603f3d011682016040523d82523d5f602084013e613e57565b606091505b5090979650505050505050565b5f603854600160385484603754613e7b91906150a2565b613e85919061532c565b613e8f919061508f565b613e99919061533f565b9050805f036118e8575f356001600160e01b031916604051639b974b0f60e01b8152600401610bba9190614831565b5f807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115613efd57505f90506003613fa4565b8460ff16601b14158015613f1557508460ff16601c14155b15613f2557505f90506004613fa4565b604080515f8082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015613f76573d5f803e3d5ffd5b5050604051601f1901519150506001600160a01b038116613f9e575f60019250925050613fa4565b91505f90505b94509492505050565b5f816004811115613fc057613fc0614881565b03613fc85750565b6001816004811115613fdc57613fdc614881565b036140295760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610bba565b600281600481111561403d5761403d614881565b0361408a5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610bba565b600381600481111561409e5761409e614881565b036140f65760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610bba565b600481600481111561410a5761410a614881565b03610fd95760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610bba565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663a9059cbb60e01b17905291515f92606092908716916141be919061547f565b5f604051808303815f865af19150503d805f81146141f7576040519150601f19603f3d011682016040523d82523d5f602084013e6141fc565b606091505b509092509050818015614227575080511580614227575080806020019051810190614227919061549a565b95945050505050565b604080515f808252602082019092526001600160a01b0386169061425d9086908690869060448101615588565b60408051601f198184030181529181526020820180516001600160e01b031663731133e960e01b17905251613d6b919061547f565b604080516060810182525f80825260208201529081016142ca6040805160608101909152805f81526020015f81526020015f81525090565b905290565b5f602082840312156142df575f80fd5b81356001600160e01b031981168114611043575f80fd5b6001600160a01b0381168114610fd9575f80fd5b5f6020828403121561431a575f80fd5b8135611043816142f6565b5f8083601f840112614335575f80fd5b5081356001600160401b0381111561434b575f80fd5b6020830191508360208260051b85010111156117e5575f80fd5b5f805f8060408587031215614378575f80fd5b84356001600160401b038082111561438e575f80fd5b61439a88838901614325565b909650945060208701359150808211156143b2575f80fd5b506143bf87828801614325565b95989497509550505050565b5f805f805f80606087890312156143e0575f80fd5b86356001600160401b03808211156143f6575f80fd5b6144028a838b01614325565b9098509650602089013591508082111561441a575f80fd5b6144268a838b01614325565b9096509450604089013591508082111561443e575f80fd5b5061444b89828a01614325565b979a9699509497509295939492505050565b80356118e8816142f6565b5f60208284031215614478575f80fd5b5035919050565b5f8060408385031215614490575f80fd5b8235915060208301356144a2816142f6565b809150509250929050565b5f60a082840312156144bd575f80fd5b50919050565b5f61016082840312156144bd575f80fd5b5f805f61018084860312156144e7575f80fd5b6144f185856144c3565b92506101608401356001600160401b038082111561450d575f80fd5b818601915086601f830112614520575f80fd5b81358181111561452e575f80fd5b876020606083028501011115614542575f80fd5b6020830194508093505050509250925092565b8060608101831015610b76575f80fd5b8060808101831015610b76575f80fd5b5f805f805f805f805f806101208b8d03121561458f575f80fd5b6145988b61445d565b99506145a660208c0161445d565b985060408b0135975060608b0135965060808b0135955060a08b0135945060c08b01356001600160401b03808211156145dd575f80fd5b6145e98e838f01614555565b955060e08d01359150808211156145fe575f80fd5b61460a8e838f01614565565b94506101008d0135915080821115614620575f80fd5b5061462d8d828e01614325565b915080935050809150509295989b9194979a5092959850565b5f8060408385031215614657575f80fd5b8235614662816142f6565b946020939093013593505050565b8035601081106118e8575f80fd5b5f806040838503121561468f575f80fd5b61469883614670565b915060208301356144a2816142f6565b634e487b7160e01b5f52604160045260245ffd5b604051606081016001600160401b03811182821017156146de576146de6146a8565b60405290565b604051601f8201601f191681016001600160401b038111828210171561470c5761470c6146a8565b604052919050565b5f6001600160401b0382111561472c5761472c6146a8565b5060051b60200190565b8015158114610fd9575f80fd5b5f805f805f60608688031215614757575f80fd5b85356001600160401b038082111561476d575f80fd5b61477989838a01614325565b9097509550602091508782013581811115614792575f80fd5b61479e8a828b01614325565b9096509450506040880135818111156147b5575f80fd5b88019050601f810189136147c7575f80fd5b80356147da6147d582614714565b6146e4565b81815260059190911b8201830190838101908b8311156147f8575f80fd5b928401925b8284101561481f57833561481081614736565b825292840192908401906147fd565b80955050505050509295509295909350565b6001600160e01b031991909116815260200190565b5f8060408385031215614857575f80fd5b50508035926020909101359150565b5f6101608284031215614877575f80fd5b61104383836144c3565b634e487b7160e01b5f52602160045260245ffd5b600381106148a5576148a5614881565b9052565b5f6040820190506148bb828451614895565b6020928301516001600160a01b0316919092015290565b5f82601f8301126148e1575f80fd5b813560206148f16147d583614714565b8083825260208201915060208460051b870101935086841115614912575f80fd5b602086015b8481101561492e5780358352918301918301614917565b509695505050505050565b5f82601f830112614948575f80fd5b81356001600160401b03811115614961576149616146a8565b614974601f8201601f19166020016146e4565b818152846020838601011115614988575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f805f60a086880312156149b8575f80fd5b85356149c3816142f6565b945060208601356149d3816142f6565b935060408601356001600160401b03808211156149ee575f80fd5b6149fa89838a016148d2565b94506060880135915080821115614a0f575f80fd5b614a1b89838a016148d2565b93506080880135915080821115614a30575f80fd5b50614a3d88828901614939565b9150509295509295909350565b5f60208284031215614a5a575f80fd5b61104382614670565b5f805f805f805f6080888a031215614a79575f80fd5b87356001600160401b0380821115614a8f575f80fd5b614a9b8b838c01614325565b909950975060208a0135915080821115614ab3575f80fd5b614abf8b838c01614325565b909750955060408a0135915080821115614ad7575f80fd5b614ae38b838c01614325565b909550935060608a0135915080821115614afb575f80fd5b50614b088a828b01614565565b91505092959891949750929550565b5f805f805f60a08688031215614b2b575f80fd5b8535614b36816142f6565b94506020860135614b46816142f6565b9350604086013592506060860135915060808601356001600160401b03811115614b6e575f80fd5b614a3d88828901614939565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b5f82601f830112614bd7575f80fd5b81516020614be76147d583614714565b8083825260208201915060208460051b870101935086841115614c08575f80fd5b602086015b8481101561492e578051614c20816142f6565b8352918301918301614c0d565b6001600160601b0381168114610fd9575f80fd5b5f805f60608486031215614c53575f80fd5b83516001600160401b0380821115614c69575f80fd5b614c7587838801614bc8565b9450602091508186015181811115614c8b575f80fd5b614c9788828901614bc8565b945050604086015181811115614cab575f80fd5b86019050601f81018713614cbd575f80fd5b8051614ccb6147d582614714565b81815260059190911b82018301908381019089831115614ce9575f80fd5b928401925b82841015614d10578351614d0181614c2d565b82529284019290840190614cee565b80955050505050509250925092565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b6001600160601b03818116838216019080821115612d5257612d52614d33565b8035600381106118e8575f80fd5b5f60608284031215614d85575f80fd5b614d8d6146bc565b9050614d9882614d67565b8152602082013560208201526040820135604082015292915050565b5f60a08284031215614dc4575f80fd5b614dcc6146bc565b8235614dd7816142f6565b81526020830135614de7816142f6565b6020820152614df98460408501614d75565b60408201529392505050565b5f60608284031215614e15575f80fd5b614e1d6146bc565b823560ff81168114614e2d575f80fd5b8152602083810135908201526040928301359281019290925250919050565b5f808335601e19843603018112614e61575f80fd5b8301803591506001600160401b03821115614e7a575f80fd5b6020019150600581901b36038213156117e5575f80fd5b5f60208284031215614ea1575f80fd5b813561104381614c2d565b8035600281106118e8575f80fd5b5f60608284031215614eca575f80fd5b614ed26146bc565b90508135614edf816142f6565b81526020820135614eef816142f6565b806020830152506040820135604082015292915050565b5f6101608284031215614f17575f80fd5b60405160a081018181106001600160401b0382111715614f3957614f396146a8565b60405282358152614f4c60208401614eac565b6020820152614f5e8460408501614eba565b6040820152614f708460a08501614eba565b6060820152614f83846101008501614d75565b60808201529392505050565b600281106148a5576148a5614881565b8035614faa816142f6565b6001600160a01b039081168352602082013590614fc6826142f6565b166020830152604090810135910152565b5f6101808201905083825282356020830152614ff560208401614eac565b6150026040840182614f8f565b506150136060830160408501614f9f565b61502360c0830160a08501614f9f565b61012061503e8184016150396101008701614d67565b614895565b61014081850135818501528085013561016085015250509392505050565b5f6020828403121561506c575f80fd5b61104382614d67565b5f60608284031215615085575f80fd5b6110438383614d75565b81810381811115610b7657610b76614d33565b8082028115828204841417610b7657610b76614d33565b5f602082840312156150c9575f80fd5b813561104381614736565b6001600160601b03828116828216039080821115612d5257612d52614d33565b601081106148a5576148a5614881565b60208101610b7682846150f4565b6001600160e01b03198316815260408101600b831061513357615133614881565b8260208301529392505050565b8183525f60208085019450825f5b8581101561517c578135615161816142f6565b6001600160a01b03168752958201959082019060010161514e565b509495945050505050565b604081525f61519a604083018688615140565b82810360208401528381526001600160fb1b038411156151b8575f80fd5b8360051b80866020840137016020019695505050505050565b606081525f6151e460608301888a615140565b602083820360208501526151f982888a615140565b84810360408601528581528692506020015f5b86811015615231576152218261503986614d67565b928201929082019060010161520c565b509a9950505050505050505050565b5f6001820161525157615251614d33565b5060010190565b615263828251614895565b60208181015190830152604090810151910152565b5f6101808201905083825282516020830152602083015161529c6040840182614f8f565b5060408381015180516001600160a01b03908116606086015260208201511660808501529081015160a084015250606083015180516001600160a01b0390811660c085015260208201511660e0840152604081015161010084015250608083015161530b610120840182615258565b509392505050565b5f60208284031215615323575f80fd5b61104382614eac565b80820180821115610b7657610b76614d33565b5f8261535957634e487b7160e01b5f52601260045260245ffd5b500490565b6001600160e01b0319841681526060810161537c60208301856150f4565b6001600160a01b03929092166040919091015292915050565b5f602082840312156153a5575f80fd5b5051919050565b5f5b838110156153c65781810151838201526020016153ae565b50505f910152565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081525f83516154058160178501602088016153ac565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516154368160288401602088016153ac565b01602801949350505050565b5f81518084526154598160208601602086016153ac565b601f01601f19169290920160200192915050565b602081525f6110436020830184615442565b5f82516154908184602087016153ac565b9190910192915050565b5f602082840312156154aa575f80fd5b815161104381614736565b60c081016154c38287615258565b6001600160a01b0394851660608301529284166080820152921660a090920191909152919050565b60a081016154f98286615258565b6001600160a01b03938416606083015291909216608090920191909152919050565b5f8161552957615529614d33565b505f190190565b634e487b7160e01b5f52603160045260245ffd5b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190525f9061557d90830184615442565b979650505050505050565b60018060a01b0385168152836020820152826040820152608060608201525f6155b46080830184615442565b969550505050505056fe7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498a2646970667358221220c6a7eacb7b230132910498f6731b258f7a69a5a03ae63978c6cb11ce1f4c993364736f6c63430008170033", + "nonce": "0x0", + "chainId": "0xaa36a7" + }, + "additionalContracts": [], + "isFixedGasLimit": false + } + ], + "receipts": [ + { + "status": "0x1", + "cumulativeGasUsed": "0xc26bf4", + "logs": [ + { + "address": "0x19287ca493748a5452b3900d393cb1a4369f47d5", + "topics": [ + "0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000ff", + "blockHash": "0x737a8b296f5e2754638d1a9f622fc1342032fa8deea901a18550463d86bac5d4", + "blockNumber": "0x64512d", + "transactionHash": "0x27ce63e6fbaff8172c5e9d66cbfbe64d580724d4b5aa5ffd9e8003a2444b6e4c", + "transactionIndex": "0x35", + "logIndex": "0x9c", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000008800000000000000000000000000000000000000000000000000000000", + "type": "0x2", + "transactionHash": "0x27ce63e6fbaff8172c5e9d66cbfbe64d580724d4b5aa5ffd9e8003a2444b6e4c", + "transactionIndex": "0x35", + "blockHash": "0x737a8b296f5e2754638d1a9f622fc1342032fa8deea901a18550463d86bac5d4", + "blockNumber": "0x64512d", + "gasUsed": "0x49f9c1", + "effectiveGasPrice": "0x554fb7377", + "from": "0xd90bb8ed38bcde74889d66a5d346f6e0e1a244a7", + "to": null, + "contractAddress": "0x19287ca493748a5452b3900d393cb1a4369f47d5" + } + ], + "libraries": [], + "pending": [], + "returns": {}, + "timestamp": 1724668835, + "chain": 11155111, + "commit": "93f3448" + }, + { + "transactions": [ + { + "hash": "0xef0fee8825bac5f127c3cdb5a62c00ba08a6f5266933276323cc2f9b153fb1e6", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "propose(uint256,uint256,address,address[],uint256[],bytes[],uint256[])", + "arguments": [ + "11155111", + "1725705492", + "0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa", + "[0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e]", + "[0, 0]", + "[0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5]", + "[2000000, 1000000]" + ], + "transaction": { + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x4b71e", + "value": "0x0", + "input": "0x15702f050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000540000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "nonce": "0x26a", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": "0xcd3d3f5656eff85e5578973a9c4f2806b1a4eac492558e9e4058c57aa982ba52", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(1, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0x4995475d124d45b1d45f87ba2793357ea781c0fdab3bf46bbe67d7b669114bd7, 0x4659bfe31e7e0e8c69c3c0f7b56b6f5586c2a33b1b52d67c1af2e02203ae4669)]" + ], + "transaction": { + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001c4995475d124d45b1d45f87ba2793357ea781c0fdab3bf46bbe67d7b669114bd74659bfe31e7e0e8c69c3c0f7b56b6f5586c2a33b1b52d67c1af2e02203ae4669", + "nonce": "0x6d", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0xf574d9c7dc3e10120cd12964dd3ef5140ebb804b41d52dff6c97b5d2a4779591", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(1, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0x58c5b5b5d9841d4ac406d050ca979fccb80413cf28607549162d6a9809870b9c, 0x1fae9cd74358bc23ecf723dfd9dede39f5cd042b2e5a31f3fd259e9013549d6d)]" + ], + "transaction": { + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001c58c5b5b5d9841d4ac406d050ca979fccb80413cf28607549162d6a9809870b9c1fae9cd74358bc23ecf723dfd9dede39f5cd042b2e5a31f3fd259e9013549d6d", + "nonce": "0x7d", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0xa83c624e353e19558a06561183df4829fac65f1a4d49484c903003df632faf0e", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(1, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0x6e4e88da629499edeb684d7d341d308631c50134a262be02c51cb6be723778b1, 0x2b5ec54fd873936682d139cbc4edf4949f8826c5a5675309eb33ee81b2fb8515)]" + ], + "transaction": { + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001c6e4e88da629499edeb684d7d341d308631c50134a262be02c51cb6be723778b12b5ec54fd873936682d139cbc4edf4949f8826c5a5675309eb33ee81b2fb8515", + "nonce": "0x6e", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0x5deb929810f30261f1b40e7d6cfe9cc02196e5685d3d820166daac74c5c1eac0", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "propose(uint256,uint256,address,address[],uint256[],bytes[],uint256[])", + "arguments": [ + "11155111", + "1725705492", + "0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa", + "[0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e]", + "[0, 0]", + "[0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5]", + "[2000000, 1000000]" + ], + "transaction": { + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x47f40", + "value": "0x0", + "input": "0x15702f050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000540000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "nonce": "0x26b", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": "0x139eedd42d18e643740e31665bee06bebc21f63be4df8992a81782f0a4b0abc8", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(2, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0xe357cd79a176521a35f9fc141cc2f51648bf8ab0b2aabca1d6906e6b4c5f42ca, 0x1d8e85250a5c285975f636e7e8f3cb99b6bca14dfb47072316e3db8d041799c3)]" + ], + "transaction": { + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001be357cd79a176521a35f9fc141cc2f51648bf8ab0b2aabca1d6906e6b4c5f42ca1d8e85250a5c285975f636e7e8f3cb99b6bca14dfb47072316e3db8d041799c3", + "nonce": "0x6e", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0x54c3bf4b20415f950424f08d8ed67ecc4c48cf2f64551e6e38a1b96226b13795", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(2, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0xad572da85452dfc69bc4ef734eb96fffdf8ace64bf84e169873308821768d72a, 0x1bb157798c02604ffde24972e0eb5faf8eaf767623eda9d0a50fe5268d6d0c75)]" + ], + "transaction": { + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001bad572da85452dfc69bc4ef734eb96fffdf8ace64bf84e169873308821768d72a1bb157798c02604ffde24972e0eb5faf8eaf767623eda9d0a50fe5268d6d0c75", + "nonce": "0x7e", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0xd106122ece2f2cb9d1f6677e020e22eeba0e0ebced763364690b4267260cd309", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(2, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0x5204a7e0786ea8217648e4272aa56b6d847bd53532d86171cbc6d20cf2cee9d8, 0x1452f65b89b0a7f28defed2d715a510c710882c334e6f4de4abf03d8f4264104)]" + ], + "transaction": { + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001c5204a7e0786ea8217648e4272aa56b6d847bd53532d86171cbc6d20cf2cee9d81452f65b89b0a7f28defed2d715a510c710882c334e6f4de4abf03d8f4264104", + "nonce": "0x6f", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0x0c36fdb3bdb4d8385afbafc4bb59426da98ab0c1c6f1341e70bfdad2fce21279", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "propose(uint256,uint256,address,address[],uint256[],bytes[],uint256[])", + "arguments": [ + "11155111", + "1725705492", + "0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa", + "[0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e]", + "[0, 0]", + "[0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5]", + "[2000000, 1000000]" + ], + "transaction": { + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x47f40", + "value": "0x0", + "input": "0x15702f050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000540000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "nonce": "0x26c", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": "0x40890869d7e48be02665c7f884f4e45690c1d9ec17b6419eb1f67459ffad247e", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(3, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0x63dbc80da9a42dfeb3aba03340aeca12a21210840be49e4489e20d3412e032ac, 0x74151544f44e6c5c6315cd7714aa0038d4102e1edf4617909ea772188b308886)]" + ], + "transaction": { + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001b63dbc80da9a42dfeb3aba03340aeca12a21210840be49e4489e20d3412e032ac74151544f44e6c5c6315cd7714aa0038d4102e1edf4617909ea772188b308886", + "nonce": "0x6f", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0x98120caabb26c7513523b2bbf9bcdfc33da8d90849c904f7afdb3c3f21da89be", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(3, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0x67fc1842edea076b879613dc6c3254322d178332186511519e13cd8fa22cf0ec, 0x351d97e58c9d7ced59f877ec08c45723571079c17586c035ef957a39778077c6)]" + ], + "transaction": { + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001c67fc1842edea076b879613dc6c3254322d178332186511519e13cd8fa22cf0ec351d97e58c9d7ced59f877ec08c45723571079c17586c035ef957a39778077c6", + "nonce": "0x7f", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0xb904de99cac4a00b47462fd9df929eb6850da920050d70e5b5b57be3daf38c6c", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(3, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0x42d9cc61eb0024e50cc769314d54872819662586855c734fac8218d0ca0600f7, 0x21b4fd5bde6b70c881e3d3d6bf219f4f43688f15634c9d126787eab6f56241d9)]" + ], + "transaction": { + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001c42d9cc61eb0024e50cc769314d54872819662586855c734fac8218d0ca0600f721b4fd5bde6b70c881e3d3d6bf219f4f43688f15634c9d126787eab6f56241d9", + "nonce": "0x70", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0x152fb436789dde9e3bbf363be54ab658fa91fa8e8dbad63a015f01019b8f88eb", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "propose(uint256,uint256,address,address[],uint256[],bytes[],uint256[])", + "arguments": [ + "11155111", + "1725705492", + "0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa", + "[0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e]", + "[0, 0]", + "[0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5]", + "[2000000, 1000000]" + ], + "transaction": { + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x47f40", + "value": "0x0", + "input": "0x15702f050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000540000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "nonce": "0x26d", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": "0x16a2259e78065bcdc6b84e0b141c20e34291e44b8162c635986667ac6e0a7654", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(4, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0x1fab1aa8be6915f21deaa29383b0054e12a8210a2e8277856f4add214f193f07, 0x6e0c49689afa269fcb8b0450c8ce5fc143a479cc73e425b12f8f54e391015be5)]" + ], + "transaction": { + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001c1fab1aa8be6915f21deaa29383b0054e12a8210a2e8277856f4add214f193f076e0c49689afa269fcb8b0450c8ce5fc143a479cc73e425b12f8f54e391015be5", + "nonce": "0x70", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0x026b228f879bc4ccda33aa6422d382fc05e071506a3d97d7a31eefac3b195412", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(4, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0x161baa5c0432a9e79e1f8bfc86d74280e1e6124f6600f77f242dc413ad4ecb0f, 0x28812d5adbf221bb6701886e580191da0cbbc0103ed087a9e0641df5186427aa)]" + ], + "transaction": { + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001b161baa5c0432a9e79e1f8bfc86d74280e1e6124f6600f77f242dc413ad4ecb0f28812d5adbf221bb6701886e580191da0cbbc0103ed087a9e0641df5186427aa", + "nonce": "0x80", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0x4d5e647ebc3e8b9c5751b8a615b03354558e48d1ea8d864ce826fe2aad4dfb9f", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(4, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0xf711ef88d1eaeb30e77326cbf17de2eaacf5c48c2d37c0ec799dd16ba3f15b4c, 0x3c0729b1f75a49ce4fdde3701ba94fc106de17dd1bbb56b5a63ad3fc814b670d)]" + ], + "transaction": { + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001cf711ef88d1eaeb30e77326cbf17de2eaacf5c48c2d37c0ec799dd16ba3f15b4c3c0729b1f75a49ce4fdde3701ba94fc106de17dd1bbb56b5a63ad3fc814b670d", + "nonce": "0x71", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0x1348725ad520b3b444009d85a5cbd6222de87ddf7aa2e56997ae934ad12596ab", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "propose(uint256,uint256,address,address[],uint256[],bytes[],uint256[])", + "arguments": [ + "11155111", + "1725705492", + "0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa", + "[0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e]", + "[0, 0]", + "[0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5]", + "[2000000, 1000000]" + ], + "transaction": { + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x47f40", + "value": "0x0", + "input": "0x15702f050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000540000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "nonce": "0x26e", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": "0xf20edd5ad7a114f26e390583696b07e64c0813c04d9bd35c960d6e9c55239e77", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(5, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0x0fbb07145c3b5d47d5d1144b28b020c47992d3cbf06680a2d91c22259758179d, 0x1af264e74195c38cf7b19ccc147485ad9106e1546661b8536fc3e843b52fc0ba)]" + ], + "transaction": { + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001c0fbb07145c3b5d47d5d1144b28b020c47992d3cbf06680a2d91c22259758179d1af264e74195c38cf7b19ccc147485ad9106e1546661b8536fc3e843b52fc0ba", + "nonce": "0x71", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0x7ca56c6540d80fc3c36e94e83c63b1358d7b8a7c79b90222e7987b99c920bbbe", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(5, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0x775f08fb943eb14fab682f81ff280a5a9f24374b893d192e3b77e984c964cdfd, 0x61435ca7fae748ab2ac4f8d19929c8b67a499e528896ad9563853a06899093a1)]" + ], + "transaction": { + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001b775f08fb943eb14fab682f81ff280a5a9f24374b893d192e3b77e984c964cdfd61435ca7fae748ab2ac4f8d19929c8b67a499e528896ad9563853a06899093a1", + "nonce": "0x81", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0x4cf1612bb211febf95b9e61e816450ebfa0aca31eb7b5a2749d871df69aca279", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(5, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0x891abc0aab64c6fabf9ca090935ce6232f608fd895890270df10180dcf07a181, 0x033162578cf905dc655f39ee5218fb331d55ac9063ef31f514187da92de1f7ff)]" + ], + "transaction": { + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001c891abc0aab64c6fabf9ca090935ce6232f608fd895890270df10180dcf07a181033162578cf905dc655f39ee5218fb331d55ac9063ef31f514187da92de1f7ff", + "nonce": "0x72", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0xaf573b54d01aa972ab1454683254ab49da572ac80acfc988465e475dab02ca5c", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "propose(uint256,uint256,address,address[],uint256[],bytes[],uint256[])", + "arguments": [ + "11155111", + "1725705492", + "0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa", + "[0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e]", + "[0, 0]", + "[0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5]", + "[2000000, 1000000]" + ], + "transaction": { + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x47f40", + "value": "0x0", + "input": "0x15702f050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000540000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "nonce": "0x26f", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": "0xe8d3ca9dee68e5493df9b12188250852f3c789bc26d041f38ee2e73ac977407e", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(6, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0xb9d30aa5b7e6b743d3ae1efe05d13855e2bf8bea85e4befdb6678256047ddce1, 0x0426a59fb56f363e3481e9af61f92d02470631e515ddfd005af8f55ca71fc5e0)]" + ], + "transaction": { + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001cb9d30aa5b7e6b743d3ae1efe05d13855e2bf8bea85e4befdb6678256047ddce10426a59fb56f363e3481e9af61f92d02470631e515ddfd005af8f55ca71fc5e0", + "nonce": "0x72", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0xe9304cd23e83b87aaab1fa03391f1fb65ae8e92c47cf88b3c7b44ace8693022c", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(6, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0x4ae661e8cb6eda06b60402047ffd9c2fbf6bff581b348841db77f538c102b9e8, 0x5f6de0d913ac4a1c10e938a4b12f34dd803b2266112053c74a7e8e7c70f5391d)]" + ], + "transaction": { + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001c4ae661e8cb6eda06b60402047ffd9c2fbf6bff581b348841db77f538c102b9e85f6de0d913ac4a1c10e938a4b12f34dd803b2266112053c74a7e8e7c70f5391d", + "nonce": "0x82", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0xe3ebb5c1bd8ecac28a500fb8608ba43340bb16aa6f8937d390a9f9b1a82c4fb9", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(6, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0x215320ac5391b50bc7d2f737800e69d925854155f19a6342f88a628aab6dd122, 0x18479e703b6b400160839923617b1fafba588ce49247d6bdc0abcccf81a36b58)]" + ], + "transaction": { + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001b215320ac5391b50bc7d2f737800e69d925854155f19a6342f88a628aab6dd12218479e703b6b400160839923617b1fafba588ce49247d6bdc0abcccf81a36b58", + "nonce": "0x73", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0x741502b641a3026a3fdb70cf93d2e048083100dd2412add4f3cf797af2bd0926", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "propose(uint256,uint256,address,address[],uint256[],bytes[],uint256[])", + "arguments": [ + "11155111", + "1725705492", + "0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa", + "[0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e]", + "[0, 0]", + "[0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5]", + "[2000000, 1000000]" + ], + "transaction": { + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x47f40", + "value": "0x0", + "input": "0x15702f050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000540000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "nonce": "0x270", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": "0x9ba86581abf7d72980eabe8866e52adeffefea7d9618fb12b2a3825678443f4a", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(7, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0x68f1e533c7e8a5f400f451a3b47293397f7bd854dd8c778f37972260a259a8ba, 0x655781ec024f24869557ef79bb70b02d77f2a457fb5c6f89f5380c71eb9621c9)]" + ], + "transaction": { + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001b68f1e533c7e8a5f400f451a3b47293397f7bd854dd8c778f37972260a259a8ba655781ec024f24869557ef79bb70b02d77f2a457fb5c6f89f5380c71eb9621c9", + "nonce": "0x73", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0x52c3bf019e448dc151c18f29cd70cbc4f74f313a3d3a46aef6ebcb4e9fd90a29", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(7, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0xe9cf1c9b957b6f1798fa44b2aaa1b88f2c4318d6e5fc358ae4d3ef378c936dc8, 0x5ea3ff810d21367be87ab255fa31318fdc4420be5b668933c64d5b8e89556d88)]" + ], + "transaction": { + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001ce9cf1c9b957b6f1798fa44b2aaa1b88f2c4318d6e5fc358ae4d3ef378c936dc85ea3ff810d21367be87ab255fa31318fdc4420be5b668933c64d5b8e89556d88", + "nonce": "0x83", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0xa2bee1168ac47fe2edb1337d56dcee998dbbaababfdaf396969382bbb322a69d", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(7, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0x8a595143421770df8246fb656fd2d233fa6045f4703aeba59811f4fb96f5192b, 0x3f16c61104a046c6bb6c3ca47cbdb6b5d65a52d46294e5f7afc1fe5dd7ce364f)]" + ], + "transaction": { + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001c8a595143421770df8246fb656fd2d233fa6045f4703aeba59811f4fb96f5192b3f16c61104a046c6bb6c3ca47cbdb6b5d65a52d46294e5f7afc1fe5dd7ce364f", + "nonce": "0x74", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0xfcd466ce1a89a8914b2ecae3a1e778f38bcac556dcc5a8eb7e6a64a0734a5211", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "propose(uint256,uint256,address,address[],uint256[],bytes[],uint256[])", + "arguments": [ + "11155111", + "1725705492", + "0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa", + "[0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e]", + "[0, 0]", + "[0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5]", + "[2000000, 1000000]" + ], + "transaction": { + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x47f40", + "value": "0x0", + "input": "0x15702f050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000540000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "nonce": "0x271", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": "0x83bf4366e18ca7ca8aeafb86e182a6ea09f0f9fd6b8fe37474ba33d011fbd943", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(8, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0x1b6ab73c103a8796d3a5cb29a26b73f71a52d108bdf4644f7cf32ff7dd03bebc, 0x12b78a66216e1e5597d2508e52337e1f12dc134b88a0ac22db8a37fd52c3e420)]" + ], + "transaction": { + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001c1b6ab73c103a8796d3a5cb29a26b73f71a52d108bdf4644f7cf32ff7dd03bebc12b78a66216e1e5597d2508e52337e1f12dc134b88a0ac22db8a37fd52c3e420", + "nonce": "0x74", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0x400c9f29cf196e178a3e71d7ad687b3f3a2a5d513d5869f865b47ff67faa8908", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(8, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0x58d5bf707bea513c4a3f1744912a2fd228601baac586f01e60a4127796abaa1a, 0x2ac1e13eabff5501df8965df4a5bc5c81b4b37e73940d815f5bb8c895c7d0b4a)]" + ], + "transaction": { + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001b58d5bf707bea513c4a3f1744912a2fd228601baac586f01e60a4127796abaa1a2ac1e13eabff5501df8965df4a5bc5c81b4b37e73940d815f5bb8c895c7d0b4a", + "nonce": "0x84", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0x1c75e154b6c709f092488bfc7f80a32d545fb917e0ccdc6f798e2c264dada880", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(8, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0x7d2ccda4004b21bccf354892925257738c72c8554138068e5a7e051ab0437ef0, 0x57e5cde64467f7fafaacb2f757b0ca862b958abb2ce033459fb88056ba0d3b90)]" + ], + "transaction": { + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001b7d2ccda4004b21bccf354892925257738c72c8554138068e5a7e051ab0437ef057e5cde64467f7fafaacb2f757b0ca862b958abb2ce033459fb88056ba0d3b90", + "nonce": "0x75", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + } + ], + "receipts": [ + { + "status": "0x1", + "cumulativeGasUsed": "0x2380f", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x58f98006a7f2f253f8ae8f8b7cec9008ca05359633561cd7c22f3005682d4a55", + "0x0000000000000000000000000000000000000000000000000000000000000000" + ], + "data": "0x", + "blockHash": "0x59009c52aacc52e2da6365a18d297391da28638a63c4f933bfefd07a22d68873", + "blockNumber": "0x1ce7aab", + "transactionHash": "0xef0fee8825bac5f127c3cdb5a62c00ba08a6f5266933276323cc2f9b153fb1e6", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0xd1221ffb98610024a29755d7db3c71692310f43a7cfcce7ee488a8c7e9e0bfa4", + "0x0000000000000000000000000000000000000000000000000000000000aa36a7", + "0x0000000000000000000000000000000000000000000000000000000000000001", + "0x323b8b6fdc32ef42f1a1c60fb3c038197ccfbab67a002d471d59a562fbcf0121" + ], + "data": "0x0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "blockHash": "0x59009c52aacc52e2da6365a18d297391da28638a63c4f933bfefd07a22d68873", + "blockNumber": "0x1ce7aab", + "transactionHash": "0xef0fee8825bac5f127c3cdb5a62c00ba08a6f5266933276323cc2f9b153fb1e6", + "transactionIndex": "0x0", + "logIndex": "0x1", + "removed": false + } + ], + "logsBloom": "0x00000000000000010000000000000000000040000000000000000000000000000000000000000000100000000000000002000000000000000000010000040000000000000000000000000000000000000000000000040000000000000000000000000000020080000400000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000120000000000000000000200000000000000000000000400000000000000100000000000000000000000000060000000000000000000000000000000000000000000040000000000080000000000", + "type": "0x2", + "transactionHash": "0xef0fee8825bac5f127c3cdb5a62c00ba08a6f5266933276323cc2f9b153fb1e6", + "transactionIndex": "0x0", + "blockHash": "0x59009c52aacc52e2da6365a18d297391da28638a63c4f933bfefd07a22d68873", + "blockNumber": "0x1ce7aab", + "gasUsed": "0x2380f", + "effectiveGasPrice": "0x4a817c800", + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x3a97a", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x323b8b6fdc32ef42f1a1c60fb3c038197ccfbab67a002d471d59a562fbcf0121", + "0x000000000000000000000000b033ba62ec622dc54d0abfe0254e79692147ca26" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0x68212e9888c2317043de930331ca4e23a6f6a0437d0199324ba4129e6bf4a080", + "blockNumber": "0x1ce7aae", + "transactionHash": "0xcd3d3f5656eff85e5578973a9c4f2806b1a4eac492558e9e4058c57aa982ba52", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000004000000000000000000000000000000000000000000000000008000000000000080000410000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100400000000000000000000000000000000000000100400000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0xcd3d3f5656eff85e5578973a9c4f2806b1a4eac492558e9e4058c57aa982ba52", + "transactionIndex": "0x0", + "blockHash": "0x68212e9888c2317043de930331ca4e23a6f6a0437d0199324ba4129e6bf4a080", + "blockNumber": "0x1ce7aae", + "gasUsed": "0x3a97a", + "effectiveGasPrice": "0x4a817c800", + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x323e2", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x323b8b6fdc32ef42f1a1c60fb3c038197ccfbab67a002d471d59a562fbcf0121", + "0x000000000000000000000000087d08e3ba42e64e3948962dd1371f906d1278b9" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0x9e3bcf016aee61abf8ee4741ec13644390a10d3808266616a4e7249b082e0ddb", + "blockNumber": "0x1ce7ab1", + "transactionHash": "0xf574d9c7dc3e10120cd12964dd3ef5140ebb804b41d52dff6c97b5d2a4779591", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000010000000000000000000004000000000000000000000000000000000000000000000000000000000000000080000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000100400000000040000000000000000000000000000000400000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0xf574d9c7dc3e10120cd12964dd3ef5140ebb804b41d52dff6c97b5d2a4779591", + "transactionIndex": "0x0", + "blockHash": "0x9e3bcf016aee61abf8ee4741ec13644390a10d3808266616a4e7249b082e0ddb", + "blockNumber": "0x1ce7ab1", + "gasUsed": "0x323e2", + "effectiveGasPrice": "0x4a817c800", + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x37767", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x323b8b6fdc32ef42f1a1c60fb3c038197ccfbab67a002d471d59a562fbcf0121", + "0x00000000000000000000000052ec2e6bbce45afff8955da6410bb13812f4289f" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0x4225a9721518a2960a390e03590ec909812ab64d4873555979d4f7a8c2b54af1", + "blockNumber": "0x1ce7ab3", + "transactionHash": "0xa83c624e353e19558a06561183df4829fac65f1a4d49484c903003df632faf0e", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x5c819725ea53655a3b898f3df59b66489761935454e9212ca1e5ebd759953d0b", + "0x323b8b6fdc32ef42f1a1c60fb3c038197ccfbab67a002d471d59a562fbcf0121" + ], + "data": "0x", + "blockHash": "0x4225a9721518a2960a390e03590ec909812ab64d4873555979d4f7a8c2b54af1", + "blockNumber": "0x1ce7ab3", + "transactionHash": "0xa83c624e353e19558a06561183df4829fac65f1a4d49484c903003df632faf0e", + "transactionIndex": "0x0", + "logIndex": "0x1", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000080000000000000000002000000000000000000000000000000000000000010000000000000000000004000000000000000000000000000000000000000000000000000000000000000080000400000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000100400000000000000000010000000000000000000000400000000000000000000000000000000000000400000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0xa83c624e353e19558a06561183df4829fac65f1a4d49484c903003df632faf0e", + "transactionIndex": "0x0", + "blockHash": "0x4225a9721518a2960a390e03590ec909812ab64d4873555979d4f7a8c2b54af1", + "blockNumber": "0x1ce7ab3", + "gasUsed": "0x37767", + "effectiveGasPrice": "0x4a817c800", + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x1ffab", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x58f98006a7f2f253f8ae8f8b7cec9008ca05359633561cd7c22f3005682d4a55", + "0x0000000000000000000000000000000000000000000000000000000000000000" + ], + "data": "0x", + "blockHash": "0x772aa89d71e373a2cc63e5a9201e1b3ff916baa15b3bf25bb9bbc0957f8d4274", + "blockNumber": "0x1ce7ab6", + "transactionHash": "0x5deb929810f30261f1b40e7d6cfe9cc02196e5685d3d820166daac74c5c1eac0", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0xd1221ffb98610024a29755d7db3c71692310f43a7cfcce7ee488a8c7e9e0bfa4", + "0x0000000000000000000000000000000000000000000000000000000000aa36a7", + "0x0000000000000000000000000000000000000000000000000000000000000002", + "0x5507ff352d6c8200fec8cc2eee05d964aefb5a52f3f3115fbe1700b24047f306" + ], + "data": "0x0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "blockHash": "0x772aa89d71e373a2cc63e5a9201e1b3ff916baa15b3bf25bb9bbc0957f8d4274", + "blockNumber": "0x1ce7ab6", + "transactionHash": "0x5deb929810f30261f1b40e7d6cfe9cc02196e5685d3d820166daac74c5c1eac0", + "transactionIndex": "0x0", + "logIndex": "0x1", + "removed": false + } + ], + "logsBloom": "0x04000000020000010000000000000000000040000000000000000000000000000000000000000000300000000000000002000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000020080000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000100000000000000020000000000000000000200000000000000010000000000000000000000100000000000000000000000000020000000000000000000000000000000000000000000048000000000080000000000", + "type": "0x2", + "transactionHash": "0x5deb929810f30261f1b40e7d6cfe9cc02196e5685d3d820166daac74c5c1eac0", + "transactionIndex": "0x0", + "blockHash": "0x772aa89d71e373a2cc63e5a9201e1b3ff916baa15b3bf25bb9bbc0957f8d4274", + "blockNumber": "0x1ce7ab6", + "gasUsed": "0x1ffab", + "effectiveGasPrice": "0x4a817c800", + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x3a966", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x5507ff352d6c8200fec8cc2eee05d964aefb5a52f3f3115fbe1700b24047f306", + "0x000000000000000000000000b033ba62ec622dc54d0abfe0254e79692147ca26" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0xa39fa0728518a15220c9b15c514ddd989b4df60ce80f67952e4fdb9fc05308b9", + "blockNumber": "0x1ce7ab8", + "transactionHash": "0x139eedd42d18e643740e31665bee06bebc21f63be4df8992a81782f0a4b0abc8", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + } + ], + "logsBloom": "0x00000000020000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000010000000000000000000004000000000000000000000000000000000000000000000000008000000000000080000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000010000100000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0x139eedd42d18e643740e31665bee06bebc21f63be4df8992a81782f0a4b0abc8", + "transactionIndex": "0x0", + "blockHash": "0xa39fa0728518a15220c9b15c514ddd989b4df60ce80f67952e4fdb9fc05308b9", + "blockNumber": "0x1ce7ab8", + "gasUsed": "0x3a966", + "effectiveGasPrice": "0x4a817c800", + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x323ce", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x5507ff352d6c8200fec8cc2eee05d964aefb5a52f3f3115fbe1700b24047f306", + "0x000000000000000000000000087d08e3ba42e64e3948962dd1371f906d1278b9" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0x17144515851505e0943780a5206aff96cde5f822f359672c55d7e70af77c4b07", + "blockNumber": "0x1ce7aba", + "transactionHash": "0x54c3bf4b20415f950424f08d8ed67ecc4c48cf2f64551e6e38a1b96226b13795", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + } + ], + "logsBloom": "0x00000000020000000000000000000000000000000000000000000000000000000000000000000000200000000000000000400000000000000000010000000000000000000004000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000400000000040000000000000000000000010000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0x54c3bf4b20415f950424f08d8ed67ecc4c48cf2f64551e6e38a1b96226b13795", + "transactionIndex": "0x0", + "blockHash": "0x17144515851505e0943780a5206aff96cde5f822f359672c55d7e70af77c4b07", + "blockNumber": "0x1ce7aba", + "gasUsed": "0x323ce", + "effectiveGasPrice": "0x4a817c800", + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x37767", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x5507ff352d6c8200fec8cc2eee05d964aefb5a52f3f3115fbe1700b24047f306", + "0x00000000000000000000000052ec2e6bbce45afff8955da6410bb13812f4289f" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0xfd0d31ecdf6a055be23f3bb2ecb42b12e18dd100e6d54813973a8c9e773fefb7", + "blockNumber": "0x1ce7abd", + "transactionHash": "0xd106122ece2f2cb9d1f6677e020e22eeba0e0ebced763364690b4267260cd309", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x5c819725ea53655a3b898f3df59b66489761935454e9212ca1e5ebd759953d0b", + "0x5507ff352d6c8200fec8cc2eee05d964aefb5a52f3f3115fbe1700b24047f306" + ], + "data": "0x", + "blockHash": "0xfd0d31ecdf6a055be23f3bb2ecb42b12e18dd100e6d54813973a8c9e773fefb7", + "blockNumber": "0x1ce7abd", + "transactionHash": "0xd106122ece2f2cb9d1f6677e020e22eeba0e0ebced763364690b4267260cd309", + "transactionIndex": "0x0", + "logIndex": "0x1", + "removed": false + } + ], + "logsBloom": "0x00000000020000000000000000000000000000000000000000000000080000000000000000002000200000000000000000000000000000000000010000000000000000000004000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000400000000000000000010000000000000010000000000000000000000000000000000000000000000400000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0xd106122ece2f2cb9d1f6677e020e22eeba0e0ebced763364690b4267260cd309", + "transactionIndex": "0x0", + "blockHash": "0xfd0d31ecdf6a055be23f3bb2ecb42b12e18dd100e6d54813973a8c9e773fefb7", + "blockNumber": "0x1ce7abd", + "gasUsed": "0x37767", + "effectiveGasPrice": "0x4a817c800", + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x1ffab", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x58f98006a7f2f253f8ae8f8b7cec9008ca05359633561cd7c22f3005682d4a55", + "0x0000000000000000000000000000000000000000000000000000000000000000" + ], + "data": "0x", + "blockHash": "0xced39a6cf8ac5067457be65aee770dca8dd09ee76ed4ae36b4978e479425cf65", + "blockNumber": "0x1ce7abf", + "transactionHash": "0x0c36fdb3bdb4d8385afbafc4bb59426da98ab0c1c6f1341e70bfdad2fce21279", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0xd1221ffb98610024a29755d7db3c71692310f43a7cfcce7ee488a8c7e9e0bfa4", + "0x0000000000000000000000000000000000000000000000000000000000aa36a7", + "0x0000000000000000000000000000000000000000000000000000000000000003", + "0x0ea3ca1100ccab993a84be42bfac15f0682ee1dafa8e4d995efe996b9ebd3332" + ], + "data": "0x0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "blockHash": "0xced39a6cf8ac5067457be65aee770dca8dd09ee76ed4ae36b4978e479425cf65", + "blockNumber": "0x1ce7abf", + "transactionHash": "0x0c36fdb3bdb4d8385afbafc4bb59426da98ab0c1c6f1341e70bfdad2fce21279", + "transactionIndex": "0x0", + "logIndex": "0x1", + "removed": false + } + ], + "logsBloom": "0x00000000000000010000000000000000000040000000000000000000000000000000000000000000100000000000000002000000020000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000020080000000000000000800000000000000000000000000000000000000000000000000000800002000000000000000000000000000000004000000000000000000000000008000000000000000020000800000000000000200400000000000000000000000000000000000100000000000000000000000000020000000000000000000000000000000000000000000040000000000080000000000", + "type": "0x2", + "transactionHash": "0x0c36fdb3bdb4d8385afbafc4bb59426da98ab0c1c6f1341e70bfdad2fce21279", + "transactionIndex": "0x0", + "blockHash": "0xced39a6cf8ac5067457be65aee770dca8dd09ee76ed4ae36b4978e479425cf65", + "blockNumber": "0x1ce7abf", + "gasUsed": "0x1ffab", + "effectiveGasPrice": "0x4a817c800", + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x3a95a", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x0ea3ca1100ccab993a84be42bfac15f0682ee1dafa8e4d995efe996b9ebd3332", + "0x000000000000000000000000b033ba62ec622dc54d0abfe0254e79692147ca26" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0xbb1abdbdacc65a9c5ff1d75fcb55478c4270018b31a5f161fc3e56551d9b3ba7", + "blockNumber": "0x1ce7ac2", + "transactionHash": "0x40890869d7e48be02665c7f884f4e45690c1d9ec17b6419eb1f67459ffad247e", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000004000000000000000000000000000000000000000000000000008000000000000080000010000000000000000000000000000000000000000000000000000000000000000800002000000000000000000000000000000000000000000000000000000000008000000000000000000400000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0x40890869d7e48be02665c7f884f4e45690c1d9ec17b6419eb1f67459ffad247e", + "transactionIndex": "0x0", + "blockHash": "0xbb1abdbdacc65a9c5ff1d75fcb55478c4270018b31a5f161fc3e56551d9b3ba7", + "blockNumber": "0x1ce7ac2", + "gasUsed": "0x3a95a", + "effectiveGasPrice": "0x4a817c800", + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x323e2", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x0ea3ca1100ccab993a84be42bfac15f0682ee1dafa8e4d995efe996b9ebd3332", + "0x000000000000000000000000087d08e3ba42e64e3948962dd1371f906d1278b9" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0x6cc3b663f477b38de949b7795738581de9761f09d38c03be91b88ba577b271b3", + "blockNumber": "0x1ce7ac4", + "transactionHash": "0x98120caabb26c7513523b2bbf9bcdfc33da8d90849c904f7afdb3c3f21da89be", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000010000000000000000000004000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000800002000000000000000000000000000000000000000000000000000000000008000000800000000000400000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0x98120caabb26c7513523b2bbf9bcdfc33da8d90849c904f7afdb3c3f21da89be", + "transactionIndex": "0x0", + "blockHash": "0x6cc3b663f477b38de949b7795738581de9761f09d38c03be91b88ba577b271b3", + "blockNumber": "0x1ce7ac4", + "gasUsed": "0x323e2", + "effectiveGasPrice": "0x4a817c800", + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x3774f", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x0ea3ca1100ccab993a84be42bfac15f0682ee1dafa8e4d995efe996b9ebd3332", + "0x00000000000000000000000052ec2e6bbce45afff8955da6410bb13812f4289f" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0x2f60eb8ad005b974ae81c84868329f84896ce0f825d352b85e553205a3f295ba", + "blockNumber": "0x1ce7ac7", + "transactionHash": "0xb904de99cac4a00b47462fd9df929eb6850da920050d70e5b5b57be3daf38c6c", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x5c819725ea53655a3b898f3df59b66489761935454e9212ca1e5ebd759953d0b", + "0x0ea3ca1100ccab993a84be42bfac15f0682ee1dafa8e4d995efe996b9ebd3332" + ], + "data": "0x", + "blockHash": "0x2f60eb8ad005b974ae81c84868329f84896ce0f825d352b85e553205a3f295ba", + "blockNumber": "0x1ce7ac7", + "transactionHash": "0xb904de99cac4a00b47462fd9df929eb6850da920050d70e5b5b57be3daf38c6c", + "transactionIndex": "0x0", + "logIndex": "0x1", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000080000000000000000002000000000000000000000000000000000000000010000000000000000000004000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000020000000000000000000000000000000000000800002000000000000000000000000000000000000000000000000000000000008080000000000000000400000000000000000010000000000000000000000000000000000000000000000000000000000000400000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0xb904de99cac4a00b47462fd9df929eb6850da920050d70e5b5b57be3daf38c6c", + "transactionIndex": "0x0", + "blockHash": "0x2f60eb8ad005b974ae81c84868329f84896ce0f825d352b85e553205a3f295ba", + "blockNumber": "0x1ce7ac7", + "gasUsed": "0x3774f", + "effectiveGasPrice": "0x4a817c800", + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x1ffab", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x58f98006a7f2f253f8ae8f8b7cec9008ca05359633561cd7c22f3005682d4a55", + "0x0000000000000000000000000000000000000000000000000000000000000000" + ], + "data": "0x", + "blockHash": "0x11da07b253577f6ca7cb5ba7cd2c4e81a53c78d40caff5c657f06bd1832b1cb9", + "blockNumber": "0x1ce7ac9", + "transactionHash": "0x152fb436789dde9e3bbf363be54ab658fa91fa8e8dbad63a015f01019b8f88eb", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0xd1221ffb98610024a29755d7db3c71692310f43a7cfcce7ee488a8c7e9e0bfa4", + "0x0000000000000000000000000000000000000000000000000000000000aa36a7", + "0x0000000000000000000000000000000000000000000000000000000000000004", + "0xec02cf9bee1519bca3863221631cef601044449f00a163dfd4c5b1e5d25c52f9" + ], + "data": "0x0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "blockHash": "0x11da07b253577f6ca7cb5ba7cd2c4e81a53c78d40caff5c657f06bd1832b1cb9", + "blockNumber": "0x1ce7ac9", + "transactionHash": "0x152fb436789dde9e3bbf363be54ab658fa91fa8e8dbad63a015f01019b8f88eb", + "transactionIndex": "0x0", + "logIndex": "0x1", + "removed": false + } + ], + "logsBloom": "0x00000000000000010000000000000000000040000000000000000000000000000000000000000000100000000000000002000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000008000000030080000000000000000800000000000000000000000000000000000000000000000000000800000000000200000000000000000000000004000000000000000000000000000000000000000000020000000000002000000200000000000000000000000000000000000000100000008000000000000000000020000000000000000000000000000000000000000000040000000000080000000000", + "type": "0x2", + "transactionHash": "0x152fb436789dde9e3bbf363be54ab658fa91fa8e8dbad63a015f01019b8f88eb", + "transactionIndex": "0x0", + "blockHash": "0x11da07b253577f6ca7cb5ba7cd2c4e81a53c78d40caff5c657f06bd1832b1cb9", + "blockNumber": "0x1ce7ac9", + "gasUsed": "0x1ffab", + "effectiveGasPrice": "0x4a817c800", + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x3a97a", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0xec02cf9bee1519bca3863221631cef601044449f00a163dfd4c5b1e5d25c52f9", + "0x000000000000000000000000b033ba62ec622dc54d0abfe0254e79692147ca26" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0x328dc49609a79a3c01d045e39fd5b01774642e357a763932085e1fb364fd9209", + "blockNumber": "0x1ce7acc", + "transactionHash": "0x16a2259e78065bcdc6b84e0b141c20e34291e44b8162c635986667ac6e0a7654", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000004000000000000000000000000000000000000000000000000008000000000010080000010000000000000000000000000000000000000000000000000000000000000000800000000000200000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0x16a2259e78065bcdc6b84e0b141c20e34291e44b8162c635986667ac6e0a7654", + "transactionIndex": "0x0", + "blockHash": "0x328dc49609a79a3c01d045e39fd5b01774642e357a763932085e1fb364fd9209", + "blockNumber": "0x1ce7acc", + "gasUsed": "0x3a97a", + "effectiveGasPrice": "0x4a817c800", + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x323c2", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0xec02cf9bee1519bca3863221631cef601044449f00a163dfd4c5b1e5d25c52f9", + "0x000000000000000000000000087d08e3ba42e64e3948962dd1371f906d1278b9" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0xf78c46e8d2eca03f67838492c52081931bfafa58f022609adb3ce29d2ed3eb7c", + "blockNumber": "0x1ce7ace", + "transactionHash": "0x026b228f879bc4ccda33aa6422d382fc05e071506a3d97d7a31eefac3b195412", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000010000000000000000000004000000000000000000000000000000000000000000000000000000000000010080000000000000000000000000000000000000000000000000000000000000000000000800000000000200000000000000000000000000000000000000000000000000000000000800000000000400000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0x026b228f879bc4ccda33aa6422d382fc05e071506a3d97d7a31eefac3b195412", + "transactionIndex": "0x0", + "blockHash": "0xf78c46e8d2eca03f67838492c52081931bfafa58f022609adb3ce29d2ed3eb7c", + "blockNumber": "0x1ce7ace", + "gasUsed": "0x323c2", + "effectiveGasPrice": "0x4a817c800", + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x37767", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0xec02cf9bee1519bca3863221631cef601044449f00a163dfd4c5b1e5d25c52f9", + "0x00000000000000000000000052ec2e6bbce45afff8955da6410bb13812f4289f" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0xc4ae17a86c89e191d72a66dffddb92d10fdd855e7ff77f2e17ac47378cdc0f4d", + "blockNumber": "0x1ce7ad0", + "transactionHash": "0x4d5e647ebc3e8b9c5751b8a615b03354558e48d1ea8d864ce826fe2aad4dfb9f", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x5c819725ea53655a3b898f3df59b66489761935454e9212ca1e5ebd759953d0b", + "0xec02cf9bee1519bca3863221631cef601044449f00a163dfd4c5b1e5d25c52f9" + ], + "data": "0x", + "blockHash": "0xc4ae17a86c89e191d72a66dffddb92d10fdd855e7ff77f2e17ac47378cdc0f4d", + "blockNumber": "0x1ce7ad0", + "transactionHash": "0x4d5e647ebc3e8b9c5751b8a615b03354558e48d1ea8d864ce826fe2aad4dfb9f", + "transactionIndex": "0x0", + "logIndex": "0x1", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000080000000000000000002000000000000000000000000000000000000000010000000000000000000004000000000000000000000000000000000000000000000000000000000000010080000000000000000000000000000000020000000000000000000000000000000000000800000000000200000000000000000000000000000000000000000000000000000080000000000000000400000000000000000010000000000000000000000000000000000000000000000000000000000000400000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0x4d5e647ebc3e8b9c5751b8a615b03354558e48d1ea8d864ce826fe2aad4dfb9f", + "transactionIndex": "0x0", + "blockHash": "0xc4ae17a86c89e191d72a66dffddb92d10fdd855e7ff77f2e17ac47378cdc0f4d", + "blockNumber": "0x1ce7ad0", + "gasUsed": "0x37767", + "effectiveGasPrice": "0x4a817c800", + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x1ffab", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x58f98006a7f2f253f8ae8f8b7cec9008ca05359633561cd7c22f3005682d4a55", + "0x0000000000000000000000000000000000000000000000000000000000000000" + ], + "data": "0x", + "blockHash": "0xb7fdb913df4b43fa6f58b636d377740dd6b58ffd08513b0741fc9bf44acbda4a", + "blockNumber": "0x1ce7ad3", + "transactionHash": "0x1348725ad520b3b444009d85a5cbd6222de87ddf7aa2e56997ae934ad12596ab", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0xd1221ffb98610024a29755d7db3c71692310f43a7cfcce7ee488a8c7e9e0bfa4", + "0x0000000000000000000000000000000000000000000000000000000000aa36a7", + "0x0000000000000000000000000000000000000000000000000000000000000005", + "0x95a9824a7896fe5f85a19ed943ed8ed85e21def2ffc349465fb4a80c681126cc" + ], + "data": "0x0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "blockHash": "0xb7fdb913df4b43fa6f58b636d377740dd6b58ffd08513b0741fc9bf44acbda4a", + "blockNumber": "0x1ce7ad3", + "transactionHash": "0x1348725ad520b3b444009d85a5cbd6222de87ddf7aa2e56997ae934ad12596ab", + "transactionIndex": "0x0", + "logIndex": "0x1", + "removed": false + } + ], + "logsBloom": "0x00000000000000010000000000000000000040000000000000000000000000000000000000000000100000000000000002000000000000000000010000000000000010400000000000000000000000000000000000000000000000000000000000000000020080000000000000000800000000000000000000000000000000000000000000000000000000000000001000000800000000000000000024000000000000000000000000000000000000000000020000000000000000000200000000000000000000000100000000000000100000000000000000000000000020000000000000000000000000000000000000000000040000000000080000000000", + "type": "0x2", + "transactionHash": "0x1348725ad520b3b444009d85a5cbd6222de87ddf7aa2e56997ae934ad12596ab", + "transactionIndex": "0x0", + "blockHash": "0xb7fdb913df4b43fa6f58b636d377740dd6b58ffd08513b0741fc9bf44acbda4a", + "blockNumber": "0x1ce7ad3", + "gasUsed": "0x1ffab", + "effectiveGasPrice": "0x4a817c800", + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x3a97a", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x95a9824a7896fe5f85a19ed943ed8ed85e21def2ffc349465fb4a80c681126cc", + "0x000000000000000000000000b033ba62ec622dc54d0abfe0254e79692147ca26" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0x749a95e469c0b0ce162775b18f0f3e7d66accb9d2f8810ae890135a120ed8fe4", + "blockNumber": "0x1ce7ad5", + "transactionHash": "0xf20edd5ad7a114f26e390583696b07e64c0813c04d9bd35c960d6e9c55239e77", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000400004000000000000000000000000000000000000000000000000008000000000000080000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000400000000000000000000000000000000000000100100000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0xf20edd5ad7a114f26e390583696b07e64c0813c04d9bd35c960d6e9c55239e77", + "transactionIndex": "0x0", + "blockHash": "0x749a95e469c0b0ce162775b18f0f3e7d66accb9d2f8810ae890135a120ed8fe4", + "blockNumber": "0x1ce7ad5", + "gasUsed": "0x3a97a", + "effectiveGasPrice": "0x4a817c800", + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x323ce", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x95a9824a7896fe5f85a19ed943ed8ed85e21def2ffc349465fb4a80c681126cc", + "0x000000000000000000000000087d08e3ba42e64e3948962dd1371f906d1278b9" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0xb5b01c0d4fb434087291f9895e23e8c140d96d9c8fda3212f3072e42ffd53620", + "blockNumber": "0x1ce7ad8", + "transactionHash": "0x7ca56c6540d80fc3c36e94e83c63b1358d7b8a7c79b90222e7987b99c920bbbe", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000010000000000000000400004000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000800000000000400000000040000000000000000000000000000000100000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0x7ca56c6540d80fc3c36e94e83c63b1358d7b8a7c79b90222e7987b99c920bbbe", + "transactionIndex": "0x0", + "blockHash": "0xb5b01c0d4fb434087291f9895e23e8c140d96d9c8fda3212f3072e42ffd53620", + "blockNumber": "0x1ce7ad8", + "gasUsed": "0x323ce", + "effectiveGasPrice": "0x4a817c800", + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x37767", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x95a9824a7896fe5f85a19ed943ed8ed85e21def2ffc349465fb4a80c681126cc", + "0x00000000000000000000000052ec2e6bbce45afff8955da6410bb13812f4289f" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0x650ac8bf76bd5f60aa3cee48c11263610c0a787338dec603b39a3f519d0ec8c5", + "blockNumber": "0x1ce7ada", + "transactionHash": "0x4cf1612bb211febf95b9e61e816450ebfa0aca31eb7b5a2749d871df69aca279", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x5c819725ea53655a3b898f3df59b66489761935454e9212ca1e5ebd759953d0b", + "0x95a9824a7896fe5f85a19ed943ed8ed85e21def2ffc349465fb4a80c681126cc" + ], + "data": "0x", + "blockHash": "0x650ac8bf76bd5f60aa3cee48c11263610c0a787338dec603b39a3f519d0ec8c5", + "blockNumber": "0x1ce7ada", + "transactionHash": "0x4cf1612bb211febf95b9e61e816450ebfa0aca31eb7b5a2749d871df69aca279", + "transactionIndex": "0x0", + "logIndex": "0x1", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000080000000000000000002000000000000000000000000000000000000000010000000000000000400004000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000080000000000000000400000000000000000010000000000000000000000100000000000000000000000000000000000000400000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0x4cf1612bb211febf95b9e61e816450ebfa0aca31eb7b5a2749d871df69aca279", + "transactionIndex": "0x0", + "blockHash": "0x650ac8bf76bd5f60aa3cee48c11263610c0a787338dec603b39a3f519d0ec8c5", + "blockNumber": "0x1ce7ada", + "gasUsed": "0x37767", + "effectiveGasPrice": "0x4a817c800", + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x1ffab", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x58f98006a7f2f253f8ae8f8b7cec9008ca05359633561cd7c22f3005682d4a55", + "0x0000000000000000000000000000000000000000000000000000000000000000" + ], + "data": "0x", + "blockHash": "0x251b209624fac505c4fd4249ffb2c8113deb7c6c7980217522b34ab65d2298ca", + "blockNumber": "0x1ce7adc", + "transactionHash": "0xaf573b54d01aa972ab1454683254ab49da572ac80acfc988465e475dab02ca5c", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0xd1221ffb98610024a29755d7db3c71692310f43a7cfcce7ee488a8c7e9e0bfa4", + "0x0000000000000000000000000000000000000000000000000000000000aa36a7", + "0x0000000000000000000000000000000000000000000000000000000000000006", + "0x89e089432a778a455231955ca88308798d20a015dd194fa153c4c35ba4e6b5a5" + ], + "data": "0x0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "blockHash": "0x251b209624fac505c4fd4249ffb2c8113deb7c6c7980217522b34ab65d2298ca", + "blockNumber": "0x1ce7adc", + "transactionHash": "0xaf573b54d01aa972ab1454683254ab49da572ac80acfc988465e475dab02ca5c", + "transactionIndex": "0x0", + "logIndex": "0x1", + "removed": false + } + ], + "logsBloom": "0x00000000000000010000001000000000000040000000000000000000000000000000000000000000100000000000000002000000000400000008010000000000000000000000000000000000000000000000000000000000000000000000000100000000020080000000000000000800000000000000000000000000000000000000000400000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000020000000000000000080200000000000000000000000000000000000000100000000000000000000000000020000000000000000000000000000000000000000000040000000000080000000000", + "type": "0x2", + "transactionHash": "0xaf573b54d01aa972ab1454683254ab49da572ac80acfc988465e475dab02ca5c", + "transactionIndex": "0x0", + "blockHash": "0x251b209624fac505c4fd4249ffb2c8113deb7c6c7980217522b34ab65d2298ca", + "blockNumber": "0x1ce7adc", + "gasUsed": "0x1ffab", + "effectiveGasPrice": "0x4a817c800", + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x3a96e", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x89e089432a778a455231955ca88308798d20a015dd194fa153c4c35ba4e6b5a5", + "0x000000000000000000000000b033ba62ec622dc54d0abfe0254e79692147ca26" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0xddd98102f672aacd257fb133708f63c993be73abd68420c9545f4447fbcfcb72", + "blockNumber": "0x1ce7adf", + "transactionHash": "0xe8d3ca9dee68e5493df9b12188250852f3c789bc26d041f38ee2e73ac977407e", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008010000000000000000000004000000000000000000000000000000000000000000000000008100000000000080000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0xe8d3ca9dee68e5493df9b12188250852f3c789bc26d041f38ee2e73ac977407e", + "transactionIndex": "0x0", + "blockHash": "0xddd98102f672aacd257fb133708f63c993be73abd68420c9545f4447fbcfcb72", + "blockNumber": "0x1ce7adf", + "gasUsed": "0x3a96e", + "effectiveGasPrice": "0x4a817c800", + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x323e2", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x89e089432a778a455231955ca88308798d20a015dd194fa153c4c35ba4e6b5a5", + "0x000000000000000000000000087d08e3ba42e64e3948962dd1371f906d1278b9" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0x171928e4d2082678c4dcbcd56ecfbbc0b96733dd2d3be1c42958fba6f097dd81", + "blockNumber": "0x1ce7ae1", + "transactionHash": "0xe9304cd23e83b87aaab1fa03391f1fb65ae8e92c47cf88b3c7b44ace8693022c", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000008010000000000000000000004000000000000000000000000000000000000000000000000000100000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000400000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0xe9304cd23e83b87aaab1fa03391f1fb65ae8e92c47cf88b3c7b44ace8693022c", + "transactionIndex": "0x0", + "blockHash": "0x171928e4d2082678c4dcbcd56ecfbbc0b96733dd2d3be1c42958fba6f097dd81", + "blockNumber": "0x1ce7ae1", + "gasUsed": "0x323e2", + "effectiveGasPrice": "0x4a817c800", + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x37753", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x89e089432a778a455231955ca88308798d20a015dd194fa153c4c35ba4e6b5a5", + "0x00000000000000000000000052ec2e6bbce45afff8955da6410bb13812f4289f" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0x65102a8d2cd0463c259c64363d7ee89ac02481e6b7bdb2cd58862de511b0158a", + "blockNumber": "0x1ce7ae4", + "transactionHash": "0xe3ebb5c1bd8ecac28a500fb8608ba43340bb16aa6f8937d390a9f9b1a82c4fb9", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x5c819725ea53655a3b898f3df59b66489761935454e9212ca1e5ebd759953d0b", + "0x89e089432a778a455231955ca88308798d20a015dd194fa153c4c35ba4e6b5a5" + ], + "data": "0x", + "blockHash": "0x65102a8d2cd0463c259c64363d7ee89ac02481e6b7bdb2cd58862de511b0158a", + "blockNumber": "0x1ce7ae4", + "transactionHash": "0xe3ebb5c1bd8ecac28a500fb8608ba43340bb16aa6f8937d390a9f9b1a82c4fb9", + "transactionIndex": "0x0", + "logIndex": "0x1", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000001000000000000000000000000000000000080000000000000000002000000000000000000000000000000000000008010000000000000000000004000000000000000000000000000000000000000000000000000100000000000080000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000400000000000000000010000000000000000000000000000000000000000000000000000000000000400000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0xe3ebb5c1bd8ecac28a500fb8608ba43340bb16aa6f8937d390a9f9b1a82c4fb9", + "transactionIndex": "0x0", + "blockHash": "0x65102a8d2cd0463c259c64363d7ee89ac02481e6b7bdb2cd58862de511b0158a", + "blockNumber": "0x1ce7ae4", + "gasUsed": "0x37753", + "effectiveGasPrice": "0x4a817c800", + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x1ffab", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x58f98006a7f2f253f8ae8f8b7cec9008ca05359633561cd7c22f3005682d4a55", + "0x0000000000000000000000000000000000000000000000000000000000000000" + ], + "data": "0x", + "blockHash": "0xf7c173689c0a936bbf341d4e2e503a76bf762a2b1959608956d97aa2be32b65e", + "blockNumber": "0x1ce7ae6", + "transactionHash": "0x741502b641a3026a3fdb70cf93d2e048083100dd2412add4f3cf797af2bd0926", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0xd1221ffb98610024a29755d7db3c71692310f43a7cfcce7ee488a8c7e9e0bfa4", + "0x0000000000000000000000000000000000000000000000000000000000aa36a7", + "0x0000000000000000000000000000000000000000000000000000000000000007", + "0x94c6551fd8a1f7c0cbe163882186f10f1e9e443aa8f6697be2642146b76c9c7f" + ], + "data": "0x0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "blockHash": "0xf7c173689c0a936bbf341d4e2e503a76bf762a2b1959608956d97aa2be32b65e", + "blockNumber": "0x1ce7ae6", + "transactionHash": "0x741502b641a3026a3fdb70cf93d2e048083100dd2412add4f3cf797af2bd0926", + "transactionIndex": "0x0", + "logIndex": "0x1", + "removed": false + } + ], + "logsBloom": "0x00000000000000010000000000000000000040000000000000000000000000000000000000000000100000000000000002001000000000000000010000000000000020000000000000000000000000000000000000001000000000000000000000000000020080000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000100000020000000000000000000200000000000000000000000000000000000000100000008000000000000100000020000000000000000000000000000000000000000000040000000000080000000000", + "type": "0x2", + "transactionHash": "0x741502b641a3026a3fdb70cf93d2e048083100dd2412add4f3cf797af2bd0926", + "transactionIndex": "0x0", + "blockHash": "0xf7c173689c0a936bbf341d4e2e503a76bf762a2b1959608956d97aa2be32b65e", + "blockNumber": "0x1ce7ae6", + "gasUsed": "0x1ffab", + "effectiveGasPrice": "0x4a817c800", + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x3a95a", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x94c6551fd8a1f7c0cbe163882186f10f1e9e443aa8f6697be2642146b76c9c7f", + "0x000000000000000000000000b033ba62ec622dc54d0abfe0254e79692147ca26" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0xd8872e9ef944aa5017d8c44ceaa970ed19f82d1114ce058de2a9ea5ab1ea641e", + "blockNumber": "0x1ce7ae9", + "transactionHash": "0x9ba86581abf7d72980eabe8866e52adeffefea7d9618fb12b2a3825678443f4a", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000004000000000000000000000000000000001000000000000000008000000000000080000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000400000000000000000000000000000000000000100000000000000000000000008000000000000000000000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0x9ba86581abf7d72980eabe8866e52adeffefea7d9618fb12b2a3825678443f4a", + "transactionIndex": "0x0", + "blockHash": "0xd8872e9ef944aa5017d8c44ceaa970ed19f82d1114ce058de2a9ea5ab1ea641e", + "blockNumber": "0x1ce7ae9", + "gasUsed": "0x3a95a", + "effectiveGasPrice": "0x4a817c800", + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x323e2", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x94c6551fd8a1f7c0cbe163882186f10f1e9e443aa8f6697be2642146b76c9c7f", + "0x000000000000000000000000087d08e3ba42e64e3948962dd1371f906d1278b9" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0xce86751f0f1797ba2d6741bd56fb5edaac0e7cf6e0045a46a65307ebcae23389", + "blockNumber": "0x1ce7aeb", + "transactionHash": "0x52c3bf019e448dc151c18f29cd70cbc4f74f313a3d3a46aef6ebcb4e9fd90a29", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000010000000000000000000004000000000000000000000000000000001000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800100000000400000000040000000000000000000000000000000000000000000000000000008000000000000000000000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0x52c3bf019e448dc151c18f29cd70cbc4f74f313a3d3a46aef6ebcb4e9fd90a29", + "transactionIndex": "0x0", + "blockHash": "0xce86751f0f1797ba2d6741bd56fb5edaac0e7cf6e0045a46a65307ebcae23389", + "blockNumber": "0x1ce7aeb", + "gasUsed": "0x323e2", + "effectiveGasPrice": "0x4a817c800", + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x37767", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x94c6551fd8a1f7c0cbe163882186f10f1e9e443aa8f6697be2642146b76c9c7f", + "0x00000000000000000000000052ec2e6bbce45afff8955da6410bb13812f4289f" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0xf142b5453449b3f5c475705e4b4ce058a7a48d11c298d436ae7a1e1719bc562e", + "blockNumber": "0x1ce7aed", + "transactionHash": "0xa2bee1168ac47fe2edb1337d56dcee998dbbaababfdaf396969382bbb322a69d", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x5c819725ea53655a3b898f3df59b66489761935454e9212ca1e5ebd759953d0b", + "0x94c6551fd8a1f7c0cbe163882186f10f1e9e443aa8f6697be2642146b76c9c7f" + ], + "data": "0x", + "blockHash": "0xf142b5453449b3f5c475705e4b4ce058a7a48d11c298d436ae7a1e1719bc562e", + "blockNumber": "0x1ce7aed", + "transactionHash": "0xa2bee1168ac47fe2edb1337d56dcee998dbbaababfdaf396969382bbb322a69d", + "transactionIndex": "0x0", + "logIndex": "0x1", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000080000000000000000002000000000000000000000000000000000000000010000000000000000000004000000000000000000000000000000001000000000000000000000000000000080000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000100000000400000000000000000010000000000000000000000000000000000000000000008000000000000000400000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0xa2bee1168ac47fe2edb1337d56dcee998dbbaababfdaf396969382bbb322a69d", + "transactionIndex": "0x0", + "blockHash": "0xf142b5453449b3f5c475705e4b4ce058a7a48d11c298d436ae7a1e1719bc562e", + "blockNumber": "0x1ce7aed", + "gasUsed": "0x37767", + "effectiveGasPrice": "0x4a817c800", + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x1ffab", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x58f98006a7f2f253f8ae8f8b7cec9008ca05359633561cd7c22f3005682d4a55", + "0x0000000000000000000000000000000000000000000000000000000000000000" + ], + "data": "0x", + "blockHash": "0x5d2beed5c061e6d12f7b3928bf3c28530c79573ad7e52def2f81a0add23f249e", + "blockNumber": "0x1ce7af0", + "transactionHash": "0xfcd466ce1a89a8914b2ecae3a1e778f38bcac556dcc5a8eb7e6a64a0734a5211", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0xd1221ffb98610024a29755d7db3c71692310f43a7cfcce7ee488a8c7e9e0bfa4", + "0x0000000000000000000000000000000000000000000000000000000000aa36a7", + "0x0000000000000000000000000000000000000000000000000000000000000008", + "0x542f045d1006aac1236214af607f5820cd45f008a1d00e1a93acaeb2c8caa68c" + ], + "data": "0x0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "blockHash": "0x5d2beed5c061e6d12f7b3928bf3c28530c79573ad7e52def2f81a0add23f249e", + "blockNumber": "0x1ce7af0", + "transactionHash": "0xfcd466ce1a89a8914b2ecae3a1e778f38bcac556dcc5a8eb7e6a64a0734a5211", + "transactionIndex": "0x0", + "logIndex": "0x1", + "removed": false + } + ], + "logsBloom": "0x00000000000000010000000000000000000040000000000000000000000000000000000000000000100000000000000002000000000080000000010000000000000000000000000000000000000000000000000000000000000000200000000000000000020080000000000000000800001000000000000000000000000000000080000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000020000000000000000000200000040000000000000000000000000000000100000000000000000000000000020200000000000000000000000000000000000000000040000000000080000000000", + "type": "0x2", + "transactionHash": "0xfcd466ce1a89a8914b2ecae3a1e778f38bcac556dcc5a8eb7e6a64a0734a5211", + "transactionIndex": "0x0", + "blockHash": "0x5d2beed5c061e6d12f7b3928bf3c28530c79573ad7e52def2f81a0add23f249e", + "blockNumber": "0x1ce7af0", + "gasUsed": "0x1ffab", + "effectiveGasPrice": "0x4a817c800", + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x3a97a", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x542f045d1006aac1236214af607f5820cd45f008a1d00e1a93acaeb2c8caa68c", + "0x000000000000000000000000b033ba62ec622dc54d0abfe0254e79692147ca26" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0xfbc220dd5ca0193586604e963f835388d2d4a058d53c038706e14ab5749eb6e3", + "blockNumber": "0x1ce7af2", + "transactionHash": "0x83bf4366e18ca7ca8aeafb86e182a6ea09f0f9fd6b8fe37474ba33d011fbd943", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000004000000000000000000000000000000000000000000200000008000000000000080000010000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000100000000000000000000000000000000000000000000000200000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0x83bf4366e18ca7ca8aeafb86e182a6ea09f0f9fd6b8fe37474ba33d011fbd943", + "transactionIndex": "0x0", + "blockHash": "0xfbc220dd5ca0193586604e963f835388d2d4a058d53c038706e14ab5749eb6e3", + "blockNumber": "0x1ce7af2", + "gasUsed": "0x3a97a", + "effectiveGasPrice": "0x4a817c800", + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x323ce", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x542f045d1006aac1236214af607f5820cd45f008a1d00e1a93acaeb2c8caa68c", + "0x000000000000000000000000087d08e3ba42e64e3948962dd1371f906d1278b9" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0x15f2223c07af3767956f4848edfb02ef7c2ac6f03c2964d5774467bbe711e203", + "blockNumber": "0x1ce7af5", + "transactionHash": "0x400c9f29cf196e178a3e71d7ad687b3f3a2a5d513d5869f865b47ff67faa8908", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000010000000000000000000004000000000000000000000000000000000000000000200000000000000000000080000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000400000000040000000000000000000000000000000000000000000000000000000000000000000000000000200000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0x400c9f29cf196e178a3e71d7ad687b3f3a2a5d513d5869f865b47ff67faa8908", + "transactionIndex": "0x0", + "blockHash": "0x15f2223c07af3767956f4848edfb02ef7c2ac6f03c2964d5774467bbe711e203", + "blockNumber": "0x1ce7af5", + "gasUsed": "0x323ce", + "effectiveGasPrice": "0x4a817c800", + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x37747", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x542f045d1006aac1236214af607f5820cd45f008a1d00e1a93acaeb2c8caa68c", + "0x00000000000000000000000052ec2e6bbce45afff8955da6410bb13812f4289f" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0xece3779d537108825e21eb381b3655f748d77bcc5c1ac62afb55c3302822501a", + "blockNumber": "0x1ce7af7", + "transactionHash": "0x1c75e154b6c709f092488bfc7f80a32d545fb917e0ccdc6f798e2c264dada880", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x5c819725ea53655a3b898f3df59b66489761935454e9212ca1e5ebd759953d0b", + "0x542f045d1006aac1236214af607f5820cd45f008a1d00e1a93acaeb2c8caa68c" + ], + "data": "0x", + "blockHash": "0xece3779d537108825e21eb381b3655f748d77bcc5c1ac62afb55c3302822501a", + "blockNumber": "0x1ce7af7", + "transactionHash": "0x1c75e154b6c709f092488bfc7f80a32d545fb917e0ccdc6f798e2c264dada880", + "transactionIndex": "0x0", + "logIndex": "0x1", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000080000000000000000002000000000000000000000000000000000000000010000000000000000000004000000000000000000000000000000000000000000200000000000000000000080000000000000000000001000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000400000000000000000010000000000000000000000000000000000000000000000000000000000000400000200000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0x1c75e154b6c709f092488bfc7f80a32d545fb917e0ccdc6f798e2c264dada880", + "transactionIndex": "0x0", + "blockHash": "0xece3779d537108825e21eb381b3655f748d77bcc5c1ac62afb55c3302822501a", + "blockNumber": "0x1ce7af7", + "gasUsed": "0x37747", + "effectiveGasPrice": "0x4a817c800", + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + } + ], + "libraries": [], + "pending": [], + "returns": {}, + "timestamp": 1724668837, + "chain": 2021, + "commit": "93f3448" + }, + { + "transactions": [ + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x603075b625cc2cf69fbb3546c6acc2451fe792af", + "function": "relayProposal((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(8, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0, 0, 0, 0]", + "[(27, 0x58d5bf707bea513c4a3f1744912a2fd228601baac586f01e60a4127796abaa1a, 0x2ac1e13eabff5501df8965df4a5bc5c81b4b37e73940d815f5bb8c895c7d0b4a), (27, 0x7d2ccda4004b21bccf354892925257738c72c8554138068e5a7e051ab0437ef0, 0x57e5cde64467f7fafaacb2f757b0ca862b958abb2ce033459fb88056ba0d3b90), (28, 0x1b6ab73c103a8796d3a5cb29a26b73f71a52d108bdf4644f7cf32ff7dd03bebc, 0x12b78a66216e1e5597d2508e52337e1f12dc134b88a0ac22db8a37fd52c3e420), (27, 0x953e15c420172be0f9b4fbf5e5aa7feb069908ec1342bf31d8073b5dc35d17f6, 0x16d6b21f449cf858b39d924b09974e2f03cce8e1f37b932e06e4092759b281df)]" + ], + "transaction": { + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x603075b625cc2cf69fbb3546c6acc2451fe792af", + "gas": "0x3d0900", + "value": "0x0", + "input": "0x8dc0dbc60000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000000000000000000000000000000000006c000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001b58d5bf707bea513c4a3f1744912a2fd228601baac586f01e60a4127796abaa1a2ac1e13eabff5501df8965df4a5bc5c81b4b37e73940d815f5bb8c895c7d0b4a000000000000000000000000000000000000000000000000000000000000001b7d2ccda4004b21bccf354892925257738c72c8554138068e5a7e051ab0437ef057e5cde64467f7fafaacb2f757b0ca862b958abb2ce033459fb88056ba0d3b90000000000000000000000000000000000000000000000000000000000000001c1b6ab73c103a8796d3a5cb29a26b73f71a52d108bdf4644f7cf32ff7dd03bebc12b78a66216e1e5597d2508e52337e1f12dc134b88a0ac22db8a37fd52c3e420000000000000000000000000000000000000000000000000000000000000001b953e15c420172be0f9b4fbf5e5aa7feb069908ec1342bf31d8073b5dc35d17f616d6b21f449cf858b39d924b09974e2f03cce8e1f37b932e06e4092759b281df", + "nonce": "0x6", + "chainId": "0xaa36a7" + }, + "additionalContracts": [], + "isFixedGasLimit": true + } + ], + "receipts": [], + "libraries": [], + "pending": [], + "returns": {}, + "timestamp": 1724668837, + "chain": 11155111, + "commit": "93f3448" + } + ], + "timestamp": 1724669090 +} \ No newline at end of file diff --git a/broadcast/multi/20240807-ir-recover-testnet.s.sol-latest/run.json b/broadcast/multi/20240807-ir-recover-testnet.s.sol-latest/run.json new file mode 100644 index 00000000..a507c1f7 --- /dev/null +++ b/broadcast/multi/20240807-ir-recover-testnet.s.sol-latest/run.json @@ -0,0 +1,2135 @@ +{ + "deployments": [ + { + "transactions": [ + { + "hash": "0x27ce63e6fbaff8172c5e9d66cbfbe64d580724d4b5aa5ffd9e8003a2444b6e4c", + "transactionType": "CREATE", + "contractName": "MainchainGatewayV3", + "contractAddress": "0x19287ca493748a5452b3900d393cb1a4369f47d5", + "function": null, + "arguments": null, + "transaction": { + "from": "0xd90bb8ed38bcde74889d66a5d346f6e0e1a244a7", + "gas": "0x93f382", + "value": "0x0", + "input": "0x608060405234801562000010575f80fd5b505f805460ff19169055620000246200002a565b620000ec565b607154610100900460ff1615620000975760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60715460ff9081161015620000ea576071805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b61561480620000fa5f395ff3fe60806040526004361061038f575f3560e01c80638f34e347116101db578063b9c3620911610101578063d55ed1031161009f578063dff525e11161006e578063dff525e114610a99578063e400327c14610ab8578063e75235b814610ad7578063f23a6e6114610aee5761039e565b8063d55ed10314610a11578063d64af2a614610a3c578063dafae40814610a5b578063de981f1b14610a7a5761039e565b8063ca15c873116100db578063ca15c87314610991578063cdb67444146109b0578063d19773d2146109c7578063d547741f146109f25761039e565b8063b9c3620914610928578063bc197c8114610947578063c48549de146109725761039e565b8063a217fddf11610179578063affed0e011610148578063affed0e01461089d578063b1a2567e146108b2578063b1d08a03146108d1578063b2975794146108fc5761039e565b8063a217fddf14610840578063a3912ec81461039c578063ab79656614610853578063ac78dfe81461087e5761039e565b80639157921c116101b55780639157921c146107af57806391d14854146107ce57806393c5678f146107ed5780639dcc4da31461080c5761039e565b80638f34e347146107315780638f851d8a146107645780639010d07c146107905761039e565b806336568abe116102c0578063504af48c1161025e5780636c1ce6701161022d5780636c1ce670146106cb5780637de5dedd146106ea5780638456cb59146106fe578063865e6fd3146107125761039e565b8063504af48c1461064c57806359122f6b1461065f5780635c975abb1461068a5780636932be98146106a05761039e565b80633f4ba83a1161029a5780633f4ba83a146105d85780634b14557e146105ec5780634d0d6673146105ff5780634d493f4e1461061e5761039e565b806336568abe1461058657806338e454b1146105a55780633e70838b146105b95761039e565b80631d4a72101161032d5780632dfdf0b5116103075780632dfdf0b5146105285780632f2ff15d1461053d578063302d12db1461055c5780633644e515146105725761039e565b80631d4a7210146104b0578063248a9ca3146104db57806329b6eca9146105095761039e565b806317ce2dd41161036957806317ce2dd41461043057806317fcb39b146104535780631a8e55b0146104725780631b6e7594146104915761039e565b806301ffc9a7146103a6578063065b3adf146103da578063110a8308146104115761039e565b3661039e5761039c610b19565b005b61039c610b19565b3480156103b1575f80fd5b506103c56103c03660046142cf565b610b37565b60405190151581526020015b60405180910390f35b3480156103e5575f80fd5b506005546103f9906001600160a01b031681565b6040516001600160a01b0390911681526020016103d1565b34801561041c575f80fd5b5061039c61042b36600461430a565b610b7c565b34801561043b575f80fd5b5061044560755481565b6040519081526020016103d1565b34801561045e575f80fd5b506074546103f9906001600160a01b031681565b34801561047d575f80fd5b5061039c61048c366004614365565b610c04565b34801561049c575f80fd5b5061039c6104ab3660046143cb565b610c3f565b3480156104bb575f80fd5b506104456104ca36600461430a565b603e6020525f908152604090205481565b3480156104e6575f80fd5b506104456104f5366004614468565b5f9081526072602052604090206001015490565b348015610514575f80fd5b5061039c61052336600461430a565b610c7e565b348015610533575f80fd5b5061044560765481565b348015610548575f80fd5b5061039c61055736600461447f565b610d06565b348015610567575f80fd5b50610445620f424081565b34801561057d575f80fd5b50607754610445565b348015610591575f80fd5b5061039c6105a036600461447f565b610d2f565b3480156105b0575f80fd5b5061039c610dad565b3480156105c4575f80fd5b5061039c6105d336600461430a565b610f7f565b3480156105e3575f80fd5b5061039c610fa9565b61039c6105fa3660046144ad565b610fb9565b34801561060a575f80fd5b506103c56106193660046144d4565b610fdc565b348015610629575f80fd5b506103c5610638366004614468565b607a6020525f908152604090205460ff1681565b61039c61065a366004614575565b61104a565b34801561066a575f80fd5b5061044561067936600461430a565b603a6020525f908152604090205481565b348015610695575f80fd5b505f5460ff166103c5565b3480156106ab575f80fd5b506104456106ba366004614468565b60796020525f908152604090205481565b3480156106d6575f80fd5b506103c56106e5366004614646565b61130b565b3480156106f5575f80fd5b50610445611316565b348015610709575f80fd5b5061039c61132c565b34801561071d575f80fd5b5061039c61072c36600461467e565b61133c565b34801561073c575f80fd5b506104457f5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e481565b34801561076f575f80fd5b5061078361077e366004614743565b611357565b6040516103d19190614831565b34801561079b575f80fd5b506103f96107aa366004614846565b6114d3565b3480156107ba575f80fd5b5061039c6107c9366004614866565b6114ea565b3480156107d9575f80fd5b506103c56107e836600461447f565b611765565b3480156107f8575f80fd5b5061039c610807366004614365565b61178f565b348015610817575f80fd5b5061082b610826366004614846565b6117c4565b604080519283526020830191909152016103d1565b34801561084b575f80fd5b506104455f81565b34801561085e575f80fd5b5061044561086d36600461430a565b603c6020525f908152604090205481565b348015610889575f80fd5b506103c5610898366004614468565b6117ec565b3480156108a8575f80fd5b5061044560045481565b3480156108bd575f80fd5b5061039c6108cc366004614365565b611817565b3480156108dc575f80fd5b506104456108eb36600461430a565b60396020525f908152604090205481565b348015610907575f80fd5b5061091b61091636600461430a565b61184c565b6040516103d191906148a9565b348015610933575f80fd5b5061039c610942366004614846565b6118ed565b348015610952575f80fd5b506107836109613660046149a4565b63bc197c8160e01b95945050505050565b34801561097d575f80fd5b5061078361098c366004614365565b611907565b34801561099c575f80fd5b506104456109ab366004614468565b611a93565b3480156109bb575f80fd5b5060375460385461082b565b3480156109d2575f80fd5b506104456109e136600461430a565b603b6020525f908152604090205481565b3480156109fd575f80fd5b5061039c610a0c36600461447f565b611aa9565b348015610a1c575f80fd5b50610445610a2b36600461430a565b603d6020525f908152604090205481565b348015610a47575f80fd5b5061039c610a5636600461430a565b611acd565b348015610a66575f80fd5b506103c5610a75366004614468565b611ade565b348015610a85575f80fd5b506103f9610a94366004614a4a565b611b01565b348015610aa4575f80fd5b5061039c610ab3366004614a63565b611b74565b348015610ac3575f80fd5b5061039c610ad2366004614365565b611be7565b348015610ae2575f80fd5b5060015460025461082b565b348015610af9575f80fd5b50610783610b08366004614b17565b63f23a6e6160e01b95945050505050565b6074546001600160a01b03163303610b2d57565b610b35611c1c565b565b5f6001600160e01b03198216631f3673bb60e01b1480610b6757506001600160e01b031982166312c0151560e21b145b80610b765750610b7682611c46565b92915050565b607154600490610100900460ff16158015610b9e575060715460ff8083169116105b610bc35760405162461bcd60e51b8152600401610bba90614b7a565b60405180910390fd5b6071805461ffff191660ff83169081176101001761ff0019169091556040519081525f805160206155bf833981519152906020015b60405180910390a15050565b610c0c611c6a565b5f839003610c2d576040516316ee9d3b60e11b815260040160405180910390fd5b610c3984848484611cc3565b50505050565b610c47611c6a565b5f859003610c68576040516316ee9d3b60e11b815260040160405180910390fd5b610c76868686868686611d94565b505050505050565b607154600290610100900460ff16158015610ca0575060715460ff8083169116105b610cbc5760405162461bcd60e51b8152600401610bba90614b7a565b6071805461ffff191660ff831617610100179055610cdb600b83611f36565b6071805461ff001916905560405160ff821681525f805160206155bf83398151915290602001610bf8565b5f82815260726020526040902060010154610d2081611fd7565b610d2a8383611fe1565b505050565b6001600160a01b0381163314610d9f5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610bba565b610da98282612002565b5050565b607154600390610100900460ff16158015610dcf575060715460ff8083169116105b610deb5760405162461bcd60e51b8152600401610bba90614b7a565b6071805461ffff191660ff8316176101001790555f610e0a600b611b01565b90505f80826001600160a01b031663c441c4a86040518163ffffffff1660e01b81526004015f60405180830381865afa158015610e49573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610e709190810190614c41565b92509250505f805b8351811015610f2957828181518110610e9357610e93614d1f565b6020026020010151607e5f868481518110610eb057610eb0614d1f565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f205f6101000a8154816001600160601b0302191690836001600160601b03160217905550828181518110610f0c57610f0c614d1f565b602002602001015182610f1f9190614d47565b9150600101610e78565b50607d80546001600160601b0319166001600160601b039290921691909117905550506071805461ff00191690555060405160ff821681525f805160206155bf833981519152906020015b60405180910390a150565b610f87611c6a565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b610fb1612023565b610b35612091565b610fc16120e2565b610fd9610fd336839003830183614db4565b33612127565b50565b5f610fe56120e2565b611040848484808060200260200160405190810160405280939291908181526020015f905b828210156110365761102760608302860136819003810190614e05565b8152602001906001019061100a565b505050505061236e565b90505b9392505050565b607154610100900460ff161580801561106a5750607154600160ff909116105b806110845750303b158015611084575060715460ff166001145b6110a05760405162461bcd60e51b8152600401610bba90614b7a565b6071805460ff1916600117905580156110c3576071805461ff0019166101001790555b6110cd5f8c6127fa565b60758990556110db8a612804565b6111666040517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81527f159f52c1e3a2b6a6aad3950adf713516211484e0516dad685ea662a094b7c43b60208201527fad7c5bef027816a800da1736444fb58a807ef4c9603b7848673f7e3a68eb14a5604082015246606082015230608082015260a0812060775550565b6111708887612852565b61117a87876128f3565b505061118461299a565b5f61118f8680614e4c565b9050111561124f576111b86111a48680614e4c565b6111b16020890189614e4c565b8787611d94565b6111dd6111c58680614e4c565b865f5b6020028101906111d89190614e4c565b6129e6565b6112036111ea8680614e4c565b8660015b6020028101906111fe9190614e4c565b611cc3565b6112296112108680614e4c565b8660025b6020028101906112249190614e4c565b612ab7565b61124f6112368680614e4c565b8660035b60200281019061124a9190614e4c565b612bc4565b5f5b61125e6040870187614e4c565b90508110156112ca576112c27f5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e46112986040890189614e4c565b848181106112a8576112a8614d1f565b90506020020160208101906112bd919061430a565b611fe1565b600101611251565b5080156112fe576071805461ff0019169055604051600181525f805160206155bf8339815191529060200160405180910390a15b5050505050505050505050565b5f6110438383612c95565b5f611327611322612d59565b612d96565b905090565b611334612023565b610b35612dfa565b611344611c6a565b61134d81612e36565b610da98282611f36565b5f600b61136381612e6b565b82518690811415806113755750808514155b156113a0575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b805f036113b757506347c28ec560e11b91506114c9565b5f5b818110156114bc578481815181106113d3576113d3614d1f565b6020026020010151156114b4578686828181106113f2576113f2614d1f565b90506020020160208101906114079190614e91565b607d80546001600160601b031981166001600160601b03918216939093011691909117905586868281811061143e5761143e614d1f565b90506020020160208101906114539190614e91565b607e5f8b8b8581811061146857611468614d1f565b905060200201602081019061147d919061430a565b6001600160a01b0316815260208101919091526040015f2080546001600160601b0319166001600160601b03929092169190911790555b6001016113b9565b506347c28ec560e11b9250505b5095945050505050565b5f8281526073602052604081206110439083612eb6565b7f5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e461151481611fd7565b5f61152c61152736859003850185614f06565b612ec1565b905061154061152736859003850185614f06565b83355f908152607960205260409020541461156e5760405163f4b8742f60e01b815260040160405180910390fd5b82355f908152607a602052604090205460ff1661159e5760405163147bfe0760e01b815260040160405180910390fd5b82355f908152607a602052604090819020805460ff19169055517fd639511b37b3b002cca6cfe6bca0d833945a5af5a045578a0627fc43b79b2630906115e79083908690614fd7565b60405180910390a15f611600608085016060860161430a565b90505f6116156101208601610100870161505c565b600281111561162657611626614881565b036116ea575f61163f3686900386016101008701615075565b6001600160a01b0383165f908152603b602052604090205490915061166a9061014087013590612f88565b60408201525f6116833687900387016101008801615075565b604083015190915061169a9061014088013561508f565b60408201526074546116ba908390339086906001600160a01b0316612fa1565b6116e36116cd606088016040890161430a565b60745483919086906001600160a01b0316612fa1565b5050611726565b6117266116fd606086016040870161430a565b60745483906001600160a01b031661171e3689900389016101008a01615075565b929190612fa1565b7f21e88e956aa3e086f6388e899965cef814688f99ad8bb29b08d396571016372d8285604051611757929190614fd7565b60405180910390a150505050565b5f9182526072602090815260408084206001600160a01b0393909316845291905290205460ff1690565b611797611c6a565b5f8390036117b8576040516316ee9d3b60e11b815260040160405180910390fd5b610c39848484846129e6565b5f806117ce611c6a565b6117d884846128f3565b90925090506117e561299a565b9250929050565b5f6117f5612d59565b60375461180291906150a2565b60385461180f90846150a2565b101592915050565b61181f611c6a565b5f839003611840576040516316ee9d3b60e11b815260040160405180910390fd5b610c3984848484612ab7565b604080518082019091525f80825260208201526001600160a01b0382165f908152607860205260409081902081518083019092528054829060ff16600281111561189857611898614881565b60028111156118a9576118a9614881565b815290546001600160a01b03610100909104811660209283015290820151919250166118e857604051631b79f53b60e21b815260040160405180910390fd5b919050565b6118f5611c6a565b6118ff8282612852565b610da961299a565b5f600b61191381612e6b565b84838114611941575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b805f036119585750636242a4ef60e11b9150611a8a565b5f805b82811015611a3b5786868281811061197557611975614d1f565b905060200201602081019061198a91906150b9565b15611a3357607e5f8a8a848181106119a4576119a4614d1f565b90506020020160208101906119b9919061430a565b6001600160a01b0316815260208101919091526040015f908120546001600160601b03169290920191607e908a8a848181106119f7576119f7614d1f565b9050602002016020810190611a0c919061430a565b6001600160a01b0316815260208101919091526040015f2080546001600160601b03191690555b60010161195b565b50607d80548291905f90611a599084906001600160601b03166150d4565b92506101000a8154816001600160601b0302191690836001600160601b0316021790555063c48549de60e01b935050505b50949350505050565b5f818152607360205260408120610b76906131ca565b5f82815260726020526040902060010154611ac381611fd7565b610d2a8383612002565b611ad5611c6a565b610fd981612804565b5f611ae7612d59565b600154611af491906150a2565b60025461180f90846150a2565b5f7fdea3103d22025c269050bea94c0c84688877f12fa22b7e6d2d5d78a9a49aa1cb5f83600f811115611b3657611b36614881565b60ff16815260208101919091526040015f20546001600160a01b03169050806118e8578160405163409140df60e11b8152600401610bba9190615104565b611b7c611c6a565b5f869003611b9d576040516316ee9d3b60e11b815260040160405180910390fd5b611bab878787878787611d94565b611bb78787835f6111c8565b611bc487878360016111ee565b611bd18787836002611214565b611bde878783600361123a565b50505050505050565b611bef611c6a565b5f839003611c10576040516316ee9d3b60e11b815260040160405180910390fd5b610c3984848484612bc4565b611c246120e2565b611c2c614292565b338152604080820151349101528051610fd9908290612127565b5f6001600160e01b03198216630271189760e51b1480610b765750610b76826131d3565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103546001600160a01b03163314610b35575f356001600160e01b0319166001604051620f948f60ea1b8152600401610bba929190615112565b828114611cf0575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b83811015611d5e57828282818110611d0c57611d0c614d1f565b90506020020135603a5f878785818110611d2857611d28614d1f565b9050602002016020810190611d3d919061430a565b6001600160a01b0316815260208101919091526040015f2055600101611cf2565b507f64557254143204d91ba2d95acb9fda1e5fea55f77efd028685765bc1e94dd4b5848484846040516117579493929190615187565b8483148015611da257508481145b611dcc575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b85811015611eec57848482818110611de857611de8614d1f565b9050602002016020810190611dfd919061430a565b60785f898985818110611e1257611e12614d1f565b9050602002016020810190611e27919061430a565b6001600160a01b03908116825260208201929092526040015f208054610100600160a81b0319166101009390921692909202179055828282818110611e6e57611e6e614d1f565b9050602002016020810190611e83919061505c565b60785f898985818110611e9857611e98614d1f565b9050602002016020810190611ead919061430a565b6001600160a01b0316815260208101919091526040015f20805460ff19166001836002811115611edf57611edf614881565b0217905550600101611dce565b507fa4f03cc9c0e0aeb5b71b4ec800702753f65748c2cf3064695ba8e8b46be70444868686868686604051611f26969594939291906151d1565b60405180910390a1505050505050565b807fdea3103d22025c269050bea94c0c84688877f12fa22b7e6d2d5d78a9a49aa1cb5f84600f811115611f6b57611f6b614881565b60ff16815260208101919091526040015f2080546001600160a01b0319166001600160a01b03928316179055811682600f811115611fab57611fab614881565b6040517f865d1c228a8ea13709cfe61f346f7ff67f1bbd4a18ff31ad3e7147350d317c59905f90a35050565b610fd981336131f7565b611feb828261325b565b5f828152607360205260409020610d2a90826132e0565b61200c82826132f4565b5f828152607360205260409020610d2a908261335a565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103546001600160a01b031633148061206557506005546001600160a01b031633145b610b35575f356001600160e01b0319166001604051620f948f60ea1b8152600401610bba929190615112565b61209961336e565b5f805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b5f5460ff1615610b355760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610bba565b6040805180820182525f80825260208201526074549184015190916001600160a01b031690612155906133b6565b60208401516001600160a01b03166121f657348460400151604001511461218f5760405163129c2ce160e31b815260040160405180910390fd5b6121988161184c565b60408501515190925060028111156121b2576121b2614881565b825160028111156121c5576121c5614881565b146121e25760405162035e2b60ea1b815260040160405180910390fd5b6001600160a01b03811660208501526122fd565b34156122155760405163129c2ce160e31b815260040160405180910390fd5b612222846020015161184c565b604085015151909250600281111561223c5761223c614881565b8251600281111561224f5761224f614881565b1461226c5760405162035e2b60ea1b815260040160405180910390fd5b602084015160408501516122819185906133fa565b83602001516001600160a01b0316816001600160a01b0316036122fd576040848101518101519051632e1a7d4d60e01b815260048101919091526001600160a01b03821690632e1a7d4d906024015f604051808303815f87803b1580156122e6575f80fd5b505af11580156122f8573d5f803e3d5ffd5b505050505b607680545f918261230d83615240565b9190505590505f612333858386602001516075548a61356e90949392919063ffffffff16565b90507fd7b25068d9dc8d00765254cfb7f5070f98d263c8d68931d937c7362fa738048b61235f82612ec1565b82604051611f26929190615278565b5f823561014084013582612388608087016060880161430a565b90506123a56123a03688900388016101008901615075565b6133b6565b60016123b76040880160208901615313565b60018111156123c8576123c8614881565b146123e65760405163182f3d8760e11b815260040160405180910390fd5b608086013546146124275760405163092048d160e11b81525f356001600160e01b031916600482015260808701356024820152466044820152606401610bba565b5f61243b6109166080890160608a0161430a565b905061244f6101208801610100890161505c565b600281111561246057612460614881565b8151600281111561247357612473614881565b1480156124a4575061248b60e0880160c0890161430a565b6001600160a01b031681602001516001600160a01b0316145b80156124b5575060755460e0880135145b6124d25760405163f4b8742f60e01b815260040160405180910390fd5b5f84815260796020526040902054156124fe57604051634f13df6160e01b815260040160405180910390fd5b600161251261012089016101008a0161505c565b600281111561252357612523614881565b148061253657506125348284612c95565b155b6125535760405163c51297b760e01b815260040160405180910390fd5b5f612566611527368a90038a018a614f06565b90505f61257560775483613641565b90505f61259461258d6101208c016101008d0161505c565b8688613681565b604080516060810182525f80825260208201819052918101829052919a50919250819081905f805b8e518110156126d4578e81815181106125d7576125d7614d1f565b602002602001015192506125f888845f015185602001518660400151613702565b9450846001600160a01b0316846001600160a01b031610612639575f356001600160e01b031916604051635d3dcd3160e01b8152600401610bba9190614831565b6001600160a01b0385165f908152607e60205260408120548695506001600160601b0316908190036126ae5760408051634e97700760e01b81526001600160a01b038816600482015260248101839052855160ff1660448201526020860151606482015290850151608482015260a401610bba565b6126b8818461532c565b92508783106126cb5760019650506126d4565b506001016125bc565b50846126f357604051639e8f5f6360e01b815260040160405180910390fd5b5050505f8981526079602052604090208590555050871561276c575f878152607a602052604090819020805460ff19166001179055517f89e52969465b1f1866fc5d46fd62de953962e9cb33552443cd999eba05bd20dc906127589085908d90614fd7565b60405180910390a150505050505050610b76565b612776858761372a565b6127b461278960608c0160408d0161430a565b8660745f9054906101000a90046001600160a01b03168d6101000180360381019061171e9190615075565b7f21e88e956aa3e086f6388e899965cef814688f99ad8bb29b08d396571016372d838b6040516127e5929190614fd7565b60405180910390a15050505050505092915050565b610da98282611fe1565b607480546001600160a01b0319166001600160a01b0383169081179091556040519081527f9d2334c23be647e994f27a72c5eee42a43d5bdcfe15bb88e939103c2b114cbaf90602001610f74565b8082118061285e575080155b80612867575081155b15612892575f356001600160e01b0319166040516387f6f09560e01b8152600401610bba9190614831565b6001805460028054858455908490556004805493840190556040805183815260208101839052929391928592879290917f976f8a9c5bdf8248dec172376d6e2b80a8e3df2f0328e381c6db8e1cf138c0f8910160405180910390a450505050565b5f8082841180612901575083155b8061290a575082155b15612935575f356001600160e01b0319166040516387f6f09560e01b8152600401610bba9190614831565b5050603780546038805492859055839055600480546001810190915560408051838152602081018590529293928592879290917f31312c97b89cc751b832d98fd459b967a2c3eef3b49757d1cf5ebaa12bb6eee1910160405180910390a49250929050565b6002546037546129aa91906150a2565b6038546001546129ba91906150a2565b1115610b35575f356001600160e01b0319166040516387f6f09560e01b8152600401610bba9190614831565b828114612a13575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b83811015612a8157828282818110612a2f57612a2f614d1f565b9050602002013560395f878785818110612a4b57612a4b614d1f565b9050602002016020810190612a60919061430a565b6001600160a01b0316815260208101919091526040015f2055600101612a15565b507f80bc635c452ae67f12f9b6f12ad4daa6dbbc04eeb9ebb87d354ce10c0e210dc0848484846040516117579493929190615187565b828114612ae4575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b83811015612b8e57620f4240838383818110612b0457612b04614d1f565b905060200201351115612b2a5760405163572d3bd360e11b815260040160405180910390fd5b828282818110612b3c57612b3c614d1f565b90506020020135603b5f878785818110612b5857612b58614d1f565b9050602002016020810190612b6d919061430a565b6001600160a01b0316815260208101919091526040015f2055600101612ae6565b507fb05f5de88ae0294ebb6f67c5af2fcbbd593cc6bdfe543e2869794a4c8ce3ea50848484846040516117579493929190615187565b828114612bf1575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b83811015612c5f57828282818110612c0d57612c0d614d1f565b90506020020135603c5f878785818110612c2957612c29614d1f565b9050602002016020810190612c3e919061430a565b6001600160a01b0316815260208101919091526040015f2055600101612bf3565b507fb5d2963614d72181b4df1f993d45b83edf42fa19710f0204217ba1b3e183bb73848484846040516117579493929190615187565b6001600160a01b0382165f908152603a60205260408120548210612cba57505f610b76565b5f612cc8620151804261533f565b6001600160a01b0385165f908152603e6020526040902054909150811115612d0c5750506001600160a01b0382165f908152603c6020526040902054811015610b76565b6001600160a01b0384165f908152603d6020526040902054612d2f90849061532c565b6001600160a01b0385165f908152603c602052604090205411159150610b769050565b5092915050565b607d546001600160601b03165f819003612d93575f356001600160e01b031916604051631103b51560e31b8152600401610bba9190614831565b90565b5f600254600160025484600154612dad91906150a2565b612db7919061532c565b612dc1919061508f565b612dcb919061533f565b9050805f036118e8575f356001600160e01b03191660405163267b1b9160e01b8152600401610bba9190614831565b612e026120e2565b5f805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586120c53390565b806001600160a01b03163b5f03610fd957604051630bfc64a360e21b81526001600160a01b0382166004820152602401610bba565b612e7481611b01565b6001600160a01b0316336001600160a01b031614610fd9575f356001600160e01b03191681336040516320e0f98d60e21b8152600401610bba9392919061535e565b5f61104383836137b6565b5f80612ed083604001516137dc565b90505f612ee084606001516137dc565b90505f612f338560800151604080517f1e2b74b2a792d5c0f0b6e59b037fa9d43d84fbb759337f0112fcc15ca414fc8d815282516020808301919091528301518183015291015160608201526080902090565b604080517fb9d1fe7c9deeec5dc90a2f47ff1684239519f2545b2228d3d91fb27df3189eea815287516020808301919091529097015190870152606086019390935250608084015260a08301525060c0902090565b5f620f4240612f9783856150a2565b611043919061533f565b806001600160a01b0316826001600160a01b0316036130495760408085015190516001600160a01b0385169180156108fc02915f818181858888f1935050505061304457806001600160a01b031663d0e30db085604001516040518263ffffffff1660e01b81526004015f604051808303818588803b158015613022575f80fd5b505af1158015613034573d5f803e3d5ffd5b5050505050613044848484613824565b610c39565b5f8451600281111561305d5761305d614881565b03613120576040516370a0823160e01b81523060048201525f906001600160a01b038416906370a0823190602401602060405180830381865afa1580156130a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130ca9190615395565b9050846040015181101561310f576130f283308388604001516130ed919061508f565b6138a2565b61310f57604051632f739fff60e11b815260040160405180910390fd5b61311a858585613824565b50610c39565b60018451600281111561313557613135614881565b036131665761314982848660200151613942565b6130445760405163c8e3a09f60e01b815260040160405180910390fd5b60028451600281111561317b5761317b614881565b036131b157613194828486602001518760400151613968565b613044576040516334b471a760e21b815260040160405180910390fd5b6040516361e411a760e11b815260040160405180910390fd5b5f610b76825490565b5f6001600160e01b03198216635a05180f60e01b1480610b765750610b7682613990565b6132018282611765565b610da957613219816001600160a01b031660146139c4565b6132248360206139c4565b6040516020016132359291906153ce565b60408051601f198184030181529082905262461bcd60e51b8252610bba9160040161546d565b6132658282611765565b610da9575f8281526072602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561329c3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b5f611043836001600160a01b038416613b59565b6132fe8282611765565b15610da9575f8281526072602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b5f611043836001600160a01b038416613ba5565b5f5460ff16610b355760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610bba565b6133bf81613c88565b806133ce57506133ce81613cbd565b806133dd57506133dd81613ce4565b610fd95760405163034992a760e51b815260040160405180910390fd5b5f6060818551600281111561341157613411614881565b036134e85760408581015181516001600160a01b03878116602483015230604483015260648083019390935283518083039093018352608490910183526020820180516001600160e01b03166323b872dd60e01b179052915191851691613478919061547f565b5f604051808303815f865af19150503d805f81146134b1576040519150601f19603f3d011682016040523d82523d5f602084013e6134b6565b606091505b5090925090508180156134e15750805115806134e15750808060200190518101906134e1919061549a565b9150613541565b6001855160028111156134fd576134fd614881565b03613512576134e18385308860200151613d0c565b60028551600281111561352757613527614881565b036131b1576134e183853088602001518960400151613db5565b816135675784843085604051639d2e4c6760e01b8152600401610bba94939291906154b5565b5050505050565b6135dd6040805160a0810182525f8082526020808301829052835160608082018652838252818301849052818601849052848601919091528451808201865283815280830184905280860184905281850152845190810185528281529081018290529283015290608082015290565b8381525f6020820181905250604080820180516001600160a01b039788169052602080890151825190891690820152905146908301528751606084018051918916909152805195909716940193909352935182015292909201516080820152919050565b6040805161190160f01b60208083019190915260228201859052604280830185905283518084039091018152606290920190925280519101205f90611043565b5f805f61368c612d59565b905061369781612d96565b92505f8660028111156136ac576136ac614881565b036136f9576001600160a01b0385165f9081526039602052604090205484106136db576136d881613e64565b92505b6001600160a01b0385165f908152603a602052604090205484101591505b50935093915050565b5f805f61371187878787613ec8565b9150915061371e81613fad565b5090505b949350505050565b5f613738620151804261533f565b6001600160a01b0384165f908152603e6020526040902054909150811115613785576001600160a01b03929092165f908152603e6020908152604080832094909455603d90529190912055565b6001600160a01b0383165f908152603d6020526040812080548492906137ac90849061532c565b9091555050505050565b5f825f0182815481106137cb576137cb614d1f565b905f5260205f200154905092915050565b604080517f353bdd8d69b9e3185b3972e08b03845c0c14a21a390215302776a7a34b0e8764815282516020808301919091528301518183015291015160608201526080902090565b5f808451600281111561383957613839614881565b036138545761384d82848660400151614162565b905061387e565b60018451600281111561386957613869614881565b036131b15761384d8230858760200151613d0c565b80610c39578383836040516341bd7d9160e11b8152600401610bba939291906154eb565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b03166340c10f1960e01b17905291515f928616916138f99161547f565b5f604051808303815f865af19150503d805f8114613932576040519150601f19603f3d011682016040523d82523d5f602084013e613937565b606091505b509095945050505050565b5f61394f84308585613d0c565b905080611043576139618484846138a2565b9050611043565b5f6139768530868686613db5565b9050806137225761398985858585614230565b9050613722565b5f6001600160e01b03198216637965db0b60e01b1480610b7657506301ffc9a760e01b6001600160e01b0319831614610b76565b60605f6139d28360026150a2565b6139dd90600261532c565b6001600160401b038111156139f4576139f46146a8565b6040519080825280601f01601f191660200182016040528015613a1e576020820181803683370190505b509050600360fc1b815f81518110613a3857613a38614d1f565b60200101906001600160f81b03191690815f1a905350600f60fb1b81600181518110613a6657613a66614d1f565b60200101906001600160f81b03191690815f1a9053505f613a888460026150a2565b613a9390600161532c565b90505b6001811115613b0a576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110613ac757613ac7614d1f565b1a60f81b828281518110613add57613add614d1f565b60200101906001600160f81b03191690815f1a90535060049490941c93613b038161551b565b9050613a96565b5083156110435760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610bba565b5f818152600183016020526040812054613b9e57508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610b76565b505f610b76565b5f8181526001830160205260408120548015613c7f575f613bc760018361508f565b85549091505f90613bda9060019061508f565b9050818114613c39575f865f018281548110613bf857613bf8614d1f565b905f5260205f200154905080875f018481548110613c1857613c18614d1f565b5f918252602080832090910192909255918252600188019052604090208390555b8554869080613c4a57613c4a615530565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f905560019350505050610b76565b5f915050610b76565b5f8082516002811115613c9d57613c9d614881565b148015613cad57505f8260400151115b8015610b76575050602001511590565b5f600182516002811115613cd357613cd3614881565b148015610b76575050604001511590565b5f600282516002811115613cfa57613cfa614881565b148015610b7657505060400151151590565b604080516001600160a01b0385811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180516001600160e01b03166323b872dd60e01b17905291515f92871691613d6b9161547f565b5f604051808303815f865af19150503d805f8114613da4576040519150601f19603f3d011682016040523d82523d5f602084013e613da9565b606091505b50909695505050505050565b604080515f808252602082019092526001600160a01b03871690613de490879087908790879060448101615544565b60408051601f198184030181529181526020820180516001600160e01b0316637921219560e11b17905251613e19919061547f565b5f604051808303815f865af19150503d805f8114613e52576040519150601f19603f3d011682016040523d82523d5f602084013e613e57565b606091505b5090979650505050505050565b5f603854600160385484603754613e7b91906150a2565b613e85919061532c565b613e8f919061508f565b613e99919061533f565b9050805f036118e8575f356001600160e01b031916604051639b974b0f60e01b8152600401610bba9190614831565b5f807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115613efd57505f90506003613fa4565b8460ff16601b14158015613f1557508460ff16601c14155b15613f2557505f90506004613fa4565b604080515f8082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015613f76573d5f803e3d5ffd5b5050604051601f1901519150506001600160a01b038116613f9e575f60019250925050613fa4565b91505f90505b94509492505050565b5f816004811115613fc057613fc0614881565b03613fc85750565b6001816004811115613fdc57613fdc614881565b036140295760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610bba565b600281600481111561403d5761403d614881565b0361408a5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610bba565b600381600481111561409e5761409e614881565b036140f65760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610bba565b600481600481111561410a5761410a614881565b03610fd95760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610bba565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663a9059cbb60e01b17905291515f92606092908716916141be919061547f565b5f604051808303815f865af19150503d805f81146141f7576040519150601f19603f3d011682016040523d82523d5f602084013e6141fc565b606091505b509092509050818015614227575080511580614227575080806020019051810190614227919061549a565b95945050505050565b604080515f808252602082019092526001600160a01b0386169061425d9086908690869060448101615588565b60408051601f198184030181529181526020820180516001600160e01b031663731133e960e01b17905251613d6b919061547f565b604080516060810182525f80825260208201529081016142ca6040805160608101909152805f81526020015f81526020015f81525090565b905290565b5f602082840312156142df575f80fd5b81356001600160e01b031981168114611043575f80fd5b6001600160a01b0381168114610fd9575f80fd5b5f6020828403121561431a575f80fd5b8135611043816142f6565b5f8083601f840112614335575f80fd5b5081356001600160401b0381111561434b575f80fd5b6020830191508360208260051b85010111156117e5575f80fd5b5f805f8060408587031215614378575f80fd5b84356001600160401b038082111561438e575f80fd5b61439a88838901614325565b909650945060208701359150808211156143b2575f80fd5b506143bf87828801614325565b95989497509550505050565b5f805f805f80606087890312156143e0575f80fd5b86356001600160401b03808211156143f6575f80fd5b6144028a838b01614325565b9098509650602089013591508082111561441a575f80fd5b6144268a838b01614325565b9096509450604089013591508082111561443e575f80fd5b5061444b89828a01614325565b979a9699509497509295939492505050565b80356118e8816142f6565b5f60208284031215614478575f80fd5b5035919050565b5f8060408385031215614490575f80fd5b8235915060208301356144a2816142f6565b809150509250929050565b5f60a082840312156144bd575f80fd5b50919050565b5f61016082840312156144bd575f80fd5b5f805f61018084860312156144e7575f80fd5b6144f185856144c3565b92506101608401356001600160401b038082111561450d575f80fd5b818601915086601f830112614520575f80fd5b81358181111561452e575f80fd5b876020606083028501011115614542575f80fd5b6020830194508093505050509250925092565b8060608101831015610b76575f80fd5b8060808101831015610b76575f80fd5b5f805f805f805f805f806101208b8d03121561458f575f80fd5b6145988b61445d565b99506145a660208c0161445d565b985060408b0135975060608b0135965060808b0135955060a08b0135945060c08b01356001600160401b03808211156145dd575f80fd5b6145e98e838f01614555565b955060e08d01359150808211156145fe575f80fd5b61460a8e838f01614565565b94506101008d0135915080821115614620575f80fd5b5061462d8d828e01614325565b915080935050809150509295989b9194979a5092959850565b5f8060408385031215614657575f80fd5b8235614662816142f6565b946020939093013593505050565b8035601081106118e8575f80fd5b5f806040838503121561468f575f80fd5b61469883614670565b915060208301356144a2816142f6565b634e487b7160e01b5f52604160045260245ffd5b604051606081016001600160401b03811182821017156146de576146de6146a8565b60405290565b604051601f8201601f191681016001600160401b038111828210171561470c5761470c6146a8565b604052919050565b5f6001600160401b0382111561472c5761472c6146a8565b5060051b60200190565b8015158114610fd9575f80fd5b5f805f805f60608688031215614757575f80fd5b85356001600160401b038082111561476d575f80fd5b61477989838a01614325565b9097509550602091508782013581811115614792575f80fd5b61479e8a828b01614325565b9096509450506040880135818111156147b5575f80fd5b88019050601f810189136147c7575f80fd5b80356147da6147d582614714565b6146e4565b81815260059190911b8201830190838101908b8311156147f8575f80fd5b928401925b8284101561481f57833561481081614736565b825292840192908401906147fd565b80955050505050509295509295909350565b6001600160e01b031991909116815260200190565b5f8060408385031215614857575f80fd5b50508035926020909101359150565b5f6101608284031215614877575f80fd5b61104383836144c3565b634e487b7160e01b5f52602160045260245ffd5b600381106148a5576148a5614881565b9052565b5f6040820190506148bb828451614895565b6020928301516001600160a01b0316919092015290565b5f82601f8301126148e1575f80fd5b813560206148f16147d583614714565b8083825260208201915060208460051b870101935086841115614912575f80fd5b602086015b8481101561492e5780358352918301918301614917565b509695505050505050565b5f82601f830112614948575f80fd5b81356001600160401b03811115614961576149616146a8565b614974601f8201601f19166020016146e4565b818152846020838601011115614988575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f805f60a086880312156149b8575f80fd5b85356149c3816142f6565b945060208601356149d3816142f6565b935060408601356001600160401b03808211156149ee575f80fd5b6149fa89838a016148d2565b94506060880135915080821115614a0f575f80fd5b614a1b89838a016148d2565b93506080880135915080821115614a30575f80fd5b50614a3d88828901614939565b9150509295509295909350565b5f60208284031215614a5a575f80fd5b61104382614670565b5f805f805f805f6080888a031215614a79575f80fd5b87356001600160401b0380821115614a8f575f80fd5b614a9b8b838c01614325565b909950975060208a0135915080821115614ab3575f80fd5b614abf8b838c01614325565b909750955060408a0135915080821115614ad7575f80fd5b614ae38b838c01614325565b909550935060608a0135915080821115614afb575f80fd5b50614b088a828b01614565565b91505092959891949750929550565b5f805f805f60a08688031215614b2b575f80fd5b8535614b36816142f6565b94506020860135614b46816142f6565b9350604086013592506060860135915060808601356001600160401b03811115614b6e575f80fd5b614a3d88828901614939565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b5f82601f830112614bd7575f80fd5b81516020614be76147d583614714565b8083825260208201915060208460051b870101935086841115614c08575f80fd5b602086015b8481101561492e578051614c20816142f6565b8352918301918301614c0d565b6001600160601b0381168114610fd9575f80fd5b5f805f60608486031215614c53575f80fd5b83516001600160401b0380821115614c69575f80fd5b614c7587838801614bc8565b9450602091508186015181811115614c8b575f80fd5b614c9788828901614bc8565b945050604086015181811115614cab575f80fd5b86019050601f81018713614cbd575f80fd5b8051614ccb6147d582614714565b81815260059190911b82018301908381019089831115614ce9575f80fd5b928401925b82841015614d10578351614d0181614c2d565b82529284019290840190614cee565b80955050505050509250925092565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b6001600160601b03818116838216019080821115612d5257612d52614d33565b8035600381106118e8575f80fd5b5f60608284031215614d85575f80fd5b614d8d6146bc565b9050614d9882614d67565b8152602082013560208201526040820135604082015292915050565b5f60a08284031215614dc4575f80fd5b614dcc6146bc565b8235614dd7816142f6565b81526020830135614de7816142f6565b6020820152614df98460408501614d75565b60408201529392505050565b5f60608284031215614e15575f80fd5b614e1d6146bc565b823560ff81168114614e2d575f80fd5b8152602083810135908201526040928301359281019290925250919050565b5f808335601e19843603018112614e61575f80fd5b8301803591506001600160401b03821115614e7a575f80fd5b6020019150600581901b36038213156117e5575f80fd5b5f60208284031215614ea1575f80fd5b813561104381614c2d565b8035600281106118e8575f80fd5b5f60608284031215614eca575f80fd5b614ed26146bc565b90508135614edf816142f6565b81526020820135614eef816142f6565b806020830152506040820135604082015292915050565b5f6101608284031215614f17575f80fd5b60405160a081018181106001600160401b0382111715614f3957614f396146a8565b60405282358152614f4c60208401614eac565b6020820152614f5e8460408501614eba565b6040820152614f708460a08501614eba565b6060820152614f83846101008501614d75565b60808201529392505050565b600281106148a5576148a5614881565b8035614faa816142f6565b6001600160a01b039081168352602082013590614fc6826142f6565b166020830152604090810135910152565b5f6101808201905083825282356020830152614ff560208401614eac565b6150026040840182614f8f565b506150136060830160408501614f9f565b61502360c0830160a08501614f9f565b61012061503e8184016150396101008701614d67565b614895565b61014081850135818501528085013561016085015250509392505050565b5f6020828403121561506c575f80fd5b61104382614d67565b5f60608284031215615085575f80fd5b6110438383614d75565b81810381811115610b7657610b76614d33565b8082028115828204841417610b7657610b76614d33565b5f602082840312156150c9575f80fd5b813561104381614736565b6001600160601b03828116828216039080821115612d5257612d52614d33565b601081106148a5576148a5614881565b60208101610b7682846150f4565b6001600160e01b03198316815260408101600b831061513357615133614881565b8260208301529392505050565b8183525f60208085019450825f5b8581101561517c578135615161816142f6565b6001600160a01b03168752958201959082019060010161514e565b509495945050505050565b604081525f61519a604083018688615140565b82810360208401528381526001600160fb1b038411156151b8575f80fd5b8360051b80866020840137016020019695505050505050565b606081525f6151e460608301888a615140565b602083820360208501526151f982888a615140565b84810360408601528581528692506020015f5b86811015615231576152218261503986614d67565b928201929082019060010161520c565b509a9950505050505050505050565b5f6001820161525157615251614d33565b5060010190565b615263828251614895565b60208181015190830152604090810151910152565b5f6101808201905083825282516020830152602083015161529c6040840182614f8f565b5060408381015180516001600160a01b03908116606086015260208201511660808501529081015160a084015250606083015180516001600160a01b0390811660c085015260208201511660e0840152604081015161010084015250608083015161530b610120840182615258565b509392505050565b5f60208284031215615323575f80fd5b61104382614eac565b80820180821115610b7657610b76614d33565b5f8261535957634e487b7160e01b5f52601260045260245ffd5b500490565b6001600160e01b0319841681526060810161537c60208301856150f4565b6001600160a01b03929092166040919091015292915050565b5f602082840312156153a5575f80fd5b5051919050565b5f5b838110156153c65781810151838201526020016153ae565b50505f910152565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081525f83516154058160178501602088016153ac565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516154368160288401602088016153ac565b01602801949350505050565b5f81518084526154598160208601602086016153ac565b601f01601f19169290920160200192915050565b602081525f6110436020830184615442565b5f82516154908184602087016153ac565b9190910192915050565b5f602082840312156154aa575f80fd5b815161104381614736565b60c081016154c38287615258565b6001600160a01b0394851660608301529284166080820152921660a090920191909152919050565b60a081016154f98286615258565b6001600160a01b03938416606083015291909216608090920191909152919050565b5f8161552957615529614d33565b505f190190565b634e487b7160e01b5f52603160045260245ffd5b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190525f9061557d90830184615442565b979650505050505050565b60018060a01b0385168152836020820152826040820152608060608201525f6155b46080830184615442565b969550505050505056fe7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498a2646970667358221220c6a7eacb7b230132910498f6731b258f7a69a5a03ae63978c6cb11ce1f4c993364736f6c63430008170033", + "nonce": "0x0", + "chainId": "0xaa36a7" + }, + "additionalContracts": [], + "isFixedGasLimit": false + } + ], + "receipts": [ + { + "status": "0x1", + "cumulativeGasUsed": "0xc26bf4", + "logs": [ + { + "address": "0x19287ca493748a5452b3900d393cb1a4369f47d5", + "topics": [ + "0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000ff", + "blockHash": "0x737a8b296f5e2754638d1a9f622fc1342032fa8deea901a18550463d86bac5d4", + "blockNumber": "0x64512d", + "transactionHash": "0x27ce63e6fbaff8172c5e9d66cbfbe64d580724d4b5aa5ffd9e8003a2444b6e4c", + "transactionIndex": "0x35", + "logIndex": "0x9c", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000008800000000000000000000000000000000000000000000000000000000", + "type": "0x2", + "transactionHash": "0x27ce63e6fbaff8172c5e9d66cbfbe64d580724d4b5aa5ffd9e8003a2444b6e4c", + "transactionIndex": "0x35", + "blockHash": "0x737a8b296f5e2754638d1a9f622fc1342032fa8deea901a18550463d86bac5d4", + "blockNumber": "0x64512d", + "gasUsed": "0x49f9c1", + "effectiveGasPrice": "0x554fb7377", + "from": "0xd90bb8ed38bcde74889d66a5d346f6e0e1a244a7", + "to": null, + "contractAddress": "0x19287ca493748a5452b3900d393cb1a4369f47d5" + } + ], + "libraries": [], + "pending": [], + "returns": {}, + "timestamp": 1724668835, + "chain": 11155111, + "commit": "93f3448" + }, + { + "transactions": [ + { + "hash": "0xef0fee8825bac5f127c3cdb5a62c00ba08a6f5266933276323cc2f9b153fb1e6", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "propose(uint256,uint256,address,address[],uint256[],bytes[],uint256[])", + "arguments": [ + "11155111", + "1725705492", + "0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa", + "[0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e]", + "[0, 0]", + "[0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5]", + "[2000000, 1000000]" + ], + "transaction": { + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x4b71e", + "value": "0x0", + "input": "0x15702f050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000540000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "nonce": "0x26a", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": "0xcd3d3f5656eff85e5578973a9c4f2806b1a4eac492558e9e4058c57aa982ba52", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(1, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0x4995475d124d45b1d45f87ba2793357ea781c0fdab3bf46bbe67d7b669114bd7, 0x4659bfe31e7e0e8c69c3c0f7b56b6f5586c2a33b1b52d67c1af2e02203ae4669)]" + ], + "transaction": { + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001c4995475d124d45b1d45f87ba2793357ea781c0fdab3bf46bbe67d7b669114bd74659bfe31e7e0e8c69c3c0f7b56b6f5586c2a33b1b52d67c1af2e02203ae4669", + "nonce": "0x6d", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0xf574d9c7dc3e10120cd12964dd3ef5140ebb804b41d52dff6c97b5d2a4779591", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(1, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0x58c5b5b5d9841d4ac406d050ca979fccb80413cf28607549162d6a9809870b9c, 0x1fae9cd74358bc23ecf723dfd9dede39f5cd042b2e5a31f3fd259e9013549d6d)]" + ], + "transaction": { + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001c58c5b5b5d9841d4ac406d050ca979fccb80413cf28607549162d6a9809870b9c1fae9cd74358bc23ecf723dfd9dede39f5cd042b2e5a31f3fd259e9013549d6d", + "nonce": "0x7d", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0xa83c624e353e19558a06561183df4829fac65f1a4d49484c903003df632faf0e", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(1, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0x6e4e88da629499edeb684d7d341d308631c50134a262be02c51cb6be723778b1, 0x2b5ec54fd873936682d139cbc4edf4949f8826c5a5675309eb33ee81b2fb8515)]" + ], + "transaction": { + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001c6e4e88da629499edeb684d7d341d308631c50134a262be02c51cb6be723778b12b5ec54fd873936682d139cbc4edf4949f8826c5a5675309eb33ee81b2fb8515", + "nonce": "0x6e", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0x5deb929810f30261f1b40e7d6cfe9cc02196e5685d3d820166daac74c5c1eac0", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "propose(uint256,uint256,address,address[],uint256[],bytes[],uint256[])", + "arguments": [ + "11155111", + "1725705492", + "0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa", + "[0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e]", + "[0, 0]", + "[0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5]", + "[2000000, 1000000]" + ], + "transaction": { + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x47f40", + "value": "0x0", + "input": "0x15702f050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000540000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "nonce": "0x26b", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": "0x139eedd42d18e643740e31665bee06bebc21f63be4df8992a81782f0a4b0abc8", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(2, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0xe357cd79a176521a35f9fc141cc2f51648bf8ab0b2aabca1d6906e6b4c5f42ca, 0x1d8e85250a5c285975f636e7e8f3cb99b6bca14dfb47072316e3db8d041799c3)]" + ], + "transaction": { + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001be357cd79a176521a35f9fc141cc2f51648bf8ab0b2aabca1d6906e6b4c5f42ca1d8e85250a5c285975f636e7e8f3cb99b6bca14dfb47072316e3db8d041799c3", + "nonce": "0x6e", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0x54c3bf4b20415f950424f08d8ed67ecc4c48cf2f64551e6e38a1b96226b13795", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(2, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0xad572da85452dfc69bc4ef734eb96fffdf8ace64bf84e169873308821768d72a, 0x1bb157798c02604ffde24972e0eb5faf8eaf767623eda9d0a50fe5268d6d0c75)]" + ], + "transaction": { + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001bad572da85452dfc69bc4ef734eb96fffdf8ace64bf84e169873308821768d72a1bb157798c02604ffde24972e0eb5faf8eaf767623eda9d0a50fe5268d6d0c75", + "nonce": "0x7e", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0xd106122ece2f2cb9d1f6677e020e22eeba0e0ebced763364690b4267260cd309", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(2, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0x5204a7e0786ea8217648e4272aa56b6d847bd53532d86171cbc6d20cf2cee9d8, 0x1452f65b89b0a7f28defed2d715a510c710882c334e6f4de4abf03d8f4264104)]" + ], + "transaction": { + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001c5204a7e0786ea8217648e4272aa56b6d847bd53532d86171cbc6d20cf2cee9d81452f65b89b0a7f28defed2d715a510c710882c334e6f4de4abf03d8f4264104", + "nonce": "0x6f", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0x0c36fdb3bdb4d8385afbafc4bb59426da98ab0c1c6f1341e70bfdad2fce21279", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "propose(uint256,uint256,address,address[],uint256[],bytes[],uint256[])", + "arguments": [ + "11155111", + "1725705492", + "0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa", + "[0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e]", + "[0, 0]", + "[0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5]", + "[2000000, 1000000]" + ], + "transaction": { + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x47f40", + "value": "0x0", + "input": "0x15702f050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000540000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "nonce": "0x26c", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": "0x40890869d7e48be02665c7f884f4e45690c1d9ec17b6419eb1f67459ffad247e", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(3, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0x63dbc80da9a42dfeb3aba03340aeca12a21210840be49e4489e20d3412e032ac, 0x74151544f44e6c5c6315cd7714aa0038d4102e1edf4617909ea772188b308886)]" + ], + "transaction": { + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001b63dbc80da9a42dfeb3aba03340aeca12a21210840be49e4489e20d3412e032ac74151544f44e6c5c6315cd7714aa0038d4102e1edf4617909ea772188b308886", + "nonce": "0x6f", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0x98120caabb26c7513523b2bbf9bcdfc33da8d90849c904f7afdb3c3f21da89be", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(3, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0x67fc1842edea076b879613dc6c3254322d178332186511519e13cd8fa22cf0ec, 0x351d97e58c9d7ced59f877ec08c45723571079c17586c035ef957a39778077c6)]" + ], + "transaction": { + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001c67fc1842edea076b879613dc6c3254322d178332186511519e13cd8fa22cf0ec351d97e58c9d7ced59f877ec08c45723571079c17586c035ef957a39778077c6", + "nonce": "0x7f", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0xb904de99cac4a00b47462fd9df929eb6850da920050d70e5b5b57be3daf38c6c", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(3, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0x42d9cc61eb0024e50cc769314d54872819662586855c734fac8218d0ca0600f7, 0x21b4fd5bde6b70c881e3d3d6bf219f4f43688f15634c9d126787eab6f56241d9)]" + ], + "transaction": { + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001c42d9cc61eb0024e50cc769314d54872819662586855c734fac8218d0ca0600f721b4fd5bde6b70c881e3d3d6bf219f4f43688f15634c9d126787eab6f56241d9", + "nonce": "0x70", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0x152fb436789dde9e3bbf363be54ab658fa91fa8e8dbad63a015f01019b8f88eb", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "propose(uint256,uint256,address,address[],uint256[],bytes[],uint256[])", + "arguments": [ + "11155111", + "1725705492", + "0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa", + "[0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e]", + "[0, 0]", + "[0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5]", + "[2000000, 1000000]" + ], + "transaction": { + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x47f40", + "value": "0x0", + "input": "0x15702f050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000540000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "nonce": "0x26d", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": "0x16a2259e78065bcdc6b84e0b141c20e34291e44b8162c635986667ac6e0a7654", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(4, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0x1fab1aa8be6915f21deaa29383b0054e12a8210a2e8277856f4add214f193f07, 0x6e0c49689afa269fcb8b0450c8ce5fc143a479cc73e425b12f8f54e391015be5)]" + ], + "transaction": { + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001c1fab1aa8be6915f21deaa29383b0054e12a8210a2e8277856f4add214f193f076e0c49689afa269fcb8b0450c8ce5fc143a479cc73e425b12f8f54e391015be5", + "nonce": "0x70", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0x026b228f879bc4ccda33aa6422d382fc05e071506a3d97d7a31eefac3b195412", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(4, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0x161baa5c0432a9e79e1f8bfc86d74280e1e6124f6600f77f242dc413ad4ecb0f, 0x28812d5adbf221bb6701886e580191da0cbbc0103ed087a9e0641df5186427aa)]" + ], + "transaction": { + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001b161baa5c0432a9e79e1f8bfc86d74280e1e6124f6600f77f242dc413ad4ecb0f28812d5adbf221bb6701886e580191da0cbbc0103ed087a9e0641df5186427aa", + "nonce": "0x80", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0x4d5e647ebc3e8b9c5751b8a615b03354558e48d1ea8d864ce826fe2aad4dfb9f", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(4, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0xf711ef88d1eaeb30e77326cbf17de2eaacf5c48c2d37c0ec799dd16ba3f15b4c, 0x3c0729b1f75a49ce4fdde3701ba94fc106de17dd1bbb56b5a63ad3fc814b670d)]" + ], + "transaction": { + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001cf711ef88d1eaeb30e77326cbf17de2eaacf5c48c2d37c0ec799dd16ba3f15b4c3c0729b1f75a49ce4fdde3701ba94fc106de17dd1bbb56b5a63ad3fc814b670d", + "nonce": "0x71", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0x1348725ad520b3b444009d85a5cbd6222de87ddf7aa2e56997ae934ad12596ab", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "propose(uint256,uint256,address,address[],uint256[],bytes[],uint256[])", + "arguments": [ + "11155111", + "1725705492", + "0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa", + "[0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e]", + "[0, 0]", + "[0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5]", + "[2000000, 1000000]" + ], + "transaction": { + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x47f40", + "value": "0x0", + "input": "0x15702f050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000540000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "nonce": "0x26e", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": "0xf20edd5ad7a114f26e390583696b07e64c0813c04d9bd35c960d6e9c55239e77", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(5, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0x0fbb07145c3b5d47d5d1144b28b020c47992d3cbf06680a2d91c22259758179d, 0x1af264e74195c38cf7b19ccc147485ad9106e1546661b8536fc3e843b52fc0ba)]" + ], + "transaction": { + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001c0fbb07145c3b5d47d5d1144b28b020c47992d3cbf06680a2d91c22259758179d1af264e74195c38cf7b19ccc147485ad9106e1546661b8536fc3e843b52fc0ba", + "nonce": "0x71", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0x7ca56c6540d80fc3c36e94e83c63b1358d7b8a7c79b90222e7987b99c920bbbe", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(5, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0x775f08fb943eb14fab682f81ff280a5a9f24374b893d192e3b77e984c964cdfd, 0x61435ca7fae748ab2ac4f8d19929c8b67a499e528896ad9563853a06899093a1)]" + ], + "transaction": { + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001b775f08fb943eb14fab682f81ff280a5a9f24374b893d192e3b77e984c964cdfd61435ca7fae748ab2ac4f8d19929c8b67a499e528896ad9563853a06899093a1", + "nonce": "0x81", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0x4cf1612bb211febf95b9e61e816450ebfa0aca31eb7b5a2749d871df69aca279", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(5, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0x891abc0aab64c6fabf9ca090935ce6232f608fd895890270df10180dcf07a181, 0x033162578cf905dc655f39ee5218fb331d55ac9063ef31f514187da92de1f7ff)]" + ], + "transaction": { + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001c891abc0aab64c6fabf9ca090935ce6232f608fd895890270df10180dcf07a181033162578cf905dc655f39ee5218fb331d55ac9063ef31f514187da92de1f7ff", + "nonce": "0x72", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0xaf573b54d01aa972ab1454683254ab49da572ac80acfc988465e475dab02ca5c", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "propose(uint256,uint256,address,address[],uint256[],bytes[],uint256[])", + "arguments": [ + "11155111", + "1725705492", + "0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa", + "[0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e]", + "[0, 0]", + "[0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5]", + "[2000000, 1000000]" + ], + "transaction": { + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x47f40", + "value": "0x0", + "input": "0x15702f050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000540000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "nonce": "0x26f", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": "0xe8d3ca9dee68e5493df9b12188250852f3c789bc26d041f38ee2e73ac977407e", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(6, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0xb9d30aa5b7e6b743d3ae1efe05d13855e2bf8bea85e4befdb6678256047ddce1, 0x0426a59fb56f363e3481e9af61f92d02470631e515ddfd005af8f55ca71fc5e0)]" + ], + "transaction": { + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001cb9d30aa5b7e6b743d3ae1efe05d13855e2bf8bea85e4befdb6678256047ddce10426a59fb56f363e3481e9af61f92d02470631e515ddfd005af8f55ca71fc5e0", + "nonce": "0x72", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0xe9304cd23e83b87aaab1fa03391f1fb65ae8e92c47cf88b3c7b44ace8693022c", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(6, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0x4ae661e8cb6eda06b60402047ffd9c2fbf6bff581b348841db77f538c102b9e8, 0x5f6de0d913ac4a1c10e938a4b12f34dd803b2266112053c74a7e8e7c70f5391d)]" + ], + "transaction": { + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001c4ae661e8cb6eda06b60402047ffd9c2fbf6bff581b348841db77f538c102b9e85f6de0d913ac4a1c10e938a4b12f34dd803b2266112053c74a7e8e7c70f5391d", + "nonce": "0x82", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0xe3ebb5c1bd8ecac28a500fb8608ba43340bb16aa6f8937d390a9f9b1a82c4fb9", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(6, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0x215320ac5391b50bc7d2f737800e69d925854155f19a6342f88a628aab6dd122, 0x18479e703b6b400160839923617b1fafba588ce49247d6bdc0abcccf81a36b58)]" + ], + "transaction": { + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001b215320ac5391b50bc7d2f737800e69d925854155f19a6342f88a628aab6dd12218479e703b6b400160839923617b1fafba588ce49247d6bdc0abcccf81a36b58", + "nonce": "0x73", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0x741502b641a3026a3fdb70cf93d2e048083100dd2412add4f3cf797af2bd0926", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "propose(uint256,uint256,address,address[],uint256[],bytes[],uint256[])", + "arguments": [ + "11155111", + "1725705492", + "0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa", + "[0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e]", + "[0, 0]", + "[0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5]", + "[2000000, 1000000]" + ], + "transaction": { + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x47f40", + "value": "0x0", + "input": "0x15702f050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000540000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "nonce": "0x270", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": "0x9ba86581abf7d72980eabe8866e52adeffefea7d9618fb12b2a3825678443f4a", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(7, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0x68f1e533c7e8a5f400f451a3b47293397f7bd854dd8c778f37972260a259a8ba, 0x655781ec024f24869557ef79bb70b02d77f2a457fb5c6f89f5380c71eb9621c9)]" + ], + "transaction": { + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001b68f1e533c7e8a5f400f451a3b47293397f7bd854dd8c778f37972260a259a8ba655781ec024f24869557ef79bb70b02d77f2a457fb5c6f89f5380c71eb9621c9", + "nonce": "0x73", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0x52c3bf019e448dc151c18f29cd70cbc4f74f313a3d3a46aef6ebcb4e9fd90a29", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(7, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0xe9cf1c9b957b6f1798fa44b2aaa1b88f2c4318d6e5fc358ae4d3ef378c936dc8, 0x5ea3ff810d21367be87ab255fa31318fdc4420be5b668933c64d5b8e89556d88)]" + ], + "transaction": { + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001ce9cf1c9b957b6f1798fa44b2aaa1b88f2c4318d6e5fc358ae4d3ef378c936dc85ea3ff810d21367be87ab255fa31318fdc4420be5b668933c64d5b8e89556d88", + "nonce": "0x83", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0xa2bee1168ac47fe2edb1337d56dcee998dbbaababfdaf396969382bbb322a69d", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(7, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0x8a595143421770df8246fb656fd2d233fa6045f4703aeba59811f4fb96f5192b, 0x3f16c61104a046c6bb6c3ca47cbdb6b5d65a52d46294e5f7afc1fe5dd7ce364f)]" + ], + "transaction": { + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001c8a595143421770df8246fb656fd2d233fa6045f4703aeba59811f4fb96f5192b3f16c61104a046c6bb6c3ca47cbdb6b5d65a52d46294e5f7afc1fe5dd7ce364f", + "nonce": "0x74", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0xfcd466ce1a89a8914b2ecae3a1e778f38bcac556dcc5a8eb7e6a64a0734a5211", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "propose(uint256,uint256,address,address[],uint256[],bytes[],uint256[])", + "arguments": [ + "11155111", + "1725705492", + "0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa", + "[0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e]", + "[0, 0]", + "[0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5]", + "[2000000, 1000000]" + ], + "transaction": { + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x47f40", + "value": "0x0", + "input": "0x15702f050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000540000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "nonce": "0x271", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": "0x83bf4366e18ca7ca8aeafb86e182a6ea09f0f9fd6b8fe37474ba33d011fbd943", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(8, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(28, 0x1b6ab73c103a8796d3a5cb29a26b73f71a52d108bdf4644f7cf32ff7dd03bebc, 0x12b78a66216e1e5597d2508e52337e1f12dc134b88a0ac22db8a37fd52c3e420)]" + ], + "transaction": { + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001c1b6ab73c103a8796d3a5cb29a26b73f71a52d108bdf4644f7cf32ff7dd03bebc12b78a66216e1e5597d2508e52337e1f12dc134b88a0ac22db8a37fd52c3e420", + "nonce": "0x74", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0x400c9f29cf196e178a3e71d7ad687b3f3a2a5d513d5869f865b47ff67faa8908", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(8, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0x58d5bf707bea513c4a3f1744912a2fd228601baac586f01e60a4127796abaa1a, 0x2ac1e13eabff5501df8965df4a5bc5c81b4b37e73940d815f5bb8c895c7d0b4a)]" + ], + "transaction": { + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001b58d5bf707bea513c4a3f1744912a2fd228601baac586f01e60a4127796abaa1a2ac1e13eabff5501df8965df4a5bc5c81b4b37e73940d815f5bb8c895c7d0b4a", + "nonce": "0x84", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + }, + { + "hash": "0x1c75e154b6c709f092488bfc7f80a32d545fb917e0ccdc6f798e2c264dada880", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "castProposalBySignatures((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(8, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0]", + "[(27, 0x7d2ccda4004b21bccf354892925257738c72c8554138068e5a7e051ab0437ef0, 0x57e5cde64467f7fafaacb2f757b0ca862b958abb2ce033459fb88056ba0d3b90)]" + ], + "transaction": { + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x36ee80", + "value": "0x0", + "input": "0x86ccbf1200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001b7d2ccda4004b21bccf354892925257738c72c8554138068e5a7e051ab0437ef057e5cde64467f7fafaacb2f757b0ca862b958abb2ce033459fb88056ba0d3b90", + "nonce": "0x75", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": true + } + ], + "receipts": [ + { + "status": "0x1", + "cumulativeGasUsed": "0x2380f", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x58f98006a7f2f253f8ae8f8b7cec9008ca05359633561cd7c22f3005682d4a55", + "0x0000000000000000000000000000000000000000000000000000000000000000" + ], + "data": "0x", + "blockHash": "0x59009c52aacc52e2da6365a18d297391da28638a63c4f933bfefd07a22d68873", + "blockNumber": "0x1ce7aab", + "transactionHash": "0xef0fee8825bac5f127c3cdb5a62c00ba08a6f5266933276323cc2f9b153fb1e6", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0xd1221ffb98610024a29755d7db3c71692310f43a7cfcce7ee488a8c7e9e0bfa4", + "0x0000000000000000000000000000000000000000000000000000000000aa36a7", + "0x0000000000000000000000000000000000000000000000000000000000000001", + "0x323b8b6fdc32ef42f1a1c60fb3c038197ccfbab67a002d471d59a562fbcf0121" + ], + "data": "0x0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "blockHash": "0x59009c52aacc52e2da6365a18d297391da28638a63c4f933bfefd07a22d68873", + "blockNumber": "0x1ce7aab", + "transactionHash": "0xef0fee8825bac5f127c3cdb5a62c00ba08a6f5266933276323cc2f9b153fb1e6", + "transactionIndex": "0x0", + "logIndex": "0x1", + "removed": false + } + ], + "logsBloom": "0x00000000000000010000000000000000000040000000000000000000000000000000000000000000100000000000000002000000000000000000010000040000000000000000000000000000000000000000000000040000000000000000000000000000020080000400000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000120000000000000000000200000000000000000000000400000000000000100000000000000000000000000060000000000000000000000000000000000000000000040000000000080000000000", + "type": "0x2", + "transactionHash": "0xef0fee8825bac5f127c3cdb5a62c00ba08a6f5266933276323cc2f9b153fb1e6", + "transactionIndex": "0x0", + "blockHash": "0x59009c52aacc52e2da6365a18d297391da28638a63c4f933bfefd07a22d68873", + "blockNumber": "0x1ce7aab", + "gasUsed": "0x2380f", + "effectiveGasPrice": "0x4a817c800", + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x3a97a", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x323b8b6fdc32ef42f1a1c60fb3c038197ccfbab67a002d471d59a562fbcf0121", + "0x000000000000000000000000b033ba62ec622dc54d0abfe0254e79692147ca26" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0x68212e9888c2317043de930331ca4e23a6f6a0437d0199324ba4129e6bf4a080", + "blockNumber": "0x1ce7aae", + "transactionHash": "0xcd3d3f5656eff85e5578973a9c4f2806b1a4eac492558e9e4058c57aa982ba52", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000004000000000000000000000000000000000000000000000000008000000000000080000410000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100400000000000000000000000000000000000000100400000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0xcd3d3f5656eff85e5578973a9c4f2806b1a4eac492558e9e4058c57aa982ba52", + "transactionIndex": "0x0", + "blockHash": "0x68212e9888c2317043de930331ca4e23a6f6a0437d0199324ba4129e6bf4a080", + "blockNumber": "0x1ce7aae", + "gasUsed": "0x3a97a", + "effectiveGasPrice": "0x4a817c800", + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x323e2", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x323b8b6fdc32ef42f1a1c60fb3c038197ccfbab67a002d471d59a562fbcf0121", + "0x000000000000000000000000087d08e3ba42e64e3948962dd1371f906d1278b9" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0x9e3bcf016aee61abf8ee4741ec13644390a10d3808266616a4e7249b082e0ddb", + "blockNumber": "0x1ce7ab1", + "transactionHash": "0xf574d9c7dc3e10120cd12964dd3ef5140ebb804b41d52dff6c97b5d2a4779591", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000010000000000000000000004000000000000000000000000000000000000000000000000000000000000000080000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000100400000000040000000000000000000000000000000400000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0xf574d9c7dc3e10120cd12964dd3ef5140ebb804b41d52dff6c97b5d2a4779591", + "transactionIndex": "0x0", + "blockHash": "0x9e3bcf016aee61abf8ee4741ec13644390a10d3808266616a4e7249b082e0ddb", + "blockNumber": "0x1ce7ab1", + "gasUsed": "0x323e2", + "effectiveGasPrice": "0x4a817c800", + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x37767", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x323b8b6fdc32ef42f1a1c60fb3c038197ccfbab67a002d471d59a562fbcf0121", + "0x00000000000000000000000052ec2e6bbce45afff8955da6410bb13812f4289f" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0x4225a9721518a2960a390e03590ec909812ab64d4873555979d4f7a8c2b54af1", + "blockNumber": "0x1ce7ab3", + "transactionHash": "0xa83c624e353e19558a06561183df4829fac65f1a4d49484c903003df632faf0e", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x5c819725ea53655a3b898f3df59b66489761935454e9212ca1e5ebd759953d0b", + "0x323b8b6fdc32ef42f1a1c60fb3c038197ccfbab67a002d471d59a562fbcf0121" + ], + "data": "0x", + "blockHash": "0x4225a9721518a2960a390e03590ec909812ab64d4873555979d4f7a8c2b54af1", + "blockNumber": "0x1ce7ab3", + "transactionHash": "0xa83c624e353e19558a06561183df4829fac65f1a4d49484c903003df632faf0e", + "transactionIndex": "0x0", + "logIndex": "0x1", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000080000000000000000002000000000000000000000000000000000000000010000000000000000000004000000000000000000000000000000000000000000000000000000000000000080000400000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000100400000000000000000010000000000000000000000400000000000000000000000000000000000000400000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0xa83c624e353e19558a06561183df4829fac65f1a4d49484c903003df632faf0e", + "transactionIndex": "0x0", + "blockHash": "0x4225a9721518a2960a390e03590ec909812ab64d4873555979d4f7a8c2b54af1", + "blockNumber": "0x1ce7ab3", + "gasUsed": "0x37767", + "effectiveGasPrice": "0x4a817c800", + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x1ffab", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x58f98006a7f2f253f8ae8f8b7cec9008ca05359633561cd7c22f3005682d4a55", + "0x0000000000000000000000000000000000000000000000000000000000000000" + ], + "data": "0x", + "blockHash": "0x772aa89d71e373a2cc63e5a9201e1b3ff916baa15b3bf25bb9bbc0957f8d4274", + "blockNumber": "0x1ce7ab6", + "transactionHash": "0x5deb929810f30261f1b40e7d6cfe9cc02196e5685d3d820166daac74c5c1eac0", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0xd1221ffb98610024a29755d7db3c71692310f43a7cfcce7ee488a8c7e9e0bfa4", + "0x0000000000000000000000000000000000000000000000000000000000aa36a7", + "0x0000000000000000000000000000000000000000000000000000000000000002", + "0x5507ff352d6c8200fec8cc2eee05d964aefb5a52f3f3115fbe1700b24047f306" + ], + "data": "0x0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "blockHash": "0x772aa89d71e373a2cc63e5a9201e1b3ff916baa15b3bf25bb9bbc0957f8d4274", + "blockNumber": "0x1ce7ab6", + "transactionHash": "0x5deb929810f30261f1b40e7d6cfe9cc02196e5685d3d820166daac74c5c1eac0", + "transactionIndex": "0x0", + "logIndex": "0x1", + "removed": false + } + ], + "logsBloom": "0x04000000020000010000000000000000000040000000000000000000000000000000000000000000300000000000000002000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000020080000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000100000000000000020000000000000000000200000000000000010000000000000000000000100000000000000000000000000020000000000000000000000000000000000000000000048000000000080000000000", + "type": "0x2", + "transactionHash": "0x5deb929810f30261f1b40e7d6cfe9cc02196e5685d3d820166daac74c5c1eac0", + "transactionIndex": "0x0", + "blockHash": "0x772aa89d71e373a2cc63e5a9201e1b3ff916baa15b3bf25bb9bbc0957f8d4274", + "blockNumber": "0x1ce7ab6", + "gasUsed": "0x1ffab", + "effectiveGasPrice": "0x4a817c800", + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x3a966", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x5507ff352d6c8200fec8cc2eee05d964aefb5a52f3f3115fbe1700b24047f306", + "0x000000000000000000000000b033ba62ec622dc54d0abfe0254e79692147ca26" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0xa39fa0728518a15220c9b15c514ddd989b4df60ce80f67952e4fdb9fc05308b9", + "blockNumber": "0x1ce7ab8", + "transactionHash": "0x139eedd42d18e643740e31665bee06bebc21f63be4df8992a81782f0a4b0abc8", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + } + ], + "logsBloom": "0x00000000020000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000010000000000000000000004000000000000000000000000000000000000000000000000008000000000000080000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000010000100000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0x139eedd42d18e643740e31665bee06bebc21f63be4df8992a81782f0a4b0abc8", + "transactionIndex": "0x0", + "blockHash": "0xa39fa0728518a15220c9b15c514ddd989b4df60ce80f67952e4fdb9fc05308b9", + "blockNumber": "0x1ce7ab8", + "gasUsed": "0x3a966", + "effectiveGasPrice": "0x4a817c800", + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x323ce", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x5507ff352d6c8200fec8cc2eee05d964aefb5a52f3f3115fbe1700b24047f306", + "0x000000000000000000000000087d08e3ba42e64e3948962dd1371f906d1278b9" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0x17144515851505e0943780a5206aff96cde5f822f359672c55d7e70af77c4b07", + "blockNumber": "0x1ce7aba", + "transactionHash": "0x54c3bf4b20415f950424f08d8ed67ecc4c48cf2f64551e6e38a1b96226b13795", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + } + ], + "logsBloom": "0x00000000020000000000000000000000000000000000000000000000000000000000000000000000200000000000000000400000000000000000010000000000000000000004000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000400000000040000000000000000000000010000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0x54c3bf4b20415f950424f08d8ed67ecc4c48cf2f64551e6e38a1b96226b13795", + "transactionIndex": "0x0", + "blockHash": "0x17144515851505e0943780a5206aff96cde5f822f359672c55d7e70af77c4b07", + "blockNumber": "0x1ce7aba", + "gasUsed": "0x323ce", + "effectiveGasPrice": "0x4a817c800", + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x37767", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x5507ff352d6c8200fec8cc2eee05d964aefb5a52f3f3115fbe1700b24047f306", + "0x00000000000000000000000052ec2e6bbce45afff8955da6410bb13812f4289f" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0xfd0d31ecdf6a055be23f3bb2ecb42b12e18dd100e6d54813973a8c9e773fefb7", + "blockNumber": "0x1ce7abd", + "transactionHash": "0xd106122ece2f2cb9d1f6677e020e22eeba0e0ebced763364690b4267260cd309", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x5c819725ea53655a3b898f3df59b66489761935454e9212ca1e5ebd759953d0b", + "0x5507ff352d6c8200fec8cc2eee05d964aefb5a52f3f3115fbe1700b24047f306" + ], + "data": "0x", + "blockHash": "0xfd0d31ecdf6a055be23f3bb2ecb42b12e18dd100e6d54813973a8c9e773fefb7", + "blockNumber": "0x1ce7abd", + "transactionHash": "0xd106122ece2f2cb9d1f6677e020e22eeba0e0ebced763364690b4267260cd309", + "transactionIndex": "0x0", + "logIndex": "0x1", + "removed": false + } + ], + "logsBloom": "0x00000000020000000000000000000000000000000000000000000000080000000000000000002000200000000000000000000000000000000000010000000000000000000004000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000400000000000000000010000000000000010000000000000000000000000000000000000000000000400000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0xd106122ece2f2cb9d1f6677e020e22eeba0e0ebced763364690b4267260cd309", + "transactionIndex": "0x0", + "blockHash": "0xfd0d31ecdf6a055be23f3bb2ecb42b12e18dd100e6d54813973a8c9e773fefb7", + "blockNumber": "0x1ce7abd", + "gasUsed": "0x37767", + "effectiveGasPrice": "0x4a817c800", + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x1ffab", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x58f98006a7f2f253f8ae8f8b7cec9008ca05359633561cd7c22f3005682d4a55", + "0x0000000000000000000000000000000000000000000000000000000000000000" + ], + "data": "0x", + "blockHash": "0xced39a6cf8ac5067457be65aee770dca8dd09ee76ed4ae36b4978e479425cf65", + "blockNumber": "0x1ce7abf", + "transactionHash": "0x0c36fdb3bdb4d8385afbafc4bb59426da98ab0c1c6f1341e70bfdad2fce21279", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0xd1221ffb98610024a29755d7db3c71692310f43a7cfcce7ee488a8c7e9e0bfa4", + "0x0000000000000000000000000000000000000000000000000000000000aa36a7", + "0x0000000000000000000000000000000000000000000000000000000000000003", + "0x0ea3ca1100ccab993a84be42bfac15f0682ee1dafa8e4d995efe996b9ebd3332" + ], + "data": "0x0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "blockHash": "0xced39a6cf8ac5067457be65aee770dca8dd09ee76ed4ae36b4978e479425cf65", + "blockNumber": "0x1ce7abf", + "transactionHash": "0x0c36fdb3bdb4d8385afbafc4bb59426da98ab0c1c6f1341e70bfdad2fce21279", + "transactionIndex": "0x0", + "logIndex": "0x1", + "removed": false + } + ], + "logsBloom": "0x00000000000000010000000000000000000040000000000000000000000000000000000000000000100000000000000002000000020000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000020080000000000000000800000000000000000000000000000000000000000000000000000800002000000000000000000000000000000004000000000000000000000000008000000000000000020000800000000000000200400000000000000000000000000000000000100000000000000000000000000020000000000000000000000000000000000000000000040000000000080000000000", + "type": "0x2", + "transactionHash": "0x0c36fdb3bdb4d8385afbafc4bb59426da98ab0c1c6f1341e70bfdad2fce21279", + "transactionIndex": "0x0", + "blockHash": "0xced39a6cf8ac5067457be65aee770dca8dd09ee76ed4ae36b4978e479425cf65", + "blockNumber": "0x1ce7abf", + "gasUsed": "0x1ffab", + "effectiveGasPrice": "0x4a817c800", + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x3a95a", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x0ea3ca1100ccab993a84be42bfac15f0682ee1dafa8e4d995efe996b9ebd3332", + "0x000000000000000000000000b033ba62ec622dc54d0abfe0254e79692147ca26" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0xbb1abdbdacc65a9c5ff1d75fcb55478c4270018b31a5f161fc3e56551d9b3ba7", + "blockNumber": "0x1ce7ac2", + "transactionHash": "0x40890869d7e48be02665c7f884f4e45690c1d9ec17b6419eb1f67459ffad247e", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000004000000000000000000000000000000000000000000000000008000000000000080000010000000000000000000000000000000000000000000000000000000000000000800002000000000000000000000000000000000000000000000000000000000008000000000000000000400000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0x40890869d7e48be02665c7f884f4e45690c1d9ec17b6419eb1f67459ffad247e", + "transactionIndex": "0x0", + "blockHash": "0xbb1abdbdacc65a9c5ff1d75fcb55478c4270018b31a5f161fc3e56551d9b3ba7", + "blockNumber": "0x1ce7ac2", + "gasUsed": "0x3a95a", + "effectiveGasPrice": "0x4a817c800", + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x323e2", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x0ea3ca1100ccab993a84be42bfac15f0682ee1dafa8e4d995efe996b9ebd3332", + "0x000000000000000000000000087d08e3ba42e64e3948962dd1371f906d1278b9" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0x6cc3b663f477b38de949b7795738581de9761f09d38c03be91b88ba577b271b3", + "blockNumber": "0x1ce7ac4", + "transactionHash": "0x98120caabb26c7513523b2bbf9bcdfc33da8d90849c904f7afdb3c3f21da89be", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000010000000000000000000004000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000800002000000000000000000000000000000000000000000000000000000000008000000800000000000400000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0x98120caabb26c7513523b2bbf9bcdfc33da8d90849c904f7afdb3c3f21da89be", + "transactionIndex": "0x0", + "blockHash": "0x6cc3b663f477b38de949b7795738581de9761f09d38c03be91b88ba577b271b3", + "blockNumber": "0x1ce7ac4", + "gasUsed": "0x323e2", + "effectiveGasPrice": "0x4a817c800", + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x3774f", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x0ea3ca1100ccab993a84be42bfac15f0682ee1dafa8e4d995efe996b9ebd3332", + "0x00000000000000000000000052ec2e6bbce45afff8955da6410bb13812f4289f" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0x2f60eb8ad005b974ae81c84868329f84896ce0f825d352b85e553205a3f295ba", + "blockNumber": "0x1ce7ac7", + "transactionHash": "0xb904de99cac4a00b47462fd9df929eb6850da920050d70e5b5b57be3daf38c6c", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x5c819725ea53655a3b898f3df59b66489761935454e9212ca1e5ebd759953d0b", + "0x0ea3ca1100ccab993a84be42bfac15f0682ee1dafa8e4d995efe996b9ebd3332" + ], + "data": "0x", + "blockHash": "0x2f60eb8ad005b974ae81c84868329f84896ce0f825d352b85e553205a3f295ba", + "blockNumber": "0x1ce7ac7", + "transactionHash": "0xb904de99cac4a00b47462fd9df929eb6850da920050d70e5b5b57be3daf38c6c", + "transactionIndex": "0x0", + "logIndex": "0x1", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000080000000000000000002000000000000000000000000000000000000000010000000000000000000004000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000020000000000000000000000000000000000000800002000000000000000000000000000000000000000000000000000000000008080000000000000000400000000000000000010000000000000000000000000000000000000000000000000000000000000400000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0xb904de99cac4a00b47462fd9df929eb6850da920050d70e5b5b57be3daf38c6c", + "transactionIndex": "0x0", + "blockHash": "0x2f60eb8ad005b974ae81c84868329f84896ce0f825d352b85e553205a3f295ba", + "blockNumber": "0x1ce7ac7", + "gasUsed": "0x3774f", + "effectiveGasPrice": "0x4a817c800", + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x1ffab", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x58f98006a7f2f253f8ae8f8b7cec9008ca05359633561cd7c22f3005682d4a55", + "0x0000000000000000000000000000000000000000000000000000000000000000" + ], + "data": "0x", + "blockHash": "0x11da07b253577f6ca7cb5ba7cd2c4e81a53c78d40caff5c657f06bd1832b1cb9", + "blockNumber": "0x1ce7ac9", + "transactionHash": "0x152fb436789dde9e3bbf363be54ab658fa91fa8e8dbad63a015f01019b8f88eb", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0xd1221ffb98610024a29755d7db3c71692310f43a7cfcce7ee488a8c7e9e0bfa4", + "0x0000000000000000000000000000000000000000000000000000000000aa36a7", + "0x0000000000000000000000000000000000000000000000000000000000000004", + "0xec02cf9bee1519bca3863221631cef601044449f00a163dfd4c5b1e5d25c52f9" + ], + "data": "0x0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "blockHash": "0x11da07b253577f6ca7cb5ba7cd2c4e81a53c78d40caff5c657f06bd1832b1cb9", + "blockNumber": "0x1ce7ac9", + "transactionHash": "0x152fb436789dde9e3bbf363be54ab658fa91fa8e8dbad63a015f01019b8f88eb", + "transactionIndex": "0x0", + "logIndex": "0x1", + "removed": false + } + ], + "logsBloom": "0x00000000000000010000000000000000000040000000000000000000000000000000000000000000100000000000000002000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000008000000030080000000000000000800000000000000000000000000000000000000000000000000000800000000000200000000000000000000000004000000000000000000000000000000000000000000020000000000002000000200000000000000000000000000000000000000100000008000000000000000000020000000000000000000000000000000000000000000040000000000080000000000", + "type": "0x2", + "transactionHash": "0x152fb436789dde9e3bbf363be54ab658fa91fa8e8dbad63a015f01019b8f88eb", + "transactionIndex": "0x0", + "blockHash": "0x11da07b253577f6ca7cb5ba7cd2c4e81a53c78d40caff5c657f06bd1832b1cb9", + "blockNumber": "0x1ce7ac9", + "gasUsed": "0x1ffab", + "effectiveGasPrice": "0x4a817c800", + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x3a97a", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0xec02cf9bee1519bca3863221631cef601044449f00a163dfd4c5b1e5d25c52f9", + "0x000000000000000000000000b033ba62ec622dc54d0abfe0254e79692147ca26" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0x328dc49609a79a3c01d045e39fd5b01774642e357a763932085e1fb364fd9209", + "blockNumber": "0x1ce7acc", + "transactionHash": "0x16a2259e78065bcdc6b84e0b141c20e34291e44b8162c635986667ac6e0a7654", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000004000000000000000000000000000000000000000000000000008000000000010080000010000000000000000000000000000000000000000000000000000000000000000800000000000200000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0x16a2259e78065bcdc6b84e0b141c20e34291e44b8162c635986667ac6e0a7654", + "transactionIndex": "0x0", + "blockHash": "0x328dc49609a79a3c01d045e39fd5b01774642e357a763932085e1fb364fd9209", + "blockNumber": "0x1ce7acc", + "gasUsed": "0x3a97a", + "effectiveGasPrice": "0x4a817c800", + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x323c2", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0xec02cf9bee1519bca3863221631cef601044449f00a163dfd4c5b1e5d25c52f9", + "0x000000000000000000000000087d08e3ba42e64e3948962dd1371f906d1278b9" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0xf78c46e8d2eca03f67838492c52081931bfafa58f022609adb3ce29d2ed3eb7c", + "blockNumber": "0x1ce7ace", + "transactionHash": "0x026b228f879bc4ccda33aa6422d382fc05e071506a3d97d7a31eefac3b195412", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000010000000000000000000004000000000000000000000000000000000000000000000000000000000000010080000000000000000000000000000000000000000000000000000000000000000000000800000000000200000000000000000000000000000000000000000000000000000000000800000000000400000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0x026b228f879bc4ccda33aa6422d382fc05e071506a3d97d7a31eefac3b195412", + "transactionIndex": "0x0", + "blockHash": "0xf78c46e8d2eca03f67838492c52081931bfafa58f022609adb3ce29d2ed3eb7c", + "blockNumber": "0x1ce7ace", + "gasUsed": "0x323c2", + "effectiveGasPrice": "0x4a817c800", + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x37767", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0xec02cf9bee1519bca3863221631cef601044449f00a163dfd4c5b1e5d25c52f9", + "0x00000000000000000000000052ec2e6bbce45afff8955da6410bb13812f4289f" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0xc4ae17a86c89e191d72a66dffddb92d10fdd855e7ff77f2e17ac47378cdc0f4d", + "blockNumber": "0x1ce7ad0", + "transactionHash": "0x4d5e647ebc3e8b9c5751b8a615b03354558e48d1ea8d864ce826fe2aad4dfb9f", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x5c819725ea53655a3b898f3df59b66489761935454e9212ca1e5ebd759953d0b", + "0xec02cf9bee1519bca3863221631cef601044449f00a163dfd4c5b1e5d25c52f9" + ], + "data": "0x", + "blockHash": "0xc4ae17a86c89e191d72a66dffddb92d10fdd855e7ff77f2e17ac47378cdc0f4d", + "blockNumber": "0x1ce7ad0", + "transactionHash": "0x4d5e647ebc3e8b9c5751b8a615b03354558e48d1ea8d864ce826fe2aad4dfb9f", + "transactionIndex": "0x0", + "logIndex": "0x1", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000080000000000000000002000000000000000000000000000000000000000010000000000000000000004000000000000000000000000000000000000000000000000000000000000010080000000000000000000000000000000020000000000000000000000000000000000000800000000000200000000000000000000000000000000000000000000000000000080000000000000000400000000000000000010000000000000000000000000000000000000000000000000000000000000400000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0x4d5e647ebc3e8b9c5751b8a615b03354558e48d1ea8d864ce826fe2aad4dfb9f", + "transactionIndex": "0x0", + "blockHash": "0xc4ae17a86c89e191d72a66dffddb92d10fdd855e7ff77f2e17ac47378cdc0f4d", + "blockNumber": "0x1ce7ad0", + "gasUsed": "0x37767", + "effectiveGasPrice": "0x4a817c800", + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x1ffab", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x58f98006a7f2f253f8ae8f8b7cec9008ca05359633561cd7c22f3005682d4a55", + "0x0000000000000000000000000000000000000000000000000000000000000000" + ], + "data": "0x", + "blockHash": "0xb7fdb913df4b43fa6f58b636d377740dd6b58ffd08513b0741fc9bf44acbda4a", + "blockNumber": "0x1ce7ad3", + "transactionHash": "0x1348725ad520b3b444009d85a5cbd6222de87ddf7aa2e56997ae934ad12596ab", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0xd1221ffb98610024a29755d7db3c71692310f43a7cfcce7ee488a8c7e9e0bfa4", + "0x0000000000000000000000000000000000000000000000000000000000aa36a7", + "0x0000000000000000000000000000000000000000000000000000000000000005", + "0x95a9824a7896fe5f85a19ed943ed8ed85e21def2ffc349465fb4a80c681126cc" + ], + "data": "0x0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "blockHash": "0xb7fdb913df4b43fa6f58b636d377740dd6b58ffd08513b0741fc9bf44acbda4a", + "blockNumber": "0x1ce7ad3", + "transactionHash": "0x1348725ad520b3b444009d85a5cbd6222de87ddf7aa2e56997ae934ad12596ab", + "transactionIndex": "0x0", + "logIndex": "0x1", + "removed": false + } + ], + "logsBloom": "0x00000000000000010000000000000000000040000000000000000000000000000000000000000000100000000000000002000000000000000000010000000000000010400000000000000000000000000000000000000000000000000000000000000000020080000000000000000800000000000000000000000000000000000000000000000000000000000000001000000800000000000000000024000000000000000000000000000000000000000000020000000000000000000200000000000000000000000100000000000000100000000000000000000000000020000000000000000000000000000000000000000000040000000000080000000000", + "type": "0x2", + "transactionHash": "0x1348725ad520b3b444009d85a5cbd6222de87ddf7aa2e56997ae934ad12596ab", + "transactionIndex": "0x0", + "blockHash": "0xb7fdb913df4b43fa6f58b636d377740dd6b58ffd08513b0741fc9bf44acbda4a", + "blockNumber": "0x1ce7ad3", + "gasUsed": "0x1ffab", + "effectiveGasPrice": "0x4a817c800", + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x3a97a", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x95a9824a7896fe5f85a19ed943ed8ed85e21def2ffc349465fb4a80c681126cc", + "0x000000000000000000000000b033ba62ec622dc54d0abfe0254e79692147ca26" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0x749a95e469c0b0ce162775b18f0f3e7d66accb9d2f8810ae890135a120ed8fe4", + "blockNumber": "0x1ce7ad5", + "transactionHash": "0xf20edd5ad7a114f26e390583696b07e64c0813c04d9bd35c960d6e9c55239e77", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000400004000000000000000000000000000000000000000000000000008000000000000080000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000400000000000000000000000000000000000000100100000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0xf20edd5ad7a114f26e390583696b07e64c0813c04d9bd35c960d6e9c55239e77", + "transactionIndex": "0x0", + "blockHash": "0x749a95e469c0b0ce162775b18f0f3e7d66accb9d2f8810ae890135a120ed8fe4", + "blockNumber": "0x1ce7ad5", + "gasUsed": "0x3a97a", + "effectiveGasPrice": "0x4a817c800", + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x323ce", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x95a9824a7896fe5f85a19ed943ed8ed85e21def2ffc349465fb4a80c681126cc", + "0x000000000000000000000000087d08e3ba42e64e3948962dd1371f906d1278b9" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0xb5b01c0d4fb434087291f9895e23e8c140d96d9c8fda3212f3072e42ffd53620", + "blockNumber": "0x1ce7ad8", + "transactionHash": "0x7ca56c6540d80fc3c36e94e83c63b1358d7b8a7c79b90222e7987b99c920bbbe", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000010000000000000000400004000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000800000000000400000000040000000000000000000000000000000100000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0x7ca56c6540d80fc3c36e94e83c63b1358d7b8a7c79b90222e7987b99c920bbbe", + "transactionIndex": "0x0", + "blockHash": "0xb5b01c0d4fb434087291f9895e23e8c140d96d9c8fda3212f3072e42ffd53620", + "blockNumber": "0x1ce7ad8", + "gasUsed": "0x323ce", + "effectiveGasPrice": "0x4a817c800", + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x37767", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x95a9824a7896fe5f85a19ed943ed8ed85e21def2ffc349465fb4a80c681126cc", + "0x00000000000000000000000052ec2e6bbce45afff8955da6410bb13812f4289f" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0x650ac8bf76bd5f60aa3cee48c11263610c0a787338dec603b39a3f519d0ec8c5", + "blockNumber": "0x1ce7ada", + "transactionHash": "0x4cf1612bb211febf95b9e61e816450ebfa0aca31eb7b5a2749d871df69aca279", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x5c819725ea53655a3b898f3df59b66489761935454e9212ca1e5ebd759953d0b", + "0x95a9824a7896fe5f85a19ed943ed8ed85e21def2ffc349465fb4a80c681126cc" + ], + "data": "0x", + "blockHash": "0x650ac8bf76bd5f60aa3cee48c11263610c0a787338dec603b39a3f519d0ec8c5", + "blockNumber": "0x1ce7ada", + "transactionHash": "0x4cf1612bb211febf95b9e61e816450ebfa0aca31eb7b5a2749d871df69aca279", + "transactionIndex": "0x0", + "logIndex": "0x1", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000080000000000000000002000000000000000000000000000000000000000010000000000000000400004000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000080000000000000000400000000000000000010000000000000000000000100000000000000000000000000000000000000400000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0x4cf1612bb211febf95b9e61e816450ebfa0aca31eb7b5a2749d871df69aca279", + "transactionIndex": "0x0", + "blockHash": "0x650ac8bf76bd5f60aa3cee48c11263610c0a787338dec603b39a3f519d0ec8c5", + "blockNumber": "0x1ce7ada", + "gasUsed": "0x37767", + "effectiveGasPrice": "0x4a817c800", + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x1ffab", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x58f98006a7f2f253f8ae8f8b7cec9008ca05359633561cd7c22f3005682d4a55", + "0x0000000000000000000000000000000000000000000000000000000000000000" + ], + "data": "0x", + "blockHash": "0x251b209624fac505c4fd4249ffb2c8113deb7c6c7980217522b34ab65d2298ca", + "blockNumber": "0x1ce7adc", + "transactionHash": "0xaf573b54d01aa972ab1454683254ab49da572ac80acfc988465e475dab02ca5c", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0xd1221ffb98610024a29755d7db3c71692310f43a7cfcce7ee488a8c7e9e0bfa4", + "0x0000000000000000000000000000000000000000000000000000000000aa36a7", + "0x0000000000000000000000000000000000000000000000000000000000000006", + "0x89e089432a778a455231955ca88308798d20a015dd194fa153c4c35ba4e6b5a5" + ], + "data": "0x0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "blockHash": "0x251b209624fac505c4fd4249ffb2c8113deb7c6c7980217522b34ab65d2298ca", + "blockNumber": "0x1ce7adc", + "transactionHash": "0xaf573b54d01aa972ab1454683254ab49da572ac80acfc988465e475dab02ca5c", + "transactionIndex": "0x0", + "logIndex": "0x1", + "removed": false + } + ], + "logsBloom": "0x00000000000000010000001000000000000040000000000000000000000000000000000000000000100000000000000002000000000400000008010000000000000000000000000000000000000000000000000000000000000000000000000100000000020080000000000000000800000000000000000000000000000000000000000400000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000020000000000000000080200000000000000000000000000000000000000100000000000000000000000000020000000000000000000000000000000000000000000040000000000080000000000", + "type": "0x2", + "transactionHash": "0xaf573b54d01aa972ab1454683254ab49da572ac80acfc988465e475dab02ca5c", + "transactionIndex": "0x0", + "blockHash": "0x251b209624fac505c4fd4249ffb2c8113deb7c6c7980217522b34ab65d2298ca", + "blockNumber": "0x1ce7adc", + "gasUsed": "0x1ffab", + "effectiveGasPrice": "0x4a817c800", + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x3a96e", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x89e089432a778a455231955ca88308798d20a015dd194fa153c4c35ba4e6b5a5", + "0x000000000000000000000000b033ba62ec622dc54d0abfe0254e79692147ca26" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0xddd98102f672aacd257fb133708f63c993be73abd68420c9545f4447fbcfcb72", + "blockNumber": "0x1ce7adf", + "transactionHash": "0xe8d3ca9dee68e5493df9b12188250852f3c789bc26d041f38ee2e73ac977407e", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008010000000000000000000004000000000000000000000000000000000000000000000000008100000000000080000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0xe8d3ca9dee68e5493df9b12188250852f3c789bc26d041f38ee2e73ac977407e", + "transactionIndex": "0x0", + "blockHash": "0xddd98102f672aacd257fb133708f63c993be73abd68420c9545f4447fbcfcb72", + "blockNumber": "0x1ce7adf", + "gasUsed": "0x3a96e", + "effectiveGasPrice": "0x4a817c800", + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x323e2", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x89e089432a778a455231955ca88308798d20a015dd194fa153c4c35ba4e6b5a5", + "0x000000000000000000000000087d08e3ba42e64e3948962dd1371f906d1278b9" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0x171928e4d2082678c4dcbcd56ecfbbc0b96733dd2d3be1c42958fba6f097dd81", + "blockNumber": "0x1ce7ae1", + "transactionHash": "0xe9304cd23e83b87aaab1fa03391f1fb65ae8e92c47cf88b3c7b44ace8693022c", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000008010000000000000000000004000000000000000000000000000000000000000000000000000100000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000400000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0xe9304cd23e83b87aaab1fa03391f1fb65ae8e92c47cf88b3c7b44ace8693022c", + "transactionIndex": "0x0", + "blockHash": "0x171928e4d2082678c4dcbcd56ecfbbc0b96733dd2d3be1c42958fba6f097dd81", + "blockNumber": "0x1ce7ae1", + "gasUsed": "0x323e2", + "effectiveGasPrice": "0x4a817c800", + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x37753", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x89e089432a778a455231955ca88308798d20a015dd194fa153c4c35ba4e6b5a5", + "0x00000000000000000000000052ec2e6bbce45afff8955da6410bb13812f4289f" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0x65102a8d2cd0463c259c64363d7ee89ac02481e6b7bdb2cd58862de511b0158a", + "blockNumber": "0x1ce7ae4", + "transactionHash": "0xe3ebb5c1bd8ecac28a500fb8608ba43340bb16aa6f8937d390a9f9b1a82c4fb9", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x5c819725ea53655a3b898f3df59b66489761935454e9212ca1e5ebd759953d0b", + "0x89e089432a778a455231955ca88308798d20a015dd194fa153c4c35ba4e6b5a5" + ], + "data": "0x", + "blockHash": "0x65102a8d2cd0463c259c64363d7ee89ac02481e6b7bdb2cd58862de511b0158a", + "blockNumber": "0x1ce7ae4", + "transactionHash": "0xe3ebb5c1bd8ecac28a500fb8608ba43340bb16aa6f8937d390a9f9b1a82c4fb9", + "transactionIndex": "0x0", + "logIndex": "0x1", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000001000000000000000000000000000000000080000000000000000002000000000000000000000000000000000000008010000000000000000000004000000000000000000000000000000000000000000000000000100000000000080000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000400000000000000000010000000000000000000000000000000000000000000000000000000000000400000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0xe3ebb5c1bd8ecac28a500fb8608ba43340bb16aa6f8937d390a9f9b1a82c4fb9", + "transactionIndex": "0x0", + "blockHash": "0x65102a8d2cd0463c259c64363d7ee89ac02481e6b7bdb2cd58862de511b0158a", + "blockNumber": "0x1ce7ae4", + "gasUsed": "0x37753", + "effectiveGasPrice": "0x4a817c800", + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x1ffab", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x58f98006a7f2f253f8ae8f8b7cec9008ca05359633561cd7c22f3005682d4a55", + "0x0000000000000000000000000000000000000000000000000000000000000000" + ], + "data": "0x", + "blockHash": "0xf7c173689c0a936bbf341d4e2e503a76bf762a2b1959608956d97aa2be32b65e", + "blockNumber": "0x1ce7ae6", + "transactionHash": "0x741502b641a3026a3fdb70cf93d2e048083100dd2412add4f3cf797af2bd0926", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0xd1221ffb98610024a29755d7db3c71692310f43a7cfcce7ee488a8c7e9e0bfa4", + "0x0000000000000000000000000000000000000000000000000000000000aa36a7", + "0x0000000000000000000000000000000000000000000000000000000000000007", + "0x94c6551fd8a1f7c0cbe163882186f10f1e9e443aa8f6697be2642146b76c9c7f" + ], + "data": "0x0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "blockHash": "0xf7c173689c0a936bbf341d4e2e503a76bf762a2b1959608956d97aa2be32b65e", + "blockNumber": "0x1ce7ae6", + "transactionHash": "0x741502b641a3026a3fdb70cf93d2e048083100dd2412add4f3cf797af2bd0926", + "transactionIndex": "0x0", + "logIndex": "0x1", + "removed": false + } + ], + "logsBloom": "0x00000000000000010000000000000000000040000000000000000000000000000000000000000000100000000000000002001000000000000000010000000000000020000000000000000000000000000000000000001000000000000000000000000000020080000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000100000020000000000000000000200000000000000000000000000000000000000100000008000000000000100000020000000000000000000000000000000000000000000040000000000080000000000", + "type": "0x2", + "transactionHash": "0x741502b641a3026a3fdb70cf93d2e048083100dd2412add4f3cf797af2bd0926", + "transactionIndex": "0x0", + "blockHash": "0xf7c173689c0a936bbf341d4e2e503a76bf762a2b1959608956d97aa2be32b65e", + "blockNumber": "0x1ce7ae6", + "gasUsed": "0x1ffab", + "effectiveGasPrice": "0x4a817c800", + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x3a95a", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x94c6551fd8a1f7c0cbe163882186f10f1e9e443aa8f6697be2642146b76c9c7f", + "0x000000000000000000000000b033ba62ec622dc54d0abfe0254e79692147ca26" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0xd8872e9ef944aa5017d8c44ceaa970ed19f82d1114ce058de2a9ea5ab1ea641e", + "blockNumber": "0x1ce7ae9", + "transactionHash": "0x9ba86581abf7d72980eabe8866e52adeffefea7d9618fb12b2a3825678443f4a", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000004000000000000000000000000000000001000000000000000008000000000000080000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000400000000000000000000000000000000000000100000000000000000000000008000000000000000000000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0x9ba86581abf7d72980eabe8866e52adeffefea7d9618fb12b2a3825678443f4a", + "transactionIndex": "0x0", + "blockHash": "0xd8872e9ef944aa5017d8c44ceaa970ed19f82d1114ce058de2a9ea5ab1ea641e", + "blockNumber": "0x1ce7ae9", + "gasUsed": "0x3a95a", + "effectiveGasPrice": "0x4a817c800", + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x323e2", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x94c6551fd8a1f7c0cbe163882186f10f1e9e443aa8f6697be2642146b76c9c7f", + "0x000000000000000000000000087d08e3ba42e64e3948962dd1371f906d1278b9" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0xce86751f0f1797ba2d6741bd56fb5edaac0e7cf6e0045a46a65307ebcae23389", + "blockNumber": "0x1ce7aeb", + "transactionHash": "0x52c3bf019e448dc151c18f29cd70cbc4f74f313a3d3a46aef6ebcb4e9fd90a29", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000010000000000000000000004000000000000000000000000000000001000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800100000000400000000040000000000000000000000000000000000000000000000000000008000000000000000000000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0x52c3bf019e448dc151c18f29cd70cbc4f74f313a3d3a46aef6ebcb4e9fd90a29", + "transactionIndex": "0x0", + "blockHash": "0xce86751f0f1797ba2d6741bd56fb5edaac0e7cf6e0045a46a65307ebcae23389", + "blockNumber": "0x1ce7aeb", + "gasUsed": "0x323e2", + "effectiveGasPrice": "0x4a817c800", + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x37767", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x94c6551fd8a1f7c0cbe163882186f10f1e9e443aa8f6697be2642146b76c9c7f", + "0x00000000000000000000000052ec2e6bbce45afff8955da6410bb13812f4289f" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0xf142b5453449b3f5c475705e4b4ce058a7a48d11c298d436ae7a1e1719bc562e", + "blockNumber": "0x1ce7aed", + "transactionHash": "0xa2bee1168ac47fe2edb1337d56dcee998dbbaababfdaf396969382bbb322a69d", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x5c819725ea53655a3b898f3df59b66489761935454e9212ca1e5ebd759953d0b", + "0x94c6551fd8a1f7c0cbe163882186f10f1e9e443aa8f6697be2642146b76c9c7f" + ], + "data": "0x", + "blockHash": "0xf142b5453449b3f5c475705e4b4ce058a7a48d11c298d436ae7a1e1719bc562e", + "blockNumber": "0x1ce7aed", + "transactionHash": "0xa2bee1168ac47fe2edb1337d56dcee998dbbaababfdaf396969382bbb322a69d", + "transactionIndex": "0x0", + "logIndex": "0x1", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000080000000000000000002000000000000000000000000000000000000000010000000000000000000004000000000000000000000000000000001000000000000000000000000000000080000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000100000000400000000000000000010000000000000000000000000000000000000000000008000000000000000400000000000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0xa2bee1168ac47fe2edb1337d56dcee998dbbaababfdaf396969382bbb322a69d", + "transactionIndex": "0x0", + "blockHash": "0xf142b5453449b3f5c475705e4b4ce058a7a48d11c298d436ae7a1e1719bc562e", + "blockNumber": "0x1ce7aed", + "gasUsed": "0x37767", + "effectiveGasPrice": "0x4a817c800", + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x1ffab", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x58f98006a7f2f253f8ae8f8b7cec9008ca05359633561cd7c22f3005682d4a55", + "0x0000000000000000000000000000000000000000000000000000000000000000" + ], + "data": "0x", + "blockHash": "0x5d2beed5c061e6d12f7b3928bf3c28530c79573ad7e52def2f81a0add23f249e", + "blockNumber": "0x1ce7af0", + "transactionHash": "0xfcd466ce1a89a8914b2ecae3a1e778f38bcac556dcc5a8eb7e6a64a0734a5211", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0xd1221ffb98610024a29755d7db3c71692310f43a7cfcce7ee488a8c7e9e0bfa4", + "0x0000000000000000000000000000000000000000000000000000000000aa36a7", + "0x0000000000000000000000000000000000000000000000000000000000000008", + "0x542f045d1006aac1236214af607f5820cd45f008a1d00e1a93acaeb2c8caa68c" + ], + "data": "0x0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240", + "blockHash": "0x5d2beed5c061e6d12f7b3928bf3c28530c79573ad7e52def2f81a0add23f249e", + "blockNumber": "0x1ce7af0", + "transactionHash": "0xfcd466ce1a89a8914b2ecae3a1e778f38bcac556dcc5a8eb7e6a64a0734a5211", + "transactionIndex": "0x0", + "logIndex": "0x1", + "removed": false + } + ], + "logsBloom": "0x00000000000000010000000000000000000040000000000000000000000000000000000000000000100000000000000002000000000080000000010000000000000000000000000000000000000000000000000000000000000000200000000000000000020080000000000000000800001000000000000000000000000000000080000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000020000000000000000000200000040000000000000000000000000000000100000000000000000000000000020200000000000000000000000000000000000000000040000000000080000000000", + "type": "0x2", + "transactionHash": "0xfcd466ce1a89a8914b2ecae3a1e778f38bcac556dcc5a8eb7e6a64a0734a5211", + "transactionIndex": "0x0", + "blockHash": "0x5d2beed5c061e6d12f7b3928bf3c28530c79573ad7e52def2f81a0add23f249e", + "blockNumber": "0x1ce7af0", + "gasUsed": "0x1ffab", + "effectiveGasPrice": "0x4a817c800", + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x3a97a", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x542f045d1006aac1236214af607f5820cd45f008a1d00e1a93acaeb2c8caa68c", + "0x000000000000000000000000b033ba62ec622dc54d0abfe0254e79692147ca26" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0xfbc220dd5ca0193586604e963f835388d2d4a058d53c038706e14ab5749eb6e3", + "blockNumber": "0x1ce7af2", + "transactionHash": "0x83bf4366e18ca7ca8aeafb86e182a6ea09f0f9fd6b8fe37474ba33d011fbd943", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000004000000000000000000000000000000000000000000200000008000000000000080000010000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000100000000000000000000000000000000000000000000000200000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0x83bf4366e18ca7ca8aeafb86e182a6ea09f0f9fd6b8fe37474ba33d011fbd943", + "transactionIndex": "0x0", + "blockHash": "0xfbc220dd5ca0193586604e963f835388d2d4a058d53c038706e14ab5749eb6e3", + "blockNumber": "0x1ce7af2", + "gasUsed": "0x3a97a", + "effectiveGasPrice": "0x4a817c800", + "from": "0xb033ba62ec622dc54d0abfe0254e79692147ca26", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x323ce", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x542f045d1006aac1236214af607f5820cd45f008a1d00e1a93acaeb2c8caa68c", + "0x000000000000000000000000087d08e3ba42e64e3948962dd1371f906d1278b9" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0x15f2223c07af3767956f4848edfb02ef7c2ac6f03c2964d5774467bbe711e203", + "blockNumber": "0x1ce7af5", + "transactionHash": "0x400c9f29cf196e178a3e71d7ad687b3f3a2a5d513d5869f865b47ff67faa8908", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000010000000000000000000004000000000000000000000000000000000000000000200000000000000000000080000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000400000000040000000000000000000000000000000000000000000000000000000000000000000000000000200000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0x400c9f29cf196e178a3e71d7ad687b3f3a2a5d513d5869f865b47ff67faa8908", + "transactionIndex": "0x0", + "blockHash": "0x15f2223c07af3767956f4848edfb02ef7c2ac6f03c2964d5774467bbe711e203", + "blockNumber": "0x1ce7af5", + "gasUsed": "0x323ce", + "effectiveGasPrice": "0x4a817c800", + "from": "0x087d08e3ba42e64e3948962dd1371f906d1278b9", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + }, + { + "status": "0x1", + "cumulativeGasUsed": "0x37747", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0x542f045d1006aac1236214af607f5820cd45f008a1d00e1a93acaeb2c8caa68c", + "0x00000000000000000000000052ec2e6bbce45afff8955da6410bb13812f4289f" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0xece3779d537108825e21eb381b3655f748d77bcc5c1ac62afb55c3302822501a", + "blockNumber": "0x1ce7af7", + "transactionHash": "0x1c75e154b6c709f092488bfc7f80a32d545fb917e0ccdc6f798e2c264dada880", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x5c819725ea53655a3b898f3df59b66489761935454e9212ca1e5ebd759953d0b", + "0x542f045d1006aac1236214af607f5820cd45f008a1d00e1a93acaeb2c8caa68c" + ], + "data": "0x", + "blockHash": "0xece3779d537108825e21eb381b3655f748d77bcc5c1ac62afb55c3302822501a", + "blockNumber": "0x1ce7af7", + "transactionHash": "0x1c75e154b6c709f092488bfc7f80a32d545fb917e0ccdc6f798e2c264dada880", + "transactionIndex": "0x0", + "logIndex": "0x1", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000080000000000000000002000000000000000000000000000000000000000010000000000000000000004000000000000000000000000000000000000000000200000000000000000000080000000000000000000001000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000400000000000000000010000000000000000000000000000000000000000000000000000000000000400000200000000000004000000000000000000000000000000000000000080000000000", + "type": "0x2", + "transactionHash": "0x1c75e154b6c709f092488bfc7f80a32d545fb917e0ccdc6f798e2c264dada880", + "transactionIndex": "0x0", + "blockHash": "0xece3779d537108825e21eb381b3655f748d77bcc5c1ac62afb55c3302822501a", + "blockNumber": "0x1ce7af7", + "gasUsed": "0x37747", + "effectiveGasPrice": "0x4a817c800", + "from": "0x52ec2e6bbce45afff8955da6410bb13812f4289f", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + } + ], + "libraries": [], + "pending": [], + "returns": {}, + "timestamp": 1724668837, + "chain": 2021, + "commit": "93f3448" + }, + { + "transactions": [ + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x603075b625cc2cf69fbb3546c6acc2451fe792af", + "function": "relayProposal((uint256,uint256,uint256,address,address[],uint256[],bytes[],uint256[]),uint8[],(uint8,bytes32,bytes32)[])", + "arguments": [ + "(8, 11155111, 1725705492, 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa, [0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e, 0x06855f31dF1d3D25cE486CF09dB49bDa535D2a9e], [0, 0], [0x4bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000, 0x3659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d5], [2000000, 1000000])", + "[0, 0, 0, 0]", + "[(27, 0x58d5bf707bea513c4a3f1744912a2fd228601baac586f01e60a4127796abaa1a, 0x2ac1e13eabff5501df8965df4a5bc5c81b4b37e73940d815f5bb8c895c7d0b4a), (27, 0x7d2ccda4004b21bccf354892925257738c72c8554138068e5a7e051ab0437ef0, 0x57e5cde64467f7fafaacb2f757b0ca862b958abb2ce033459fb88056ba0d3b90), (28, 0x1b6ab73c103a8796d3a5cb29a26b73f71a52d108bdf4644f7cf32ff7dd03bebc, 0x12b78a66216e1e5597d2508e52337e1f12dc134b88a0ac22db8a37fd52c3e420), (27, 0x953e15c420172be0f9b4fbf5e5aa7feb069908ec1342bf31d8073b5dc35d17f6, 0x16d6b21f449cf858b39d924b09974e2f03cce8e1f37b932e06e4092759b281df)]" + ], + "transaction": { + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x603075b625cc2cf69fbb3546c6acc2451fe792af", + "gas": "0x3d0900", + "value": "0x0", + "input": "0x8dc0dbc60000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000000000000000000000000000000000006c000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000aa36a70000000000000000000000000000000000000000000000000000000066dc2d14000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000560000000000000000000000000000000000000000000000000000000000000000200000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000006855f31df1d3d25ce486cf09db49bda535d2a9e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002a44bb5274a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002448f851d8a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e82d2b56f858f79deef11b160bfc4631873da2b000000000000000000000000bcb61783dd2403fe8cc9b89b27b1a9bb03d040cb000000000000000000000000b266bf53cf7eac4e2065a404598dcb0e15e9462c000000000000000000000000cc5fc5b6c8595f56306da736f6cd02ed9141c84a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000243659cfe600000000000000000000000019287ca493748a5452b3900d393cb1a4369f47d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000001e848000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001b58d5bf707bea513c4a3f1744912a2fd228601baac586f01e60a4127796abaa1a2ac1e13eabff5501df8965df4a5bc5c81b4b37e73940d815f5bb8c895c7d0b4a000000000000000000000000000000000000000000000000000000000000001b7d2ccda4004b21bccf354892925257738c72c8554138068e5a7e051ab0437ef057e5cde64467f7fafaacb2f757b0ca862b958abb2ce033459fb88056ba0d3b90000000000000000000000000000000000000000000000000000000000000001c1b6ab73c103a8796d3a5cb29a26b73f71a52d108bdf4644f7cf32ff7dd03bebc12b78a66216e1e5597d2508e52337e1f12dc134b88a0ac22db8a37fd52c3e420000000000000000000000000000000000000000000000000000000000000001b953e15c420172be0f9b4fbf5e5aa7feb069908ec1342bf31d8073b5dc35d17f616d6b21f449cf858b39d924b09974e2f03cce8e1f37b932e06e4092759b281df", + "nonce": "0x6", + "chainId": "0xaa36a7" + }, + "additionalContracts": [], + "isFixedGasLimit": true + } + ], + "receipts": [], + "libraries": [], + "pending": [], + "returns": {}, + "timestamp": 1724668837, + "chain": 11155111, + "commit": "93f3448" + } + ], + "timestamp": 1724669090 +} \ No newline at end of file diff --git a/deployments/sepolia/MainchainGatewayV3Logic.json b/deployments/sepolia/MainchainGatewayV3Logic.json index f5dcb720..2411103c 100644 --- a/deployments/sepolia/MainchainGatewayV3Logic.json +++ b/deployments/sepolia/MainchainGatewayV3Logic.json @@ -1,2388 +1,22 @@ { - "abi": [ - { - "type": "constructor", - "inputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "fallback", - "stateMutability": "payable" - }, - { - "type": "receive", - "stateMutability": "payable" - }, - { - "type": "function", - "name": "DEFAULT_ADMIN_ROLE", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "WITHDRAWAL_UNLOCKER_ROLE", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "_MAX_PERCENTAGE", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "checkHighTierVoteWeightThreshold", - "inputs": [ - { - "name": "_voteWeight", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "checkThreshold", - "inputs": [ - { - "name": "_voteWeight", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "dailyWithdrawalLimit", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "depositCount", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "emergencyPauser", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getContract", - "inputs": [ - { - "name": "contractType", - "type": "uint8", - "internalType": "enum ContractType" - } - ], - "outputs": [ - { - "name": "contract_", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getHighTierVoteWeightThreshold", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getRoleAdmin", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getRoleMember", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "index", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getRoleMemberCount", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getRoninToken", - "inputs": [ - { - "name": "mainchainToken", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "token", - "type": "tuple", - "internalType": "struct MappedTokenConsumer.MappedToken", - "components": [ - { - "name": "erc", - "type": "uint8", - "internalType": "enum TokenStandard" - }, - { - "name": "tokenAddr", - "type": "address", - "internalType": "address" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getThreshold", - "inputs": [], - "outputs": [ - { - "name": "num_", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "denom_", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "grantRole", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "hasRole", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "highTierThreshold", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "_roleSetter", - "type": "address", - "internalType": "address" - }, - { - "name": "_wrappedToken", - "type": "address", - "internalType": "contract IWETH" - }, - { - "name": "_roninChainId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_numerator", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_highTierVWNumerator", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_denominator", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_addresses", - "type": "address[][3]", - "internalType": "address[][3]" - }, - { - "name": "_thresholds", - "type": "uint256[][4]", - "internalType": "uint256[][4]" - }, - { - "name": "_standards", - "type": "uint8[]", - "internalType": "enum TokenStandard[]" - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "initializeV2", - "inputs": [ - { - "name": "bridgeManagerContract", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "initializeV3", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "initializeV4", - "inputs": [ - { - "name": "wethUnwrapper_", - "type": "address", - "internalType": "address payable" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "lastDateSynced", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "lastSyncedWithdrawal", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "lockedThreshold", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "mapTokens", - "inputs": [ - { - "name": "_mainchainTokens", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "_roninTokens", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "_standards", - "type": "uint8[]", - "internalType": "enum TokenStandard[]" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "mapTokensAndThresholds", - "inputs": [ - { - "name": "_mainchainTokens", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "_roninTokens", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "_standards", - "type": "uint8[]", - "internalType": "enum TokenStandard[]" - }, - { - "name": "_thresholds", - "type": "uint256[][4]", - "internalType": "uint256[][4]" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "minimumVoteWeight", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "nonce", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "onBridgeOperatorsAdded", - "inputs": [ - { - "name": "operators", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "weights", - "type": "uint96[]", - "internalType": "uint96[]" - }, - { - "name": "addeds", - "type": "bool[]", - "internalType": "bool[]" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "onBridgeOperatorsRemoved", - "inputs": [ - { - "name": "operators", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "removeds", - "type": "bool[]", - "internalType": "bool[]" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "onERC1155BatchReceived", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "onERC1155Received", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "pause", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "paused", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "reachedWithdrawalLimit", - "inputs": [ - { - "name": "_token", - "type": "address", - "internalType": "address" - }, - { - "name": "_quantity", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "receiveEther", - "inputs": [], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "renounceRole", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "requestDepositFor", - "inputs": [ - { - "name": "_request", - "type": "tuple", - "internalType": "struct Transfer.Request", - "components": [ - { - "name": "recipientAddr", - "type": "address", - "internalType": "address" - }, - { - "name": "tokenAddr", - "type": "address", - "internalType": "address" - }, - { - "name": "info", - "type": "tuple", - "internalType": "struct TokenInfo", - "components": [ - { - "name": "erc", - "type": "uint8", - "internalType": "enum TokenStandard" - }, - { - "name": "id", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "quantity", - "type": "uint256", - "internalType": "uint256" - } - ] - } - ] - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "requestDepositForBatch", - "inputs": [ - { - "name": "_requests", - "type": "tuple[]", - "internalType": "struct Transfer.Request[]", - "components": [ - { - "name": "recipientAddr", - "type": "address", - "internalType": "address" - }, - { - "name": "tokenAddr", - "type": "address", - "internalType": "address" - }, - { - "name": "info", - "type": "tuple", - "internalType": "struct TokenInfo", - "components": [ - { - "name": "erc", - "type": "uint8", - "internalType": "enum TokenStandard" - }, - { - "name": "id", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "quantity", - "type": "uint256", - "internalType": "uint256" - } - ] - } - ] - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "revokeRole", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "roninChainId", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "setContract", - "inputs": [ - { - "name": "contractType", - "type": "uint8", - "internalType": "enum ContractType" - }, - { - "name": "addr", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setDailyWithdrawalLimits", - "inputs": [ - { - "name": "_tokens", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "_limits", - "type": "uint256[]", - "internalType": "uint256[]" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setEmergencyPauser", - "inputs": [ - { - "name": "_addr", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setHighTierThresholds", - "inputs": [ - { - "name": "_tokens", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "_thresholds", - "type": "uint256[]", - "internalType": "uint256[]" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setHighTierVoteWeightThreshold", - "inputs": [ - { - "name": "_numerator", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_denominator", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "_previousNum", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_previousDenom", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setLockedThresholds", - "inputs": [ - { - "name": "_tokens", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "_thresholds", - "type": "uint256[]", - "internalType": "uint256[]" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setThreshold", - "inputs": [ - { - "name": "num", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "denom", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setUnlockFeePercentages", - "inputs": [ - { - "name": "_tokens", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "_percentages", - "type": "uint256[]", - "internalType": "uint256[]" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setWrappedNativeTokenContract", - "inputs": [ - { - "name": "_wrappedToken", - "type": "address", - "internalType": "contract IWETH" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "submitWithdrawal", - "inputs": [ - { - "name": "_receipt", - "type": "tuple", - "internalType": "struct Transfer.Receipt", - "components": [ - { - "name": "id", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "kind", - "type": "uint8", - "internalType": "enum Transfer.Kind" - }, - { - "name": "mainchain", - "type": "tuple", - "internalType": "struct TokenOwner", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "tokenAddr", - "type": "address", - "internalType": "address" - }, - { - "name": "chainId", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "name": "ronin", - "type": "tuple", - "internalType": "struct TokenOwner", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "tokenAddr", - "type": "address", - "internalType": "address" - }, - { - "name": "chainId", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "name": "info", - "type": "tuple", - "internalType": "struct TokenInfo", - "components": [ - { - "name": "erc", - "type": "uint8", - "internalType": "enum TokenStandard" - }, - { - "name": "id", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "quantity", - "type": "uint256", - "internalType": "uint256" - } - ] - } - ] - }, - { - "name": "_signatures", - "type": "tuple[]", - "internalType": "struct SignatureConsumer.Signature[]", - "components": [ - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ] - } - ], - "outputs": [ - { - "name": "_locked", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "supportsInterface", - "inputs": [ - { - "name": "interfaceId", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "unlockFeePercentages", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "unlockWithdrawal", - "inputs": [ - { - "name": "receipt", - "type": "tuple", - "internalType": "struct Transfer.Receipt", - "components": [ - { - "name": "id", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "kind", - "type": "uint8", - "internalType": "enum Transfer.Kind" - }, - { - "name": "mainchain", - "type": "tuple", - "internalType": "struct TokenOwner", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "tokenAddr", - "type": "address", - "internalType": "address" - }, - { - "name": "chainId", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "name": "ronin", - "type": "tuple", - "internalType": "struct TokenOwner", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "tokenAddr", - "type": "address", - "internalType": "address" - }, - { - "name": "chainId", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "name": "info", - "type": "tuple", - "internalType": "struct TokenInfo", - "components": [ - { - "name": "erc", - "type": "uint8", - "internalType": "enum TokenStandard" - }, - { - "name": "id", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "quantity", - "type": "uint256", - "internalType": "uint256" - } - ] - } - ] - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "unpause", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "wethUnwrapper", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract WethUnwrapper" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "withdrawalHash", - "inputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "withdrawalLocked", - "inputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "wrappedNativeToken", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract IWETH" - } - ], - "stateMutability": "view" - }, - { - "type": "event", - "name": "ContractUpdated", - "inputs": [ - { - "name": "contractType", - "type": "uint8", - "indexed": true, - "internalType": "enum ContractType" - }, - { - "name": "addr", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "DailyWithdrawalLimitsUpdated", - "inputs": [ - { - "name": "tokens", - "type": "address[]", - "indexed": false, - "internalType": "address[]" - }, - { - "name": "limits", - "type": "uint256[]", - "indexed": false, - "internalType": "uint256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "DepositRequested", - "inputs": [ - { - "name": "receiptHash", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" - }, - { - "name": "receipt", - "type": "tuple", - "indexed": false, - "internalType": "struct Transfer.Receipt", - "components": [ - { - "name": "id", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "kind", - "type": "uint8", - "internalType": "enum Transfer.Kind" - }, - { - "name": "mainchain", - "type": "tuple", - "internalType": "struct TokenOwner", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "tokenAddr", - "type": "address", - "internalType": "address" - }, - { - "name": "chainId", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "name": "ronin", - "type": "tuple", - "internalType": "struct TokenOwner", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "tokenAddr", - "type": "address", - "internalType": "address" - }, - { - "name": "chainId", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "name": "info", - "type": "tuple", - "internalType": "struct TokenInfo", - "components": [ - { - "name": "erc", - "type": "uint8", - "internalType": "enum TokenStandard" - }, - { - "name": "id", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "quantity", - "type": "uint256", - "internalType": "uint256" - } - ] - } - ] - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "HighTierThresholdsUpdated", - "inputs": [ - { - "name": "tokens", - "type": "address[]", - "indexed": false, - "internalType": "address[]" - }, - { - "name": "thresholds", - "type": "uint256[]", - "indexed": false, - "internalType": "uint256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "HighTierVoteWeightThresholdUpdated", - "inputs": [ - { - "name": "nonce", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - }, - { - "name": "numerator", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - }, - { - "name": "denominator", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - }, - { - "name": "previousNumerator", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "previousDenominator", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Initialized", - "inputs": [ - { - "name": "version", - "type": "uint8", - "indexed": false, - "internalType": "uint8" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "LockedThresholdsUpdated", - "inputs": [ - { - "name": "tokens", - "type": "address[]", - "indexed": false, - "internalType": "address[]" - }, - { - "name": "thresholds", - "type": "uint256[]", - "indexed": false, - "internalType": "uint256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Paused", - "inputs": [ - { - "name": "account", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "RoleAdminChanged", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, - { - "name": "previousAdminRole", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, - { - "name": "newAdminRole", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "RoleGranted", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, - { - "name": "account", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "sender", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "RoleRevoked", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, - { - "name": "account", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "sender", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ThresholdUpdated", - "inputs": [ - { - "name": "nonce", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - }, - { - "name": "numerator", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - }, - { - "name": "denominator", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - }, - { - "name": "previousNumerator", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "previousDenominator", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "TokenMapped", - "inputs": [ - { - "name": "mainchainTokens", - "type": "address[]", - "indexed": false, - "internalType": "address[]" - }, - { - "name": "roninTokens", - "type": "address[]", - "indexed": false, - "internalType": "address[]" - }, - { - "name": "standards", - "type": "uint8[]", - "indexed": false, - "internalType": "enum TokenStandard[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "UnlockFeePercentagesUpdated", - "inputs": [ - { - "name": "tokens", - "type": "address[]", - "indexed": false, - "internalType": "address[]" - }, - { - "name": "percentages", - "type": "uint256[]", - "indexed": false, - "internalType": "uint256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Unpaused", - "inputs": [ - { - "name": "account", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "WithdrawalLocked", - "inputs": [ - { - "name": "receiptHash", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" - }, - { - "name": "receipt", - "type": "tuple", - "indexed": false, - "internalType": "struct Transfer.Receipt", - "components": [ - { - "name": "id", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "kind", - "type": "uint8", - "internalType": "enum Transfer.Kind" - }, - { - "name": "mainchain", - "type": "tuple", - "internalType": "struct TokenOwner", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "tokenAddr", - "type": "address", - "internalType": "address" - }, - { - "name": "chainId", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "name": "ronin", - "type": "tuple", - "internalType": "struct TokenOwner", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "tokenAddr", - "type": "address", - "internalType": "address" - }, - { - "name": "chainId", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "name": "info", - "type": "tuple", - "internalType": "struct TokenInfo", - "components": [ - { - "name": "erc", - "type": "uint8", - "internalType": "enum TokenStandard" - }, - { - "name": "id", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "quantity", - "type": "uint256", - "internalType": "uint256" - } - ] - } - ] - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "WithdrawalUnlocked", - "inputs": [ - { - "name": "receiptHash", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" - }, - { - "name": "receipt", - "type": "tuple", - "indexed": false, - "internalType": "struct Transfer.Receipt", - "components": [ - { - "name": "id", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "kind", - "type": "uint8", - "internalType": "enum Transfer.Kind" - }, - { - "name": "mainchain", - "type": "tuple", - "internalType": "struct TokenOwner", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "tokenAddr", - "type": "address", - "internalType": "address" - }, - { - "name": "chainId", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "name": "ronin", - "type": "tuple", - "internalType": "struct TokenOwner", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "tokenAddr", - "type": "address", - "internalType": "address" - }, - { - "name": "chainId", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "name": "info", - "type": "tuple", - "internalType": "struct TokenInfo", - "components": [ - { - "name": "erc", - "type": "uint8", - "internalType": "enum TokenStandard" - }, - { - "name": "id", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "quantity", - "type": "uint256", - "internalType": "uint256" - } - ] - } - ] - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Withdrew", - "inputs": [ - { - "name": "receiptHash", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" - }, - { - "name": "receipt", - "type": "tuple", - "indexed": false, - "internalType": "struct Transfer.Receipt", - "components": [ - { - "name": "id", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "kind", - "type": "uint8", - "internalType": "enum Transfer.Kind" - }, - { - "name": "mainchain", - "type": "tuple", - "internalType": "struct TokenOwner", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "tokenAddr", - "type": "address", - "internalType": "address" - }, - { - "name": "chainId", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "name": "ronin", - "type": "tuple", - "internalType": "struct TokenOwner", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "tokenAddr", - "type": "address", - "internalType": "address" - }, - { - "name": "chainId", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "name": "info", - "type": "tuple", - "internalType": "struct TokenInfo", - "components": [ - { - "name": "erc", - "type": "uint8", - "internalType": "enum TokenStandard" - }, - { - "name": "id", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "quantity", - "type": "uint256", - "internalType": "uint256" - } - ] - } - ] - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "WrappedNativeTokenContractUpdated", - "inputs": [ - { - "name": "weth", - "type": "address", - "indexed": false, - "internalType": "contract IWETH" - } - ], - "anonymous": false - }, - { - "type": "error", - "name": "ErrContractTypeNotFound", - "inputs": [ - { - "name": "contractType", - "type": "uint8", - "internalType": "enum ContractType" - } - ] - }, - { - "type": "error", - "name": "ErrERC1155MintingFailed", - "inputs": [] - }, - { - "type": "error", - "name": "ErrERC20MintingFailed", - "inputs": [] - }, - { - "type": "error", - "name": "ErrERC721MintingFailed", - "inputs": [] - }, - { - "type": "error", - "name": "ErrEmptyArray", - "inputs": [] - }, - { - "type": "error", - "name": "ErrInvalidChainId", - "inputs": [ - { - "name": "msgSig", - "type": "bytes4", - "internalType": "bytes4" - }, - { - "name": "actual", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "expected", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "ErrInvalidInfo", - "inputs": [] - }, - { - "type": "error", - "name": "ErrInvalidOrder", - "inputs": [ - { - "name": "msgSig", - "type": "bytes4", - "internalType": "bytes4" - } - ] - }, - { - "type": "error", - "name": "ErrInvalidPercentage", - "inputs": [] - }, - { - "type": "error", - "name": "ErrInvalidReceipt", - "inputs": [] - }, - { - "type": "error", - "name": "ErrInvalidReceiptKind", - "inputs": [] - }, - { - "type": "error", - "name": "ErrInvalidRequest", - "inputs": [] - }, - { - "type": "error", - "name": "ErrInvalidThreshold", - "inputs": [ - { - "name": "msgSig", - "type": "bytes4", - "internalType": "bytes4" - } - ] - }, - { - "type": "error", - "name": "ErrInvalidTokenStandard", - "inputs": [] - }, - { - "type": "error", - "name": "ErrLengthMismatch", - "inputs": [ - { - "name": "msgSig", - "type": "bytes4", - "internalType": "bytes4" - } - ] - }, - { - "type": "error", - "name": "ErrQueryForApprovedWithdrawal", - "inputs": [] - }, - { - "type": "error", - "name": "ErrQueryForInsufficientVoteWeight", - "inputs": [] - }, - { - "type": "error", - "name": "ErrQueryForProcessedWithdrawal", - "inputs": [] - }, - { - "type": "error", - "name": "ErrReachedDailyWithdrawalLimit", - "inputs": [] - }, - { - "type": "error", - "name": "ErrTokenCouldNotTransfer", - "inputs": [ - { - "name": "tokenInfo", - "type": "tuple", - "internalType": "struct TokenInfo", - "components": [ - { - "name": "erc", - "type": "uint8", - "internalType": "enum TokenStandard" - }, - { - "name": "id", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "quantity", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "token", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "error", - "name": "ErrTokenCouldNotTransferFrom", - "inputs": [ - { - "name": "tokenInfo", - "type": "tuple", - "internalType": "struct TokenInfo", - "components": [ - { - "name": "erc", - "type": "uint8", - "internalType": "enum TokenStandard" - }, - { - "name": "id", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "quantity", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "name": "from", - "type": "address", - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "token", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "error", - "name": "ErrUnauthorized", - "inputs": [ - { - "name": "msgSig", - "type": "bytes4", - "internalType": "bytes4" - }, - { - "name": "expectedRole", - "type": "uint8", - "internalType": "enum RoleAccess" - } - ] - }, - { - "type": "error", - "name": "ErrUnexpectedInternalCall", - "inputs": [ - { - "name": "msgSig", - "type": "bytes4", - "internalType": "bytes4" - }, - { - "name": "expectedContractType", - "type": "uint8", - "internalType": "enum ContractType" - }, - { - "name": "actual", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "error", - "name": "ErrUnsupportedStandard", - "inputs": [] - }, - { - "type": "error", - "name": "ErrUnsupportedToken", - "inputs": [] - }, - { - "type": "error", - "name": "ErrZeroCodeContract", - "inputs": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - } - ] - } - ], - "address": "0x6fbFcF5A6DBa4822Dfc06030b74b9f05d817A9C4", - "args": "0x", + "abi": "[{\"type\":\"constructor\",\"inputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"fallback\",\"stateMutability\":\"payable\"},{\"type\":\"receive\",\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"DEFAULT_ADMIN_ROLE\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"DOMAIN_SEPARATOR\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"WITHDRAWAL_UNLOCKER_ROLE\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"_MAX_PERCENTAGE\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"checkHighTierVoteWeightThreshold\",\"inputs\":[{\"name\":\"_voteWeight\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"checkThreshold\",\"inputs\":[{\"name\":\"_voteWeight\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"dailyWithdrawalLimit\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"depositCount\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"emergencyPauser\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getContract\",\"inputs\":[{\"name\":\"contractType\",\"type\":\"uint8\",\"internalType\":\"enum ContractType\"}],\"outputs\":[{\"name\":\"contract_\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getHighTierVoteWeightThreshold\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getRoleAdmin\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getRoleMember\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"index\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getRoleMemberCount\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getRoninToken\",\"inputs\":[{\"name\":\"mainchainToken\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"token\",\"type\":\"tuple\",\"internalType\":\"struct MappedTokenConsumer.MappedToken\",\"components\":[{\"name\":\"erc\",\"type\":\"uint8\",\"internalType\":\"enum TokenStandard\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"}]}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getThreshold\",\"inputs\":[],\"outputs\":[{\"name\":\"num_\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"denom_\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"grantRole\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"hasRole\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"highTierThreshold\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"initialize\",\"inputs\":[{\"name\":\"_roleSetter\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_wrappedToken\",\"type\":\"address\",\"internalType\":\"contract IWETH\"},{\"name\":\"_roninChainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_numerator\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_highTierVWNumerator\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_denominator\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_addresses\",\"type\":\"address[][3]\",\"internalType\":\"address[][3]\"},{\"name\":\"_thresholds\",\"type\":\"uint256[][4]\",\"internalType\":\"uint256[][4]\"},{\"name\":\"_standards\",\"type\":\"uint8[]\",\"internalType\":\"enum TokenStandard[]\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"initializeV2\",\"inputs\":[{\"name\":\"bridgeManagerContract\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"initializeV3\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"initializeV4\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address payable\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"lastDateSynced\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"lastSyncedWithdrawal\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"lockedThreshold\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"mapTokens\",\"inputs\":[{\"name\":\"_mainchainTokens\",\"type\":\"address[]\",\"internalType\":\"address[]\"},{\"name\":\"_roninTokens\",\"type\":\"address[]\",\"internalType\":\"address[]\"},{\"name\":\"_standards\",\"type\":\"uint8[]\",\"internalType\":\"enum TokenStandard[]\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"mapTokensAndThresholds\",\"inputs\":[{\"name\":\"_mainchainTokens\",\"type\":\"address[]\",\"internalType\":\"address[]\"},{\"name\":\"_roninTokens\",\"type\":\"address[]\",\"internalType\":\"address[]\"},{\"name\":\"_standards\",\"type\":\"uint8[]\",\"internalType\":\"enum TokenStandard[]\"},{\"name\":\"_thresholds\",\"type\":\"uint256[][4]\",\"internalType\":\"uint256[][4]\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"minimumVoteWeight\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"nonce\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"onBridgeOperatorsAdded\",\"inputs\":[{\"name\":\"operators\",\"type\":\"address[]\",\"internalType\":\"address[]\"},{\"name\":\"weights\",\"type\":\"uint96[]\",\"internalType\":\"uint96[]\"},{\"name\":\"addeds\",\"type\":\"bool[]\",\"internalType\":\"bool[]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onBridgeOperatorsRemoved\",\"inputs\":[{\"name\":\"operators\",\"type\":\"address[]\",\"internalType\":\"address[]\"},{\"name\":\"removeds\",\"type\":\"bool[]\",\"internalType\":\"bool[]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onERC1155BatchReceived\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"},{\"name\":\"\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"},{\"name\":\"\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onERC1155Received\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"pause\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"paused\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"reachedWithdrawalLimit\",\"inputs\":[{\"name\":\"_token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_quantity\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"receiveEther\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"renounceRole\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"requestDepositFor\",\"inputs\":[{\"name\":\"_request\",\"type\":\"tuple\",\"internalType\":\"struct Transfer.Request\",\"components\":[{\"name\":\"recipientAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"info\",\"type\":\"tuple\",\"internalType\":\"struct TokenInfo\",\"components\":[{\"name\":\"erc\",\"type\":\"uint8\",\"internalType\":\"enum TokenStandard\"},{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"quantity\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}]}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"revokeRole\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"roninChainId\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"setContract\",\"inputs\":[{\"name\":\"contractType\",\"type\":\"uint8\",\"internalType\":\"enum ContractType\"},{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setDailyWithdrawalLimits\",\"inputs\":[{\"name\":\"_tokens\",\"type\":\"address[]\",\"internalType\":\"address[]\"},{\"name\":\"_limits\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setEmergencyPauser\",\"inputs\":[{\"name\":\"_addr\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setHighTierThresholds\",\"inputs\":[{\"name\":\"_tokens\",\"type\":\"address[]\",\"internalType\":\"address[]\"},{\"name\":\"_thresholds\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setHighTierVoteWeightThreshold\",\"inputs\":[{\"name\":\"_numerator\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_denominator\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"_previousNum\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_previousDenom\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setLockedThresholds\",\"inputs\":[{\"name\":\"_tokens\",\"type\":\"address[]\",\"internalType\":\"address[]\"},{\"name\":\"_thresholds\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setThreshold\",\"inputs\":[{\"name\":\"num\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"denom\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setUnlockFeePercentages\",\"inputs\":[{\"name\":\"_tokens\",\"type\":\"address[]\",\"internalType\":\"address[]\"},{\"name\":\"_percentages\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setWrappedNativeTokenContract\",\"inputs\":[{\"name\":\"_wrappedToken\",\"type\":\"address\",\"internalType\":\"contract IWETH\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"submitWithdrawal\",\"inputs\":[{\"name\":\"_receipt\",\"type\":\"tuple\",\"internalType\":\"struct Transfer.Receipt\",\"components\":[{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"kind\",\"type\":\"uint8\",\"internalType\":\"enum Transfer.Kind\"},{\"name\":\"mainchain\",\"type\":\"tuple\",\"internalType\":\"struct TokenOwner\",\"components\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"ronin\",\"type\":\"tuple\",\"internalType\":\"struct TokenOwner\",\"components\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"info\",\"type\":\"tuple\",\"internalType\":\"struct TokenInfo\",\"components\":[{\"name\":\"erc\",\"type\":\"uint8\",\"internalType\":\"enum TokenStandard\"},{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"quantity\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}]},{\"name\":\"_signatures\",\"type\":\"tuple[]\",\"internalType\":\"struct SignatureConsumer.Signature[]\",\"components\":[{\"name\":\"v\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"r\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"s\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]}],\"outputs\":[{\"name\":\"_locked\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"supportsInterface\",\"inputs\":[{\"name\":\"interfaceId\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"unlockFeePercentages\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"unlockWithdrawal\",\"inputs\":[{\"name\":\"receipt\",\"type\":\"tuple\",\"internalType\":\"struct Transfer.Receipt\",\"components\":[{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"kind\",\"type\":\"uint8\",\"internalType\":\"enum Transfer.Kind\"},{\"name\":\"mainchain\",\"type\":\"tuple\",\"internalType\":\"struct TokenOwner\",\"components\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"ronin\",\"type\":\"tuple\",\"internalType\":\"struct TokenOwner\",\"components\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"info\",\"type\":\"tuple\",\"internalType\":\"struct TokenInfo\",\"components\":[{\"name\":\"erc\",\"type\":\"uint8\",\"internalType\":\"enum TokenStandard\"},{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"quantity\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}]}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"unpause\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"withdrawalHash\",\"inputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"withdrawalLocked\",\"inputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"wrappedNativeToken\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contract IWETH\"}],\"stateMutability\":\"view\"},{\"type\":\"event\",\"name\":\"ContractUpdated\",\"inputs\":[{\"name\":\"contractType\",\"type\":\"uint8\",\"indexed\":true,\"internalType\":\"enum ContractType\"},{\"name\":\"addr\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"DailyWithdrawalLimitsUpdated\",\"inputs\":[{\"name\":\"tokens\",\"type\":\"address[]\",\"indexed\":false,\"internalType\":\"address[]\"},{\"name\":\"limits\",\"type\":\"uint256[]\",\"indexed\":false,\"internalType\":\"uint256[]\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"DepositRequested\",\"inputs\":[{\"name\":\"receiptHash\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"},{\"name\":\"receipt\",\"type\":\"tuple\",\"indexed\":false,\"internalType\":\"struct Transfer.Receipt\",\"components\":[{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"kind\",\"type\":\"uint8\",\"internalType\":\"enum Transfer.Kind\"},{\"name\":\"mainchain\",\"type\":\"tuple\",\"internalType\":\"struct TokenOwner\",\"components\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"ronin\",\"type\":\"tuple\",\"internalType\":\"struct TokenOwner\",\"components\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"info\",\"type\":\"tuple\",\"internalType\":\"struct TokenInfo\",\"components\":[{\"name\":\"erc\",\"type\":\"uint8\",\"internalType\":\"enum TokenStandard\"},{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"quantity\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}]}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"HighTierThresholdsUpdated\",\"inputs\":[{\"name\":\"tokens\",\"type\":\"address[]\",\"indexed\":false,\"internalType\":\"address[]\"},{\"name\":\"thresholds\",\"type\":\"uint256[]\",\"indexed\":false,\"internalType\":\"uint256[]\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"HighTierVoteWeightThresholdUpdated\",\"inputs\":[{\"name\":\"nonce\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"numerator\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"denominator\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"previousNumerator\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"previousDenominator\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Initialized\",\"inputs\":[{\"name\":\"version\",\"type\":\"uint8\",\"indexed\":false,\"internalType\":\"uint8\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"LockedThresholdsUpdated\",\"inputs\":[{\"name\":\"tokens\",\"type\":\"address[]\",\"indexed\":false,\"internalType\":\"address[]\"},{\"name\":\"thresholds\",\"type\":\"uint256[]\",\"indexed\":false,\"internalType\":\"uint256[]\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Paused\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"RoleAdminChanged\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"previousAdminRole\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"newAdminRole\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"RoleGranted\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"sender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"RoleRevoked\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"sender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ThresholdUpdated\",\"inputs\":[{\"name\":\"nonce\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"numerator\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"denominator\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"previousNumerator\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"previousDenominator\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"TokenMapped\",\"inputs\":[{\"name\":\"mainchainTokens\",\"type\":\"address[]\",\"indexed\":false,\"internalType\":\"address[]\"},{\"name\":\"roninTokens\",\"type\":\"address[]\",\"indexed\":false,\"internalType\":\"address[]\"},{\"name\":\"standards\",\"type\":\"uint8[]\",\"indexed\":false,\"internalType\":\"enum TokenStandard[]\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"UnlockFeePercentagesUpdated\",\"inputs\":[{\"name\":\"tokens\",\"type\":\"address[]\",\"indexed\":false,\"internalType\":\"address[]\"},{\"name\":\"percentages\",\"type\":\"uint256[]\",\"indexed\":false,\"internalType\":\"uint256[]\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Unpaused\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"WithdrawalLocked\",\"inputs\":[{\"name\":\"receiptHash\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"},{\"name\":\"receipt\",\"type\":\"tuple\",\"indexed\":false,\"internalType\":\"struct Transfer.Receipt\",\"components\":[{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"kind\",\"type\":\"uint8\",\"internalType\":\"enum Transfer.Kind\"},{\"name\":\"mainchain\",\"type\":\"tuple\",\"internalType\":\"struct TokenOwner\",\"components\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"ronin\",\"type\":\"tuple\",\"internalType\":\"struct TokenOwner\",\"components\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"info\",\"type\":\"tuple\",\"internalType\":\"struct TokenInfo\",\"components\":[{\"name\":\"erc\",\"type\":\"uint8\",\"internalType\":\"enum TokenStandard\"},{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"quantity\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}]}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"WithdrawalUnlocked\",\"inputs\":[{\"name\":\"receiptHash\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"},{\"name\":\"receipt\",\"type\":\"tuple\",\"indexed\":false,\"internalType\":\"struct Transfer.Receipt\",\"components\":[{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"kind\",\"type\":\"uint8\",\"internalType\":\"enum Transfer.Kind\"},{\"name\":\"mainchain\",\"type\":\"tuple\",\"internalType\":\"struct TokenOwner\",\"components\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"ronin\",\"type\":\"tuple\",\"internalType\":\"struct TokenOwner\",\"components\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"info\",\"type\":\"tuple\",\"internalType\":\"struct TokenInfo\",\"components\":[{\"name\":\"erc\",\"type\":\"uint8\",\"internalType\":\"enum TokenStandard\"},{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"quantity\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}]}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Withdrew\",\"inputs\":[{\"name\":\"receiptHash\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"},{\"name\":\"receipt\",\"type\":\"tuple\",\"indexed\":false,\"internalType\":\"struct Transfer.Receipt\",\"components\":[{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"kind\",\"type\":\"uint8\",\"internalType\":\"enum Transfer.Kind\"},{\"name\":\"mainchain\",\"type\":\"tuple\",\"internalType\":\"struct TokenOwner\",\"components\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"ronin\",\"type\":\"tuple\",\"internalType\":\"struct TokenOwner\",\"components\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"info\",\"type\":\"tuple\",\"internalType\":\"struct TokenInfo\",\"components\":[{\"name\":\"erc\",\"type\":\"uint8\",\"internalType\":\"enum TokenStandard\"},{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"quantity\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}]}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"WrappedNativeTokenContractUpdated\",\"inputs\":[{\"name\":\"weth\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"contract IWETH\"}],\"anonymous\":false},{\"type\":\"error\",\"name\":\"ErrContractTypeNotFound\",\"inputs\":[{\"name\":\"contractType\",\"type\":\"uint8\",\"internalType\":\"enum ContractType\"}]},{\"type\":\"error\",\"name\":\"ErrERC1155MintingFailed\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrERC20MintingFailed\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrERC721MintingFailed\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrEmptyArray\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrInvalidChainId\",\"inputs\":[{\"name\":\"msgSig\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"},{\"name\":\"actual\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"expected\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"ErrInvalidInfo\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrInvalidOrder\",\"inputs\":[{\"name\":\"msgSig\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}]},{\"type\":\"error\",\"name\":\"ErrInvalidPercentage\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrInvalidReceipt\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrInvalidReceiptKind\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrInvalidRequest\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrInvalidSigner\",\"inputs\":[{\"name\":\"signer\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"weight\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"sig\",\"type\":\"tuple\",\"internalType\":\"struct SignatureConsumer.Signature\",\"components\":[{\"name\":\"v\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"r\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"s\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]}]},{\"type\":\"error\",\"name\":\"ErrInvalidThreshold\",\"inputs\":[{\"name\":\"msgSig\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}]},{\"type\":\"error\",\"name\":\"ErrInvalidTokenStandard\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrLengthMismatch\",\"inputs\":[{\"name\":\"msgSig\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}]},{\"type\":\"error\",\"name\":\"ErrNullHighTierVoteWeightProvided\",\"inputs\":[{\"name\":\"msgSig\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}]},{\"type\":\"error\",\"name\":\"ErrNullMinVoteWeightProvided\",\"inputs\":[{\"name\":\"msgSig\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}]},{\"type\":\"error\",\"name\":\"ErrNullTotalWeightProvided\",\"inputs\":[{\"name\":\"msgSig\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}]},{\"type\":\"error\",\"name\":\"ErrQueryForApprovedWithdrawal\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrQueryForInsufficientVoteWeight\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrQueryForProcessedWithdrawal\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrReachedDailyWithdrawalLimit\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrTokenCouldNotTransfer\",\"inputs\":[{\"name\":\"tokenInfo\",\"type\":\"tuple\",\"internalType\":\"struct TokenInfo\",\"components\":[{\"name\":\"erc\",\"type\":\"uint8\",\"internalType\":\"enum TokenStandard\"},{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"quantity\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ErrTokenCouldNotTransferFrom\",\"inputs\":[{\"name\":\"tokenInfo\",\"type\":\"tuple\",\"internalType\":\"struct TokenInfo\",\"components\":[{\"name\":\"erc\",\"type\":\"uint8\",\"internalType\":\"enum TokenStandard\"},{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"quantity\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ErrUnauthorized\",\"inputs\":[{\"name\":\"msgSig\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"},{\"name\":\"expectedRole\",\"type\":\"uint8\",\"internalType\":\"enum RoleAccess\"}]},{\"type\":\"error\",\"name\":\"ErrUnexpectedInternalCall\",\"inputs\":[{\"name\":\"msgSig\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"},{\"name\":\"expectedContractType\",\"type\":\"uint8\",\"internalType\":\"enum ContractType\"},{\"name\":\"actual\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ErrUnsupportedStandard\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrUnsupportedToken\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrZeroCodeContract\",\"inputs\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"}]}]", + "absolutePath": "MainchainGatewayV3.sol", + "address": "0x19287cA493748a5452B3900d393CB1a4369f47D5", "ast": "", - "blockNumber": 6141559, - "bytecode": "0x60806040523480156200001157600080fd5b506000805460ff19169055620000266200002c565b620000ee565b607154610100900460ff1615620000995760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60715460ff9081161015620000ec576071805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b61563b80620000fe6000396000f3fe6080604052600436106103a65760003560e01c80638f34e347116101e7578063b9c362091161010d578063d64af2a6116100a0578063e400327c1161006f578063e400327c14610b2f578063e6a4561814610b4f578063e75235b814610b62578063f23a6e6114610b7a576103b5565b8063d64af2a614610aaf578063dafae40814610acf578063de981f1b14610aef578063dff525e114610b0f576103b5565b8063cdb67444116100dc578063cdb6744414610a1d578063d19773d214610a35578063d547741f14610a62578063d55ed10314610a82576103b5565b8063b9c3620914610991578063bc197c81146109b1578063c48549de146109dd578063ca15c873146109fd576103b5565b8063a217fddf11610185578063affed0e011610154578063affed0e014610901578063b1a2567e14610917578063b1d08a0314610937578063b297579414610964576103b5565b8063a217fddf1461089f578063a3912ec8146103b3578063ab796566146108b4578063ac78dfe8146108e1576103b5565b80639157921c116101c15780639157921c1461080a57806391d148541461082a57806393c5678f1461084a5780639dcc4da31461086a576103b5565b80638f34e347146107895780638f851d8a146107bd5780639010d07c146107ea576103b5565b806338e454b1116102cc578063504af48c1161026a5780636c1ce670116102395780636c1ce6701461071f5780637de5dedd1461073f5780638456cb5914610754578063865e6fd314610769576103b5565b8063504af48c1461069a57806359122f6b146106ad5780635c975abb146106da5780636932be98146106f2576103b5565b80634b14557e116102a65780634b14557e146106175780634d0d66731461062a5780634d493f4e1461064a5780634f4247a11461067a576103b5565b806338e454b1146105cd5780633e70838b146105e25780633f4ba83a14610602576103b5565b80631d4a7210116103445780632f2ff15d116103135780632f2ff15d14610561578063302d12db146105815780633644e5151461059857806336568abe146105ad576103b5565b80631d4a7210146104ce578063248a9ca3146104fb57806329b6eca91461052b5780632dfdf0b51461054b576103b5565b806317ce2dd41161038057806317ce2dd41461044a57806317fcb39b1461046e5780631a8e55b01461048e5780631b6e7594146104ae576103b5565b806301ffc9a7146103bd578063065b3adf146103f2578063110a83081461042a576103b5565b366103b5576103b3610ba6565b005b6103b3610ba6565b3480156103c957600080fd5b506103dd6103d83660046141d4565b610bda565b60405190151581526020015b60405180910390f35b3480156103fe57600080fd5b50600554610412906001600160a01b031681565b6040516001600160a01b0390911681526020016103e9565b34801561043657600080fd5b506103b3610445366004614213565b610c20565b34801561045657600080fd5b5061046060755481565b6040519081526020016103e9565b34801561047a57600080fd5b50607454610412906001600160a01b031681565b34801561049a57600080fd5b506103b36104a9366004614274565b610cc5565b3480156104ba57600080fd5b506103b36104c93660046142df565b610d01565b3480156104da57600080fd5b506104606104e9366004614213565b603e6020526000908152604090205481565b34801561050757600080fd5b50610460610516366004614383565b60009081526072602052604090206001015490565b34801561053757600080fd5b506103b3610546366004614213565b610d41565b34801561055757600080fd5b5061046060765481565b34801561056d57600080fd5b506103b361057c36600461439c565b610dca565b34801561058d57600080fd5b50610460620f424081565b3480156105a457600080fd5b50607754610460565b3480156105b957600080fd5b506103b36105c836600461439c565b610df4565b3480156105d957600080fd5b506103b3610e72565b3480156105ee57600080fd5b506103b36105fd366004614213565b61104f565b34801561060e57600080fd5b506103b3611079565b6103b36106253660046143cc565b611089565b34801561063657600080fd5b506103dd6106453660046143f7565b6110ac565b34801561065657600080fd5b506103dd610665366004614383565b607a6020526000908152604090205460ff1681565b34801561068657600080fd5b50607f54610412906001600160a01b031681565b6103b36106a83660046144a1565b61111c565b3480156106b957600080fd5b506104606106c8366004614213565b603a6020526000908152604090205481565b3480156106e657600080fd5b5060005460ff166103dd565b3480156106fe57600080fd5b5061046061070d366004614383565b60796020526000908152604090205481565b34801561072b57600080fd5b506103dd61073a36600461457b565b6113e2565b34801561074b57600080fd5b506104606113ee565b34801561076057600080fd5b506103b361140f565b34801561077557600080fd5b506103b36107843660046145b6565b61141f565b34801561079557600080fd5b506104607f5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e481565b3480156107c957600080fd5b506107dd6107d8366004614681565b61143a565b6040516103e99190614778565b3480156107f657600080fd5b5061041261080536600461478d565b6115bc565b34801561081657600080fd5b506103b36108253660046147af565b6115d4565b34801561083657600080fd5b506103dd61084536600461439c565b611858565b34801561085657600080fd5b506103b3610865366004614274565b611883565b34801561087657600080fd5b5061088a61088536600461478d565b6118b9565b604080519283526020830191909152016103e9565b3480156108ab57600080fd5b50610460600081565b3480156108c057600080fd5b506104606108cf366004614213565b603c6020526000908152604090205481565b3480156108ed57600080fd5b506103dd6108fc366004614383565b6118e2565b34801561090d57600080fd5b5061046060045481565b34801561092357600080fd5b506103b3610932366004614274565b611918565b34801561094357600080fd5b50610460610952366004614213565b60396020526000908152604090205481565b34801561097057600080fd5b5061098461097f366004614213565b61194e565b6040516103e991906147f6565b34801561099d57600080fd5b506103b36109ac36600461478d565b6119f1565b3480156109bd57600080fd5b506107dd6109cc3660046148f9565b63bc197c8160e01b95945050505050565b3480156109e957600080fd5b506107dd6109f8366004614274565b611a0b565b348015610a0957600080fd5b50610460610a18366004614383565b611b9f565b348015610a2957600080fd5b5060375460385461088a565b348015610a4157600080fd5b50610460610a50366004614213565b603b6020526000908152604090205481565b348015610a6e57600080fd5b506103b3610a7d36600461439c565b611bb6565b348015610a8e57600080fd5b50610460610a9d366004614213565b603d6020526000908152604090205481565b348015610abb57600080fd5b506103b3610aca366004614213565b611bdb565b348015610adb57600080fd5b506103dd610aea366004614383565b611bec565b348015610afb57600080fd5b50610412610b0a3660046149a6565b611c1a565b348015610b1b57600080fd5b506103b3610b2a3660046149c1565b611c90565b348015610b3b57600080fd5b506103b3610b4a366004614274565b611d05565b6103b3610b5d366004614a7e565b611d3b565b348015610b6e57600080fd5b5060015460025461088a565b348015610b8657600080fd5b506107dd610b95366004614af2565b63f23a6e6160e01b95945050505050565b6074546001600160a01b0316331480610bc95750607f546001600160a01b031633145b15610bd057565b610bd8611d82565b565b60006001600160e01b03198216631dcdd2c760e31b1480610c0b57506001600160e01b031982166312c0151560e21b145b80610c1a5750610c1a82611dac565b92915050565b607154600490610100900460ff16158015610c42575060715460ff8083169116105b610c675760405162461bcd60e51b8152600401610c5e90614b5a565b60405180910390fd5b60718054607f80546001600160a01b0319166001600160a01b03861617905561ff001961010060ff851661ffff19909316831717169091556040519081526000805160206155e6833981519152906020015b60405180910390a15050565b610ccd611dd1565b6000839003610cef576040516316ee9d3b60e11b815260040160405180910390fd5b610cfb84848484611e2b565b50505050565b610d09611dd1565b6000859003610d2b576040516316ee9d3b60e11b815260040160405180910390fd5b610d39868686868686611f00565b505050505050565b607154600290610100900460ff16158015610d63575060715460ff8083169116105b610d7f5760405162461bcd60e51b8152600401610c5e90614b5a565b6071805461ffff191660ff831617610100179055610d9e600b836120a8565b6071805461ff001916905560405160ff821681526000805160206155e683398151915290602001610cb9565b600082815260726020526040902060010154610de58161214c565b610def8383612156565b505050565b6001600160a01b0381163314610e645760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610c5e565b610e6e8282612178565b5050565b607154600390610100900460ff16158015610e94575060715460ff8083169116105b610eb05760405162461bcd60e51b8152600401610c5e90614b5a565b6071805461ffff191660ff8316176101001790556000610ed0600b611c1a565b9050600080826001600160a01b031663c441c4a86040518163ffffffff1660e01b8152600401600060405180830381865afa158015610f13573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f3b9190810190614c25565b92509250506000805b8351811015610ff857828181518110610f5f57610f5f614d0b565b6020026020010151607e6000868481518110610f7d57610f7d614d0b565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a8154816001600160601b0302191690836001600160601b03160217905550828181518110610fdb57610fdb614d0b565b602002602001015182610fee9190614d37565b9150600101610f44565b50607d80546001600160601b0319166001600160601b039290921691909117905550506071805461ff00191690555060405160ff821681526000805160206155e6833981519152906020015b60405180910390a150565b611057611dd1565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b61108161219a565b610bd8612209565b61109161225b565b6110a96110a336839003830183614da7565b336122a1565b50565b60006110b661225b565b611112848484808060200260200160405190810160405280939291908181526020016000905b82821015611108576110f960608302860136819003810190614dfa565b815260200190600101906110dc565b505050505061257c565b90505b9392505050565b607154610100900460ff161580801561113c5750607154600160ff909116105b806111565750303b158015611156575060715460ff166001145b6111725760405162461bcd60e51b8152600401610c5e90614b5a565b6071805460ff191660011790558015611195576071805461ff0019166101001790555b6111a060008c612a10565b60758990556111ae8a612a1a565b6112396040517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81527f159f52c1e3a2b6a6aad3950adf713516211484e0516dad685ea662a094b7c43b60208201527fad7c5bef027816a800da1736444fb58a807ef4c9603b7848673f7e3a68eb14a5604082015246606082015230608082015260a0812060775550565b6112438887612a68565b61124d8787612af8565b5050611257612b8f565b60006112638680614e44565b905011156113245761128c6112788680614e44565b6112856020890189614e44565b8787611f00565b6112b26112998680614e44565b8660005b6020028101906112ad9190614e44565b612bdc565b6112d86112bf8680614e44565b8660015b6020028101906112d39190614e44565b611e2b565b6112fe6112e58680614e44565b8660025b6020028101906112f99190614e44565b612cb1565b61132461130b8680614e44565b8660035b60200281019061131f9190614e44565b612dc2565b60005b6113346040870187614e44565b90508110156113a0576113987f5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e461136e6040890189614e44565b8481811061137e5761137e614d0b565b90506020020160208101906113939190614213565b612156565b600101611327565b5080156113d5576071805461ff0019169055604051600181526000805160206155e68339815191529060200160405180910390a15b5050505050505050505050565b60006111158383612e97565b600061140a611405607d546001600160601b031690565b612f62565b905090565b61141761219a565b610bd8612f98565b611427611dd1565b61143081612fd5565b610e6e82826120a8565b6000600b6114478161300b565b82518690811415806114595750808514155b15611485576000356001600160e01b0319166040516306b5667560e21b8152600401610c5e9190614778565b8060000361149d57506347c28ec560e11b91506115b2565b60005b818110156115a5578481815181106114ba576114ba614d0b565b60200260200101511561159d578686828181106114d9576114d9614d0b565b90506020020160208101906114ee9190614e8d565b607d80546001600160601b031981166001600160601b03918216939093011691909117905586868281811061152557611525614d0b565b905060200201602081019061153a9190614e8d565b607e60008b8b8581811061155057611550614d0b565b90506020020160208101906115659190614213565b6001600160a01b03168152602081019190915260400160002080546001600160601b0319166001600160601b03929092169190911790555b6001016114a0565b506347c28ec560e11b9250505b5095945050505050565b60008281526073602052604081206111159083613057565b7f5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e46115fe8161214c565b600061161761161236859003850185614f07565b613063565b905061162b61161236859003850185614f07565b83356000908152607960205260409020541461165a5760405163f4b8742f60e01b815260040160405180910390fd5b82356000908152607a602052604090205460ff1661168b5760405163147bfe0760e01b815260040160405180910390fd5b82356000908152607a602052604090819020805460ff19169055517fd639511b37b3b002cca6cfe6bca0d833945a5af5a045578a0627fc43b79b2630906116d59083908690614fda565b60405180910390a160006116ef6080850160608601614213565b9050600061170561012086016101008701615060565b6002811115611716576117166147cc565b036117dd576000611730368690038601610100870161507b565b6001600160a01b0383166000908152603b602052604090205490915061175c906101408701359061312d565b60408201526000611776368790038701610100880161507b565b604083015190915061178d90610140880135615097565b60408201526074546117ad908390339086906001600160a01b0316613147565b6117d66117c06060880160408901614213565b60745483919086906001600160a01b0316613147565b5050611819565b6118196117f06060860160408701614213565b60745483906001600160a01b03166118113689900389016101008a0161507b565b929190613147565b7f21e88e956aa3e086f6388e899965cef814688f99ad8bb29b08d396571016372d828560405161184a929190614fda565b60405180910390a150505050565b60009182526072602090815260408084206001600160a01b0393909316845291905290205460ff1690565b61188b611dd1565b60008390036118ad576040516316ee9d3b60e11b815260040160405180910390fd5b610cfb84848484612bdc565b6000806118c4611dd1565b6118ce8484612af8565b90925090506118db612b8f565b9250929050565b60006118f6607d546001600160601b031690565b60375461190391906150aa565b60385461191090846150aa565b101592915050565b611920611dd1565b6000839003611942576040516316ee9d3b60e11b815260040160405180910390fd5b610cfb84848484612cb1565b60408051808201909152600080825260208201526001600160a01b0382166000908152607860205260409081902081518083019092528054829060ff16600281111561199c5761199c6147cc565b60028111156119ad576119ad6147cc565b815290546001600160a01b03610100909104811660209283015290820151919250166119ec57604051631b79f53b60e21b815260040160405180910390fd5b919050565b6119f9611dd1565b611a038282612a68565b610e6e612b8f565b6000600b611a188161300b565b84838114611a47576000356001600160e01b0319166040516306b5667560e21b8152600401610c5e9190614778565b80600003611a5f5750636242a4ef60e11b9150611b96565b6000805b82811015611b4657868682818110611a7d57611a7d614d0b565b9050602002016020810190611a9291906150c1565b15611b3e57607e60008a8a84818110611aad57611aad614d0b565b9050602002016020810190611ac29190614213565b6001600160a01b0316815260208101919091526040016000908120546001600160601b03169290920191607e908a8a84818110611b0157611b01614d0b565b9050602002016020810190611b169190614213565b6001600160a01b03168152602081019190915260400160002080546001600160601b03191690555b600101611a63565b50607d8054829190600090611b659084906001600160601b03166150de565b92506101000a8154816001600160601b0302191690836001600160601b0316021790555063c48549de60e01b935050505b50949350505050565b6000818152607360205260408120610c1a90613379565b600082815260726020526040902060010154611bd18161214c565b610def8383612178565b611be3611dd1565b6110a981612a1a565b6000611c00607d546001600160601b031690565b600154611c0d91906150aa565b60025461191090846150aa565b60007fdea3103d22025c269050bea94c0c84688877f12fa22b7e6d2d5d78a9a49aa1cb600083600f811115611c5157611c516147cc565b60ff1681526020810191909152604001600020546001600160a01b03169050806119ec578160405163409140df60e11b8152600401610c5e919061510e565b611c98611dd1565b6000869003611cba576040516316ee9d3b60e11b815260040160405180910390fd5b611cc8878787878787611f00565b611cd5878783600061129d565b611ce287878360016112c3565b611cef87878360026112e9565b611cfc878783600361130f565b50505050505050565b611d0d611dd1565b6000839003611d2f576040516316ee9d3b60e11b815260040160405180910390fd5b610cfb84848484612dc2565b611d4361225b565b8060005b81811015610cfb57611d7a848483818110611d6457611d64614d0b565b905060a002018036038101906110a39190614da7565b600101611d47565b611d8a61225b565b611d92614193565b3381526040808201513491015280516110a99082906122a1565b60006001600160e01b03198216630271189760e51b1480610c1a5750610c1a82613383565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103546001600160a01b03163314610bd8576000356001600160e01b0319166001604051620f948f60ea1b8152600401610c5e92919061511c565b828114611e59576000356001600160e01b0319166040516306b5667560e21b8152600401610c5e9190614778565b60005b83811015611eca57828282818110611e7657611e76614d0b565b90506020020135603a6000878785818110611e9357611e93614d0b565b9050602002016020810190611ea89190614213565b6001600160a01b03168152602081019190915260400160002055600101611e5c565b507f64557254143204d91ba2d95acb9fda1e5fea55f77efd028685765bc1e94dd4b58484848460405161184a9493929190615193565b8483148015611f0e57508481145b611f39576000356001600160e01b0319166040516306b5667560e21b8152600401610c5e9190614778565b60005b8581101561205e57848482818110611f5657611f56614d0b565b9050602002016020810190611f6b9190614213565b60786000898985818110611f8157611f81614d0b565b9050602002016020810190611f969190614213565b6001600160a01b03908116825260208201929092526040016000208054610100600160a81b0319166101009390921692909202179055828282818110611fde57611fde614d0b565b9050602002016020810190611ff39190615060565b6078600089898581811061200957612009614d0b565b905060200201602081019061201e9190614213565b6001600160a01b031681526020810191909152604001600020805460ff19166001836002811115612051576120516147cc565b0217905550600101611f3c565b507fa4f03cc9c0e0aeb5b71b4ec800702753f65748c2cf3064695ba8e8b46be70444868686868686604051612098969594939291906151df565b60405180910390a1505050505050565b807fdea3103d22025c269050bea94c0c84688877f12fa22b7e6d2d5d78a9a49aa1cb600084600f8111156120de576120de6147cc565b60ff168152602081019190915260400160002080546001600160a01b0319166001600160a01b03928316179055811682600f81111561211f5761211f6147cc565b6040517f865d1c228a8ea13709cfe61f346f7ff67f1bbd4a18ff31ad3e7147350d317c5990600090a35050565b6110a981336133a8565b612160828261340c565b6000828152607360205260409020610def9082613492565b61218282826134a7565b6000828152607360205260409020610def908261350e565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103546001600160a01b03163314806121dc57506005546001600160a01b031633145b610bd8576000356001600160e01b0319166001604051620f948f60ea1b8152600401610c5e92919061511c565b612211613523565b6000805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60005460ff1615610bd85760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610c5e565b604080518082018252600080825260208201526074549184015190916001600160a01b0316906122d09061356c565b60208401516001600160a01b031661237157348460400151604001511461230a5760405163129c2ce160e31b815260040160405180910390fd5b6123138161194e565b604085015151909250600281111561232d5761232d6147cc565b82516002811115612340576123406147cc565b1461235d5760405162035e2b60ea1b815260040160405180910390fd5b6001600160a01b0381166020850152612509565b34156123905760405163129c2ce160e31b815260040160405180910390fd5b61239d846020015161194e565b60408501515190925060028111156123b7576123b76147cc565b825160028111156123ca576123ca6147cc565b146123e75760405162035e2b60ea1b815260040160405180910390fd5b602084015160408501516123fc9185906135b0565b83602001516001600160a01b0316816001600160a01b03160361250957607454607f54604086810151810151905163095ea7b360e01b81526001600160a01b039283166004820152602481019190915291169063095ea7b3906044016020604051808303816000875af1158015612477573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061249b9190615250565b50607f546040808601518101519051636f074d1f60e11b81526001600160a01b039092169163de0e9a3e916124d69160040190815260200190565b600060405180830381600087803b1580156124f057600080fd5b505af1158015612504573d6000803e3d6000fd5b505050505b607680546000918261251a8361526d565b9190505590506000612541858386602001516075548a61372990949392919063ffffffff16565b90507fd7b25068d9dc8d00765254cfb7f5070f98d263c8d68931d937c7362fa738048b61256d82613063565b826040516120989291906152a6565b60008235610140840135826125976080870160608801614213565b90506125b46125af368890038801610100890161507b565b61356c565b60016125c66040880160208901615342565b60018111156125d7576125d76147cc565b146125f55760405163182f3d8760e11b815260040160405180910390fd5b608086013546146126375760405163092048d160e11b81526000356001600160e01b031916600482015260808701356024820152466044820152606401610c5e565b600061264c61097f6080890160608a01614213565b905061266061012088016101008901615060565b6002811115612671576126716147cc565b81516002811115612684576126846147cc565b1480156126b5575061269c60e0880160c08901614213565b6001600160a01b031681602001516001600160a01b0316145b80156126c6575060755460e0880135145b6126e35760405163f4b8742f60e01b815260040160405180910390fd5b6000848152607960205260409020541561271057604051634f13df6160e01b815260040160405180910390fd5b600161272461012089016101008a01615060565b6002811115612735576127356147cc565b148061274857506127468284612e97565b155b6127655760405163c51297b760e01b815260040160405180910390fd5b6000612779611612368a90038a018a614f07565b90506000612789607754836137fe565b905060006127a96127a26101208c016101008d01615060565b868861383f565b60408051606081018252600080825260208201819052918101829052919a50919250819081906000805b8e518110156128e7578e81815181106127ee576127ee614d0b565b6020908102919091018101518051818301516040808401518151600081529586018083528e905260ff9093169085015260608401526080830152935060019060a0016020604051602081039080840390855afa158015612852573d6000803e3d6000fd5b505050602060405103519450846001600160a01b0316846001600160a01b03161061289e576000356001600160e01b031916604051635d3dcd3160e01b8152600401610c5e9190614778565b6001600160a01b0385166000908152607e60205260409020548594506001600160601b03166128cd908361535d565b91508682106128df57600195506128e7565b6001016127d3565b508461290657604051639e8f5f6360e01b815260040160405180910390fd5b505050600089815260796020526040902085905550508715612981576000878152607a602052604090819020805460ff19166001179055517f89e52969465b1f1866fc5d46fd62de953962e9cb33552443cd999eba05bd20dc9061296d9085908d90614fda565b60405180910390a150505050505050610c1a565b61298b85876138cf565b6129ca61299e60608c0160408d01614213565b86607460009054906101000a90046001600160a01b03168d61010001803603810190611811919061507b565b7f21e88e956aa3e086f6388e899965cef814688f99ad8bb29b08d396571016372d838b6040516129fb929190614fda565b60405180910390a15050505050505092915050565b610e6e8282612156565b607480546001600160a01b0319166001600160a01b0383169081179091556040519081527f9d2334c23be647e994f27a72c5eee42a43d5bdcfe15bb88e939103c2b114cbaf90602001611044565b80821115612a97576000356001600160e01b0319166040516387f6f09560e01b8152600401610c5e9190614778565b6001805460028054858455908490556004805493840190556040805183815260208101839052929391928592879290917f976f8a9c5bdf8248dec172376d6e2b80a8e3df2f0328e381c6db8e1cf138c0f8910160405180910390a450505050565b60008082841115612b2a576000356001600160e01b0319166040516387f6f09560e01b8152600401610c5e9190614778565b5050603780546038805492859055839055600480546001810190915560408051838152602081018590529293928592879290917f31312c97b89cc751b832d98fd459b967a2c3eef3b49757d1cf5ebaa12bb6eee1910160405180910390a49250929050565b600254603754612b9f91906150aa565b603854600154612baf91906150aa565b1115610bd8576000356001600160e01b0319166040516387f6f09560e01b8152600401610c5e9190614778565b828114612c0a576000356001600160e01b0319166040516306b5667560e21b8152600401610c5e9190614778565b60005b83811015612c7b57828282818110612c2757612c27614d0b565b9050602002013560396000878785818110612c4457612c44614d0b565b9050602002016020810190612c599190614213565b6001600160a01b03168152602081019190915260400160002055600101612c0d565b507f80bc635c452ae67f12f9b6f12ad4daa6dbbc04eeb9ebb87d354ce10c0e210dc08484848460405161184a9493929190615193565b828114612cdf576000356001600160e01b0319166040516306b5667560e21b8152600401610c5e9190614778565b60005b83811015612d8c57620f4240838383818110612d0057612d00614d0b565b905060200201351115612d265760405163572d3bd360e11b815260040160405180910390fd5b828282818110612d3857612d38614d0b565b90506020020135603b6000878785818110612d5557612d55614d0b565b9050602002016020810190612d6a9190614213565b6001600160a01b03168152602081019190915260400160002055600101612ce2565b507fb05f5de88ae0294ebb6f67c5af2fcbbd593cc6bdfe543e2869794a4c8ce3ea508484848460405161184a9493929190615193565b828114612df0576000356001600160e01b0319166040516306b5667560e21b8152600401610c5e9190614778565b60005b83811015612e6157828282818110612e0d57612e0d614d0b565b90506020020135603c6000878785818110612e2a57612e2a614d0b565b9050602002016020810190612e3f9190614213565b6001600160a01b03168152602081019190915260400160002055600101612df3565b507fb5d2963614d72181b4df1f993d45b83edf42fa19710f0204217ba1b3e183bb738484848460405161184a9493929190615193565b6001600160a01b0382166000908152603a60205260408120548210612ebe57506000610c1a565b6000612ecd6201518042615370565b6001600160a01b0385166000908152603e6020526040902054909150811115612f135750506001600160a01b0382166000908152603c6020526040902054811015610c1a565b6001600160a01b0384166000908152603d6020526040902054612f3790849061535d565b6001600160a01b0385166000908152603c602052604090205411159150610c1a9050565b5092915050565b6000600254600160025484600154612f7a91906150aa565b612f84919061535d565b612f8e9190615097565b610c1a9190615370565b612fa061225b565b6000805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861223e3390565b806001600160a01b03163b6000036110a957604051630bfc64a360e21b81526001600160a01b0382166004820152602401610c5e565b61301481611c1a565b6001600160a01b0316336001600160a01b0316146110a9576000356001600160e01b03191681336040516320e0f98d60e21b8152600401610c5e93929190615392565b6000611115838361395f565b6000806130738360400151613989565b905060006130848460600151613989565b905060006130d88560800151604080517f1e2b74b2a792d5c0f0b6e59b037fa9d43d84fbb759337f0112fcc15ca414fc8d815282516020808301919091528301518183015291015160608201526080902090565b604080517fb9d1fe7c9deeec5dc90a2f47ff1684239519f2545b2228d3d91fb27df3189eea815287516020808301919091529097015190870152606086019390935250608084015260a08301525060c0902090565b6000620f424061313d83856150aa565b6111159190615370565b806001600160a01b0316826001600160a01b0316036131f45760408085015190516001600160a01b0385169180156108fc02916000818181858888f193505050506131ef57806001600160a01b031663d0e30db085604001516040518263ffffffff1660e01b81526004016000604051808303818588803b1580156131cb57600080fd5b505af11580156131df573d6000803e3d6000fd5b50505050506131ef8484846139d1565b610cfb565b600084516002811115613209576132096147cc565b036132cf576040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa158015613255573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061327991906153c9565b905084604001518110156132be576132a1833083886040015161329c9190615097565b613a50565b6132be57604051632f739fff60e11b815260040160405180910390fd5b6132c98585856139d1565b50610cfb565b6001845160028111156132e4576132e46147cc565b03613315576132f882848660200151613af5565b6131ef5760405163c8e3a09f60e01b815260040160405180910390fd5b60028451600281111561332a5761332a6147cc565b0361336057613343828486602001518760400151613b1c565b6131ef576040516334b471a760e21b815260040160405180910390fd5b6040516361e411a760e11b815260040160405180910390fd5b6000610c1a825490565b60006001600160e01b03198216635a05180f60e01b1480610c1a5750610c1a82613b49565b6133b28282611858565b610e6e576133ca816001600160a01b03166014613b7e565b6133d5836020613b7e565b6040516020016133e6929190615406565b60408051601f198184030181529082905262461bcd60e51b8252610c5e916004016154a7565b6134168282611858565b610e6e5760008281526072602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561344e3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000611115836001600160a01b038416613d19565b6134b18282611858565b15610e6e5760008281526072602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000611115836001600160a01b038416613d68565b60005460ff16610bd85760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610c5e565b61357581613e5b565b80613584575061358481613e92565b80613593575061359381613eba565b6110a95760405163034992a760e51b815260040160405180910390fd5b6000606081855160028111156135c8576135c86147cc565b036136a35760408581015181516001600160a01b03878116602483015230604483015260648083019390935283518083039093018352608490910183526020820180516001600160e01b03166323b872dd60e01b17905291519185169161362f91906154ba565b6000604051808303816000865af19150503d806000811461366c576040519150601f19603f3d011682016040523d82523d6000602084013e613671565b606091505b50909250905081801561369c57508051158061369c57508080602001905181019061369c9190615250565b91506136fc565b6001855160028111156136b8576136b86147cc565b036136cd5761369c8385308860200151613ee3565b6002855160028111156136e2576136e26147cc565b036133605761369c83853088602001518960400151613f91565b816137225784843085604051639d2e4c6760e01b8152600401610c5e94939291906154d6565b5050505050565b6137996040805160a08101825260008082526020808301829052835160608082018652838252818301849052818601849052848601919091528451808201865283815280830184905280860184905281850152845190810185528281529081018290529283015290608082015290565b83815260006020820181905250604080820180516001600160a01b039788169052602080890151825190891690820152905146908301528751606084018051918916909152805195909716940193909352935182015292909201516080820152919050565b6040805161190160f01b6020808301919091526022820185905260428083018590528351808403909101815260629092019092528051910120600090611115565b6000806000613856607d546001600160601b031690565b905061386181612f62565b92506000866002811115613877576138776147cc565b036138c6576001600160a01b03851660009081526039602052604090205484106138a7576138a481614045565b92505b6001600160a01b0385166000908152603a602052604090205484101591505b50935093915050565b60006138de6201518042615370565b6001600160a01b0384166000908152603e602052604090205490915081111561392d576001600160a01b03929092166000908152603e6020908152604080832094909455603d90529190912055565b6001600160a01b0383166000908152603d60205260408120805484929061395590849061535d565b9091555050505050565b600082600001828154811061397657613976614d0b565b9060005260206000200154905092915050565b604080517f353bdd8d69b9e3185b3972e08b03845c0c14a21a390215302776a7a34b0e8764815282516020808301919091528301518183015291015160608201526080902090565b600080845160028111156139e7576139e76147cc565b03613a02576139fb8284866040015161405d565b9050613a2c565b600184516002811115613a1757613a176147cc565b03613360576139fb8230858760200151613ee3565b80610cfb578383836040516341bd7d9160e11b8152600401610c5e9392919061550c565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b03166340c10f1960e01b1790529151600092861691613aa8916154ba565b6000604051808303816000865af19150503d8060008114613ae5576040519150601f19603f3d011682016040523d82523d6000602084013e613aea565b606091505b509095945050505050565b6000613b0384308585613ee3565b90508061111557613b15848484613a50565b9050611115565b6000613b2b8530868686613f91565b905080613b4157613b3e85858585614130565b90505b949350505050565b60006001600160e01b03198216637965db0b60e01b1480610c1a57506301ffc9a760e01b6001600160e01b0319831614610c1a565b60606000613b8d8360026150aa565b613b9890600261535d565b6001600160401b03811115613baf57613baf6145e2565b6040519080825280601f01601f191660200182016040528015613bd9576020820181803683370190505b509050600360fc1b81600081518110613bf457613bf4614d0b565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110613c2357613c23614d0b565b60200101906001600160f81b031916908160001a9053506000613c478460026150aa565b613c5290600161535d565b90505b6001811115613cca576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110613c8657613c86614d0b565b1a60f81b828281518110613c9c57613c9c614d0b565b60200101906001600160f81b031916908160001a90535060049490941c93613cc38161553c565b9050613c55565b5083156111155760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610c5e565b6000818152600183016020526040812054613d6057508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610c1a565b506000610c1a565b60008181526001830160205260408120548015613e51576000613d8c600183615097565b8554909150600090613da090600190615097565b9050818114613e05576000866000018281548110613dc057613dc0614d0b565b9060005260206000200154905080876000018481548110613de357613de3614d0b565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080613e1657613e16615553565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610c1a565b6000915050610c1a565b60008082516002811115613e7157613e716147cc565b148015613e82575060008260400151115b8015610c1a575050602001511590565b6000600182516002811115613ea957613ea96147cc565b148015610c1a575050604001511590565b6000600282516002811115613ed157613ed16147cc565b148015610c1a57505060400151151590565b604080516001600160a01b0385811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180516001600160e01b03166323b872dd60e01b1790529151600092871691613f43916154ba565b6000604051808303816000865af19150503d8060008114613f80576040519150601f19603f3d011682016040523d82523d6000602084013e613f85565b606091505b50909695505050505050565b604080516000808252602082019092526001600160a01b03871690613fc190879087908790879060448101615569565b60408051601f198184030181529181526020820180516001600160e01b0316637921219560e11b17905251613ff691906154ba565b6000604051808303816000865af19150503d8060008114614033576040519150601f19603f3d011682016040523d82523d6000602084013e614038565b606091505b5090979650505050505050565b6000603854600160385484603754612f7a91906150aa565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663a9059cbb60e01b1790529151600092606092908716916140ba91906154ba565b6000604051808303816000865af19150503d80600081146140f7576040519150601f19603f3d011682016040523d82523d6000602084013e6140fc565b606091505b5090925090508180156141275750805115806141275750808060200190518101906141279190615250565b95945050505050565b604080516000808252602082019092526001600160a01b0386169061415e90869086908690604481016155ae565b60408051601f198184030181529181526020820180516001600160e01b031663731133e960e01b17905251613f4391906154ba565b60408051606081018252600080825260208201529081016141cf6040805160608101909152806000815260200160008152602001600081525090565b905290565b6000602082840312156141e657600080fd5b81356001600160e01b03198116811461111557600080fd5b6001600160a01b03811681146110a957600080fd5b60006020828403121561422557600080fd5b8135611115816141fe565b60008083601f84011261424257600080fd5b5081356001600160401b0381111561425957600080fd5b6020830191508360208260051b85010111156118db57600080fd5b6000806000806040858703121561428a57600080fd5b84356001600160401b03808211156142a157600080fd5b6142ad88838901614230565b909650945060208701359150808211156142c657600080fd5b506142d387828801614230565b95989497509550505050565b600080600080600080606087890312156142f857600080fd5b86356001600160401b038082111561430f57600080fd5b61431b8a838b01614230565b9098509650602089013591508082111561433457600080fd5b6143408a838b01614230565b9096509450604089013591508082111561435957600080fd5b5061436689828a01614230565b979a9699509497509295939492505050565b80356119ec816141fe565b60006020828403121561439557600080fd5b5035919050565b600080604083850312156143af57600080fd5b8235915060208301356143c1816141fe565b809150509250929050565b600060a082840312156143de57600080fd5b50919050565b600061016082840312156143de57600080fd5b6000806000610180848603121561440d57600080fd5b61441785856143e4565b92506101608401356001600160401b038082111561443457600080fd5b818601915086601f83011261444857600080fd5b81358181111561445757600080fd5b87602060608302850101111561446c57600080fd5b6020830194508093505050509250925092565b8060608101831015610c1a57600080fd5b8060808101831015610c1a57600080fd5b6000806000806000806000806000806101208b8d0312156144c157600080fd5b6144ca8b614378565b99506144d860208c01614378565b985060408b0135975060608b0135965060808b0135955060a08b0135945060c08b01356001600160401b038082111561451057600080fd5b61451c8e838f0161447f565b955060e08d013591508082111561453257600080fd5b61453e8e838f01614490565b94506101008d013591508082111561455557600080fd5b506145628d828e01614230565b915080935050809150509295989b9194979a5092959850565b6000806040838503121561458e57600080fd5b8235614599816141fe565b946020939093013593505050565b8035601081106119ec57600080fd5b600080604083850312156145c957600080fd5b6145d2836145a7565b915060208301356143c1816141fe565b634e487b7160e01b600052604160045260246000fd5b604051606081016001600160401b038111828210171561461a5761461a6145e2565b60405290565b604051601f8201601f191681016001600160401b0381118282101715614648576146486145e2565b604052919050565b60006001600160401b03821115614669576146696145e2565b5060051b60200190565b80151581146110a957600080fd5b60008060008060006060868803121561469957600080fd5b85356001600160401b03808211156146b057600080fd5b6146bc89838a01614230565b90975095506020915087820135818111156146d657600080fd5b6146e28a828b01614230565b9096509450506040880135818111156146fa57600080fd5b88019050601f8101891361470d57600080fd5b803561472061471b82614650565b614620565b81815260059190911b8201830190838101908b83111561473f57600080fd5b928401925b8284101561476657833561475781614673565b82529284019290840190614744565b80955050505050509295509295909350565b6001600160e01b031991909116815260200190565b600080604083850312156147a057600080fd5b50508035926020909101359150565b600061016082840312156147c257600080fd5b61111583836143e4565b634e487b7160e01b600052602160045260246000fd5b600381106147f2576147f26147cc565b9052565b60006040820190506148098284516147e2565b6020928301516001600160a01b0316919092015290565b600082601f83011261483157600080fd5b8135602061484161471b83614650565b8083825260208201915060208460051b87010193508684111561486357600080fd5b602086015b8481101561487f5780358352918301918301614868565b509695505050505050565b600082601f83011261489b57600080fd5b81356001600160401b038111156148b4576148b46145e2565b6148c7601f8201601f1916602001614620565b8181528460208386010111156148dc57600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a0868803121561491157600080fd5b853561491c816141fe565b9450602086013561492c816141fe565b935060408601356001600160401b038082111561494857600080fd5b61495489838a01614820565b9450606088013591508082111561496a57600080fd5b61497689838a01614820565b9350608088013591508082111561498c57600080fd5b506149998882890161488a565b9150509295509295909350565b6000602082840312156149b857600080fd5b611115826145a7565b60008060008060008060006080888a0312156149dc57600080fd5b87356001600160401b03808211156149f357600080fd5b6149ff8b838c01614230565b909950975060208a0135915080821115614a1857600080fd5b614a248b838c01614230565b909750955060408a0135915080821115614a3d57600080fd5b614a498b838c01614230565b909550935060608a0135915080821115614a6257600080fd5b50614a6f8a828b01614490565b91505092959891949750929550565b60008060208385031215614a9157600080fd5b82356001600160401b0380821115614aa857600080fd5b818501915085601f830112614abc57600080fd5b813581811115614acb57600080fd5b86602060a083028501011115614ae057600080fd5b60209290920196919550909350505050565b600080600080600060a08688031215614b0a57600080fd5b8535614b15816141fe565b94506020860135614b25816141fe565b9350604086013592506060860135915060808601356001600160401b03811115614b4e57600080fd5b6149998882890161488a565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b600082601f830112614bb957600080fd5b81516020614bc961471b83614650565b8083825260208201915060208460051b870101935086841115614beb57600080fd5b602086015b8481101561487f578051614c03816141fe565b8352918301918301614bf0565b6001600160601b03811681146110a957600080fd5b600080600060608486031215614c3a57600080fd5b83516001600160401b0380821115614c5157600080fd5b614c5d87838801614ba8565b9450602091508186015181811115614c7457600080fd5b614c8088828901614ba8565b945050604086015181811115614c9557600080fd5b86019050601f81018713614ca857600080fd5b8051614cb661471b82614650565b81815260059190911b82018301908381019089831115614cd557600080fd5b928401925b82841015614cfc578351614ced81614c10565b82529284019290840190614cda565b80955050505050509250925092565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6001600160601b03818116838216019080821115612f5b57612f5b614d21565b8035600381106119ec57600080fd5b600060608284031215614d7857600080fd5b614d806145f8565b9050614d8b82614d57565b8152602082013560208201526040820135604082015292915050565b600060a08284031215614db957600080fd5b614dc16145f8565b8235614dcc816141fe565b81526020830135614ddc816141fe565b6020820152614dee8460408501614d66565b60408201529392505050565b600060608284031215614e0c57600080fd5b614e146145f8565b823560ff81168114614e2557600080fd5b8152602083810135908201526040928301359281019290925250919050565b6000808335601e19843603018112614e5b57600080fd5b8301803591506001600160401b03821115614e7557600080fd5b6020019150600581901b36038213156118db57600080fd5b600060208284031215614e9f57600080fd5b813561111581614c10565b8035600281106119ec57600080fd5b600060608284031215614ecb57600080fd5b614ed36145f8565b90508135614ee0816141fe565b81526020820135614ef0816141fe565b806020830152506040820135604082015292915050565b60006101608284031215614f1a57600080fd5b60405160a081018181106001600160401b0382111715614f3c57614f3c6145e2565b60405282358152614f4f60208401614eaa565b6020820152614f618460408501614eb9565b6040820152614f738460a08501614eb9565b6060820152614f86846101008501614d66565b60808201529392505050565b600281106147f2576147f26147cc565b8035614fad816141fe565b6001600160a01b039081168352602082013590614fc9826141fe565b166020830152604090810135910152565b60006101808201905083825282356020830152614ff960208401614eaa565b6150066040840182614f92565b506150176060830160408501614fa2565b61502760c0830160a08501614fa2565b61012061504281840161503d6101008701614d57565b6147e2565b61014081850135818501528085013561016085015250509392505050565b60006020828403121561507257600080fd5b61111582614d57565b60006060828403121561508d57600080fd5b6111158383614d66565b81810381811115610c1a57610c1a614d21565b8082028115828204841417610c1a57610c1a614d21565b6000602082840312156150d357600080fd5b813561111581614673565b6001600160601b03828116828216039080821115612f5b57612f5b614d21565b601081106147f2576147f26147cc565b60208101610c1a82846150fe565b6001600160e01b03198316815260408101600b831061513d5761513d6147cc565b8260208301529392505050565b8183526000602080850194508260005b8581101561518857813561516d816141fe565b6001600160a01b03168752958201959082019060010161515a565b509495945050505050565b6040815260006151a760408301868861514a565b82810360208401528381526001600160fb1b038411156151c657600080fd5b8360051b80866020840137016020019695505050505050565b6060815260006151f360608301888a61514a565b6020838203602085015261520882888a61514a565b848103604086015285815286925060200160005b86811015615241576152318261503d86614d57565b928201929082019060010161521c565b509a9950505050505050505050565b60006020828403121561526257600080fd5b815161111581614673565b60006001820161527f5761527f614d21565b5060010190565b6152918282516147e2565b60208181015190830152604090810151910152565b6000610180820190508382528251602083015260208301516152cb6040840182614f92565b5060408381015180516001600160a01b03908116606086015260208201511660808501529081015160a084015250606083015180516001600160a01b0390811660c085015260208201511660e0840152604081015161010084015250608083015161533a610120840182615286565b509392505050565b60006020828403121561535457600080fd5b61111582614eaa565b80820180821115610c1a57610c1a614d21565b60008261538d57634e487b7160e01b600052601260045260246000fd5b500490565b6001600160e01b031984168152606081016153b060208301856150fe565b6001600160a01b03929092166040919091015292915050565b6000602082840312156153db57600080fd5b5051919050565b60005b838110156153fd5781810151838201526020016153e5565b50506000910152565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161543e8160178501602088016153e2565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161546f8160288401602088016153e2565b01602801949350505050565b600081518084526154938160208601602086016153e2565b601f01601f19169290920160200192915050565b602081526000611115602083018461547b565b600082516154cc8184602087016153e2565b9190910192915050565b60c081016154e48287615286565b6001600160a01b0394851660608301529284166080820152921660a090920191909152919050565b60a0810161551a8286615286565b6001600160a01b03938416606083015291909216608090920191909152919050565b60008161554b5761554b614d21565b506000190190565b634e487b7160e01b600052603160045260246000fd5b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190526000906155a39083018461547b565b979650505050505050565b60018060a01b03851681528360208201528260408201526080606082015260006155db608083018461547b565b969550505050505056fe7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498a26469706673582212201e2ed98411cda98706015cdbeb9e494126a836fe1b19bb440229c826fa07419564736f6c63430008170033", + "blockNumber": 6574369, + "bytecode": "\"0x608060405234801562000010575f80fd5b505f805460ff19169055620000246200002a565b620000ec565b607154610100900460ff1615620000975760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60715460ff9081161015620000ea576071805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b61561480620000fa5f395ff3fe60806040526004361061038f575f3560e01c80638f34e347116101db578063b9c3620911610101578063d55ed1031161009f578063dff525e11161006e578063dff525e114610a99578063e400327c14610ab8578063e75235b814610ad7578063f23a6e6114610aee5761039e565b8063d55ed10314610a11578063d64af2a614610a3c578063dafae40814610a5b578063de981f1b14610a7a5761039e565b8063ca15c873116100db578063ca15c87314610991578063cdb67444146109b0578063d19773d2146109c7578063d547741f146109f25761039e565b8063b9c3620914610928578063bc197c8114610947578063c48549de146109725761039e565b8063a217fddf11610179578063affed0e011610148578063affed0e01461089d578063b1a2567e146108b2578063b1d08a03146108d1578063b2975794146108fc5761039e565b8063a217fddf14610840578063a3912ec81461039c578063ab79656614610853578063ac78dfe81461087e5761039e565b80639157921c116101b55780639157921c146107af57806391d14854146107ce57806393c5678f146107ed5780639dcc4da31461080c5761039e565b80638f34e347146107315780638f851d8a146107645780639010d07c146107905761039e565b806336568abe116102c0578063504af48c1161025e5780636c1ce6701161022d5780636c1ce670146106cb5780637de5dedd146106ea5780638456cb59146106fe578063865e6fd3146107125761039e565b8063504af48c1461064c57806359122f6b1461065f5780635c975abb1461068a5780636932be98146106a05761039e565b80633f4ba83a1161029a5780633f4ba83a146105d85780634b14557e146105ec5780634d0d6673146105ff5780634d493f4e1461061e5761039e565b806336568abe1461058657806338e454b1146105a55780633e70838b146105b95761039e565b80631d4a72101161032d5780632dfdf0b5116103075780632dfdf0b5146105285780632f2ff15d1461053d578063302d12db1461055c5780633644e515146105725761039e565b80631d4a7210146104b0578063248a9ca3146104db57806329b6eca9146105095761039e565b806317ce2dd41161036957806317ce2dd41461043057806317fcb39b146104535780631a8e55b0146104725780631b6e7594146104915761039e565b806301ffc9a7146103a6578063065b3adf146103da578063110a8308146104115761039e565b3661039e5761039c610b19565b005b61039c610b19565b3480156103b1575f80fd5b506103c56103c03660046142cf565b610b37565b60405190151581526020015b60405180910390f35b3480156103e5575f80fd5b506005546103f9906001600160a01b031681565b6040516001600160a01b0390911681526020016103d1565b34801561041c575f80fd5b5061039c61042b36600461430a565b610b7c565b34801561043b575f80fd5b5061044560755481565b6040519081526020016103d1565b34801561045e575f80fd5b506074546103f9906001600160a01b031681565b34801561047d575f80fd5b5061039c61048c366004614365565b610c04565b34801561049c575f80fd5b5061039c6104ab3660046143cb565b610c3f565b3480156104bb575f80fd5b506104456104ca36600461430a565b603e6020525f908152604090205481565b3480156104e6575f80fd5b506104456104f5366004614468565b5f9081526072602052604090206001015490565b348015610514575f80fd5b5061039c61052336600461430a565b610c7e565b348015610533575f80fd5b5061044560765481565b348015610548575f80fd5b5061039c61055736600461447f565b610d06565b348015610567575f80fd5b50610445620f424081565b34801561057d575f80fd5b50607754610445565b348015610591575f80fd5b5061039c6105a036600461447f565b610d2f565b3480156105b0575f80fd5b5061039c610dad565b3480156105c4575f80fd5b5061039c6105d336600461430a565b610f7f565b3480156105e3575f80fd5b5061039c610fa9565b61039c6105fa3660046144ad565b610fb9565b34801561060a575f80fd5b506103c56106193660046144d4565b610fdc565b348015610629575f80fd5b506103c5610638366004614468565b607a6020525f908152604090205460ff1681565b61039c61065a366004614575565b61104a565b34801561066a575f80fd5b5061044561067936600461430a565b603a6020525f908152604090205481565b348015610695575f80fd5b505f5460ff166103c5565b3480156106ab575f80fd5b506104456106ba366004614468565b60796020525f908152604090205481565b3480156106d6575f80fd5b506103c56106e5366004614646565b61130b565b3480156106f5575f80fd5b50610445611316565b348015610709575f80fd5b5061039c61132c565b34801561071d575f80fd5b5061039c61072c36600461467e565b61133c565b34801561073c575f80fd5b506104457f5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e481565b34801561076f575f80fd5b5061078361077e366004614743565b611357565b6040516103d19190614831565b34801561079b575f80fd5b506103f96107aa366004614846565b6114d3565b3480156107ba575f80fd5b5061039c6107c9366004614866565b6114ea565b3480156107d9575f80fd5b506103c56107e836600461447f565b611765565b3480156107f8575f80fd5b5061039c610807366004614365565b61178f565b348015610817575f80fd5b5061082b610826366004614846565b6117c4565b604080519283526020830191909152016103d1565b34801561084b575f80fd5b506104455f81565b34801561085e575f80fd5b5061044561086d36600461430a565b603c6020525f908152604090205481565b348015610889575f80fd5b506103c5610898366004614468565b6117ec565b3480156108a8575f80fd5b5061044560045481565b3480156108bd575f80fd5b5061039c6108cc366004614365565b611817565b3480156108dc575f80fd5b506104456108eb36600461430a565b60396020525f908152604090205481565b348015610907575f80fd5b5061091b61091636600461430a565b61184c565b6040516103d191906148a9565b348015610933575f80fd5b5061039c610942366004614846565b6118ed565b348015610952575f80fd5b506107836109613660046149a4565b63bc197c8160e01b95945050505050565b34801561097d575f80fd5b5061078361098c366004614365565b611907565b34801561099c575f80fd5b506104456109ab366004614468565b611a93565b3480156109bb575f80fd5b5060375460385461082b565b3480156109d2575f80fd5b506104456109e136600461430a565b603b6020525f908152604090205481565b3480156109fd575f80fd5b5061039c610a0c36600461447f565b611aa9565b348015610a1c575f80fd5b50610445610a2b36600461430a565b603d6020525f908152604090205481565b348015610a47575f80fd5b5061039c610a5636600461430a565b611acd565b348015610a66575f80fd5b506103c5610a75366004614468565b611ade565b348015610a85575f80fd5b506103f9610a94366004614a4a565b611b01565b348015610aa4575f80fd5b5061039c610ab3366004614a63565b611b74565b348015610ac3575f80fd5b5061039c610ad2366004614365565b611be7565b348015610ae2575f80fd5b5060015460025461082b565b348015610af9575f80fd5b50610783610b08366004614b17565b63f23a6e6160e01b95945050505050565b6074546001600160a01b03163303610b2d57565b610b35611c1c565b565b5f6001600160e01b03198216631f3673bb60e01b1480610b6757506001600160e01b031982166312c0151560e21b145b80610b765750610b7682611c46565b92915050565b607154600490610100900460ff16158015610b9e575060715460ff8083169116105b610bc35760405162461bcd60e51b8152600401610bba90614b7a565b60405180910390fd5b6071805461ffff191660ff83169081176101001761ff0019169091556040519081525f805160206155bf833981519152906020015b60405180910390a15050565b610c0c611c6a565b5f839003610c2d576040516316ee9d3b60e11b815260040160405180910390fd5b610c3984848484611cc3565b50505050565b610c47611c6a565b5f859003610c68576040516316ee9d3b60e11b815260040160405180910390fd5b610c76868686868686611d94565b505050505050565b607154600290610100900460ff16158015610ca0575060715460ff8083169116105b610cbc5760405162461bcd60e51b8152600401610bba90614b7a565b6071805461ffff191660ff831617610100179055610cdb600b83611f36565b6071805461ff001916905560405160ff821681525f805160206155bf83398151915290602001610bf8565b5f82815260726020526040902060010154610d2081611fd7565b610d2a8383611fe1565b505050565b6001600160a01b0381163314610d9f5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610bba565b610da98282612002565b5050565b607154600390610100900460ff16158015610dcf575060715460ff8083169116105b610deb5760405162461bcd60e51b8152600401610bba90614b7a565b6071805461ffff191660ff8316176101001790555f610e0a600b611b01565b90505f80826001600160a01b031663c441c4a86040518163ffffffff1660e01b81526004015f60405180830381865afa158015610e49573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610e709190810190614c41565b92509250505f805b8351811015610f2957828181518110610e9357610e93614d1f565b6020026020010151607e5f868481518110610eb057610eb0614d1f565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f205f6101000a8154816001600160601b0302191690836001600160601b03160217905550828181518110610f0c57610f0c614d1f565b602002602001015182610f1f9190614d47565b9150600101610e78565b50607d80546001600160601b0319166001600160601b039290921691909117905550506071805461ff00191690555060405160ff821681525f805160206155bf833981519152906020015b60405180910390a150565b610f87611c6a565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b610fb1612023565b610b35612091565b610fc16120e2565b610fd9610fd336839003830183614db4565b33612127565b50565b5f610fe56120e2565b611040848484808060200260200160405190810160405280939291908181526020015f905b828210156110365761102760608302860136819003810190614e05565b8152602001906001019061100a565b505050505061236e565b90505b9392505050565b607154610100900460ff161580801561106a5750607154600160ff909116105b806110845750303b158015611084575060715460ff166001145b6110a05760405162461bcd60e51b8152600401610bba90614b7a565b6071805460ff1916600117905580156110c3576071805461ff0019166101001790555b6110cd5f8c6127fa565b60758990556110db8a612804565b6111666040517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81527f159f52c1e3a2b6a6aad3950adf713516211484e0516dad685ea662a094b7c43b60208201527fad7c5bef027816a800da1736444fb58a807ef4c9603b7848673f7e3a68eb14a5604082015246606082015230608082015260a0812060775550565b6111708887612852565b61117a87876128f3565b505061118461299a565b5f61118f8680614e4c565b9050111561124f576111b86111a48680614e4c565b6111b16020890189614e4c565b8787611d94565b6111dd6111c58680614e4c565b865f5b6020028101906111d89190614e4c565b6129e6565b6112036111ea8680614e4c565b8660015b6020028101906111fe9190614e4c565b611cc3565b6112296112108680614e4c565b8660025b6020028101906112249190614e4c565b612ab7565b61124f6112368680614e4c565b8660035b60200281019061124a9190614e4c565b612bc4565b5f5b61125e6040870187614e4c565b90508110156112ca576112c27f5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e46112986040890189614e4c565b848181106112a8576112a8614d1f565b90506020020160208101906112bd919061430a565b611fe1565b600101611251565b5080156112fe576071805461ff0019169055604051600181525f805160206155bf8339815191529060200160405180910390a15b5050505050505050505050565b5f6110438383612c95565b5f611327611322612d59565b612d96565b905090565b611334612023565b610b35612dfa565b611344611c6a565b61134d81612e36565b610da98282611f36565b5f600b61136381612e6b565b82518690811415806113755750808514155b156113a0575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b805f036113b757506347c28ec560e11b91506114c9565b5f5b818110156114bc578481815181106113d3576113d3614d1f565b6020026020010151156114b4578686828181106113f2576113f2614d1f565b90506020020160208101906114079190614e91565b607d80546001600160601b031981166001600160601b03918216939093011691909117905586868281811061143e5761143e614d1f565b90506020020160208101906114539190614e91565b607e5f8b8b8581811061146857611468614d1f565b905060200201602081019061147d919061430a565b6001600160a01b0316815260208101919091526040015f2080546001600160601b0319166001600160601b03929092169190911790555b6001016113b9565b506347c28ec560e11b9250505b5095945050505050565b5f8281526073602052604081206110439083612eb6565b7f5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e461151481611fd7565b5f61152c61152736859003850185614f06565b612ec1565b905061154061152736859003850185614f06565b83355f908152607960205260409020541461156e5760405163f4b8742f60e01b815260040160405180910390fd5b82355f908152607a602052604090205460ff1661159e5760405163147bfe0760e01b815260040160405180910390fd5b82355f908152607a602052604090819020805460ff19169055517fd639511b37b3b002cca6cfe6bca0d833945a5af5a045578a0627fc43b79b2630906115e79083908690614fd7565b60405180910390a15f611600608085016060860161430a565b90505f6116156101208601610100870161505c565b600281111561162657611626614881565b036116ea575f61163f3686900386016101008701615075565b6001600160a01b0383165f908152603b602052604090205490915061166a9061014087013590612f88565b60408201525f6116833687900387016101008801615075565b604083015190915061169a9061014088013561508f565b60408201526074546116ba908390339086906001600160a01b0316612fa1565b6116e36116cd606088016040890161430a565b60745483919086906001600160a01b0316612fa1565b5050611726565b6117266116fd606086016040870161430a565b60745483906001600160a01b031661171e3689900389016101008a01615075565b929190612fa1565b7f21e88e956aa3e086f6388e899965cef814688f99ad8bb29b08d396571016372d8285604051611757929190614fd7565b60405180910390a150505050565b5f9182526072602090815260408084206001600160a01b0393909316845291905290205460ff1690565b611797611c6a565b5f8390036117b8576040516316ee9d3b60e11b815260040160405180910390fd5b610c39848484846129e6565b5f806117ce611c6a565b6117d884846128f3565b90925090506117e561299a565b9250929050565b5f6117f5612d59565b60375461180291906150a2565b60385461180f90846150a2565b101592915050565b61181f611c6a565b5f839003611840576040516316ee9d3b60e11b815260040160405180910390fd5b610c3984848484612ab7565b604080518082019091525f80825260208201526001600160a01b0382165f908152607860205260409081902081518083019092528054829060ff16600281111561189857611898614881565b60028111156118a9576118a9614881565b815290546001600160a01b03610100909104811660209283015290820151919250166118e857604051631b79f53b60e21b815260040160405180910390fd5b919050565b6118f5611c6a565b6118ff8282612852565b610da961299a565b5f600b61191381612e6b565b84838114611941575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b805f036119585750636242a4ef60e11b9150611a8a565b5f805b82811015611a3b5786868281811061197557611975614d1f565b905060200201602081019061198a91906150b9565b15611a3357607e5f8a8a848181106119a4576119a4614d1f565b90506020020160208101906119b9919061430a565b6001600160a01b0316815260208101919091526040015f908120546001600160601b03169290920191607e908a8a848181106119f7576119f7614d1f565b9050602002016020810190611a0c919061430a565b6001600160a01b0316815260208101919091526040015f2080546001600160601b03191690555b60010161195b565b50607d80548291905f90611a599084906001600160601b03166150d4565b92506101000a8154816001600160601b0302191690836001600160601b0316021790555063c48549de60e01b935050505b50949350505050565b5f818152607360205260408120610b76906131ca565b5f82815260726020526040902060010154611ac381611fd7565b610d2a8383612002565b611ad5611c6a565b610fd981612804565b5f611ae7612d59565b600154611af491906150a2565b60025461180f90846150a2565b5f7fdea3103d22025c269050bea94c0c84688877f12fa22b7e6d2d5d78a9a49aa1cb5f83600f811115611b3657611b36614881565b60ff16815260208101919091526040015f20546001600160a01b03169050806118e8578160405163409140df60e11b8152600401610bba9190615104565b611b7c611c6a565b5f869003611b9d576040516316ee9d3b60e11b815260040160405180910390fd5b611bab878787878787611d94565b611bb78787835f6111c8565b611bc487878360016111ee565b611bd18787836002611214565b611bde878783600361123a565b50505050505050565b611bef611c6a565b5f839003611c10576040516316ee9d3b60e11b815260040160405180910390fd5b610c3984848484612bc4565b611c246120e2565b611c2c614292565b338152604080820151349101528051610fd9908290612127565b5f6001600160e01b03198216630271189760e51b1480610b765750610b76826131d3565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103546001600160a01b03163314610b35575f356001600160e01b0319166001604051620f948f60ea1b8152600401610bba929190615112565b828114611cf0575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b83811015611d5e57828282818110611d0c57611d0c614d1f565b90506020020135603a5f878785818110611d2857611d28614d1f565b9050602002016020810190611d3d919061430a565b6001600160a01b0316815260208101919091526040015f2055600101611cf2565b507f64557254143204d91ba2d95acb9fda1e5fea55f77efd028685765bc1e94dd4b5848484846040516117579493929190615187565b8483148015611da257508481145b611dcc575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b85811015611eec57848482818110611de857611de8614d1f565b9050602002016020810190611dfd919061430a565b60785f898985818110611e1257611e12614d1f565b9050602002016020810190611e27919061430a565b6001600160a01b03908116825260208201929092526040015f208054610100600160a81b0319166101009390921692909202179055828282818110611e6e57611e6e614d1f565b9050602002016020810190611e83919061505c565b60785f898985818110611e9857611e98614d1f565b9050602002016020810190611ead919061430a565b6001600160a01b0316815260208101919091526040015f20805460ff19166001836002811115611edf57611edf614881565b0217905550600101611dce565b507fa4f03cc9c0e0aeb5b71b4ec800702753f65748c2cf3064695ba8e8b46be70444868686868686604051611f26969594939291906151d1565b60405180910390a1505050505050565b807fdea3103d22025c269050bea94c0c84688877f12fa22b7e6d2d5d78a9a49aa1cb5f84600f811115611f6b57611f6b614881565b60ff16815260208101919091526040015f2080546001600160a01b0319166001600160a01b03928316179055811682600f811115611fab57611fab614881565b6040517f865d1c228a8ea13709cfe61f346f7ff67f1bbd4a18ff31ad3e7147350d317c59905f90a35050565b610fd981336131f7565b611feb828261325b565b5f828152607360205260409020610d2a90826132e0565b61200c82826132f4565b5f828152607360205260409020610d2a908261335a565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103546001600160a01b031633148061206557506005546001600160a01b031633145b610b35575f356001600160e01b0319166001604051620f948f60ea1b8152600401610bba929190615112565b61209961336e565b5f805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b5f5460ff1615610b355760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610bba565b6040805180820182525f80825260208201526074549184015190916001600160a01b031690612155906133b6565b60208401516001600160a01b03166121f657348460400151604001511461218f5760405163129c2ce160e31b815260040160405180910390fd5b6121988161184c565b60408501515190925060028111156121b2576121b2614881565b825160028111156121c5576121c5614881565b146121e25760405162035e2b60ea1b815260040160405180910390fd5b6001600160a01b03811660208501526122fd565b34156122155760405163129c2ce160e31b815260040160405180910390fd5b612222846020015161184c565b604085015151909250600281111561223c5761223c614881565b8251600281111561224f5761224f614881565b1461226c5760405162035e2b60ea1b815260040160405180910390fd5b602084015160408501516122819185906133fa565b83602001516001600160a01b0316816001600160a01b0316036122fd576040848101518101519051632e1a7d4d60e01b815260048101919091526001600160a01b03821690632e1a7d4d906024015f604051808303815f87803b1580156122e6575f80fd5b505af11580156122f8573d5f803e3d5ffd5b505050505b607680545f918261230d83615240565b9190505590505f612333858386602001516075548a61356e90949392919063ffffffff16565b90507fd7b25068d9dc8d00765254cfb7f5070f98d263c8d68931d937c7362fa738048b61235f82612ec1565b82604051611f26929190615278565b5f823561014084013582612388608087016060880161430a565b90506123a56123a03688900388016101008901615075565b6133b6565b60016123b76040880160208901615313565b60018111156123c8576123c8614881565b146123e65760405163182f3d8760e11b815260040160405180910390fd5b608086013546146124275760405163092048d160e11b81525f356001600160e01b031916600482015260808701356024820152466044820152606401610bba565b5f61243b6109166080890160608a0161430a565b905061244f6101208801610100890161505c565b600281111561246057612460614881565b8151600281111561247357612473614881565b1480156124a4575061248b60e0880160c0890161430a565b6001600160a01b031681602001516001600160a01b0316145b80156124b5575060755460e0880135145b6124d25760405163f4b8742f60e01b815260040160405180910390fd5b5f84815260796020526040902054156124fe57604051634f13df6160e01b815260040160405180910390fd5b600161251261012089016101008a0161505c565b600281111561252357612523614881565b148061253657506125348284612c95565b155b6125535760405163c51297b760e01b815260040160405180910390fd5b5f612566611527368a90038a018a614f06565b90505f61257560775483613641565b90505f61259461258d6101208c016101008d0161505c565b8688613681565b604080516060810182525f80825260208201819052918101829052919a50919250819081905f805b8e518110156126d4578e81815181106125d7576125d7614d1f565b602002602001015192506125f888845f015185602001518660400151613702565b9450846001600160a01b0316846001600160a01b031610612639575f356001600160e01b031916604051635d3dcd3160e01b8152600401610bba9190614831565b6001600160a01b0385165f908152607e60205260408120548695506001600160601b0316908190036126ae5760408051634e97700760e01b81526001600160a01b038816600482015260248101839052855160ff1660448201526020860151606482015290850151608482015260a401610bba565b6126b8818461532c565b92508783106126cb5760019650506126d4565b506001016125bc565b50846126f357604051639e8f5f6360e01b815260040160405180910390fd5b5050505f8981526079602052604090208590555050871561276c575f878152607a602052604090819020805460ff19166001179055517f89e52969465b1f1866fc5d46fd62de953962e9cb33552443cd999eba05bd20dc906127589085908d90614fd7565b60405180910390a150505050505050610b76565b612776858761372a565b6127b461278960608c0160408d0161430a565b8660745f9054906101000a90046001600160a01b03168d6101000180360381019061171e9190615075565b7f21e88e956aa3e086f6388e899965cef814688f99ad8bb29b08d396571016372d838b6040516127e5929190614fd7565b60405180910390a15050505050505092915050565b610da98282611fe1565b607480546001600160a01b0319166001600160a01b0383169081179091556040519081527f9d2334c23be647e994f27a72c5eee42a43d5bdcfe15bb88e939103c2b114cbaf90602001610f74565b8082118061285e575080155b80612867575081155b15612892575f356001600160e01b0319166040516387f6f09560e01b8152600401610bba9190614831565b6001805460028054858455908490556004805493840190556040805183815260208101839052929391928592879290917f976f8a9c5bdf8248dec172376d6e2b80a8e3df2f0328e381c6db8e1cf138c0f8910160405180910390a450505050565b5f8082841180612901575083155b8061290a575082155b15612935575f356001600160e01b0319166040516387f6f09560e01b8152600401610bba9190614831565b5050603780546038805492859055839055600480546001810190915560408051838152602081018590529293928592879290917f31312c97b89cc751b832d98fd459b967a2c3eef3b49757d1cf5ebaa12bb6eee1910160405180910390a49250929050565b6002546037546129aa91906150a2565b6038546001546129ba91906150a2565b1115610b35575f356001600160e01b0319166040516387f6f09560e01b8152600401610bba9190614831565b828114612a13575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b83811015612a8157828282818110612a2f57612a2f614d1f565b9050602002013560395f878785818110612a4b57612a4b614d1f565b9050602002016020810190612a60919061430a565b6001600160a01b0316815260208101919091526040015f2055600101612a15565b507f80bc635c452ae67f12f9b6f12ad4daa6dbbc04eeb9ebb87d354ce10c0e210dc0848484846040516117579493929190615187565b828114612ae4575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b83811015612b8e57620f4240838383818110612b0457612b04614d1f565b905060200201351115612b2a5760405163572d3bd360e11b815260040160405180910390fd5b828282818110612b3c57612b3c614d1f565b90506020020135603b5f878785818110612b5857612b58614d1f565b9050602002016020810190612b6d919061430a565b6001600160a01b0316815260208101919091526040015f2055600101612ae6565b507fb05f5de88ae0294ebb6f67c5af2fcbbd593cc6bdfe543e2869794a4c8ce3ea50848484846040516117579493929190615187565b828114612bf1575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b83811015612c5f57828282818110612c0d57612c0d614d1f565b90506020020135603c5f878785818110612c2957612c29614d1f565b9050602002016020810190612c3e919061430a565b6001600160a01b0316815260208101919091526040015f2055600101612bf3565b507fb5d2963614d72181b4df1f993d45b83edf42fa19710f0204217ba1b3e183bb73848484846040516117579493929190615187565b6001600160a01b0382165f908152603a60205260408120548210612cba57505f610b76565b5f612cc8620151804261533f565b6001600160a01b0385165f908152603e6020526040902054909150811115612d0c5750506001600160a01b0382165f908152603c6020526040902054811015610b76565b6001600160a01b0384165f908152603d6020526040902054612d2f90849061532c565b6001600160a01b0385165f908152603c602052604090205411159150610b769050565b5092915050565b607d546001600160601b03165f819003612d93575f356001600160e01b031916604051631103b51560e31b8152600401610bba9190614831565b90565b5f600254600160025484600154612dad91906150a2565b612db7919061532c565b612dc1919061508f565b612dcb919061533f565b9050805f036118e8575f356001600160e01b03191660405163267b1b9160e01b8152600401610bba9190614831565b612e026120e2565b5f805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586120c53390565b806001600160a01b03163b5f03610fd957604051630bfc64a360e21b81526001600160a01b0382166004820152602401610bba565b612e7481611b01565b6001600160a01b0316336001600160a01b031614610fd9575f356001600160e01b03191681336040516320e0f98d60e21b8152600401610bba9392919061535e565b5f61104383836137b6565b5f80612ed083604001516137dc565b90505f612ee084606001516137dc565b90505f612f338560800151604080517f1e2b74b2a792d5c0f0b6e59b037fa9d43d84fbb759337f0112fcc15ca414fc8d815282516020808301919091528301518183015291015160608201526080902090565b604080517fb9d1fe7c9deeec5dc90a2f47ff1684239519f2545b2228d3d91fb27df3189eea815287516020808301919091529097015190870152606086019390935250608084015260a08301525060c0902090565b5f620f4240612f9783856150a2565b611043919061533f565b806001600160a01b0316826001600160a01b0316036130495760408085015190516001600160a01b0385169180156108fc02915f818181858888f1935050505061304457806001600160a01b031663d0e30db085604001516040518263ffffffff1660e01b81526004015f604051808303818588803b158015613022575f80fd5b505af1158015613034573d5f803e3d5ffd5b5050505050613044848484613824565b610c39565b5f8451600281111561305d5761305d614881565b03613120576040516370a0823160e01b81523060048201525f906001600160a01b038416906370a0823190602401602060405180830381865afa1580156130a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130ca9190615395565b9050846040015181101561310f576130f283308388604001516130ed919061508f565b6138a2565b61310f57604051632f739fff60e11b815260040160405180910390fd5b61311a858585613824565b50610c39565b60018451600281111561313557613135614881565b036131665761314982848660200151613942565b6130445760405163c8e3a09f60e01b815260040160405180910390fd5b60028451600281111561317b5761317b614881565b036131b157613194828486602001518760400151613968565b613044576040516334b471a760e21b815260040160405180910390fd5b6040516361e411a760e11b815260040160405180910390fd5b5f610b76825490565b5f6001600160e01b03198216635a05180f60e01b1480610b765750610b7682613990565b6132018282611765565b610da957613219816001600160a01b031660146139c4565b6132248360206139c4565b6040516020016132359291906153ce565b60408051601f198184030181529082905262461bcd60e51b8252610bba9160040161546d565b6132658282611765565b610da9575f8281526072602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561329c3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b5f611043836001600160a01b038416613b59565b6132fe8282611765565b15610da9575f8281526072602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b5f611043836001600160a01b038416613ba5565b5f5460ff16610b355760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610bba565b6133bf81613c88565b806133ce57506133ce81613cbd565b806133dd57506133dd81613ce4565b610fd95760405163034992a760e51b815260040160405180910390fd5b5f6060818551600281111561341157613411614881565b036134e85760408581015181516001600160a01b03878116602483015230604483015260648083019390935283518083039093018352608490910183526020820180516001600160e01b03166323b872dd60e01b179052915191851691613478919061547f565b5f604051808303815f865af19150503d805f81146134b1576040519150601f19603f3d011682016040523d82523d5f602084013e6134b6565b606091505b5090925090508180156134e15750805115806134e15750808060200190518101906134e1919061549a565b9150613541565b6001855160028111156134fd576134fd614881565b03613512576134e18385308860200151613d0c565b60028551600281111561352757613527614881565b036131b1576134e183853088602001518960400151613db5565b816135675784843085604051639d2e4c6760e01b8152600401610bba94939291906154b5565b5050505050565b6135dd6040805160a0810182525f8082526020808301829052835160608082018652838252818301849052818601849052848601919091528451808201865283815280830184905280860184905281850152845190810185528281529081018290529283015290608082015290565b8381525f6020820181905250604080820180516001600160a01b039788169052602080890151825190891690820152905146908301528751606084018051918916909152805195909716940193909352935182015292909201516080820152919050565b6040805161190160f01b60208083019190915260228201859052604280830185905283518084039091018152606290920190925280519101205f90611043565b5f805f61368c612d59565b905061369781612d96565b92505f8660028111156136ac576136ac614881565b036136f9576001600160a01b0385165f9081526039602052604090205484106136db576136d881613e64565b92505b6001600160a01b0385165f908152603a602052604090205484101591505b50935093915050565b5f805f61371187878787613ec8565b9150915061371e81613fad565b5090505b949350505050565b5f613738620151804261533f565b6001600160a01b0384165f908152603e6020526040902054909150811115613785576001600160a01b03929092165f908152603e6020908152604080832094909455603d90529190912055565b6001600160a01b0383165f908152603d6020526040812080548492906137ac90849061532c565b9091555050505050565b5f825f0182815481106137cb576137cb614d1f565b905f5260205f200154905092915050565b604080517f353bdd8d69b9e3185b3972e08b03845c0c14a21a390215302776a7a34b0e8764815282516020808301919091528301518183015291015160608201526080902090565b5f808451600281111561383957613839614881565b036138545761384d82848660400151614162565b905061387e565b60018451600281111561386957613869614881565b036131b15761384d8230858760200151613d0c565b80610c39578383836040516341bd7d9160e11b8152600401610bba939291906154eb565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b03166340c10f1960e01b17905291515f928616916138f99161547f565b5f604051808303815f865af19150503d805f8114613932576040519150601f19603f3d011682016040523d82523d5f602084013e613937565b606091505b509095945050505050565b5f61394f84308585613d0c565b905080611043576139618484846138a2565b9050611043565b5f6139768530868686613db5565b9050806137225761398985858585614230565b9050613722565b5f6001600160e01b03198216637965db0b60e01b1480610b7657506301ffc9a760e01b6001600160e01b0319831614610b76565b60605f6139d28360026150a2565b6139dd90600261532c565b6001600160401b038111156139f4576139f46146a8565b6040519080825280601f01601f191660200182016040528015613a1e576020820181803683370190505b509050600360fc1b815f81518110613a3857613a38614d1f565b60200101906001600160f81b03191690815f1a905350600f60fb1b81600181518110613a6657613a66614d1f565b60200101906001600160f81b03191690815f1a9053505f613a888460026150a2565b613a9390600161532c565b90505b6001811115613b0a576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110613ac757613ac7614d1f565b1a60f81b828281518110613add57613add614d1f565b60200101906001600160f81b03191690815f1a90535060049490941c93613b038161551b565b9050613a96565b5083156110435760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610bba565b5f818152600183016020526040812054613b9e57508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610b76565b505f610b76565b5f8181526001830160205260408120548015613c7f575f613bc760018361508f565b85549091505f90613bda9060019061508f565b9050818114613c39575f865f018281548110613bf857613bf8614d1f565b905f5260205f200154905080875f018481548110613c1857613c18614d1f565b5f918252602080832090910192909255918252600188019052604090208390555b8554869080613c4a57613c4a615530565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f905560019350505050610b76565b5f915050610b76565b5f8082516002811115613c9d57613c9d614881565b148015613cad57505f8260400151115b8015610b76575050602001511590565b5f600182516002811115613cd357613cd3614881565b148015610b76575050604001511590565b5f600282516002811115613cfa57613cfa614881565b148015610b7657505060400151151590565b604080516001600160a01b0385811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180516001600160e01b03166323b872dd60e01b17905291515f92871691613d6b9161547f565b5f604051808303815f865af19150503d805f8114613da4576040519150601f19603f3d011682016040523d82523d5f602084013e613da9565b606091505b50909695505050505050565b604080515f808252602082019092526001600160a01b03871690613de490879087908790879060448101615544565b60408051601f198184030181529181526020820180516001600160e01b0316637921219560e11b17905251613e19919061547f565b5f604051808303815f865af19150503d805f8114613e52576040519150601f19603f3d011682016040523d82523d5f602084013e613e57565b606091505b5090979650505050505050565b5f603854600160385484603754613e7b91906150a2565b613e85919061532c565b613e8f919061508f565b613e99919061533f565b9050805f036118e8575f356001600160e01b031916604051639b974b0f60e01b8152600401610bba9190614831565b5f807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115613efd57505f90506003613fa4565b8460ff16601b14158015613f1557508460ff16601c14155b15613f2557505f90506004613fa4565b604080515f8082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015613f76573d5f803e3d5ffd5b5050604051601f1901519150506001600160a01b038116613f9e575f60019250925050613fa4565b91505f90505b94509492505050565b5f816004811115613fc057613fc0614881565b03613fc85750565b6001816004811115613fdc57613fdc614881565b036140295760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610bba565b600281600481111561403d5761403d614881565b0361408a5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610bba565b600381600481111561409e5761409e614881565b036140f65760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610bba565b600481600481111561410a5761410a614881565b03610fd95760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610bba565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663a9059cbb60e01b17905291515f92606092908716916141be919061547f565b5f604051808303815f865af19150503d805f81146141f7576040519150601f19603f3d011682016040523d82523d5f602084013e6141fc565b606091505b509092509050818015614227575080511580614227575080806020019051810190614227919061549a565b95945050505050565b604080515f808252602082019092526001600160a01b0386169061425d9086908690869060448101615588565b60408051601f198184030181529181526020820180516001600160e01b031663731133e960e01b17905251613d6b919061547f565b604080516060810182525f80825260208201529081016142ca6040805160608101909152805f81526020015f81526020015f81525090565b905290565b5f602082840312156142df575f80fd5b81356001600160e01b031981168114611043575f80fd5b6001600160a01b0381168114610fd9575f80fd5b5f6020828403121561431a575f80fd5b8135611043816142f6565b5f8083601f840112614335575f80fd5b5081356001600160401b0381111561434b575f80fd5b6020830191508360208260051b85010111156117e5575f80fd5b5f805f8060408587031215614378575f80fd5b84356001600160401b038082111561438e575f80fd5b61439a88838901614325565b909650945060208701359150808211156143b2575f80fd5b506143bf87828801614325565b95989497509550505050565b5f805f805f80606087890312156143e0575f80fd5b86356001600160401b03808211156143f6575f80fd5b6144028a838b01614325565b9098509650602089013591508082111561441a575f80fd5b6144268a838b01614325565b9096509450604089013591508082111561443e575f80fd5b5061444b89828a01614325565b979a9699509497509295939492505050565b80356118e8816142f6565b5f60208284031215614478575f80fd5b5035919050565b5f8060408385031215614490575f80fd5b8235915060208301356144a2816142f6565b809150509250929050565b5f60a082840312156144bd575f80fd5b50919050565b5f61016082840312156144bd575f80fd5b5f805f61018084860312156144e7575f80fd5b6144f185856144c3565b92506101608401356001600160401b038082111561450d575f80fd5b818601915086601f830112614520575f80fd5b81358181111561452e575f80fd5b876020606083028501011115614542575f80fd5b6020830194508093505050509250925092565b8060608101831015610b76575f80fd5b8060808101831015610b76575f80fd5b5f805f805f805f805f806101208b8d03121561458f575f80fd5b6145988b61445d565b99506145a660208c0161445d565b985060408b0135975060608b0135965060808b0135955060a08b0135945060c08b01356001600160401b03808211156145dd575f80fd5b6145e98e838f01614555565b955060e08d01359150808211156145fe575f80fd5b61460a8e838f01614565565b94506101008d0135915080821115614620575f80fd5b5061462d8d828e01614325565b915080935050809150509295989b9194979a5092959850565b5f8060408385031215614657575f80fd5b8235614662816142f6565b946020939093013593505050565b8035601081106118e8575f80fd5b5f806040838503121561468f575f80fd5b61469883614670565b915060208301356144a2816142f6565b634e487b7160e01b5f52604160045260245ffd5b604051606081016001600160401b03811182821017156146de576146de6146a8565b60405290565b604051601f8201601f191681016001600160401b038111828210171561470c5761470c6146a8565b604052919050565b5f6001600160401b0382111561472c5761472c6146a8565b5060051b60200190565b8015158114610fd9575f80fd5b5f805f805f60608688031215614757575f80fd5b85356001600160401b038082111561476d575f80fd5b61477989838a01614325565b9097509550602091508782013581811115614792575f80fd5b61479e8a828b01614325565b9096509450506040880135818111156147b5575f80fd5b88019050601f810189136147c7575f80fd5b80356147da6147d582614714565b6146e4565b81815260059190911b8201830190838101908b8311156147f8575f80fd5b928401925b8284101561481f57833561481081614736565b825292840192908401906147fd565b80955050505050509295509295909350565b6001600160e01b031991909116815260200190565b5f8060408385031215614857575f80fd5b50508035926020909101359150565b5f6101608284031215614877575f80fd5b61104383836144c3565b634e487b7160e01b5f52602160045260245ffd5b600381106148a5576148a5614881565b9052565b5f6040820190506148bb828451614895565b6020928301516001600160a01b0316919092015290565b5f82601f8301126148e1575f80fd5b813560206148f16147d583614714565b8083825260208201915060208460051b870101935086841115614912575f80fd5b602086015b8481101561492e5780358352918301918301614917565b509695505050505050565b5f82601f830112614948575f80fd5b81356001600160401b03811115614961576149616146a8565b614974601f8201601f19166020016146e4565b818152846020838601011115614988575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f805f60a086880312156149b8575f80fd5b85356149c3816142f6565b945060208601356149d3816142f6565b935060408601356001600160401b03808211156149ee575f80fd5b6149fa89838a016148d2565b94506060880135915080821115614a0f575f80fd5b614a1b89838a016148d2565b93506080880135915080821115614a30575f80fd5b50614a3d88828901614939565b9150509295509295909350565b5f60208284031215614a5a575f80fd5b61104382614670565b5f805f805f805f6080888a031215614a79575f80fd5b87356001600160401b0380821115614a8f575f80fd5b614a9b8b838c01614325565b909950975060208a0135915080821115614ab3575f80fd5b614abf8b838c01614325565b909750955060408a0135915080821115614ad7575f80fd5b614ae38b838c01614325565b909550935060608a0135915080821115614afb575f80fd5b50614b088a828b01614565565b91505092959891949750929550565b5f805f805f60a08688031215614b2b575f80fd5b8535614b36816142f6565b94506020860135614b46816142f6565b9350604086013592506060860135915060808601356001600160401b03811115614b6e575f80fd5b614a3d88828901614939565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b5f82601f830112614bd7575f80fd5b81516020614be76147d583614714565b8083825260208201915060208460051b870101935086841115614c08575f80fd5b602086015b8481101561492e578051614c20816142f6565b8352918301918301614c0d565b6001600160601b0381168114610fd9575f80fd5b5f805f60608486031215614c53575f80fd5b83516001600160401b0380821115614c69575f80fd5b614c7587838801614bc8565b9450602091508186015181811115614c8b575f80fd5b614c9788828901614bc8565b945050604086015181811115614cab575f80fd5b86019050601f81018713614cbd575f80fd5b8051614ccb6147d582614714565b81815260059190911b82018301908381019089831115614ce9575f80fd5b928401925b82841015614d10578351614d0181614c2d565b82529284019290840190614cee565b80955050505050509250925092565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b6001600160601b03818116838216019080821115612d5257612d52614d33565b8035600381106118e8575f80fd5b5f60608284031215614d85575f80fd5b614d8d6146bc565b9050614d9882614d67565b8152602082013560208201526040820135604082015292915050565b5f60a08284031215614dc4575f80fd5b614dcc6146bc565b8235614dd7816142f6565b81526020830135614de7816142f6565b6020820152614df98460408501614d75565b60408201529392505050565b5f60608284031215614e15575f80fd5b614e1d6146bc565b823560ff81168114614e2d575f80fd5b8152602083810135908201526040928301359281019290925250919050565b5f808335601e19843603018112614e61575f80fd5b8301803591506001600160401b03821115614e7a575f80fd5b6020019150600581901b36038213156117e5575f80fd5b5f60208284031215614ea1575f80fd5b813561104381614c2d565b8035600281106118e8575f80fd5b5f60608284031215614eca575f80fd5b614ed26146bc565b90508135614edf816142f6565b81526020820135614eef816142f6565b806020830152506040820135604082015292915050565b5f6101608284031215614f17575f80fd5b60405160a081018181106001600160401b0382111715614f3957614f396146a8565b60405282358152614f4c60208401614eac565b6020820152614f5e8460408501614eba565b6040820152614f708460a08501614eba565b6060820152614f83846101008501614d75565b60808201529392505050565b600281106148a5576148a5614881565b8035614faa816142f6565b6001600160a01b039081168352602082013590614fc6826142f6565b166020830152604090810135910152565b5f6101808201905083825282356020830152614ff560208401614eac565b6150026040840182614f8f565b506150136060830160408501614f9f565b61502360c0830160a08501614f9f565b61012061503e8184016150396101008701614d67565b614895565b61014081850135818501528085013561016085015250509392505050565b5f6020828403121561506c575f80fd5b61104382614d67565b5f60608284031215615085575f80fd5b6110438383614d75565b81810381811115610b7657610b76614d33565b8082028115828204841417610b7657610b76614d33565b5f602082840312156150c9575f80fd5b813561104381614736565b6001600160601b03828116828216039080821115612d5257612d52614d33565b601081106148a5576148a5614881565b60208101610b7682846150f4565b6001600160e01b03198316815260408101600b831061513357615133614881565b8260208301529392505050565b8183525f60208085019450825f5b8581101561517c578135615161816142f6565b6001600160a01b03168752958201959082019060010161514e565b509495945050505050565b604081525f61519a604083018688615140565b82810360208401528381526001600160fb1b038411156151b8575f80fd5b8360051b80866020840137016020019695505050505050565b606081525f6151e460608301888a615140565b602083820360208501526151f982888a615140565b84810360408601528581528692506020015f5b86811015615231576152218261503986614d67565b928201929082019060010161520c565b509a9950505050505050505050565b5f6001820161525157615251614d33565b5060010190565b615263828251614895565b60208181015190830152604090810151910152565b5f6101808201905083825282516020830152602083015161529c6040840182614f8f565b5060408381015180516001600160a01b03908116606086015260208201511660808501529081015160a084015250606083015180516001600160a01b0390811660c085015260208201511660e0840152604081015161010084015250608083015161530b610120840182615258565b509392505050565b5f60208284031215615323575f80fd5b61104382614eac565b80820180821115610b7657610b76614d33565b5f8261535957634e487b7160e01b5f52601260045260245ffd5b500490565b6001600160e01b0319841681526060810161537c60208301856150f4565b6001600160a01b03929092166040919091015292915050565b5f602082840312156153a5575f80fd5b5051919050565b5f5b838110156153c65781810151838201526020016153ae565b50505f910152565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081525f83516154058160178501602088016153ac565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516154368160288401602088016153ac565b01602801949350505050565b5f81518084526154598160208601602086016153ac565b601f01601f19169290920160200192915050565b602081525f6110436020830184615442565b5f82516154908184602087016153ac565b9190910192915050565b5f602082840312156154aa575f80fd5b815161104381614736565b60c081016154c38287615258565b6001600160a01b0394851660608301529284166080820152921660a090920191909152919050565b60a081016154f98286615258565b6001600160a01b03938416606083015291909216608090920191909152919050565b5f8161552957615529614d33565b505f190190565b634e487b7160e01b5f52603160045260245ffd5b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190525f9061557d90830184615442565b979650505050505050565b60018060a01b0385168152836020820152826040820152608060608201525f6155b46080830184615442565b969550505050505056fe7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498a2646970667358221220c6a7eacb7b230132910498f6731b258f7a69a5a03ae63978c6cb11ce1f4c993364736f6c63430008170033\"", + "callValue": 0, "chainId": 11155111, - "contractAbsolutePath": "MainchainGatewayV3.sol", - "deployedBytecode": "0x6080604052600436106103a65760003560e01c80638f34e347116101e7578063b9c362091161010d578063d64af2a6116100a0578063e400327c1161006f578063e400327c14610b2f578063e6a4561814610b4f578063e75235b814610b62578063f23a6e6114610b7a576103b5565b8063d64af2a614610aaf578063dafae40814610acf578063de981f1b14610aef578063dff525e114610b0f576103b5565b8063cdb67444116100dc578063cdb6744414610a1d578063d19773d214610a35578063d547741f14610a62578063d55ed10314610a82576103b5565b8063b9c3620914610991578063bc197c81146109b1578063c48549de146109dd578063ca15c873146109fd576103b5565b8063a217fddf11610185578063affed0e011610154578063affed0e014610901578063b1a2567e14610917578063b1d08a0314610937578063b297579414610964576103b5565b8063a217fddf1461089f578063a3912ec8146103b3578063ab796566146108b4578063ac78dfe8146108e1576103b5565b80639157921c116101c15780639157921c1461080a57806391d148541461082a57806393c5678f1461084a5780639dcc4da31461086a576103b5565b80638f34e347146107895780638f851d8a146107bd5780639010d07c146107ea576103b5565b806338e454b1116102cc578063504af48c1161026a5780636c1ce670116102395780636c1ce6701461071f5780637de5dedd1461073f5780638456cb5914610754578063865e6fd314610769576103b5565b8063504af48c1461069a57806359122f6b146106ad5780635c975abb146106da5780636932be98146106f2576103b5565b80634b14557e116102a65780634b14557e146106175780634d0d66731461062a5780634d493f4e1461064a5780634f4247a11461067a576103b5565b806338e454b1146105cd5780633e70838b146105e25780633f4ba83a14610602576103b5565b80631d4a7210116103445780632f2ff15d116103135780632f2ff15d14610561578063302d12db146105815780633644e5151461059857806336568abe146105ad576103b5565b80631d4a7210146104ce578063248a9ca3146104fb57806329b6eca91461052b5780632dfdf0b51461054b576103b5565b806317ce2dd41161038057806317ce2dd41461044a57806317fcb39b1461046e5780631a8e55b01461048e5780631b6e7594146104ae576103b5565b806301ffc9a7146103bd578063065b3adf146103f2578063110a83081461042a576103b5565b366103b5576103b3610ba6565b005b6103b3610ba6565b3480156103c957600080fd5b506103dd6103d83660046141d4565b610bda565b60405190151581526020015b60405180910390f35b3480156103fe57600080fd5b50600554610412906001600160a01b031681565b6040516001600160a01b0390911681526020016103e9565b34801561043657600080fd5b506103b3610445366004614213565b610c20565b34801561045657600080fd5b5061046060755481565b6040519081526020016103e9565b34801561047a57600080fd5b50607454610412906001600160a01b031681565b34801561049a57600080fd5b506103b36104a9366004614274565b610cc5565b3480156104ba57600080fd5b506103b36104c93660046142df565b610d01565b3480156104da57600080fd5b506104606104e9366004614213565b603e6020526000908152604090205481565b34801561050757600080fd5b50610460610516366004614383565b60009081526072602052604090206001015490565b34801561053757600080fd5b506103b3610546366004614213565b610d41565b34801561055757600080fd5b5061046060765481565b34801561056d57600080fd5b506103b361057c36600461439c565b610dca565b34801561058d57600080fd5b50610460620f424081565b3480156105a457600080fd5b50607754610460565b3480156105b957600080fd5b506103b36105c836600461439c565b610df4565b3480156105d957600080fd5b506103b3610e72565b3480156105ee57600080fd5b506103b36105fd366004614213565b61104f565b34801561060e57600080fd5b506103b3611079565b6103b36106253660046143cc565b611089565b34801561063657600080fd5b506103dd6106453660046143f7565b6110ac565b34801561065657600080fd5b506103dd610665366004614383565b607a6020526000908152604090205460ff1681565b34801561068657600080fd5b50607f54610412906001600160a01b031681565b6103b36106a83660046144a1565b61111c565b3480156106b957600080fd5b506104606106c8366004614213565b603a6020526000908152604090205481565b3480156106e657600080fd5b5060005460ff166103dd565b3480156106fe57600080fd5b5061046061070d366004614383565b60796020526000908152604090205481565b34801561072b57600080fd5b506103dd61073a36600461457b565b6113e2565b34801561074b57600080fd5b506104606113ee565b34801561076057600080fd5b506103b361140f565b34801561077557600080fd5b506103b36107843660046145b6565b61141f565b34801561079557600080fd5b506104607f5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e481565b3480156107c957600080fd5b506107dd6107d8366004614681565b61143a565b6040516103e99190614778565b3480156107f657600080fd5b5061041261080536600461478d565b6115bc565b34801561081657600080fd5b506103b36108253660046147af565b6115d4565b34801561083657600080fd5b506103dd61084536600461439c565b611858565b34801561085657600080fd5b506103b3610865366004614274565b611883565b34801561087657600080fd5b5061088a61088536600461478d565b6118b9565b604080519283526020830191909152016103e9565b3480156108ab57600080fd5b50610460600081565b3480156108c057600080fd5b506104606108cf366004614213565b603c6020526000908152604090205481565b3480156108ed57600080fd5b506103dd6108fc366004614383565b6118e2565b34801561090d57600080fd5b5061046060045481565b34801561092357600080fd5b506103b3610932366004614274565b611918565b34801561094357600080fd5b50610460610952366004614213565b60396020526000908152604090205481565b34801561097057600080fd5b5061098461097f366004614213565b61194e565b6040516103e991906147f6565b34801561099d57600080fd5b506103b36109ac36600461478d565b6119f1565b3480156109bd57600080fd5b506107dd6109cc3660046148f9565b63bc197c8160e01b95945050505050565b3480156109e957600080fd5b506107dd6109f8366004614274565b611a0b565b348015610a0957600080fd5b50610460610a18366004614383565b611b9f565b348015610a2957600080fd5b5060375460385461088a565b348015610a4157600080fd5b50610460610a50366004614213565b603b6020526000908152604090205481565b348015610a6e57600080fd5b506103b3610a7d36600461439c565b611bb6565b348015610a8e57600080fd5b50610460610a9d366004614213565b603d6020526000908152604090205481565b348015610abb57600080fd5b506103b3610aca366004614213565b611bdb565b348015610adb57600080fd5b506103dd610aea366004614383565b611bec565b348015610afb57600080fd5b50610412610b0a3660046149a6565b611c1a565b348015610b1b57600080fd5b506103b3610b2a3660046149c1565b611c90565b348015610b3b57600080fd5b506103b3610b4a366004614274565b611d05565b6103b3610b5d366004614a7e565b611d3b565b348015610b6e57600080fd5b5060015460025461088a565b348015610b8657600080fd5b506107dd610b95366004614af2565b63f23a6e6160e01b95945050505050565b6074546001600160a01b0316331480610bc95750607f546001600160a01b031633145b15610bd057565b610bd8611d82565b565b60006001600160e01b03198216631dcdd2c760e31b1480610c0b57506001600160e01b031982166312c0151560e21b145b80610c1a5750610c1a82611dac565b92915050565b607154600490610100900460ff16158015610c42575060715460ff8083169116105b610c675760405162461bcd60e51b8152600401610c5e90614b5a565b60405180910390fd5b60718054607f80546001600160a01b0319166001600160a01b03861617905561ff001961010060ff851661ffff19909316831717169091556040519081526000805160206155e6833981519152906020015b60405180910390a15050565b610ccd611dd1565b6000839003610cef576040516316ee9d3b60e11b815260040160405180910390fd5b610cfb84848484611e2b565b50505050565b610d09611dd1565b6000859003610d2b576040516316ee9d3b60e11b815260040160405180910390fd5b610d39868686868686611f00565b505050505050565b607154600290610100900460ff16158015610d63575060715460ff8083169116105b610d7f5760405162461bcd60e51b8152600401610c5e90614b5a565b6071805461ffff191660ff831617610100179055610d9e600b836120a8565b6071805461ff001916905560405160ff821681526000805160206155e683398151915290602001610cb9565b600082815260726020526040902060010154610de58161214c565b610def8383612156565b505050565b6001600160a01b0381163314610e645760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610c5e565b610e6e8282612178565b5050565b607154600390610100900460ff16158015610e94575060715460ff8083169116105b610eb05760405162461bcd60e51b8152600401610c5e90614b5a565b6071805461ffff191660ff8316176101001790556000610ed0600b611c1a565b9050600080826001600160a01b031663c441c4a86040518163ffffffff1660e01b8152600401600060405180830381865afa158015610f13573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f3b9190810190614c25565b92509250506000805b8351811015610ff857828181518110610f5f57610f5f614d0b565b6020026020010151607e6000868481518110610f7d57610f7d614d0b565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a8154816001600160601b0302191690836001600160601b03160217905550828181518110610fdb57610fdb614d0b565b602002602001015182610fee9190614d37565b9150600101610f44565b50607d80546001600160601b0319166001600160601b039290921691909117905550506071805461ff00191690555060405160ff821681526000805160206155e6833981519152906020015b60405180910390a150565b611057611dd1565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b61108161219a565b610bd8612209565b61109161225b565b6110a96110a336839003830183614da7565b336122a1565b50565b60006110b661225b565b611112848484808060200260200160405190810160405280939291908181526020016000905b82821015611108576110f960608302860136819003810190614dfa565b815260200190600101906110dc565b505050505061257c565b90505b9392505050565b607154610100900460ff161580801561113c5750607154600160ff909116105b806111565750303b158015611156575060715460ff166001145b6111725760405162461bcd60e51b8152600401610c5e90614b5a565b6071805460ff191660011790558015611195576071805461ff0019166101001790555b6111a060008c612a10565b60758990556111ae8a612a1a565b6112396040517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81527f159f52c1e3a2b6a6aad3950adf713516211484e0516dad685ea662a094b7c43b60208201527fad7c5bef027816a800da1736444fb58a807ef4c9603b7848673f7e3a68eb14a5604082015246606082015230608082015260a0812060775550565b6112438887612a68565b61124d8787612af8565b5050611257612b8f565b60006112638680614e44565b905011156113245761128c6112788680614e44565b6112856020890189614e44565b8787611f00565b6112b26112998680614e44565b8660005b6020028101906112ad9190614e44565b612bdc565b6112d86112bf8680614e44565b8660015b6020028101906112d39190614e44565b611e2b565b6112fe6112e58680614e44565b8660025b6020028101906112f99190614e44565b612cb1565b61132461130b8680614e44565b8660035b60200281019061131f9190614e44565b612dc2565b60005b6113346040870187614e44565b90508110156113a0576113987f5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e461136e6040890189614e44565b8481811061137e5761137e614d0b565b90506020020160208101906113939190614213565b612156565b600101611327565b5080156113d5576071805461ff0019169055604051600181526000805160206155e68339815191529060200160405180910390a15b5050505050505050505050565b60006111158383612e97565b600061140a611405607d546001600160601b031690565b612f62565b905090565b61141761219a565b610bd8612f98565b611427611dd1565b61143081612fd5565b610e6e82826120a8565b6000600b6114478161300b565b82518690811415806114595750808514155b15611485576000356001600160e01b0319166040516306b5667560e21b8152600401610c5e9190614778565b8060000361149d57506347c28ec560e11b91506115b2565b60005b818110156115a5578481815181106114ba576114ba614d0b565b60200260200101511561159d578686828181106114d9576114d9614d0b565b90506020020160208101906114ee9190614e8d565b607d80546001600160601b031981166001600160601b03918216939093011691909117905586868281811061152557611525614d0b565b905060200201602081019061153a9190614e8d565b607e60008b8b8581811061155057611550614d0b565b90506020020160208101906115659190614213565b6001600160a01b03168152602081019190915260400160002080546001600160601b0319166001600160601b03929092169190911790555b6001016114a0565b506347c28ec560e11b9250505b5095945050505050565b60008281526073602052604081206111159083613057565b7f5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e46115fe8161214c565b600061161761161236859003850185614f07565b613063565b905061162b61161236859003850185614f07565b83356000908152607960205260409020541461165a5760405163f4b8742f60e01b815260040160405180910390fd5b82356000908152607a602052604090205460ff1661168b5760405163147bfe0760e01b815260040160405180910390fd5b82356000908152607a602052604090819020805460ff19169055517fd639511b37b3b002cca6cfe6bca0d833945a5af5a045578a0627fc43b79b2630906116d59083908690614fda565b60405180910390a160006116ef6080850160608601614213565b9050600061170561012086016101008701615060565b6002811115611716576117166147cc565b036117dd576000611730368690038601610100870161507b565b6001600160a01b0383166000908152603b602052604090205490915061175c906101408701359061312d565b60408201526000611776368790038701610100880161507b565b604083015190915061178d90610140880135615097565b60408201526074546117ad908390339086906001600160a01b0316613147565b6117d66117c06060880160408901614213565b60745483919086906001600160a01b0316613147565b5050611819565b6118196117f06060860160408701614213565b60745483906001600160a01b03166118113689900389016101008a0161507b565b929190613147565b7f21e88e956aa3e086f6388e899965cef814688f99ad8bb29b08d396571016372d828560405161184a929190614fda565b60405180910390a150505050565b60009182526072602090815260408084206001600160a01b0393909316845291905290205460ff1690565b61188b611dd1565b60008390036118ad576040516316ee9d3b60e11b815260040160405180910390fd5b610cfb84848484612bdc565b6000806118c4611dd1565b6118ce8484612af8565b90925090506118db612b8f565b9250929050565b60006118f6607d546001600160601b031690565b60375461190391906150aa565b60385461191090846150aa565b101592915050565b611920611dd1565b6000839003611942576040516316ee9d3b60e11b815260040160405180910390fd5b610cfb84848484612cb1565b60408051808201909152600080825260208201526001600160a01b0382166000908152607860205260409081902081518083019092528054829060ff16600281111561199c5761199c6147cc565b60028111156119ad576119ad6147cc565b815290546001600160a01b03610100909104811660209283015290820151919250166119ec57604051631b79f53b60e21b815260040160405180910390fd5b919050565b6119f9611dd1565b611a038282612a68565b610e6e612b8f565b6000600b611a188161300b565b84838114611a47576000356001600160e01b0319166040516306b5667560e21b8152600401610c5e9190614778565b80600003611a5f5750636242a4ef60e11b9150611b96565b6000805b82811015611b4657868682818110611a7d57611a7d614d0b565b9050602002016020810190611a9291906150c1565b15611b3e57607e60008a8a84818110611aad57611aad614d0b565b9050602002016020810190611ac29190614213565b6001600160a01b0316815260208101919091526040016000908120546001600160601b03169290920191607e908a8a84818110611b0157611b01614d0b565b9050602002016020810190611b169190614213565b6001600160a01b03168152602081019190915260400160002080546001600160601b03191690555b600101611a63565b50607d8054829190600090611b659084906001600160601b03166150de565b92506101000a8154816001600160601b0302191690836001600160601b0316021790555063c48549de60e01b935050505b50949350505050565b6000818152607360205260408120610c1a90613379565b600082815260726020526040902060010154611bd18161214c565b610def8383612178565b611be3611dd1565b6110a981612a1a565b6000611c00607d546001600160601b031690565b600154611c0d91906150aa565b60025461191090846150aa565b60007fdea3103d22025c269050bea94c0c84688877f12fa22b7e6d2d5d78a9a49aa1cb600083600f811115611c5157611c516147cc565b60ff1681526020810191909152604001600020546001600160a01b03169050806119ec578160405163409140df60e11b8152600401610c5e919061510e565b611c98611dd1565b6000869003611cba576040516316ee9d3b60e11b815260040160405180910390fd5b611cc8878787878787611f00565b611cd5878783600061129d565b611ce287878360016112c3565b611cef87878360026112e9565b611cfc878783600361130f565b50505050505050565b611d0d611dd1565b6000839003611d2f576040516316ee9d3b60e11b815260040160405180910390fd5b610cfb84848484612dc2565b611d4361225b565b8060005b81811015610cfb57611d7a848483818110611d6457611d64614d0b565b905060a002018036038101906110a39190614da7565b600101611d47565b611d8a61225b565b611d92614193565b3381526040808201513491015280516110a99082906122a1565b60006001600160e01b03198216630271189760e51b1480610c1a5750610c1a82613383565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103546001600160a01b03163314610bd8576000356001600160e01b0319166001604051620f948f60ea1b8152600401610c5e92919061511c565b828114611e59576000356001600160e01b0319166040516306b5667560e21b8152600401610c5e9190614778565b60005b83811015611eca57828282818110611e7657611e76614d0b565b90506020020135603a6000878785818110611e9357611e93614d0b565b9050602002016020810190611ea89190614213565b6001600160a01b03168152602081019190915260400160002055600101611e5c565b507f64557254143204d91ba2d95acb9fda1e5fea55f77efd028685765bc1e94dd4b58484848460405161184a9493929190615193565b8483148015611f0e57508481145b611f39576000356001600160e01b0319166040516306b5667560e21b8152600401610c5e9190614778565b60005b8581101561205e57848482818110611f5657611f56614d0b565b9050602002016020810190611f6b9190614213565b60786000898985818110611f8157611f81614d0b565b9050602002016020810190611f969190614213565b6001600160a01b03908116825260208201929092526040016000208054610100600160a81b0319166101009390921692909202179055828282818110611fde57611fde614d0b565b9050602002016020810190611ff39190615060565b6078600089898581811061200957612009614d0b565b905060200201602081019061201e9190614213565b6001600160a01b031681526020810191909152604001600020805460ff19166001836002811115612051576120516147cc565b0217905550600101611f3c565b507fa4f03cc9c0e0aeb5b71b4ec800702753f65748c2cf3064695ba8e8b46be70444868686868686604051612098969594939291906151df565b60405180910390a1505050505050565b807fdea3103d22025c269050bea94c0c84688877f12fa22b7e6d2d5d78a9a49aa1cb600084600f8111156120de576120de6147cc565b60ff168152602081019190915260400160002080546001600160a01b0319166001600160a01b03928316179055811682600f81111561211f5761211f6147cc565b6040517f865d1c228a8ea13709cfe61f346f7ff67f1bbd4a18ff31ad3e7147350d317c5990600090a35050565b6110a981336133a8565b612160828261340c565b6000828152607360205260409020610def9082613492565b61218282826134a7565b6000828152607360205260409020610def908261350e565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103546001600160a01b03163314806121dc57506005546001600160a01b031633145b610bd8576000356001600160e01b0319166001604051620f948f60ea1b8152600401610c5e92919061511c565b612211613523565b6000805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60005460ff1615610bd85760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610c5e565b604080518082018252600080825260208201526074549184015190916001600160a01b0316906122d09061356c565b60208401516001600160a01b031661237157348460400151604001511461230a5760405163129c2ce160e31b815260040160405180910390fd5b6123138161194e565b604085015151909250600281111561232d5761232d6147cc565b82516002811115612340576123406147cc565b1461235d5760405162035e2b60ea1b815260040160405180910390fd5b6001600160a01b0381166020850152612509565b34156123905760405163129c2ce160e31b815260040160405180910390fd5b61239d846020015161194e565b60408501515190925060028111156123b7576123b76147cc565b825160028111156123ca576123ca6147cc565b146123e75760405162035e2b60ea1b815260040160405180910390fd5b602084015160408501516123fc9185906135b0565b83602001516001600160a01b0316816001600160a01b03160361250957607454607f54604086810151810151905163095ea7b360e01b81526001600160a01b039283166004820152602481019190915291169063095ea7b3906044016020604051808303816000875af1158015612477573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061249b9190615250565b50607f546040808601518101519051636f074d1f60e11b81526001600160a01b039092169163de0e9a3e916124d69160040190815260200190565b600060405180830381600087803b1580156124f057600080fd5b505af1158015612504573d6000803e3d6000fd5b505050505b607680546000918261251a8361526d565b9190505590506000612541858386602001516075548a61372990949392919063ffffffff16565b90507fd7b25068d9dc8d00765254cfb7f5070f98d263c8d68931d937c7362fa738048b61256d82613063565b826040516120989291906152a6565b60008235610140840135826125976080870160608801614213565b90506125b46125af368890038801610100890161507b565b61356c565b60016125c66040880160208901615342565b60018111156125d7576125d76147cc565b146125f55760405163182f3d8760e11b815260040160405180910390fd5b608086013546146126375760405163092048d160e11b81526000356001600160e01b031916600482015260808701356024820152466044820152606401610c5e565b600061264c61097f6080890160608a01614213565b905061266061012088016101008901615060565b6002811115612671576126716147cc565b81516002811115612684576126846147cc565b1480156126b5575061269c60e0880160c08901614213565b6001600160a01b031681602001516001600160a01b0316145b80156126c6575060755460e0880135145b6126e35760405163f4b8742f60e01b815260040160405180910390fd5b6000848152607960205260409020541561271057604051634f13df6160e01b815260040160405180910390fd5b600161272461012089016101008a01615060565b6002811115612735576127356147cc565b148061274857506127468284612e97565b155b6127655760405163c51297b760e01b815260040160405180910390fd5b6000612779611612368a90038a018a614f07565b90506000612789607754836137fe565b905060006127a96127a26101208c016101008d01615060565b868861383f565b60408051606081018252600080825260208201819052918101829052919a50919250819081906000805b8e518110156128e7578e81815181106127ee576127ee614d0b565b6020908102919091018101518051818301516040808401518151600081529586018083528e905260ff9093169085015260608401526080830152935060019060a0016020604051602081039080840390855afa158015612852573d6000803e3d6000fd5b505050602060405103519450846001600160a01b0316846001600160a01b03161061289e576000356001600160e01b031916604051635d3dcd3160e01b8152600401610c5e9190614778565b6001600160a01b0385166000908152607e60205260409020548594506001600160601b03166128cd908361535d565b91508682106128df57600195506128e7565b6001016127d3565b508461290657604051639e8f5f6360e01b815260040160405180910390fd5b505050600089815260796020526040902085905550508715612981576000878152607a602052604090819020805460ff19166001179055517f89e52969465b1f1866fc5d46fd62de953962e9cb33552443cd999eba05bd20dc9061296d9085908d90614fda565b60405180910390a150505050505050610c1a565b61298b85876138cf565b6129ca61299e60608c0160408d01614213565b86607460009054906101000a90046001600160a01b03168d61010001803603810190611811919061507b565b7f21e88e956aa3e086f6388e899965cef814688f99ad8bb29b08d396571016372d838b6040516129fb929190614fda565b60405180910390a15050505050505092915050565b610e6e8282612156565b607480546001600160a01b0319166001600160a01b0383169081179091556040519081527f9d2334c23be647e994f27a72c5eee42a43d5bdcfe15bb88e939103c2b114cbaf90602001611044565b80821115612a97576000356001600160e01b0319166040516387f6f09560e01b8152600401610c5e9190614778565b6001805460028054858455908490556004805493840190556040805183815260208101839052929391928592879290917f976f8a9c5bdf8248dec172376d6e2b80a8e3df2f0328e381c6db8e1cf138c0f8910160405180910390a450505050565b60008082841115612b2a576000356001600160e01b0319166040516387f6f09560e01b8152600401610c5e9190614778565b5050603780546038805492859055839055600480546001810190915560408051838152602081018590529293928592879290917f31312c97b89cc751b832d98fd459b967a2c3eef3b49757d1cf5ebaa12bb6eee1910160405180910390a49250929050565b600254603754612b9f91906150aa565b603854600154612baf91906150aa565b1115610bd8576000356001600160e01b0319166040516387f6f09560e01b8152600401610c5e9190614778565b828114612c0a576000356001600160e01b0319166040516306b5667560e21b8152600401610c5e9190614778565b60005b83811015612c7b57828282818110612c2757612c27614d0b565b9050602002013560396000878785818110612c4457612c44614d0b565b9050602002016020810190612c599190614213565b6001600160a01b03168152602081019190915260400160002055600101612c0d565b507f80bc635c452ae67f12f9b6f12ad4daa6dbbc04eeb9ebb87d354ce10c0e210dc08484848460405161184a9493929190615193565b828114612cdf576000356001600160e01b0319166040516306b5667560e21b8152600401610c5e9190614778565b60005b83811015612d8c57620f4240838383818110612d0057612d00614d0b565b905060200201351115612d265760405163572d3bd360e11b815260040160405180910390fd5b828282818110612d3857612d38614d0b565b90506020020135603b6000878785818110612d5557612d55614d0b565b9050602002016020810190612d6a9190614213565b6001600160a01b03168152602081019190915260400160002055600101612ce2565b507fb05f5de88ae0294ebb6f67c5af2fcbbd593cc6bdfe543e2869794a4c8ce3ea508484848460405161184a9493929190615193565b828114612df0576000356001600160e01b0319166040516306b5667560e21b8152600401610c5e9190614778565b60005b83811015612e6157828282818110612e0d57612e0d614d0b565b90506020020135603c6000878785818110612e2a57612e2a614d0b565b9050602002016020810190612e3f9190614213565b6001600160a01b03168152602081019190915260400160002055600101612df3565b507fb5d2963614d72181b4df1f993d45b83edf42fa19710f0204217ba1b3e183bb738484848460405161184a9493929190615193565b6001600160a01b0382166000908152603a60205260408120548210612ebe57506000610c1a565b6000612ecd6201518042615370565b6001600160a01b0385166000908152603e6020526040902054909150811115612f135750506001600160a01b0382166000908152603c6020526040902054811015610c1a565b6001600160a01b0384166000908152603d6020526040902054612f3790849061535d565b6001600160a01b0385166000908152603c602052604090205411159150610c1a9050565b5092915050565b6000600254600160025484600154612f7a91906150aa565b612f84919061535d565b612f8e9190615097565b610c1a9190615370565b612fa061225b565b6000805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861223e3390565b806001600160a01b03163b6000036110a957604051630bfc64a360e21b81526001600160a01b0382166004820152602401610c5e565b61301481611c1a565b6001600160a01b0316336001600160a01b0316146110a9576000356001600160e01b03191681336040516320e0f98d60e21b8152600401610c5e93929190615392565b6000611115838361395f565b6000806130738360400151613989565b905060006130848460600151613989565b905060006130d88560800151604080517f1e2b74b2a792d5c0f0b6e59b037fa9d43d84fbb759337f0112fcc15ca414fc8d815282516020808301919091528301518183015291015160608201526080902090565b604080517fb9d1fe7c9deeec5dc90a2f47ff1684239519f2545b2228d3d91fb27df3189eea815287516020808301919091529097015190870152606086019390935250608084015260a08301525060c0902090565b6000620f424061313d83856150aa565b6111159190615370565b806001600160a01b0316826001600160a01b0316036131f45760408085015190516001600160a01b0385169180156108fc02916000818181858888f193505050506131ef57806001600160a01b031663d0e30db085604001516040518263ffffffff1660e01b81526004016000604051808303818588803b1580156131cb57600080fd5b505af11580156131df573d6000803e3d6000fd5b50505050506131ef8484846139d1565b610cfb565b600084516002811115613209576132096147cc565b036132cf576040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa158015613255573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061327991906153c9565b905084604001518110156132be576132a1833083886040015161329c9190615097565b613a50565b6132be57604051632f739fff60e11b815260040160405180910390fd5b6132c98585856139d1565b50610cfb565b6001845160028111156132e4576132e46147cc565b03613315576132f882848660200151613af5565b6131ef5760405163c8e3a09f60e01b815260040160405180910390fd5b60028451600281111561332a5761332a6147cc565b0361336057613343828486602001518760400151613b1c565b6131ef576040516334b471a760e21b815260040160405180910390fd5b6040516361e411a760e11b815260040160405180910390fd5b6000610c1a825490565b60006001600160e01b03198216635a05180f60e01b1480610c1a5750610c1a82613b49565b6133b28282611858565b610e6e576133ca816001600160a01b03166014613b7e565b6133d5836020613b7e565b6040516020016133e6929190615406565b60408051601f198184030181529082905262461bcd60e51b8252610c5e916004016154a7565b6134168282611858565b610e6e5760008281526072602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561344e3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000611115836001600160a01b038416613d19565b6134b18282611858565b15610e6e5760008281526072602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000611115836001600160a01b038416613d68565b60005460ff16610bd85760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610c5e565b61357581613e5b565b80613584575061358481613e92565b80613593575061359381613eba565b6110a95760405163034992a760e51b815260040160405180910390fd5b6000606081855160028111156135c8576135c86147cc565b036136a35760408581015181516001600160a01b03878116602483015230604483015260648083019390935283518083039093018352608490910183526020820180516001600160e01b03166323b872dd60e01b17905291519185169161362f91906154ba565b6000604051808303816000865af19150503d806000811461366c576040519150601f19603f3d011682016040523d82523d6000602084013e613671565b606091505b50909250905081801561369c57508051158061369c57508080602001905181019061369c9190615250565b91506136fc565b6001855160028111156136b8576136b86147cc565b036136cd5761369c8385308860200151613ee3565b6002855160028111156136e2576136e26147cc565b036133605761369c83853088602001518960400151613f91565b816137225784843085604051639d2e4c6760e01b8152600401610c5e94939291906154d6565b5050505050565b6137996040805160a08101825260008082526020808301829052835160608082018652838252818301849052818601849052848601919091528451808201865283815280830184905280860184905281850152845190810185528281529081018290529283015290608082015290565b83815260006020820181905250604080820180516001600160a01b039788169052602080890151825190891690820152905146908301528751606084018051918916909152805195909716940193909352935182015292909201516080820152919050565b6040805161190160f01b6020808301919091526022820185905260428083018590528351808403909101815260629092019092528051910120600090611115565b6000806000613856607d546001600160601b031690565b905061386181612f62565b92506000866002811115613877576138776147cc565b036138c6576001600160a01b03851660009081526039602052604090205484106138a7576138a481614045565b92505b6001600160a01b0385166000908152603a602052604090205484101591505b50935093915050565b60006138de6201518042615370565b6001600160a01b0384166000908152603e602052604090205490915081111561392d576001600160a01b03929092166000908152603e6020908152604080832094909455603d90529190912055565b6001600160a01b0383166000908152603d60205260408120805484929061395590849061535d565b9091555050505050565b600082600001828154811061397657613976614d0b565b9060005260206000200154905092915050565b604080517f353bdd8d69b9e3185b3972e08b03845c0c14a21a390215302776a7a34b0e8764815282516020808301919091528301518183015291015160608201526080902090565b600080845160028111156139e7576139e76147cc565b03613a02576139fb8284866040015161405d565b9050613a2c565b600184516002811115613a1757613a176147cc565b03613360576139fb8230858760200151613ee3565b80610cfb578383836040516341bd7d9160e11b8152600401610c5e9392919061550c565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b03166340c10f1960e01b1790529151600092861691613aa8916154ba565b6000604051808303816000865af19150503d8060008114613ae5576040519150601f19603f3d011682016040523d82523d6000602084013e613aea565b606091505b509095945050505050565b6000613b0384308585613ee3565b90508061111557613b15848484613a50565b9050611115565b6000613b2b8530868686613f91565b905080613b4157613b3e85858585614130565b90505b949350505050565b60006001600160e01b03198216637965db0b60e01b1480610c1a57506301ffc9a760e01b6001600160e01b0319831614610c1a565b60606000613b8d8360026150aa565b613b9890600261535d565b6001600160401b03811115613baf57613baf6145e2565b6040519080825280601f01601f191660200182016040528015613bd9576020820181803683370190505b509050600360fc1b81600081518110613bf457613bf4614d0b565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110613c2357613c23614d0b565b60200101906001600160f81b031916908160001a9053506000613c478460026150aa565b613c5290600161535d565b90505b6001811115613cca576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110613c8657613c86614d0b565b1a60f81b828281518110613c9c57613c9c614d0b565b60200101906001600160f81b031916908160001a90535060049490941c93613cc38161553c565b9050613c55565b5083156111155760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610c5e565b6000818152600183016020526040812054613d6057508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610c1a565b506000610c1a565b60008181526001830160205260408120548015613e51576000613d8c600183615097565b8554909150600090613da090600190615097565b9050818114613e05576000866000018281548110613dc057613dc0614d0b565b9060005260206000200154905080876000018481548110613de357613de3614d0b565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080613e1657613e16615553565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610c1a565b6000915050610c1a565b60008082516002811115613e7157613e716147cc565b148015613e82575060008260400151115b8015610c1a575050602001511590565b6000600182516002811115613ea957613ea96147cc565b148015610c1a575050604001511590565b6000600282516002811115613ed157613ed16147cc565b148015610c1a57505060400151151590565b604080516001600160a01b0385811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180516001600160e01b03166323b872dd60e01b1790529151600092871691613f43916154ba565b6000604051808303816000865af19150503d8060008114613f80576040519150601f19603f3d011682016040523d82523d6000602084013e613f85565b606091505b50909695505050505050565b604080516000808252602082019092526001600160a01b03871690613fc190879087908790879060448101615569565b60408051601f198184030181529181526020820180516001600160e01b0316637921219560e11b17905251613ff691906154ba565b6000604051808303816000865af19150503d8060008114614033576040519150601f19603f3d011682016040523d82523d6000602084013e614038565b606091505b5090979650505050505050565b6000603854600160385484603754612f7a91906150aa565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663a9059cbb60e01b1790529151600092606092908716916140ba91906154ba565b6000604051808303816000865af19150503d80600081146140f7576040519150601f19603f3d011682016040523d82523d6000602084013e6140fc565b606091505b5090925090508180156141275750805115806141275750808060200190518101906141279190615250565b95945050505050565b604080516000808252602082019092526001600160a01b0386169061415e90869086908690604481016155ae565b60408051601f198184030181529181526020820180516001600160e01b031663731133e960e01b17905251613f4391906154ba565b60408051606081018252600080825260208201529081016141cf6040805160608101909152806000815260200160008152602001600081525090565b905290565b6000602082840312156141e657600080fd5b81356001600160e01b03198116811461111557600080fd5b6001600160a01b03811681146110a957600080fd5b60006020828403121561422557600080fd5b8135611115816141fe565b60008083601f84011261424257600080fd5b5081356001600160401b0381111561425957600080fd5b6020830191508360208260051b85010111156118db57600080fd5b6000806000806040858703121561428a57600080fd5b84356001600160401b03808211156142a157600080fd5b6142ad88838901614230565b909650945060208701359150808211156142c657600080fd5b506142d387828801614230565b95989497509550505050565b600080600080600080606087890312156142f857600080fd5b86356001600160401b038082111561430f57600080fd5b61431b8a838b01614230565b9098509650602089013591508082111561433457600080fd5b6143408a838b01614230565b9096509450604089013591508082111561435957600080fd5b5061436689828a01614230565b979a9699509497509295939492505050565b80356119ec816141fe565b60006020828403121561439557600080fd5b5035919050565b600080604083850312156143af57600080fd5b8235915060208301356143c1816141fe565b809150509250929050565b600060a082840312156143de57600080fd5b50919050565b600061016082840312156143de57600080fd5b6000806000610180848603121561440d57600080fd5b61441785856143e4565b92506101608401356001600160401b038082111561443457600080fd5b818601915086601f83011261444857600080fd5b81358181111561445757600080fd5b87602060608302850101111561446c57600080fd5b6020830194508093505050509250925092565b8060608101831015610c1a57600080fd5b8060808101831015610c1a57600080fd5b6000806000806000806000806000806101208b8d0312156144c157600080fd5b6144ca8b614378565b99506144d860208c01614378565b985060408b0135975060608b0135965060808b0135955060a08b0135945060c08b01356001600160401b038082111561451057600080fd5b61451c8e838f0161447f565b955060e08d013591508082111561453257600080fd5b61453e8e838f01614490565b94506101008d013591508082111561455557600080fd5b506145628d828e01614230565b915080935050809150509295989b9194979a5092959850565b6000806040838503121561458e57600080fd5b8235614599816141fe565b946020939093013593505050565b8035601081106119ec57600080fd5b600080604083850312156145c957600080fd5b6145d2836145a7565b915060208301356143c1816141fe565b634e487b7160e01b600052604160045260246000fd5b604051606081016001600160401b038111828210171561461a5761461a6145e2565b60405290565b604051601f8201601f191681016001600160401b0381118282101715614648576146486145e2565b604052919050565b60006001600160401b03821115614669576146696145e2565b5060051b60200190565b80151581146110a957600080fd5b60008060008060006060868803121561469957600080fd5b85356001600160401b03808211156146b057600080fd5b6146bc89838a01614230565b90975095506020915087820135818111156146d657600080fd5b6146e28a828b01614230565b9096509450506040880135818111156146fa57600080fd5b88019050601f8101891361470d57600080fd5b803561472061471b82614650565b614620565b81815260059190911b8201830190838101908b83111561473f57600080fd5b928401925b8284101561476657833561475781614673565b82529284019290840190614744565b80955050505050509295509295909350565b6001600160e01b031991909116815260200190565b600080604083850312156147a057600080fd5b50508035926020909101359150565b600061016082840312156147c257600080fd5b61111583836143e4565b634e487b7160e01b600052602160045260246000fd5b600381106147f2576147f26147cc565b9052565b60006040820190506148098284516147e2565b6020928301516001600160a01b0316919092015290565b600082601f83011261483157600080fd5b8135602061484161471b83614650565b8083825260208201915060208460051b87010193508684111561486357600080fd5b602086015b8481101561487f5780358352918301918301614868565b509695505050505050565b600082601f83011261489b57600080fd5b81356001600160401b038111156148b4576148b46145e2565b6148c7601f8201601f1916602001614620565b8181528460208386010111156148dc57600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a0868803121561491157600080fd5b853561491c816141fe565b9450602086013561492c816141fe565b935060408601356001600160401b038082111561494857600080fd5b61495489838a01614820565b9450606088013591508082111561496a57600080fd5b61497689838a01614820565b9350608088013591508082111561498c57600080fd5b506149998882890161488a565b9150509295509295909350565b6000602082840312156149b857600080fd5b611115826145a7565b60008060008060008060006080888a0312156149dc57600080fd5b87356001600160401b03808211156149f357600080fd5b6149ff8b838c01614230565b909950975060208a0135915080821115614a1857600080fd5b614a248b838c01614230565b909750955060408a0135915080821115614a3d57600080fd5b614a498b838c01614230565b909550935060608a0135915080821115614a6257600080fd5b50614a6f8a828b01614490565b91505092959891949750929550565b60008060208385031215614a9157600080fd5b82356001600160401b0380821115614aa857600080fd5b818501915085601f830112614abc57600080fd5b813581811115614acb57600080fd5b86602060a083028501011115614ae057600080fd5b60209290920196919550909350505050565b600080600080600060a08688031215614b0a57600080fd5b8535614b15816141fe565b94506020860135614b25816141fe565b9350604086013592506060860135915060808601356001600160401b03811115614b4e57600080fd5b6149998882890161488a565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b600082601f830112614bb957600080fd5b81516020614bc961471b83614650565b8083825260208201915060208460051b870101935086841115614beb57600080fd5b602086015b8481101561487f578051614c03816141fe565b8352918301918301614bf0565b6001600160601b03811681146110a957600080fd5b600080600060608486031215614c3a57600080fd5b83516001600160401b0380821115614c5157600080fd5b614c5d87838801614ba8565b9450602091508186015181811115614c7457600080fd5b614c8088828901614ba8565b945050604086015181811115614c9557600080fd5b86019050601f81018713614ca857600080fd5b8051614cb661471b82614650565b81815260059190911b82018301908381019089831115614cd557600080fd5b928401925b82841015614cfc578351614ced81614c10565b82529284019290840190614cda565b80955050505050509250925092565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6001600160601b03818116838216019080821115612f5b57612f5b614d21565b8035600381106119ec57600080fd5b600060608284031215614d7857600080fd5b614d806145f8565b9050614d8b82614d57565b8152602082013560208201526040820135604082015292915050565b600060a08284031215614db957600080fd5b614dc16145f8565b8235614dcc816141fe565b81526020830135614ddc816141fe565b6020820152614dee8460408501614d66565b60408201529392505050565b600060608284031215614e0c57600080fd5b614e146145f8565b823560ff81168114614e2557600080fd5b8152602083810135908201526040928301359281019290925250919050565b6000808335601e19843603018112614e5b57600080fd5b8301803591506001600160401b03821115614e7557600080fd5b6020019150600581901b36038213156118db57600080fd5b600060208284031215614e9f57600080fd5b813561111581614c10565b8035600281106119ec57600080fd5b600060608284031215614ecb57600080fd5b614ed36145f8565b90508135614ee0816141fe565b81526020820135614ef0816141fe565b806020830152506040820135604082015292915050565b60006101608284031215614f1a57600080fd5b60405160a081018181106001600160401b0382111715614f3c57614f3c6145e2565b60405282358152614f4f60208401614eaa565b6020820152614f618460408501614eb9565b6040820152614f738460a08501614eb9565b6060820152614f86846101008501614d66565b60808201529392505050565b600281106147f2576147f26147cc565b8035614fad816141fe565b6001600160a01b039081168352602082013590614fc9826141fe565b166020830152604090810135910152565b60006101808201905083825282356020830152614ff960208401614eaa565b6150066040840182614f92565b506150176060830160408501614fa2565b61502760c0830160a08501614fa2565b61012061504281840161503d6101008701614d57565b6147e2565b61014081850135818501528085013561016085015250509392505050565b60006020828403121561507257600080fd5b61111582614d57565b60006060828403121561508d57600080fd5b6111158383614d66565b81810381811115610c1a57610c1a614d21565b8082028115828204841417610c1a57610c1a614d21565b6000602082840312156150d357600080fd5b813561111581614673565b6001600160601b03828116828216039080821115612f5b57612f5b614d21565b601081106147f2576147f26147cc565b60208101610c1a82846150fe565b6001600160e01b03198316815260408101600b831061513d5761513d6147cc565b8260208301529392505050565b8183526000602080850194508260005b8581101561518857813561516d816141fe565b6001600160a01b03168752958201959082019060010161515a565b509495945050505050565b6040815260006151a760408301868861514a565b82810360208401528381526001600160fb1b038411156151c657600080fd5b8360051b80866020840137016020019695505050505050565b6060815260006151f360608301888a61514a565b6020838203602085015261520882888a61514a565b848103604086015285815286925060200160005b86811015615241576152318261503d86614d57565b928201929082019060010161521c565b509a9950505050505050505050565b60006020828403121561526257600080fd5b815161111581614673565b60006001820161527f5761527f614d21565b5060010190565b6152918282516147e2565b60208181015190830152604090810151910152565b6000610180820190508382528251602083015260208301516152cb6040840182614f92565b5060408381015180516001600160a01b03908116606086015260208201511660808501529081015160a084015250606083015180516001600160a01b0390811660c085015260208201511660e0840152604081015161010084015250608083015161533a610120840182615286565b509392505050565b60006020828403121561535457600080fd5b61111582614eaa565b80820180821115610c1a57610c1a614d21565b60008261538d57634e487b7160e01b600052601260045260246000fd5b500490565b6001600160e01b031984168152606081016153b060208301856150fe565b6001600160a01b03929092166040919091015292915050565b6000602082840312156153db57600080fd5b5051919050565b60005b838110156153fd5781810151838201526020016153e5565b50506000910152565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161543e8160178501602088016153e2565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161546f8160288401602088016153e2565b01602801949350505050565b600081518084526154938160208601602086016153e2565b601f01601f19169290920160200192915050565b602081526000611115602083018461547b565b600082516154cc8184602087016153e2565b9190910192915050565b60c081016154e48287615286565b6001600160a01b0394851660608301529284166080820152921660a090920191909152919050565b60a0810161551a8286615286565b6001600160a01b03938416606083015291909216608090920191909152919050565b60008161554b5761554b614d21565b506000190190565b634e487b7160e01b600052603160045260246000fd5b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190526000906155a39083018461547b565b979650505050505050565b60018060a01b03851681528360208201528260408201526080606082015260006155db608083018461547b565b969550505050505056fe7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498a26469706673582212201e2ed98411cda98706015cdbeb9e494126a836fe1b19bb440229c826fa07419564736f6c63430008170033", - "deployer": "0x968D0Cd7343f711216817E617d3f92a23dC91c07", + "constructorArgs": "0x", + "contractName": "MainchainGatewayV3", + "deployedBytecode": "\"0x60806040526004361061038f575f3560e01c80638f34e347116101db578063b9c3620911610101578063d55ed1031161009f578063dff525e11161006e578063dff525e114610a99578063e400327c14610ab8578063e75235b814610ad7578063f23a6e6114610aee5761039e565b8063d55ed10314610a11578063d64af2a614610a3c578063dafae40814610a5b578063de981f1b14610a7a5761039e565b8063ca15c873116100db578063ca15c87314610991578063cdb67444146109b0578063d19773d2146109c7578063d547741f146109f25761039e565b8063b9c3620914610928578063bc197c8114610947578063c48549de146109725761039e565b8063a217fddf11610179578063affed0e011610148578063affed0e01461089d578063b1a2567e146108b2578063b1d08a03146108d1578063b2975794146108fc5761039e565b8063a217fddf14610840578063a3912ec81461039c578063ab79656614610853578063ac78dfe81461087e5761039e565b80639157921c116101b55780639157921c146107af57806391d14854146107ce57806393c5678f146107ed5780639dcc4da31461080c5761039e565b80638f34e347146107315780638f851d8a146107645780639010d07c146107905761039e565b806336568abe116102c0578063504af48c1161025e5780636c1ce6701161022d5780636c1ce670146106cb5780637de5dedd146106ea5780638456cb59146106fe578063865e6fd3146107125761039e565b8063504af48c1461064c57806359122f6b1461065f5780635c975abb1461068a5780636932be98146106a05761039e565b80633f4ba83a1161029a5780633f4ba83a146105d85780634b14557e146105ec5780634d0d6673146105ff5780634d493f4e1461061e5761039e565b806336568abe1461058657806338e454b1146105a55780633e70838b146105b95761039e565b80631d4a72101161032d5780632dfdf0b5116103075780632dfdf0b5146105285780632f2ff15d1461053d578063302d12db1461055c5780633644e515146105725761039e565b80631d4a7210146104b0578063248a9ca3146104db57806329b6eca9146105095761039e565b806317ce2dd41161036957806317ce2dd41461043057806317fcb39b146104535780631a8e55b0146104725780631b6e7594146104915761039e565b806301ffc9a7146103a6578063065b3adf146103da578063110a8308146104115761039e565b3661039e5761039c610b19565b005b61039c610b19565b3480156103b1575f80fd5b506103c56103c03660046142cf565b610b37565b60405190151581526020015b60405180910390f35b3480156103e5575f80fd5b506005546103f9906001600160a01b031681565b6040516001600160a01b0390911681526020016103d1565b34801561041c575f80fd5b5061039c61042b36600461430a565b610b7c565b34801561043b575f80fd5b5061044560755481565b6040519081526020016103d1565b34801561045e575f80fd5b506074546103f9906001600160a01b031681565b34801561047d575f80fd5b5061039c61048c366004614365565b610c04565b34801561049c575f80fd5b5061039c6104ab3660046143cb565b610c3f565b3480156104bb575f80fd5b506104456104ca36600461430a565b603e6020525f908152604090205481565b3480156104e6575f80fd5b506104456104f5366004614468565b5f9081526072602052604090206001015490565b348015610514575f80fd5b5061039c61052336600461430a565b610c7e565b348015610533575f80fd5b5061044560765481565b348015610548575f80fd5b5061039c61055736600461447f565b610d06565b348015610567575f80fd5b50610445620f424081565b34801561057d575f80fd5b50607754610445565b348015610591575f80fd5b5061039c6105a036600461447f565b610d2f565b3480156105b0575f80fd5b5061039c610dad565b3480156105c4575f80fd5b5061039c6105d336600461430a565b610f7f565b3480156105e3575f80fd5b5061039c610fa9565b61039c6105fa3660046144ad565b610fb9565b34801561060a575f80fd5b506103c56106193660046144d4565b610fdc565b348015610629575f80fd5b506103c5610638366004614468565b607a6020525f908152604090205460ff1681565b61039c61065a366004614575565b61104a565b34801561066a575f80fd5b5061044561067936600461430a565b603a6020525f908152604090205481565b348015610695575f80fd5b505f5460ff166103c5565b3480156106ab575f80fd5b506104456106ba366004614468565b60796020525f908152604090205481565b3480156106d6575f80fd5b506103c56106e5366004614646565b61130b565b3480156106f5575f80fd5b50610445611316565b348015610709575f80fd5b5061039c61132c565b34801561071d575f80fd5b5061039c61072c36600461467e565b61133c565b34801561073c575f80fd5b506104457f5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e481565b34801561076f575f80fd5b5061078361077e366004614743565b611357565b6040516103d19190614831565b34801561079b575f80fd5b506103f96107aa366004614846565b6114d3565b3480156107ba575f80fd5b5061039c6107c9366004614866565b6114ea565b3480156107d9575f80fd5b506103c56107e836600461447f565b611765565b3480156107f8575f80fd5b5061039c610807366004614365565b61178f565b348015610817575f80fd5b5061082b610826366004614846565b6117c4565b604080519283526020830191909152016103d1565b34801561084b575f80fd5b506104455f81565b34801561085e575f80fd5b5061044561086d36600461430a565b603c6020525f908152604090205481565b348015610889575f80fd5b506103c5610898366004614468565b6117ec565b3480156108a8575f80fd5b5061044560045481565b3480156108bd575f80fd5b5061039c6108cc366004614365565b611817565b3480156108dc575f80fd5b506104456108eb36600461430a565b60396020525f908152604090205481565b348015610907575f80fd5b5061091b61091636600461430a565b61184c565b6040516103d191906148a9565b348015610933575f80fd5b5061039c610942366004614846565b6118ed565b348015610952575f80fd5b506107836109613660046149a4565b63bc197c8160e01b95945050505050565b34801561097d575f80fd5b5061078361098c366004614365565b611907565b34801561099c575f80fd5b506104456109ab366004614468565b611a93565b3480156109bb575f80fd5b5060375460385461082b565b3480156109d2575f80fd5b506104456109e136600461430a565b603b6020525f908152604090205481565b3480156109fd575f80fd5b5061039c610a0c36600461447f565b611aa9565b348015610a1c575f80fd5b50610445610a2b36600461430a565b603d6020525f908152604090205481565b348015610a47575f80fd5b5061039c610a5636600461430a565b611acd565b348015610a66575f80fd5b506103c5610a75366004614468565b611ade565b348015610a85575f80fd5b506103f9610a94366004614a4a565b611b01565b348015610aa4575f80fd5b5061039c610ab3366004614a63565b611b74565b348015610ac3575f80fd5b5061039c610ad2366004614365565b611be7565b348015610ae2575f80fd5b5060015460025461082b565b348015610af9575f80fd5b50610783610b08366004614b17565b63f23a6e6160e01b95945050505050565b6074546001600160a01b03163303610b2d57565b610b35611c1c565b565b5f6001600160e01b03198216631f3673bb60e01b1480610b6757506001600160e01b031982166312c0151560e21b145b80610b765750610b7682611c46565b92915050565b607154600490610100900460ff16158015610b9e575060715460ff8083169116105b610bc35760405162461bcd60e51b8152600401610bba90614b7a565b60405180910390fd5b6071805461ffff191660ff83169081176101001761ff0019169091556040519081525f805160206155bf833981519152906020015b60405180910390a15050565b610c0c611c6a565b5f839003610c2d576040516316ee9d3b60e11b815260040160405180910390fd5b610c3984848484611cc3565b50505050565b610c47611c6a565b5f859003610c68576040516316ee9d3b60e11b815260040160405180910390fd5b610c76868686868686611d94565b505050505050565b607154600290610100900460ff16158015610ca0575060715460ff8083169116105b610cbc5760405162461bcd60e51b8152600401610bba90614b7a565b6071805461ffff191660ff831617610100179055610cdb600b83611f36565b6071805461ff001916905560405160ff821681525f805160206155bf83398151915290602001610bf8565b5f82815260726020526040902060010154610d2081611fd7565b610d2a8383611fe1565b505050565b6001600160a01b0381163314610d9f5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610bba565b610da98282612002565b5050565b607154600390610100900460ff16158015610dcf575060715460ff8083169116105b610deb5760405162461bcd60e51b8152600401610bba90614b7a565b6071805461ffff191660ff8316176101001790555f610e0a600b611b01565b90505f80826001600160a01b031663c441c4a86040518163ffffffff1660e01b81526004015f60405180830381865afa158015610e49573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610e709190810190614c41565b92509250505f805b8351811015610f2957828181518110610e9357610e93614d1f565b6020026020010151607e5f868481518110610eb057610eb0614d1f565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f205f6101000a8154816001600160601b0302191690836001600160601b03160217905550828181518110610f0c57610f0c614d1f565b602002602001015182610f1f9190614d47565b9150600101610e78565b50607d80546001600160601b0319166001600160601b039290921691909117905550506071805461ff00191690555060405160ff821681525f805160206155bf833981519152906020015b60405180910390a150565b610f87611c6a565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b610fb1612023565b610b35612091565b610fc16120e2565b610fd9610fd336839003830183614db4565b33612127565b50565b5f610fe56120e2565b611040848484808060200260200160405190810160405280939291908181526020015f905b828210156110365761102760608302860136819003810190614e05565b8152602001906001019061100a565b505050505061236e565b90505b9392505050565b607154610100900460ff161580801561106a5750607154600160ff909116105b806110845750303b158015611084575060715460ff166001145b6110a05760405162461bcd60e51b8152600401610bba90614b7a565b6071805460ff1916600117905580156110c3576071805461ff0019166101001790555b6110cd5f8c6127fa565b60758990556110db8a612804565b6111666040517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81527f159f52c1e3a2b6a6aad3950adf713516211484e0516dad685ea662a094b7c43b60208201527fad7c5bef027816a800da1736444fb58a807ef4c9603b7848673f7e3a68eb14a5604082015246606082015230608082015260a0812060775550565b6111708887612852565b61117a87876128f3565b505061118461299a565b5f61118f8680614e4c565b9050111561124f576111b86111a48680614e4c565b6111b16020890189614e4c565b8787611d94565b6111dd6111c58680614e4c565b865f5b6020028101906111d89190614e4c565b6129e6565b6112036111ea8680614e4c565b8660015b6020028101906111fe9190614e4c565b611cc3565b6112296112108680614e4c565b8660025b6020028101906112249190614e4c565b612ab7565b61124f6112368680614e4c565b8660035b60200281019061124a9190614e4c565b612bc4565b5f5b61125e6040870187614e4c565b90508110156112ca576112c27f5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e46112986040890189614e4c565b848181106112a8576112a8614d1f565b90506020020160208101906112bd919061430a565b611fe1565b600101611251565b5080156112fe576071805461ff0019169055604051600181525f805160206155bf8339815191529060200160405180910390a15b5050505050505050505050565b5f6110438383612c95565b5f611327611322612d59565b612d96565b905090565b611334612023565b610b35612dfa565b611344611c6a565b61134d81612e36565b610da98282611f36565b5f600b61136381612e6b565b82518690811415806113755750808514155b156113a0575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b805f036113b757506347c28ec560e11b91506114c9565b5f5b818110156114bc578481815181106113d3576113d3614d1f565b6020026020010151156114b4578686828181106113f2576113f2614d1f565b90506020020160208101906114079190614e91565b607d80546001600160601b031981166001600160601b03918216939093011691909117905586868281811061143e5761143e614d1f565b90506020020160208101906114539190614e91565b607e5f8b8b8581811061146857611468614d1f565b905060200201602081019061147d919061430a565b6001600160a01b0316815260208101919091526040015f2080546001600160601b0319166001600160601b03929092169190911790555b6001016113b9565b506347c28ec560e11b9250505b5095945050505050565b5f8281526073602052604081206110439083612eb6565b7f5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e461151481611fd7565b5f61152c61152736859003850185614f06565b612ec1565b905061154061152736859003850185614f06565b83355f908152607960205260409020541461156e5760405163f4b8742f60e01b815260040160405180910390fd5b82355f908152607a602052604090205460ff1661159e5760405163147bfe0760e01b815260040160405180910390fd5b82355f908152607a602052604090819020805460ff19169055517fd639511b37b3b002cca6cfe6bca0d833945a5af5a045578a0627fc43b79b2630906115e79083908690614fd7565b60405180910390a15f611600608085016060860161430a565b90505f6116156101208601610100870161505c565b600281111561162657611626614881565b036116ea575f61163f3686900386016101008701615075565b6001600160a01b0383165f908152603b602052604090205490915061166a9061014087013590612f88565b60408201525f6116833687900387016101008801615075565b604083015190915061169a9061014088013561508f565b60408201526074546116ba908390339086906001600160a01b0316612fa1565b6116e36116cd606088016040890161430a565b60745483919086906001600160a01b0316612fa1565b5050611726565b6117266116fd606086016040870161430a565b60745483906001600160a01b031661171e3689900389016101008a01615075565b929190612fa1565b7f21e88e956aa3e086f6388e899965cef814688f99ad8bb29b08d396571016372d8285604051611757929190614fd7565b60405180910390a150505050565b5f9182526072602090815260408084206001600160a01b0393909316845291905290205460ff1690565b611797611c6a565b5f8390036117b8576040516316ee9d3b60e11b815260040160405180910390fd5b610c39848484846129e6565b5f806117ce611c6a565b6117d884846128f3565b90925090506117e561299a565b9250929050565b5f6117f5612d59565b60375461180291906150a2565b60385461180f90846150a2565b101592915050565b61181f611c6a565b5f839003611840576040516316ee9d3b60e11b815260040160405180910390fd5b610c3984848484612ab7565b604080518082019091525f80825260208201526001600160a01b0382165f908152607860205260409081902081518083019092528054829060ff16600281111561189857611898614881565b60028111156118a9576118a9614881565b815290546001600160a01b03610100909104811660209283015290820151919250166118e857604051631b79f53b60e21b815260040160405180910390fd5b919050565b6118f5611c6a565b6118ff8282612852565b610da961299a565b5f600b61191381612e6b565b84838114611941575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b805f036119585750636242a4ef60e11b9150611a8a565b5f805b82811015611a3b5786868281811061197557611975614d1f565b905060200201602081019061198a91906150b9565b15611a3357607e5f8a8a848181106119a4576119a4614d1f565b90506020020160208101906119b9919061430a565b6001600160a01b0316815260208101919091526040015f908120546001600160601b03169290920191607e908a8a848181106119f7576119f7614d1f565b9050602002016020810190611a0c919061430a565b6001600160a01b0316815260208101919091526040015f2080546001600160601b03191690555b60010161195b565b50607d80548291905f90611a599084906001600160601b03166150d4565b92506101000a8154816001600160601b0302191690836001600160601b0316021790555063c48549de60e01b935050505b50949350505050565b5f818152607360205260408120610b76906131ca565b5f82815260726020526040902060010154611ac381611fd7565b610d2a8383612002565b611ad5611c6a565b610fd981612804565b5f611ae7612d59565b600154611af491906150a2565b60025461180f90846150a2565b5f7fdea3103d22025c269050bea94c0c84688877f12fa22b7e6d2d5d78a9a49aa1cb5f83600f811115611b3657611b36614881565b60ff16815260208101919091526040015f20546001600160a01b03169050806118e8578160405163409140df60e11b8152600401610bba9190615104565b611b7c611c6a565b5f869003611b9d576040516316ee9d3b60e11b815260040160405180910390fd5b611bab878787878787611d94565b611bb78787835f6111c8565b611bc487878360016111ee565b611bd18787836002611214565b611bde878783600361123a565b50505050505050565b611bef611c6a565b5f839003611c10576040516316ee9d3b60e11b815260040160405180910390fd5b610c3984848484612bc4565b611c246120e2565b611c2c614292565b338152604080820151349101528051610fd9908290612127565b5f6001600160e01b03198216630271189760e51b1480610b765750610b76826131d3565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103546001600160a01b03163314610b35575f356001600160e01b0319166001604051620f948f60ea1b8152600401610bba929190615112565b828114611cf0575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b83811015611d5e57828282818110611d0c57611d0c614d1f565b90506020020135603a5f878785818110611d2857611d28614d1f565b9050602002016020810190611d3d919061430a565b6001600160a01b0316815260208101919091526040015f2055600101611cf2565b507f64557254143204d91ba2d95acb9fda1e5fea55f77efd028685765bc1e94dd4b5848484846040516117579493929190615187565b8483148015611da257508481145b611dcc575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b85811015611eec57848482818110611de857611de8614d1f565b9050602002016020810190611dfd919061430a565b60785f898985818110611e1257611e12614d1f565b9050602002016020810190611e27919061430a565b6001600160a01b03908116825260208201929092526040015f208054610100600160a81b0319166101009390921692909202179055828282818110611e6e57611e6e614d1f565b9050602002016020810190611e83919061505c565b60785f898985818110611e9857611e98614d1f565b9050602002016020810190611ead919061430a565b6001600160a01b0316815260208101919091526040015f20805460ff19166001836002811115611edf57611edf614881565b0217905550600101611dce565b507fa4f03cc9c0e0aeb5b71b4ec800702753f65748c2cf3064695ba8e8b46be70444868686868686604051611f26969594939291906151d1565b60405180910390a1505050505050565b807fdea3103d22025c269050bea94c0c84688877f12fa22b7e6d2d5d78a9a49aa1cb5f84600f811115611f6b57611f6b614881565b60ff16815260208101919091526040015f2080546001600160a01b0319166001600160a01b03928316179055811682600f811115611fab57611fab614881565b6040517f865d1c228a8ea13709cfe61f346f7ff67f1bbd4a18ff31ad3e7147350d317c59905f90a35050565b610fd981336131f7565b611feb828261325b565b5f828152607360205260409020610d2a90826132e0565b61200c82826132f4565b5f828152607360205260409020610d2a908261335a565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103546001600160a01b031633148061206557506005546001600160a01b031633145b610b35575f356001600160e01b0319166001604051620f948f60ea1b8152600401610bba929190615112565b61209961336e565b5f805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b5f5460ff1615610b355760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610bba565b6040805180820182525f80825260208201526074549184015190916001600160a01b031690612155906133b6565b60208401516001600160a01b03166121f657348460400151604001511461218f5760405163129c2ce160e31b815260040160405180910390fd5b6121988161184c565b60408501515190925060028111156121b2576121b2614881565b825160028111156121c5576121c5614881565b146121e25760405162035e2b60ea1b815260040160405180910390fd5b6001600160a01b03811660208501526122fd565b34156122155760405163129c2ce160e31b815260040160405180910390fd5b612222846020015161184c565b604085015151909250600281111561223c5761223c614881565b8251600281111561224f5761224f614881565b1461226c5760405162035e2b60ea1b815260040160405180910390fd5b602084015160408501516122819185906133fa565b83602001516001600160a01b0316816001600160a01b0316036122fd576040848101518101519051632e1a7d4d60e01b815260048101919091526001600160a01b03821690632e1a7d4d906024015f604051808303815f87803b1580156122e6575f80fd5b505af11580156122f8573d5f803e3d5ffd5b505050505b607680545f918261230d83615240565b9190505590505f612333858386602001516075548a61356e90949392919063ffffffff16565b90507fd7b25068d9dc8d00765254cfb7f5070f98d263c8d68931d937c7362fa738048b61235f82612ec1565b82604051611f26929190615278565b5f823561014084013582612388608087016060880161430a565b90506123a56123a03688900388016101008901615075565b6133b6565b60016123b76040880160208901615313565b60018111156123c8576123c8614881565b146123e65760405163182f3d8760e11b815260040160405180910390fd5b608086013546146124275760405163092048d160e11b81525f356001600160e01b031916600482015260808701356024820152466044820152606401610bba565b5f61243b6109166080890160608a0161430a565b905061244f6101208801610100890161505c565b600281111561246057612460614881565b8151600281111561247357612473614881565b1480156124a4575061248b60e0880160c0890161430a565b6001600160a01b031681602001516001600160a01b0316145b80156124b5575060755460e0880135145b6124d25760405163f4b8742f60e01b815260040160405180910390fd5b5f84815260796020526040902054156124fe57604051634f13df6160e01b815260040160405180910390fd5b600161251261012089016101008a0161505c565b600281111561252357612523614881565b148061253657506125348284612c95565b155b6125535760405163c51297b760e01b815260040160405180910390fd5b5f612566611527368a90038a018a614f06565b90505f61257560775483613641565b90505f61259461258d6101208c016101008d0161505c565b8688613681565b604080516060810182525f80825260208201819052918101829052919a50919250819081905f805b8e518110156126d4578e81815181106125d7576125d7614d1f565b602002602001015192506125f888845f015185602001518660400151613702565b9450846001600160a01b0316846001600160a01b031610612639575f356001600160e01b031916604051635d3dcd3160e01b8152600401610bba9190614831565b6001600160a01b0385165f908152607e60205260408120548695506001600160601b0316908190036126ae5760408051634e97700760e01b81526001600160a01b038816600482015260248101839052855160ff1660448201526020860151606482015290850151608482015260a401610bba565b6126b8818461532c565b92508783106126cb5760019650506126d4565b506001016125bc565b50846126f357604051639e8f5f6360e01b815260040160405180910390fd5b5050505f8981526079602052604090208590555050871561276c575f878152607a602052604090819020805460ff19166001179055517f89e52969465b1f1866fc5d46fd62de953962e9cb33552443cd999eba05bd20dc906127589085908d90614fd7565b60405180910390a150505050505050610b76565b612776858761372a565b6127b461278960608c0160408d0161430a565b8660745f9054906101000a90046001600160a01b03168d6101000180360381019061171e9190615075565b7f21e88e956aa3e086f6388e899965cef814688f99ad8bb29b08d396571016372d838b6040516127e5929190614fd7565b60405180910390a15050505050505092915050565b610da98282611fe1565b607480546001600160a01b0319166001600160a01b0383169081179091556040519081527f9d2334c23be647e994f27a72c5eee42a43d5bdcfe15bb88e939103c2b114cbaf90602001610f74565b8082118061285e575080155b80612867575081155b15612892575f356001600160e01b0319166040516387f6f09560e01b8152600401610bba9190614831565b6001805460028054858455908490556004805493840190556040805183815260208101839052929391928592879290917f976f8a9c5bdf8248dec172376d6e2b80a8e3df2f0328e381c6db8e1cf138c0f8910160405180910390a450505050565b5f8082841180612901575083155b8061290a575082155b15612935575f356001600160e01b0319166040516387f6f09560e01b8152600401610bba9190614831565b5050603780546038805492859055839055600480546001810190915560408051838152602081018590529293928592879290917f31312c97b89cc751b832d98fd459b967a2c3eef3b49757d1cf5ebaa12bb6eee1910160405180910390a49250929050565b6002546037546129aa91906150a2565b6038546001546129ba91906150a2565b1115610b35575f356001600160e01b0319166040516387f6f09560e01b8152600401610bba9190614831565b828114612a13575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b83811015612a8157828282818110612a2f57612a2f614d1f565b9050602002013560395f878785818110612a4b57612a4b614d1f565b9050602002016020810190612a60919061430a565b6001600160a01b0316815260208101919091526040015f2055600101612a15565b507f80bc635c452ae67f12f9b6f12ad4daa6dbbc04eeb9ebb87d354ce10c0e210dc0848484846040516117579493929190615187565b828114612ae4575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b83811015612b8e57620f4240838383818110612b0457612b04614d1f565b905060200201351115612b2a5760405163572d3bd360e11b815260040160405180910390fd5b828282818110612b3c57612b3c614d1f565b90506020020135603b5f878785818110612b5857612b58614d1f565b9050602002016020810190612b6d919061430a565b6001600160a01b0316815260208101919091526040015f2055600101612ae6565b507fb05f5de88ae0294ebb6f67c5af2fcbbd593cc6bdfe543e2869794a4c8ce3ea50848484846040516117579493929190615187565b828114612bf1575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b83811015612c5f57828282818110612c0d57612c0d614d1f565b90506020020135603c5f878785818110612c2957612c29614d1f565b9050602002016020810190612c3e919061430a565b6001600160a01b0316815260208101919091526040015f2055600101612bf3565b507fb5d2963614d72181b4df1f993d45b83edf42fa19710f0204217ba1b3e183bb73848484846040516117579493929190615187565b6001600160a01b0382165f908152603a60205260408120548210612cba57505f610b76565b5f612cc8620151804261533f565b6001600160a01b0385165f908152603e6020526040902054909150811115612d0c5750506001600160a01b0382165f908152603c6020526040902054811015610b76565b6001600160a01b0384165f908152603d6020526040902054612d2f90849061532c565b6001600160a01b0385165f908152603c602052604090205411159150610b769050565b5092915050565b607d546001600160601b03165f819003612d93575f356001600160e01b031916604051631103b51560e31b8152600401610bba9190614831565b90565b5f600254600160025484600154612dad91906150a2565b612db7919061532c565b612dc1919061508f565b612dcb919061533f565b9050805f036118e8575f356001600160e01b03191660405163267b1b9160e01b8152600401610bba9190614831565b612e026120e2565b5f805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586120c53390565b806001600160a01b03163b5f03610fd957604051630bfc64a360e21b81526001600160a01b0382166004820152602401610bba565b612e7481611b01565b6001600160a01b0316336001600160a01b031614610fd9575f356001600160e01b03191681336040516320e0f98d60e21b8152600401610bba9392919061535e565b5f61104383836137b6565b5f80612ed083604001516137dc565b90505f612ee084606001516137dc565b90505f612f338560800151604080517f1e2b74b2a792d5c0f0b6e59b037fa9d43d84fbb759337f0112fcc15ca414fc8d815282516020808301919091528301518183015291015160608201526080902090565b604080517fb9d1fe7c9deeec5dc90a2f47ff1684239519f2545b2228d3d91fb27df3189eea815287516020808301919091529097015190870152606086019390935250608084015260a08301525060c0902090565b5f620f4240612f9783856150a2565b611043919061533f565b806001600160a01b0316826001600160a01b0316036130495760408085015190516001600160a01b0385169180156108fc02915f818181858888f1935050505061304457806001600160a01b031663d0e30db085604001516040518263ffffffff1660e01b81526004015f604051808303818588803b158015613022575f80fd5b505af1158015613034573d5f803e3d5ffd5b5050505050613044848484613824565b610c39565b5f8451600281111561305d5761305d614881565b03613120576040516370a0823160e01b81523060048201525f906001600160a01b038416906370a0823190602401602060405180830381865afa1580156130a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130ca9190615395565b9050846040015181101561310f576130f283308388604001516130ed919061508f565b6138a2565b61310f57604051632f739fff60e11b815260040160405180910390fd5b61311a858585613824565b50610c39565b60018451600281111561313557613135614881565b036131665761314982848660200151613942565b6130445760405163c8e3a09f60e01b815260040160405180910390fd5b60028451600281111561317b5761317b614881565b036131b157613194828486602001518760400151613968565b613044576040516334b471a760e21b815260040160405180910390fd5b6040516361e411a760e11b815260040160405180910390fd5b5f610b76825490565b5f6001600160e01b03198216635a05180f60e01b1480610b765750610b7682613990565b6132018282611765565b610da957613219816001600160a01b031660146139c4565b6132248360206139c4565b6040516020016132359291906153ce565b60408051601f198184030181529082905262461bcd60e51b8252610bba9160040161546d565b6132658282611765565b610da9575f8281526072602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561329c3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b5f611043836001600160a01b038416613b59565b6132fe8282611765565b15610da9575f8281526072602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b5f611043836001600160a01b038416613ba5565b5f5460ff16610b355760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610bba565b6133bf81613c88565b806133ce57506133ce81613cbd565b806133dd57506133dd81613ce4565b610fd95760405163034992a760e51b815260040160405180910390fd5b5f6060818551600281111561341157613411614881565b036134e85760408581015181516001600160a01b03878116602483015230604483015260648083019390935283518083039093018352608490910183526020820180516001600160e01b03166323b872dd60e01b179052915191851691613478919061547f565b5f604051808303815f865af19150503d805f81146134b1576040519150601f19603f3d011682016040523d82523d5f602084013e6134b6565b606091505b5090925090508180156134e15750805115806134e15750808060200190518101906134e1919061549a565b9150613541565b6001855160028111156134fd576134fd614881565b03613512576134e18385308860200151613d0c565b60028551600281111561352757613527614881565b036131b1576134e183853088602001518960400151613db5565b816135675784843085604051639d2e4c6760e01b8152600401610bba94939291906154b5565b5050505050565b6135dd6040805160a0810182525f8082526020808301829052835160608082018652838252818301849052818601849052848601919091528451808201865283815280830184905280860184905281850152845190810185528281529081018290529283015290608082015290565b8381525f6020820181905250604080820180516001600160a01b039788169052602080890151825190891690820152905146908301528751606084018051918916909152805195909716940193909352935182015292909201516080820152919050565b6040805161190160f01b60208083019190915260228201859052604280830185905283518084039091018152606290920190925280519101205f90611043565b5f805f61368c612d59565b905061369781612d96565b92505f8660028111156136ac576136ac614881565b036136f9576001600160a01b0385165f9081526039602052604090205484106136db576136d881613e64565b92505b6001600160a01b0385165f908152603a602052604090205484101591505b50935093915050565b5f805f61371187878787613ec8565b9150915061371e81613fad565b5090505b949350505050565b5f613738620151804261533f565b6001600160a01b0384165f908152603e6020526040902054909150811115613785576001600160a01b03929092165f908152603e6020908152604080832094909455603d90529190912055565b6001600160a01b0383165f908152603d6020526040812080548492906137ac90849061532c565b9091555050505050565b5f825f0182815481106137cb576137cb614d1f565b905f5260205f200154905092915050565b604080517f353bdd8d69b9e3185b3972e08b03845c0c14a21a390215302776a7a34b0e8764815282516020808301919091528301518183015291015160608201526080902090565b5f808451600281111561383957613839614881565b036138545761384d82848660400151614162565b905061387e565b60018451600281111561386957613869614881565b036131b15761384d8230858760200151613d0c565b80610c39578383836040516341bd7d9160e11b8152600401610bba939291906154eb565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b03166340c10f1960e01b17905291515f928616916138f99161547f565b5f604051808303815f865af19150503d805f8114613932576040519150601f19603f3d011682016040523d82523d5f602084013e613937565b606091505b509095945050505050565b5f61394f84308585613d0c565b905080611043576139618484846138a2565b9050611043565b5f6139768530868686613db5565b9050806137225761398985858585614230565b9050613722565b5f6001600160e01b03198216637965db0b60e01b1480610b7657506301ffc9a760e01b6001600160e01b0319831614610b76565b60605f6139d28360026150a2565b6139dd90600261532c565b6001600160401b038111156139f4576139f46146a8565b6040519080825280601f01601f191660200182016040528015613a1e576020820181803683370190505b509050600360fc1b815f81518110613a3857613a38614d1f565b60200101906001600160f81b03191690815f1a905350600f60fb1b81600181518110613a6657613a66614d1f565b60200101906001600160f81b03191690815f1a9053505f613a888460026150a2565b613a9390600161532c565b90505b6001811115613b0a576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110613ac757613ac7614d1f565b1a60f81b828281518110613add57613add614d1f565b60200101906001600160f81b03191690815f1a90535060049490941c93613b038161551b565b9050613a96565b5083156110435760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610bba565b5f818152600183016020526040812054613b9e57508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610b76565b505f610b76565b5f8181526001830160205260408120548015613c7f575f613bc760018361508f565b85549091505f90613bda9060019061508f565b9050818114613c39575f865f018281548110613bf857613bf8614d1f565b905f5260205f200154905080875f018481548110613c1857613c18614d1f565b5f918252602080832090910192909255918252600188019052604090208390555b8554869080613c4a57613c4a615530565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f905560019350505050610b76565b5f915050610b76565b5f8082516002811115613c9d57613c9d614881565b148015613cad57505f8260400151115b8015610b76575050602001511590565b5f600182516002811115613cd357613cd3614881565b148015610b76575050604001511590565b5f600282516002811115613cfa57613cfa614881565b148015610b7657505060400151151590565b604080516001600160a01b0385811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180516001600160e01b03166323b872dd60e01b17905291515f92871691613d6b9161547f565b5f604051808303815f865af19150503d805f8114613da4576040519150601f19603f3d011682016040523d82523d5f602084013e613da9565b606091505b50909695505050505050565b604080515f808252602082019092526001600160a01b03871690613de490879087908790879060448101615544565b60408051601f198184030181529181526020820180516001600160e01b0316637921219560e11b17905251613e19919061547f565b5f604051808303815f865af19150503d805f8114613e52576040519150601f19603f3d011682016040523d82523d5f602084013e613e57565b606091505b5090979650505050505050565b5f603854600160385484603754613e7b91906150a2565b613e85919061532c565b613e8f919061508f565b613e99919061533f565b9050805f036118e8575f356001600160e01b031916604051639b974b0f60e01b8152600401610bba9190614831565b5f807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115613efd57505f90506003613fa4565b8460ff16601b14158015613f1557508460ff16601c14155b15613f2557505f90506004613fa4565b604080515f8082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015613f76573d5f803e3d5ffd5b5050604051601f1901519150506001600160a01b038116613f9e575f60019250925050613fa4565b91505f90505b94509492505050565b5f816004811115613fc057613fc0614881565b03613fc85750565b6001816004811115613fdc57613fdc614881565b036140295760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610bba565b600281600481111561403d5761403d614881565b0361408a5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610bba565b600381600481111561409e5761409e614881565b036140f65760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610bba565b600481600481111561410a5761410a614881565b03610fd95760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610bba565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663a9059cbb60e01b17905291515f92606092908716916141be919061547f565b5f604051808303815f865af19150503d805f81146141f7576040519150601f19603f3d011682016040523d82523d5f602084013e6141fc565b606091505b509092509050818015614227575080511580614227575080806020019051810190614227919061549a565b95945050505050565b604080515f808252602082019092526001600160a01b0386169061425d9086908690869060448101615588565b60408051601f198184030181529181526020820180516001600160e01b031663731133e960e01b17905251613d6b919061547f565b604080516060810182525f80825260208201529081016142ca6040805160608101909152805f81526020015f81526020015f81525090565b905290565b5f602082840312156142df575f80fd5b81356001600160e01b031981168114611043575f80fd5b6001600160a01b0381168114610fd9575f80fd5b5f6020828403121561431a575f80fd5b8135611043816142f6565b5f8083601f840112614335575f80fd5b5081356001600160401b0381111561434b575f80fd5b6020830191508360208260051b85010111156117e5575f80fd5b5f805f8060408587031215614378575f80fd5b84356001600160401b038082111561438e575f80fd5b61439a88838901614325565b909650945060208701359150808211156143b2575f80fd5b506143bf87828801614325565b95989497509550505050565b5f805f805f80606087890312156143e0575f80fd5b86356001600160401b03808211156143f6575f80fd5b6144028a838b01614325565b9098509650602089013591508082111561441a575f80fd5b6144268a838b01614325565b9096509450604089013591508082111561443e575f80fd5b5061444b89828a01614325565b979a9699509497509295939492505050565b80356118e8816142f6565b5f60208284031215614478575f80fd5b5035919050565b5f8060408385031215614490575f80fd5b8235915060208301356144a2816142f6565b809150509250929050565b5f60a082840312156144bd575f80fd5b50919050565b5f61016082840312156144bd575f80fd5b5f805f61018084860312156144e7575f80fd5b6144f185856144c3565b92506101608401356001600160401b038082111561450d575f80fd5b818601915086601f830112614520575f80fd5b81358181111561452e575f80fd5b876020606083028501011115614542575f80fd5b6020830194508093505050509250925092565b8060608101831015610b76575f80fd5b8060808101831015610b76575f80fd5b5f805f805f805f805f806101208b8d03121561458f575f80fd5b6145988b61445d565b99506145a660208c0161445d565b985060408b0135975060608b0135965060808b0135955060a08b0135945060c08b01356001600160401b03808211156145dd575f80fd5b6145e98e838f01614555565b955060e08d01359150808211156145fe575f80fd5b61460a8e838f01614565565b94506101008d0135915080821115614620575f80fd5b5061462d8d828e01614325565b915080935050809150509295989b9194979a5092959850565b5f8060408385031215614657575f80fd5b8235614662816142f6565b946020939093013593505050565b8035601081106118e8575f80fd5b5f806040838503121561468f575f80fd5b61469883614670565b915060208301356144a2816142f6565b634e487b7160e01b5f52604160045260245ffd5b604051606081016001600160401b03811182821017156146de576146de6146a8565b60405290565b604051601f8201601f191681016001600160401b038111828210171561470c5761470c6146a8565b604052919050565b5f6001600160401b0382111561472c5761472c6146a8565b5060051b60200190565b8015158114610fd9575f80fd5b5f805f805f60608688031215614757575f80fd5b85356001600160401b038082111561476d575f80fd5b61477989838a01614325565b9097509550602091508782013581811115614792575f80fd5b61479e8a828b01614325565b9096509450506040880135818111156147b5575f80fd5b88019050601f810189136147c7575f80fd5b80356147da6147d582614714565b6146e4565b81815260059190911b8201830190838101908b8311156147f8575f80fd5b928401925b8284101561481f57833561481081614736565b825292840192908401906147fd565b80955050505050509295509295909350565b6001600160e01b031991909116815260200190565b5f8060408385031215614857575f80fd5b50508035926020909101359150565b5f6101608284031215614877575f80fd5b61104383836144c3565b634e487b7160e01b5f52602160045260245ffd5b600381106148a5576148a5614881565b9052565b5f6040820190506148bb828451614895565b6020928301516001600160a01b0316919092015290565b5f82601f8301126148e1575f80fd5b813560206148f16147d583614714565b8083825260208201915060208460051b870101935086841115614912575f80fd5b602086015b8481101561492e5780358352918301918301614917565b509695505050505050565b5f82601f830112614948575f80fd5b81356001600160401b03811115614961576149616146a8565b614974601f8201601f19166020016146e4565b818152846020838601011115614988575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f805f60a086880312156149b8575f80fd5b85356149c3816142f6565b945060208601356149d3816142f6565b935060408601356001600160401b03808211156149ee575f80fd5b6149fa89838a016148d2565b94506060880135915080821115614a0f575f80fd5b614a1b89838a016148d2565b93506080880135915080821115614a30575f80fd5b50614a3d88828901614939565b9150509295509295909350565b5f60208284031215614a5a575f80fd5b61104382614670565b5f805f805f805f6080888a031215614a79575f80fd5b87356001600160401b0380821115614a8f575f80fd5b614a9b8b838c01614325565b909950975060208a0135915080821115614ab3575f80fd5b614abf8b838c01614325565b909750955060408a0135915080821115614ad7575f80fd5b614ae38b838c01614325565b909550935060608a0135915080821115614afb575f80fd5b50614b088a828b01614565565b91505092959891949750929550565b5f805f805f60a08688031215614b2b575f80fd5b8535614b36816142f6565b94506020860135614b46816142f6565b9350604086013592506060860135915060808601356001600160401b03811115614b6e575f80fd5b614a3d88828901614939565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b5f82601f830112614bd7575f80fd5b81516020614be76147d583614714565b8083825260208201915060208460051b870101935086841115614c08575f80fd5b602086015b8481101561492e578051614c20816142f6565b8352918301918301614c0d565b6001600160601b0381168114610fd9575f80fd5b5f805f60608486031215614c53575f80fd5b83516001600160401b0380821115614c69575f80fd5b614c7587838801614bc8565b9450602091508186015181811115614c8b575f80fd5b614c9788828901614bc8565b945050604086015181811115614cab575f80fd5b86019050601f81018713614cbd575f80fd5b8051614ccb6147d582614714565b81815260059190911b82018301908381019089831115614ce9575f80fd5b928401925b82841015614d10578351614d0181614c2d565b82529284019290840190614cee565b80955050505050509250925092565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b6001600160601b03818116838216019080821115612d5257612d52614d33565b8035600381106118e8575f80fd5b5f60608284031215614d85575f80fd5b614d8d6146bc565b9050614d9882614d67565b8152602082013560208201526040820135604082015292915050565b5f60a08284031215614dc4575f80fd5b614dcc6146bc565b8235614dd7816142f6565b81526020830135614de7816142f6565b6020820152614df98460408501614d75565b60408201529392505050565b5f60608284031215614e15575f80fd5b614e1d6146bc565b823560ff81168114614e2d575f80fd5b8152602083810135908201526040928301359281019290925250919050565b5f808335601e19843603018112614e61575f80fd5b8301803591506001600160401b03821115614e7a575f80fd5b6020019150600581901b36038213156117e5575f80fd5b5f60208284031215614ea1575f80fd5b813561104381614c2d565b8035600281106118e8575f80fd5b5f60608284031215614eca575f80fd5b614ed26146bc565b90508135614edf816142f6565b81526020820135614eef816142f6565b806020830152506040820135604082015292915050565b5f6101608284031215614f17575f80fd5b60405160a081018181106001600160401b0382111715614f3957614f396146a8565b60405282358152614f4c60208401614eac565b6020820152614f5e8460408501614eba565b6040820152614f708460a08501614eba565b6060820152614f83846101008501614d75565b60808201529392505050565b600281106148a5576148a5614881565b8035614faa816142f6565b6001600160a01b039081168352602082013590614fc6826142f6565b166020830152604090810135910152565b5f6101808201905083825282356020830152614ff560208401614eac565b6150026040840182614f8f565b506150136060830160408501614f9f565b61502360c0830160a08501614f9f565b61012061503e8184016150396101008701614d67565b614895565b61014081850135818501528085013561016085015250509392505050565b5f6020828403121561506c575f80fd5b61104382614d67565b5f60608284031215615085575f80fd5b6110438383614d75565b81810381811115610b7657610b76614d33565b8082028115828204841417610b7657610b76614d33565b5f602082840312156150c9575f80fd5b813561104381614736565b6001600160601b03828116828216039080821115612d5257612d52614d33565b601081106148a5576148a5614881565b60208101610b7682846150f4565b6001600160e01b03198316815260408101600b831061513357615133614881565b8260208301529392505050565b8183525f60208085019450825f5b8581101561517c578135615161816142f6565b6001600160a01b03168752958201959082019060010161514e565b509495945050505050565b604081525f61519a604083018688615140565b82810360208401528381526001600160fb1b038411156151b8575f80fd5b8360051b80866020840137016020019695505050505050565b606081525f6151e460608301888a615140565b602083820360208501526151f982888a615140565b84810360408601528581528692506020015f5b86811015615231576152218261503986614d67565b928201929082019060010161520c565b509a9950505050505050505050565b5f6001820161525157615251614d33565b5060010190565b615263828251614895565b60208181015190830152604090810151910152565b5f6101808201905083825282516020830152602083015161529c6040840182614f8f565b5060408381015180516001600160a01b03908116606086015260208201511660808501529081015160a084015250606083015180516001600160a01b0390811660c085015260208201511660e0840152604081015161010084015250608083015161530b610120840182615258565b509392505050565b5f60208284031215615323575f80fd5b61104382614eac565b80820180821115610b7657610b76614d33565b5f8261535957634e487b7160e01b5f52601260045260245ffd5b500490565b6001600160e01b0319841681526060810161537c60208301856150f4565b6001600160a01b03929092166040919091015292915050565b5f602082840312156153a5575f80fd5b5051919050565b5f5b838110156153c65781810151838201526020016153ae565b50505f910152565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081525f83516154058160178501602088016153ac565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516154368160288401602088016153ac565b01602801949350505050565b5f81518084526154598160208601602086016153ac565b601f01601f19169290920160200192915050565b602081525f6110436020830184615442565b5f82516154908184602087016153ac565b9190910192915050565b5f602082840312156154aa575f80fd5b815161104381614736565b60c081016154c38287615258565b6001600160a01b0394851660608301529284166080820152921660a090920191909152919050565b60a081016154f98286615258565b6001600160a01b03938416606083015291909216608090920191909152919050565b5f8161552957615529614d33565b505f190190565b634e487b7160e01b5f52603160045260245ffd5b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190525f9061557d90830184615442565b979650505050505050565b60018060a01b0385168152836020820152826040820152608060608201525f6155b46080830184615442565b969550505050505056fe7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498a2646970667358221220c6a7eacb7b230132910498f6731b258f7a69a5a03ae63978c6cb11ce1f4c993364736f6c63430008170033\"", + "deployer": "0xd90bB8ED38bcdE74889D66A5d346F6e0E1a244A7", "devdoc": { "version": 1, "kind": "dev", "methods": { "DOMAIN_SEPARATOR()": { - "details": "Returns the domain seperator." + "details": "Returns the domain separator." }, "checkHighTierVoteWeightThreshold(uint256)": { "details": "Checks whether the `_voteWeight` passes the high-tier vote weight threshold." @@ -2473,9 +107,6 @@ "requestDepositFor((address,address,(uint8,uint256,uint256)))": { "details": "Locks the assets and request deposit." }, - "requestDepositForBatch((address,address,(uint8,uint256,uint256))[])": { - "details": "Locks the assets and request deposit for batch." - }, "revokeRole(bytes32,address)": { "details": "Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleRevoked} event." }, @@ -2648,6 +279,11 @@ "details": "Error indicating that a request is invalid." } ], + "ErrInvalidSigner(address,uint256,(uint8,bytes32,bytes32))": [ + { + "details": "Error indicating that the recovered signer from the signature has invalid vote weight." + } + ], "ErrInvalidThreshold(bytes4)": [ { "details": "Error indicating that the provided threshold is invalid for a specific function signature.", @@ -2669,6 +305,21 @@ } } ], + "ErrNullHighTierVoteWeightProvided(bytes4)": [ + { + "details": "Error thrown when the high-tier vote weight threshold is `0`." + } + ], + "ErrNullMinVoteWeightProvided(bytes4)": [ + { + "details": "Error indicating that `_minimumVoteWeight` is returning 0." + } + ], + "ErrNullTotalWeightProvided(bytes4)": [ + { + "details": "Error indicating that the total weight provided is null." + } + ], "ErrQueryForApprovedWithdrawal()": [ { "details": "Error indicating that a query was made for an approved withdrawal." @@ -2747,13 +398,12 @@ } }, "isFoundry": true, - "metadata": "{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"enum ContractType\",\"name\":\"contractType\",\"type\":\"uint8\"}],\"name\":\"ErrContractTypeNotFound\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ErrERC1155MintingFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ErrERC20MintingFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ErrERC721MintingFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ErrEmptyArray\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"msgSig\",\"type\":\"bytes4\"},{\"internalType\":\"uint256\",\"name\":\"actual\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expected\",\"type\":\"uint256\"}],\"name\":\"ErrInvalidChainId\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ErrInvalidInfo\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"msgSig\",\"type\":\"bytes4\"}],\"name\":\"ErrInvalidOrder\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ErrInvalidPercentage\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ErrInvalidReceipt\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ErrInvalidReceiptKind\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ErrInvalidRequest\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"msgSig\",\"type\":\"bytes4\"}],\"name\":\"ErrInvalidThreshold\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ErrInvalidTokenStandard\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"msgSig\",\"type\":\"bytes4\"}],\"name\":\"ErrLengthMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ErrQueryForApprovedWithdrawal\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ErrQueryForInsufficientVoteWeight\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ErrQueryForProcessedWithdrawal\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ErrReachedDailyWithdrawalLimit\",\"type\":\"error\"},{\"inputs\":[{\"components\":[{\"internalType\":\"enum TokenStandard\",\"name\":\"erc\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"quantity\",\"type\":\"uint256\"}],\"internalType\":\"struct TokenInfo\",\"name\":\"tokenInfo\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"ErrTokenCouldNotTransfer\",\"type\":\"error\"},{\"inputs\":[{\"components\":[{\"internalType\":\"enum TokenStandard\",\"name\":\"erc\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"quantity\",\"type\":\"uint256\"}],\"internalType\":\"struct TokenInfo\",\"name\":\"tokenInfo\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"ErrTokenCouldNotTransferFrom\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"msgSig\",\"type\":\"bytes4\"},{\"internalType\":\"enum RoleAccess\",\"name\":\"expectedRole\",\"type\":\"uint8\"}],\"name\":\"ErrUnauthorized\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"msgSig\",\"type\":\"bytes4\"},{\"internalType\":\"enum ContractType\",\"name\":\"expectedContractType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"actual\",\"type\":\"address\"}],\"name\":\"ErrUnexpectedInternalCall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ErrUnsupportedStandard\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ErrUnsupportedToken\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"ErrZeroCodeContract\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"enum ContractType\",\"name\":\"contractType\",\"type\":\"uint8\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"ContractUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"tokens\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"limits\",\"type\":\"uint256[]\"}],\"name\":\"DailyWithdrawalLimitsUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"receiptHash\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"enum Transfer.Kind\",\"name\":\"kind\",\"type\":\"uint8\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenAddr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"}],\"internalType\":\"struct TokenOwner\",\"name\":\"mainchain\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenAddr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"}],\"internalType\":\"struct TokenOwner\",\"name\":\"ronin\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"enum TokenStandard\",\"name\":\"erc\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"quantity\",\"type\":\"uint256\"}],\"internalType\":\"struct TokenInfo\",\"name\":\"info\",\"type\":\"tuple\"}],\"indexed\":false,\"internalType\":\"struct Transfer.Receipt\",\"name\":\"receipt\",\"type\":\"tuple\"}],\"name\":\"DepositRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"tokens\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"thresholds\",\"type\":\"uint256[]\"}],\"name\":\"HighTierThresholdsUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"numerator\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"denominator\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"previousNumerator\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"previousDenominator\",\"type\":\"uint256\"}],\"name\":\"HighTierVoteWeightThresholdUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"tokens\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"thresholds\",\"type\":\"uint256[]\"}],\"name\":\"LockedThresholdsUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"numerator\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"denominator\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"previousNumerator\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"previousDenominator\",\"type\":\"uint256\"}],\"name\":\"ThresholdUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"mainchainTokens\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"roninTokens\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"enum TokenStandard[]\",\"name\":\"standards\",\"type\":\"uint8[]\"}],\"name\":\"TokenMapped\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"tokens\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"percentages\",\"type\":\"uint256[]\"}],\"name\":\"UnlockFeePercentagesUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"receiptHash\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"enum Transfer.Kind\",\"name\":\"kind\",\"type\":\"uint8\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenAddr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"}],\"internalType\":\"struct TokenOwner\",\"name\":\"mainchain\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenAddr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"}],\"internalType\":\"struct TokenOwner\",\"name\":\"ronin\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"enum TokenStandard\",\"name\":\"erc\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"quantity\",\"type\":\"uint256\"}],\"internalType\":\"struct TokenInfo\",\"name\":\"info\",\"type\":\"tuple\"}],\"indexed\":false,\"internalType\":\"struct Transfer.Receipt\",\"name\":\"receipt\",\"type\":\"tuple\"}],\"name\":\"WithdrawalLocked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"receiptHash\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"enum Transfer.Kind\",\"name\":\"kind\",\"type\":\"uint8\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenAddr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"}],\"internalType\":\"struct TokenOwner\",\"name\":\"mainchain\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenAddr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"}],\"internalType\":\"struct TokenOwner\",\"name\":\"ronin\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"enum TokenStandard\",\"name\":\"erc\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"quantity\",\"type\":\"uint256\"}],\"internalType\":\"struct TokenInfo\",\"name\":\"info\",\"type\":\"tuple\"}],\"indexed\":false,\"internalType\":\"struct Transfer.Receipt\",\"name\":\"receipt\",\"type\":\"tuple\"}],\"name\":\"WithdrawalUnlocked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"receiptHash\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"enum Transfer.Kind\",\"name\":\"kind\",\"type\":\"uint8\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenAddr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"}],\"internalType\":\"struct TokenOwner\",\"name\":\"mainchain\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenAddr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"}],\"internalType\":\"struct TokenOwner\",\"name\":\"ronin\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"enum TokenStandard\",\"name\":\"erc\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"quantity\",\"type\":\"uint256\"}],\"internalType\":\"struct TokenInfo\",\"name\":\"info\",\"type\":\"tuple\"}],\"indexed\":false,\"internalType\":\"struct Transfer.Receipt\",\"name\":\"receipt\",\"type\":\"tuple\"}],\"name\":\"Withdrew\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"contract IWETH\",\"name\":\"weth\",\"type\":\"address\"}],\"name\":\"WrappedNativeTokenContractUpdated\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"WITHDRAWAL_UNLOCKER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_MAX_PERCENTAGE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_voteWeight\",\"type\":\"uint256\"}],\"name\":\"checkHighTierVoteWeightThreshold\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_voteWeight\",\"type\":\"uint256\"}],\"name\":\"checkThreshold\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"dailyWithdrawalLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"depositCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"emergencyPauser\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enum ContractType\",\"name\":\"contractType\",\"type\":\"uint8\"}],\"name\":\"getContract\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"contract_\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getHighTierVoteWeightThreshold\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getRoleMember\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleMemberCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"mainchainToken\",\"type\":\"address\"}],\"name\":\"getRoninToken\",\"outputs\":[{\"components\":[{\"internalType\":\"enum TokenStandard\",\"name\":\"erc\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"tokenAddr\",\"type\":\"address\"}],\"internalType\":\"struct MappedTokenConsumer.MappedToken\",\"name\":\"token\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getThreshold\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"num_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"denom_\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"highTierThreshold\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_roleSetter\",\"type\":\"address\"},{\"internalType\":\"contract IWETH\",\"name\":\"_wrappedToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_roninChainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_numerator\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_highTierVWNumerator\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_denominator\",\"type\":\"uint256\"},{\"internalType\":\"address[][3]\",\"name\":\"_addresses\",\"type\":\"address[][3]\"},{\"internalType\":\"uint256[][4]\",\"name\":\"_thresholds\",\"type\":\"uint256[][4]\"},{\"internalType\":\"enum TokenStandard[]\",\"name\":\"_standards\",\"type\":\"uint8[]\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"bridgeManagerContract\",\"type\":\"address\"}],\"name\":\"initializeV2\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"initializeV3\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"wethUnwrapper_\",\"type\":\"address\"}],\"name\":\"initializeV4\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"lastDateSynced\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"lastSyncedWithdrawal\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"lockedThreshold\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_mainchainTokens\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"_roninTokens\",\"type\":\"address[]\"},{\"internalType\":\"enum TokenStandard[]\",\"name\":\"_standards\",\"type\":\"uint8[]\"}],\"name\":\"mapTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_mainchainTokens\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"_roninTokens\",\"type\":\"address[]\"},{\"internalType\":\"enum TokenStandard[]\",\"name\":\"_standards\",\"type\":\"uint8[]\"},{\"internalType\":\"uint256[][4]\",\"name\":\"_thresholds\",\"type\":\"uint256[][4]\"}],\"name\":\"mapTokensAndThresholds\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minimumVoteWeight\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"operators\",\"type\":\"address[]\"},{\"internalType\":\"uint96[]\",\"name\":\"weights\",\"type\":\"uint96[]\"},{\"internalType\":\"bool[]\",\"name\":\"addeds\",\"type\":\"bool[]\"}],\"name\":\"onBridgeOperatorsAdded\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"operators\",\"type\":\"address[]\"},{\"internalType\":\"bool[]\",\"name\":\"removeds\",\"type\":\"bool[]\"}],\"name\":\"onBridgeOperatorsRemoved\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC1155BatchReceived\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC1155Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_quantity\",\"type\":\"uint256\"}],\"name\":\"reachedWithdrawalLimit\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"receiveEther\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"recipientAddr\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenAddr\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enum TokenStandard\",\"name\":\"erc\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"quantity\",\"type\":\"uint256\"}],\"internalType\":\"struct TokenInfo\",\"name\":\"info\",\"type\":\"tuple\"}],\"internalType\":\"struct Transfer.Request\",\"name\":\"_request\",\"type\":\"tuple\"}],\"name\":\"requestDepositFor\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"recipientAddr\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenAddr\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enum TokenStandard\",\"name\":\"erc\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"quantity\",\"type\":\"uint256\"}],\"internalType\":\"struct TokenInfo\",\"name\":\"info\",\"type\":\"tuple\"}],\"internalType\":\"struct Transfer.Request[]\",\"name\":\"_requests\",\"type\":\"tuple[]\"}],\"name\":\"requestDepositForBatch\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"roninChainId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enum ContractType\",\"name\":\"contractType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"setContract\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_limits\",\"type\":\"uint256[]\"}],\"name\":\"setDailyWithdrawalLimits\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addr\",\"type\":\"address\"}],\"name\":\"setEmergencyPauser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_thresholds\",\"type\":\"uint256[]\"}],\"name\":\"setHighTierThresholds\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_numerator\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_denominator\",\"type\":\"uint256\"}],\"name\":\"setHighTierVoteWeightThreshold\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_previousNum\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_previousDenom\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_thresholds\",\"type\":\"uint256[]\"}],\"name\":\"setLockedThresholds\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"num\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"denom\",\"type\":\"uint256\"}],\"name\":\"setThreshold\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_percentages\",\"type\":\"uint256[]\"}],\"name\":\"setUnlockFeePercentages\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IWETH\",\"name\":\"_wrappedToken\",\"type\":\"address\"}],\"name\":\"setWrappedNativeTokenContract\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"enum Transfer.Kind\",\"name\":\"kind\",\"type\":\"uint8\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenAddr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"}],\"internalType\":\"struct TokenOwner\",\"name\":\"mainchain\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenAddr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"}],\"internalType\":\"struct TokenOwner\",\"name\":\"ronin\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"enum TokenStandard\",\"name\":\"erc\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"quantity\",\"type\":\"uint256\"}],\"internalType\":\"struct TokenInfo\",\"name\":\"info\",\"type\":\"tuple\"}],\"internalType\":\"struct Transfer.Receipt\",\"name\":\"_receipt\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"struct SignatureConsumer.Signature[]\",\"name\":\"_signatures\",\"type\":\"tuple[]\"}],\"name\":\"submitWithdrawal\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_locked\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"unlockFeePercentages\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"enum Transfer.Kind\",\"name\":\"kind\",\"type\":\"uint8\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenAddr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"}],\"internalType\":\"struct TokenOwner\",\"name\":\"mainchain\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenAddr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"}],\"internalType\":\"struct TokenOwner\",\"name\":\"ronin\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"enum TokenStandard\",\"name\":\"erc\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"quantity\",\"type\":\"uint256\"}],\"internalType\":\"struct TokenInfo\",\"name\":\"info\",\"type\":\"tuple\"}],\"internalType\":\"struct Transfer.Receipt\",\"name\":\"receipt\",\"type\":\"tuple\"}],\"name\":\"unlockWithdrawal\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"wethUnwrapper\",\"outputs\":[{\"internalType\":\"contract WethUnwrapper\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"withdrawalHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"withdrawalLocked\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"wrappedNativeToken\",\"outputs\":[{\"internalType\":\"contract IWETH\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"errors\":{\"ErrContractTypeNotFound(uint8)\":[{\"details\":\"Error of invalid role.\"}],\"ErrERC1155MintingFailed()\":[{\"details\":\"Error indicating that the mint of ERC1155 tokens has failed.\"}],\"ErrERC20MintingFailed()\":[{\"details\":\"Error indicating that the minting of ERC20 tokens has failed.\"}],\"ErrERC721MintingFailed()\":[{\"details\":\"Error indicating that the minting of ERC721 tokens has failed.\"}],\"ErrEmptyArray()\":[{\"details\":\"Error indicating that an array is empty when it should contain elements.\"}],\"ErrInvalidChainId(bytes4,uint256,uint256)\":[{\"details\":\"Error indicating that the chain ID is invalid.\",\"params\":{\"actual\":\"Current chain ID that executing function.\",\"expected\":\"Expected chain ID required for the tx to success.\",\"msgSig\":\"The function signature (bytes4) of the operation that encountered an invalid chain ID.\"}}],\"ErrInvalidInfo()\":[{\"details\":\"Error indicating that the provided information is invalid.\"}],\"ErrInvalidOrder(bytes4)\":[{\"details\":\"Error indicating that an order is invalid.\",\"params\":{\"msgSig\":\"The function signature (bytes4) of the operation that encountered an invalid order.\"}}],\"ErrInvalidPercentage()\":[{\"details\":\"Error of invalid percentage.\"}],\"ErrInvalidReceipt()\":[{\"details\":\"Error indicating that a receipt is invalid.\"}],\"ErrInvalidReceiptKind()\":[{\"details\":\"Error indicating that a receipt kind is invalid.\"}],\"ErrInvalidRequest()\":[{\"details\":\"Error indicating that a request is invalid.\"}],\"ErrInvalidThreshold(bytes4)\":[{\"details\":\"Error indicating that the provided threshold is invalid for a specific function signature.\",\"params\":{\"msgSig\":\"The function signature (bytes4) that the invalid threshold applies to.\"}}],\"ErrInvalidTokenStandard()\":[{\"details\":\"Error indicating that a token standard is invalid.\"}],\"ErrLengthMismatch(bytes4)\":[{\"details\":\"Error indicating a mismatch in the length of input parameters or arrays for a specific function.\",\"params\":{\"msgSig\":\"The function signature (bytes4) that has a length mismatch.\"}}],\"ErrQueryForApprovedWithdrawal()\":[{\"details\":\"Error indicating that a query was made for an approved withdrawal.\"}],\"ErrQueryForInsufficientVoteWeight()\":[{\"details\":\"Error indicating that a query was made for insufficient vote weight.\"}],\"ErrQueryForProcessedWithdrawal()\":[{\"details\":\"Error indicating that a query was made for a processed withdrawal.\"}],\"ErrReachedDailyWithdrawalLimit()\":[{\"details\":\"Error indicating that the daily withdrawal limit has been reached.\"}],\"ErrTokenCouldNotTransfer((uint8,uint256,uint256),address,address)\":[{\"details\":\"Error indicating that the `transfer` has failed.\",\"params\":{\"to\":\"Receiver of the token value.\",\"token\":\"Address of the token.\",\"tokenInfo\":\"Info of the token including ERC standard, id or quantity.\"}}],\"ErrTokenCouldNotTransferFrom((uint8,uint256,uint256),address,address,address)\":[{\"details\":\"Error indicating that the `handleAssetIn` has failed.\",\"params\":{\"from\":\"Owner of the token value.\",\"to\":\"Receiver of the token value.\",\"token\":\"Address of the token.\",\"tokenInfo\":\"Info of the token including ERC standard, id or quantity.\"}}],\"ErrUnauthorized(bytes4,uint8)\":[{\"details\":\"Error indicating that the caller is unauthorized to perform a specific function.\",\"params\":{\"expectedRole\":\"The role required to perform the function.\",\"msgSig\":\"The function signature (bytes4) that the caller is unauthorized to perform.\"}}],\"ErrUnexpectedInternalCall(bytes4,uint8,address)\":[{\"details\":\"Error indicating that the caller is unauthorized to perform a specific function.\",\"params\":{\"actual\":\"The actual address that called to the function.\",\"expectedContractType\":\"The contract type required to perform the function.\",\"msgSig\":\"The function signature (bytes4).\"}}],\"ErrUnsupportedStandard()\":[{\"details\":\"Error indicating that an unsupported standard is encountered.\"}],\"ErrUnsupportedToken()\":[{\"details\":\"Error indicating that a token is not supported.\"}],\"ErrZeroCodeContract(address)\":[{\"details\":\"Error of set to non-contract.\"}]},\"events\":{\"ContractUpdated(uint8,address)\":{\"details\":\"Emitted when a contract is updated.\"},\"DailyWithdrawalLimitsUpdated(address[],uint256[])\":{\"details\":\"Emitted when the daily limit thresholds are updated\"},\"DepositRequested(bytes32,(uint256,uint8,(address,address,uint256),(address,address,uint256),(uint8,uint256,uint256)))\":{\"details\":\"Emitted when the deposit is requested\"},\"HighTierThresholdsUpdated(address[],uint256[])\":{\"details\":\"Emitted when the thresholds for high-tier withdrawals that requires high-tier vote weights are updated\"},\"HighTierVoteWeightThresholdUpdated(uint256,uint256,uint256,uint256,uint256)\":{\"details\":\"Emitted when the high-tier vote weight threshold is updated\"},\"Initialized(uint8)\":{\"details\":\"Triggered when the contract has been initialized or reinitialized.\"},\"LockedThresholdsUpdated(address[],uint256[])\":{\"details\":\"Emitted when the thresholds for locked withdrawals are updated\"},\"Paused(address)\":{\"details\":\"Emitted when the pause is triggered by `account`.\"},\"RoleAdminChanged(bytes32,bytes32,bytes32)\":{\"details\":\"Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite {RoleAdminChanged} not being emitted signaling this. _Available since v3.1._\"},\"RoleGranted(bytes32,address,address)\":{\"details\":\"Emitted when `account` is granted `role`. `sender` is the account that originated the contract call, an admin role bearer except when using {AccessControl-_setupRole}.\"},\"RoleRevoked(bytes32,address,address)\":{\"details\":\"Emitted when `account` is revoked `role`. `sender` is the account that originated the contract call: - if using `revokeRole`, it is the admin role bearer - if using `renounceRole`, it is the role bearer (i.e. `account`)\"},\"ThresholdUpdated(uint256,uint256,uint256,uint256,uint256)\":{\"details\":\"Emitted when the threshold is updated\"},\"TokenMapped(address[],address[],uint8[])\":{\"details\":\"Emitted when the tokens are mapped\"},\"UnlockFeePercentagesUpdated(address[],uint256[])\":{\"details\":\"Emitted when the fee percentages to unlock withdraw are updated\"},\"Unpaused(address)\":{\"details\":\"Emitted when the pause is lifted by `account`.\"},\"WithdrawalLocked(bytes32,(uint256,uint8,(address,address,uint256),(address,address,uint256),(uint8,uint256,uint256)))\":{\"details\":\"Emitted when the withdrawal is locked\"},\"WithdrawalUnlocked(bytes32,(uint256,uint8,(address,address,uint256),(address,address,uint256),(uint8,uint256,uint256)))\":{\"details\":\"Emitted when the withdrawal is unlocked\"},\"Withdrew(bytes32,(uint256,uint8,(address,address,uint256),(address,address,uint256),(uint8,uint256,uint256)))\":{\"details\":\"Emitted when the assets are withdrawn\"},\"WrappedNativeTokenContractUpdated(address)\":{\"details\":\"Emitted when the wrapped native token contract is updated\"}},\"kind\":\"dev\",\"methods\":{\"DOMAIN_SEPARATOR()\":{\"details\":\"Returns the domain seperator.\"},\"checkHighTierVoteWeightThreshold(uint256)\":{\"details\":\"Checks whether the `_voteWeight` passes the high-tier vote weight threshold.\"},\"checkThreshold(uint256)\":{\"details\":\"Checks whether the `_voteWeight` passes the threshold.\"},\"getContract(uint8)\":{\"details\":\"Returns the address of a contract with a specific role. Throws an error if no contract is set for the specified role.\",\"params\":{\"contractType\":\"The role of the contract to retrieve.\"},\"returns\":{\"contract_\":\"The address of the contract with the specified role.\"}},\"getHighTierVoteWeightThreshold()\":{\"details\":\"Returns the high-tier vote weight threshold.\"},\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\"},\"getRoleMember(bytes32,uint256)\":{\"details\":\"Returns one of the accounts that have `role`. `index` must be a value between 0 and {getRoleMemberCount}, non-inclusive. Role bearers are not sorted in any particular way, and their ordering may change at any point. WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure you perform all queries on the same block. See the following https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] for more information.\"},\"getRoleMemberCount(bytes32)\":{\"details\":\"Returns the number of accounts that have `role`. Can be used together with {getRoleMember} to enumerate all bearers of a role.\"},\"getRoninToken(address)\":{\"details\":\"Returns token address on Ronin network. Note: Reverts for unsupported token.\"},\"getThreshold()\":{\"details\":\"Returns the threshold.\"},\"grantRole(bytes32,address)\":{\"details\":\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleGranted} event.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"initialize(address,address,uint256,uint256,uint256,uint256,address[][3],uint256[][4],uint8[])\":{\"details\":\"Initializes contract storage.\"},\"mapTokens(address[],address[],uint8[])\":{\"details\":\"Maps mainchain tokens to Ronin network. Requirement: - The method caller is admin. - The arrays have the same length and its length larger than 0. Emits the `TokenMapped` event.\"},\"mapTokensAndThresholds(address[],address[],uint8[],uint256[][4])\":{\"details\":\"Maps mainchain tokens to Ronin network and sets thresholds. Requirement: - The method caller is admin. - The arrays have the same length and its length larger than 0. Emits the `TokenMapped` event.\"},\"minimumVoteWeight()\":{\"details\":\"Returns the minimum vote weight to pass the threshold.\"},\"onBridgeOperatorsAdded(address[],uint96[],bool[])\":{\"details\":\"Handles the event when bridge operators are added.\",\"params\":{\"addeds\":\"The corresponding boolean values indicating whether the operators were added or not.\",\"bridgeOperators\":\"The addresses of the bridge operators.\"},\"returns\":{\"_0\":\"The selector of the function being called.\"}},\"onBridgeOperatorsRemoved(address[],bool[])\":{\"details\":\"Handles the event when bridge operators are removed.\",\"params\":{\"bridgeOperators\":\"The addresses of the bridge operators.\",\"removeds\":\"The corresponding boolean values indicating whether the operators were removed or not.\"},\"returns\":{\"_0\":\"The selector of the function being called.\"}},\"pause()\":{\"details\":\"Triggers paused state.\"},\"paused()\":{\"details\":\"Returns true if the contract is paused, and false otherwise.\"},\"reachedWithdrawalLimit(address,uint256)\":{\"details\":\"Checks whether the withdrawal reaches the limitation.\"},\"receiveEther()\":{\"details\":\"Receives ether without doing anything. Use this function to topup native token.\"},\"renounceRole(bytes32,address)\":{\"details\":\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`. May emit a {RoleRevoked} event.\"},\"requestDepositFor((address,address,(uint8,uint256,uint256)))\":{\"details\":\"Locks the assets and request deposit.\"},\"requestDepositForBatch((address,address,(uint8,uint256,uint256))[])\":{\"details\":\"Locks the assets and request deposit for batch.\"},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleRevoked} event.\"},\"setContract(uint8,address)\":{\"details\":\"Sets the address of a contract with a specific role. Emits the event {ContractUpdated}.\",\"params\":{\"addr\":\"The address of the contract to set.\",\"contractType\":\"The role of the contract to set.\"}},\"setDailyWithdrawalLimits(address[],uint256[])\":{\"details\":\"Sets daily limit amounts for the withdrawals. Requirements: - The method caller is admin. - The arrays have the same length and its length larger than 0. Emits the `DailyWithdrawalLimitsUpdated` event.\"},\"setEmergencyPauser(address)\":{\"details\":\"Grant emergency pauser role for `_addr`.\"},\"setHighTierThresholds(address[],uint256[])\":{\"details\":\"Sets the thresholds for high-tier withdrawals that requires high-tier vote weights. Requirements: - The method caller is admin. - The arrays have the same length and its length larger than 0. Emits the `HighTierThresholdsUpdated` event.\"},\"setHighTierVoteWeightThreshold(uint256,uint256)\":{\"details\":\"Sets high-tier vote weight threshold and returns the old one. Requirements: - The method caller is admin. - The high-tier vote weight threshold must equal to or larger than the normal threshold. Emits the `HighTierVoteWeightThresholdUpdated` event.\"},\"setLockedThresholds(address[],uint256[])\":{\"details\":\"Sets the amount thresholds to lock withdrawal. Requirements: - The method caller is admin. - The arrays have the same length and its length larger than 0. Emits the `LockedThresholdsUpdated` event.\"},\"setThreshold(uint256,uint256)\":{\"details\":\"Override `GatewayV3-setThreshold`. Requirements: - The high-tier vote weight threshold must equal to or larger than the normal threshold.\"},\"setUnlockFeePercentages(address[],uint256[])\":{\"details\":\"Sets fee percentages to unlock withdrawal. Requirements: - The method caller is admin. - The arrays have the same length and its length larger than 0. Emits the `UnlockFeePercentagesUpdated` event.\"},\"setWrappedNativeTokenContract(address)\":{\"details\":\"Sets the wrapped native token contract. Requirements: - The method caller is admin. Emits the `WrappedNativeTokenContractUpdated` event.\"},\"submitWithdrawal((uint256,uint8,(address,address,uint256),(address,address,uint256),(uint8,uint256,uint256)),(uint8,bytes32,bytes32)[])\":{\"details\":\"Withdraws based on the receipt and the validator signatures. Returns whether the withdrawal is locked. Emits the `Withdrew` once the assets are released.\"},\"unlockWithdrawal((uint256,uint8,(address,address,uint256),(address,address,uint256),(uint8,uint256,uint256)))\":{\"details\":\"Approves a specific withdrawal. Requirements: - The method caller is a validator. Emits the `Withdrew` once the assets are released.\"},\"unpause()\":{\"details\":\"Triggers unpaused state.\"}},\"stateVariables\":{\"WITHDRAWAL_UNLOCKER_ROLE\":{\"details\":\"Withdrawal unlocker role hash\"},\"______deprecatedBridgeOperatorAddedBlock\":{\"custom:deprecated\":\"Previously `_bridgeOperatorAddedBlock` (mapping(address => uint256))\"},\"______deprecatedBridgeOperators\":{\"custom:deprecated\":\"Previously `_bridgeOperators` (uint256[])\"},\"_domainSeparator\":{\"details\":\"Domain separator\"},\"_roninToken\":{\"details\":\"Mapping from mainchain token => token address on Ronin network\"},\"depositCount\":{\"details\":\"Total deposit\"},\"roninChainId\":{\"details\":\"Ronin network id\"},\"withdrawalHash\":{\"details\":\"Mapping from withdrawal id => withdrawal hash\"},\"withdrawalLocked\":{\"details\":\"Mapping from withdrawal id => locked\"},\"wrappedNativeToken\":{\"details\":\"Wrapped native token address\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"unlockFeePercentages(address)\":{\"notice\":\"Values 0-1,000,000 map to 0%-100%\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/mainchain/MainchainGatewayV3.sol\":\"MainchainGatewayV3\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@fdk/=lib/foundry-deployment-kit/script/\",\":@openzeppelin/=lib/openzeppelin-contracts/\",\":@prb/math/=lib/prb-math/\",\":@prb/test/=lib/prb-test/src/\",\":@ronin/contracts/=src/\",\":@ronin/script/=script/\",\":@ronin/test/=test/\",\":contract-libs/=lib/foundry-deployment-kit/lib/contract-libs/src/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":erc4626-tests/=lib/foundry-deployment-kit/lib/openzeppelin-contracts/lib/erc4626-tests/\",\":forge-std/=lib/foundry-deployment-kit/lib/forge-std/src/\",\":foundry-deployment-kit/=lib/foundry-deployment-kit/\",\":hardhat/=node_modules/hardhat/\",\":openzeppelin-contracts/=lib/openzeppelin-contracts/\",\":openzeppelin/=lib/foundry-deployment-kit/lib/openzeppelin-contracts/contracts/\",\":prb-math/=lib/prb-math/src/\",\":prb-test/=lib/prb-test/src/\",\":sample-projects/=node_modules/hardhat/sample-projects/\",\":solady/=lib/solady/src/\"]},\"sources\":{\"lib/openzeppelin-contracts/contracts/access/AccessControl.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (access/AccessControl.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./IAccessControl.sol\\\";\\nimport \\\"../utils/Context.sol\\\";\\nimport \\\"../utils/Strings.sol\\\";\\nimport \\\"../utils/introspection/ERC165.sol\\\";\\n\\n/**\\n * @dev Contract module that allows children to implement role-based access\\n * control mechanisms. This is a lightweight version that doesn't allow enumerating role\\n * members except through off-chain means by accessing the contract event logs. Some\\n * applications may benefit from on-chain enumerability, for those cases see\\n * {AccessControlEnumerable}.\\n *\\n * Roles are referred to by their `bytes32` identifier. These should be exposed\\n * in the external API and be unique. The best way to achieve this is by\\n * using `public constant` hash digests:\\n *\\n * ```\\n * bytes32 public constant MY_ROLE = keccak256(\\\"MY_ROLE\\\");\\n * ```\\n *\\n * Roles can be used to represent a set of permissions. To restrict access to a\\n * function call, use {hasRole}:\\n *\\n * ```\\n * function foo() public {\\n * require(hasRole(MY_ROLE, msg.sender));\\n * ...\\n * }\\n * ```\\n *\\n * Roles can be granted and revoked dynamically via the {grantRole} and\\n * {revokeRole} functions. Each role has an associated admin role, and only\\n * accounts that have a role's admin role can call {grantRole} and {revokeRole}.\\n *\\n * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means\\n * that only accounts with this role will be able to grant or revoke other\\n * roles. More complex role relationships can be created by using\\n * {_setRoleAdmin}.\\n *\\n * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to\\n * grant and revoke this role. Extra precautions should be taken to secure\\n * accounts that have been granted it.\\n */\\nabstract contract AccessControl is Context, IAccessControl, ERC165 {\\n struct RoleData {\\n mapping(address => bool) members;\\n bytes32 adminRole;\\n }\\n\\n mapping(bytes32 => RoleData) private _roles;\\n\\n bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;\\n\\n /**\\n * @dev Modifier that checks that an account has a specific role. Reverts\\n * with a standardized message including the required role.\\n *\\n * The format of the revert reason is given by the following regular expression:\\n *\\n * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/\\n *\\n * _Available since v4.1._\\n */\\n modifier onlyRole(bytes32 role) {\\n _checkRole(role);\\n _;\\n }\\n\\n /**\\n * @dev See {IERC165-supportsInterface}.\\n */\\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\\n return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);\\n }\\n\\n /**\\n * @dev Returns `true` if `account` has been granted `role`.\\n */\\n function hasRole(bytes32 role, address account) public view virtual override returns (bool) {\\n return _roles[role].members[account];\\n }\\n\\n /**\\n * @dev Revert with a standard message if `_msgSender()` is missing `role`.\\n * Overriding this function changes the behavior of the {onlyRole} modifier.\\n *\\n * Format of the revert message is described in {_checkRole}.\\n *\\n * _Available since v4.6._\\n */\\n function _checkRole(bytes32 role) internal view virtual {\\n _checkRole(role, _msgSender());\\n }\\n\\n /**\\n * @dev Revert with a standard message if `account` is missing `role`.\\n *\\n * The format of the revert reason is given by the following regular expression:\\n *\\n * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/\\n */\\n function _checkRole(bytes32 role, address account) internal view virtual {\\n if (!hasRole(role, account)) {\\n revert(\\n string(\\n abi.encodePacked(\\n \\\"AccessControl: account \\\",\\n Strings.toHexString(uint160(account), 20),\\n \\\" is missing role \\\",\\n Strings.toHexString(uint256(role), 32)\\n )\\n )\\n );\\n }\\n }\\n\\n /**\\n * @dev Returns the admin role that controls `role`. See {grantRole} and\\n * {revokeRole}.\\n *\\n * To change a role's admin, use {_setRoleAdmin}.\\n */\\n function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {\\n return _roles[role].adminRole;\\n }\\n\\n /**\\n * @dev Grants `role` to `account`.\\n *\\n * If `account` had not been already granted `role`, emits a {RoleGranted}\\n * event.\\n *\\n * Requirements:\\n *\\n * - the caller must have ``role``'s admin role.\\n *\\n * May emit a {RoleGranted} event.\\n */\\n function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {\\n _grantRole(role, account);\\n }\\n\\n /**\\n * @dev Revokes `role` from `account`.\\n *\\n * If `account` had been granted `role`, emits a {RoleRevoked} event.\\n *\\n * Requirements:\\n *\\n * - the caller must have ``role``'s admin role.\\n *\\n * May emit a {RoleRevoked} event.\\n */\\n function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {\\n _revokeRole(role, account);\\n }\\n\\n /**\\n * @dev Revokes `role` from the calling account.\\n *\\n * Roles are often managed via {grantRole} and {revokeRole}: this function's\\n * purpose is to provide a mechanism for accounts to lose their privileges\\n * if they are compromised (such as when a trusted device is misplaced).\\n *\\n * If the calling account had been revoked `role`, emits a {RoleRevoked}\\n * event.\\n *\\n * Requirements:\\n *\\n * - the caller must be `account`.\\n *\\n * May emit a {RoleRevoked} event.\\n */\\n function renounceRole(bytes32 role, address account) public virtual override {\\n require(account == _msgSender(), \\\"AccessControl: can only renounce roles for self\\\");\\n\\n _revokeRole(role, account);\\n }\\n\\n /**\\n * @dev Grants `role` to `account`.\\n *\\n * If `account` had not been already granted `role`, emits a {RoleGranted}\\n * event. Note that unlike {grantRole}, this function doesn't perform any\\n * checks on the calling account.\\n *\\n * May emit a {RoleGranted} event.\\n *\\n * [WARNING]\\n * ====\\n * This function should only be called from the constructor when setting\\n * up the initial roles for the system.\\n *\\n * Using this function in any other way is effectively circumventing the admin\\n * system imposed by {AccessControl}.\\n * ====\\n *\\n * NOTE: This function is deprecated in favor of {_grantRole}.\\n */\\n function _setupRole(bytes32 role, address account) internal virtual {\\n _grantRole(role, account);\\n }\\n\\n /**\\n * @dev Sets `adminRole` as ``role``'s admin role.\\n *\\n * Emits a {RoleAdminChanged} event.\\n */\\n function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {\\n bytes32 previousAdminRole = getRoleAdmin(role);\\n _roles[role].adminRole = adminRole;\\n emit RoleAdminChanged(role, previousAdminRole, adminRole);\\n }\\n\\n /**\\n * @dev Grants `role` to `account`.\\n *\\n * Internal function without access restriction.\\n *\\n * May emit a {RoleGranted} event.\\n */\\n function _grantRole(bytes32 role, address account) internal virtual {\\n if (!hasRole(role, account)) {\\n _roles[role].members[account] = true;\\n emit RoleGranted(role, account, _msgSender());\\n }\\n }\\n\\n /**\\n * @dev Revokes `role` from `account`.\\n *\\n * Internal function without access restriction.\\n *\\n * May emit a {RoleRevoked} event.\\n */\\n function _revokeRole(bytes32 role, address account) internal virtual {\\n if (hasRole(role, account)) {\\n _roles[role].members[account] = false;\\n emit RoleRevoked(role, account, _msgSender());\\n }\\n }\\n}\\n\",\"keccak256\":\"0x5b35d8e68aeaccc685239bd9dd79b9ba01a0357930f8a3307ab85511733d9724\",\"license\":\"MIT\"},\"lib/openzeppelin-contracts/contracts/access/AccessControlEnumerable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControlEnumerable.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./IAccessControlEnumerable.sol\\\";\\nimport \\\"./AccessControl.sol\\\";\\nimport \\\"../utils/structs/EnumerableSet.sol\\\";\\n\\n/**\\n * @dev Extension of {AccessControl} that allows enumerating the members of each role.\\n */\\nabstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl {\\n using EnumerableSet for EnumerableSet.AddressSet;\\n\\n mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers;\\n\\n /**\\n * @dev See {IERC165-supportsInterface}.\\n */\\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\\n return interfaceId == type(IAccessControlEnumerable).interfaceId || super.supportsInterface(interfaceId);\\n }\\n\\n /**\\n * @dev Returns one of the accounts that have `role`. `index` must be a\\n * value between 0 and {getRoleMemberCount}, non-inclusive.\\n *\\n * Role bearers are not sorted in any particular way, and their ordering may\\n * change at any point.\\n *\\n * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure\\n * you perform all queries on the same block. See the following\\n * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]\\n * for more information.\\n */\\n function getRoleMember(bytes32 role, uint256 index) public view virtual override returns (address) {\\n return _roleMembers[role].at(index);\\n }\\n\\n /**\\n * @dev Returns the number of accounts that have `role`. Can be used\\n * together with {getRoleMember} to enumerate all bearers of a role.\\n */\\n function getRoleMemberCount(bytes32 role) public view virtual override returns (uint256) {\\n return _roleMembers[role].length();\\n }\\n\\n /**\\n * @dev Overload {_grantRole} to track enumerable memberships\\n */\\n function _grantRole(bytes32 role, address account) internal virtual override {\\n super._grantRole(role, account);\\n _roleMembers[role].add(account);\\n }\\n\\n /**\\n * @dev Overload {_revokeRole} to track enumerable memberships\\n */\\n function _revokeRole(bytes32 role, address account) internal virtual override {\\n super._revokeRole(role, account);\\n _roleMembers[role].remove(account);\\n }\\n}\\n\",\"keccak256\":\"0x13f5e15f2a0650c0b6aaee2ef19e89eaf4870d6e79662d572a393334c1397247\",\"license\":\"MIT\"},\"lib/openzeppelin-contracts/contracts/access/IAccessControl.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev External interface of AccessControl declared to support ERC165 detection.\\n */\\ninterface IAccessControl {\\n /**\\n * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`\\n *\\n * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite\\n * {RoleAdminChanged} not being emitted signaling this.\\n *\\n * _Available since v3.1._\\n */\\n event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);\\n\\n /**\\n * @dev Emitted when `account` is granted `role`.\\n *\\n * `sender` is the account that originated the contract call, an admin role\\n * bearer except when using {AccessControl-_setupRole}.\\n */\\n event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);\\n\\n /**\\n * @dev Emitted when `account` is revoked `role`.\\n *\\n * `sender` is the account that originated the contract call:\\n * - if using `revokeRole`, it is the admin role bearer\\n * - if using `renounceRole`, it is the role bearer (i.e. `account`)\\n */\\n event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);\\n\\n /**\\n * @dev Returns `true` if `account` has been granted `role`.\\n */\\n function hasRole(bytes32 role, address account) external view returns (bool);\\n\\n /**\\n * @dev Returns the admin role that controls `role`. See {grantRole} and\\n * {revokeRole}.\\n *\\n * To change a role's admin, use {AccessControl-_setRoleAdmin}.\\n */\\n function getRoleAdmin(bytes32 role) external view returns (bytes32);\\n\\n /**\\n * @dev Grants `role` to `account`.\\n *\\n * If `account` had not been already granted `role`, emits a {RoleGranted}\\n * event.\\n *\\n * Requirements:\\n *\\n * - the caller must have ``role``'s admin role.\\n */\\n function grantRole(bytes32 role, address account) external;\\n\\n /**\\n * @dev Revokes `role` from `account`.\\n *\\n * If `account` had been granted `role`, emits a {RoleRevoked} event.\\n *\\n * Requirements:\\n *\\n * - the caller must have ``role``'s admin role.\\n */\\n function revokeRole(bytes32 role, address account) external;\\n\\n /**\\n * @dev Revokes `role` from the calling account.\\n *\\n * Roles are often managed via {grantRole} and {revokeRole}: this function's\\n * purpose is to provide a mechanism for accounts to lose their privileges\\n * if they are compromised (such as when a trusted device is misplaced).\\n *\\n * If the calling account had been granted `role`, emits a {RoleRevoked}\\n * event.\\n *\\n * Requirements:\\n *\\n * - the caller must be `account`.\\n */\\n function renounceRole(bytes32 role, address account) external;\\n}\\n\",\"keccak256\":\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\",\"license\":\"MIT\"},\"lib/openzeppelin-contracts/contracts/access/IAccessControlEnumerable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (access/IAccessControlEnumerable.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./IAccessControl.sol\\\";\\n\\n/**\\n * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.\\n */\\ninterface IAccessControlEnumerable is IAccessControl {\\n /**\\n * @dev Returns one of the accounts that have `role`. `index` must be a\\n * value between 0 and {getRoleMemberCount}, non-inclusive.\\n *\\n * Role bearers are not sorted in any particular way, and their ordering may\\n * change at any point.\\n *\\n * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure\\n * you perform all queries on the same block. See the following\\n * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]\\n * for more information.\\n */\\n function getRoleMember(bytes32 role, uint256 index) external view returns (address);\\n\\n /**\\n * @dev Returns the number of accounts that have `role`. Can be used\\n * together with {getRoleMember} to enumerate all bearers of a role.\\n */\\n function getRoleMemberCount(bytes32 role) external view returns (uint256);\\n}\\n\",\"keccak256\":\"0xba4459ab871dfa300f5212c6c30178b63898c03533a1ede28436f11546626676\",\"license\":\"MIT\"},\"lib/openzeppelin-contracts/contracts/interfaces/draft-IERC1822.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.5.0) (interfaces/draft-IERC1822.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified\\n * proxy whose upgrades are fully controlled by the current implementation.\\n */\\ninterface IERC1822Proxiable {\\n /**\\n * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation\\n * address.\\n *\\n * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\\n * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\\n * function revert if invoked through a proxy.\\n */\\n function proxiableUUID() external view returns (bytes32);\\n}\\n\",\"keccak256\":\"0x1d4afe6cb24200cc4545eed814ecf5847277dfe5d613a1707aad5fceecebcfff\",\"license\":\"MIT\"},\"lib/openzeppelin-contracts/contracts/proxy/ERC1967/ERC1967Proxy.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (proxy/ERC1967/ERC1967Proxy.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../Proxy.sol\\\";\\nimport \\\"./ERC1967Upgrade.sol\\\";\\n\\n/**\\n * @dev This contract implements an upgradeable proxy. It is upgradeable because calls are delegated to an\\n * implementation address that can be changed. This address is stored in storage in the location specified by\\n * https://eips.ethereum.org/EIPS/eip-1967[EIP1967], so that it doesn't conflict with the storage layout of the\\n * implementation behind the proxy.\\n */\\ncontract ERC1967Proxy is Proxy, ERC1967Upgrade {\\n /**\\n * @dev Initializes the upgradeable proxy with an initial implementation specified by `_logic`.\\n *\\n * If `_data` is nonempty, it's used as data in a delegate call to `_logic`. This will typically be an encoded\\n * function call, and allows initializing the storage of the proxy like a Solidity constructor.\\n */\\n constructor(address _logic, bytes memory _data) payable {\\n _upgradeToAndCall(_logic, _data, false);\\n }\\n\\n /**\\n * @dev Returns the current implementation address.\\n */\\n function _implementation() internal view virtual override returns (address impl) {\\n return ERC1967Upgrade._getImplementation();\\n }\\n}\\n\",\"keccak256\":\"0xa2b22da3032e50b55f95ec1d13336102d675f341167aa76db571ef7f8bb7975d\",\"license\":\"MIT\"},\"lib/openzeppelin-contracts/contracts/proxy/ERC1967/ERC1967Upgrade.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.5.0) (proxy/ERC1967/ERC1967Upgrade.sol)\\n\\npragma solidity ^0.8.2;\\n\\nimport \\\"../beacon/IBeacon.sol\\\";\\nimport \\\"../../interfaces/draft-IERC1822.sol\\\";\\nimport \\\"../../utils/Address.sol\\\";\\nimport \\\"../../utils/StorageSlot.sol\\\";\\n\\n/**\\n * @dev This abstract contract provides getters and event emitting update functions for\\n * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.\\n *\\n * _Available since v4.1._\\n *\\n * @custom:oz-upgrades-unsafe-allow delegatecall\\n */\\nabstract contract ERC1967Upgrade {\\n // This is the keccak-256 hash of \\\"eip1967.proxy.rollback\\\" subtracted by 1\\n bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143;\\n\\n /**\\n * @dev Storage slot with the address of the current implementation.\\n * This is the keccak-256 hash of \\\"eip1967.proxy.implementation\\\" subtracted by 1, and is\\n * validated in the constructor.\\n */\\n bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\\n\\n /**\\n * @dev Emitted when the implementation is upgraded.\\n */\\n event Upgraded(address indexed implementation);\\n\\n /**\\n * @dev Returns the current implementation address.\\n */\\n function _getImplementation() internal view returns (address) {\\n return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\\n }\\n\\n /**\\n * @dev Stores a new address in the EIP1967 implementation slot.\\n */\\n function _setImplementation(address newImplementation) private {\\n require(Address.isContract(newImplementation), \\\"ERC1967: new implementation is not a contract\\\");\\n StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\\n }\\n\\n /**\\n * @dev Perform implementation upgrade\\n *\\n * Emits an {Upgraded} event.\\n */\\n function _upgradeTo(address newImplementation) internal {\\n _setImplementation(newImplementation);\\n emit Upgraded(newImplementation);\\n }\\n\\n /**\\n * @dev Perform implementation upgrade with additional setup call.\\n *\\n * Emits an {Upgraded} event.\\n */\\n function _upgradeToAndCall(\\n address newImplementation,\\n bytes memory data,\\n bool forceCall\\n ) internal {\\n _upgradeTo(newImplementation);\\n if (data.length > 0 || forceCall) {\\n Address.functionDelegateCall(newImplementation, data);\\n }\\n }\\n\\n /**\\n * @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call.\\n *\\n * Emits an {Upgraded} event.\\n */\\n function _upgradeToAndCallUUPS(\\n address newImplementation,\\n bytes memory data,\\n bool forceCall\\n ) internal {\\n // Upgrades from old implementations will perform a rollback test. This test requires the new\\n // implementation to upgrade back to the old, non-ERC1822 compliant, implementation. Removing\\n // this special case will break upgrade paths from old UUPS implementation to new ones.\\n if (StorageSlot.getBooleanSlot(_ROLLBACK_SLOT).value) {\\n _setImplementation(newImplementation);\\n } else {\\n try IERC1822Proxiable(newImplementation).proxiableUUID() returns (bytes32 slot) {\\n require(slot == _IMPLEMENTATION_SLOT, \\\"ERC1967Upgrade: unsupported proxiableUUID\\\");\\n } catch {\\n revert(\\\"ERC1967Upgrade: new implementation is not UUPS\\\");\\n }\\n _upgradeToAndCall(newImplementation, data, forceCall);\\n }\\n }\\n\\n /**\\n * @dev Storage slot with the admin of the contract.\\n * This is the keccak-256 hash of \\\"eip1967.proxy.admin\\\" subtracted by 1, and is\\n * validated in the constructor.\\n */\\n bytes32 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;\\n\\n /**\\n * @dev Emitted when the admin account has changed.\\n */\\n event AdminChanged(address previousAdmin, address newAdmin);\\n\\n /**\\n * @dev Returns the current admin.\\n */\\n function _getAdmin() internal view returns (address) {\\n return StorageSlot.getAddressSlot(_ADMIN_SLOT).value;\\n }\\n\\n /**\\n * @dev Stores a new address in the EIP1967 admin slot.\\n */\\n function _setAdmin(address newAdmin) private {\\n require(newAdmin != address(0), \\\"ERC1967: new admin is the zero address\\\");\\n StorageSlot.getAddressSlot(_ADMIN_SLOT).value = newAdmin;\\n }\\n\\n /**\\n * @dev Changes the admin of the proxy.\\n *\\n * Emits an {AdminChanged} event.\\n */\\n function _changeAdmin(address newAdmin) internal {\\n emit AdminChanged(_getAdmin(), newAdmin);\\n _setAdmin(newAdmin);\\n }\\n\\n /**\\n * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.\\n * This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor.\\n */\\n bytes32 internal constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;\\n\\n /**\\n * @dev Emitted when the beacon is upgraded.\\n */\\n event BeaconUpgraded(address indexed beacon);\\n\\n /**\\n * @dev Returns the current beacon.\\n */\\n function _getBeacon() internal view returns (address) {\\n return StorageSlot.getAddressSlot(_BEACON_SLOT).value;\\n }\\n\\n /**\\n * @dev Stores a new beacon in the EIP1967 beacon slot.\\n */\\n function _setBeacon(address newBeacon) private {\\n require(Address.isContract(newBeacon), \\\"ERC1967: new beacon is not a contract\\\");\\n require(\\n Address.isContract(IBeacon(newBeacon).implementation()),\\n \\\"ERC1967: beacon implementation is not a contract\\\"\\n );\\n StorageSlot.getAddressSlot(_BEACON_SLOT).value = newBeacon;\\n }\\n\\n /**\\n * @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does\\n * not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that).\\n *\\n * Emits a {BeaconUpgraded} event.\\n */\\n function _upgradeBeaconToAndCall(\\n address newBeacon,\\n bytes memory data,\\n bool forceCall\\n ) internal {\\n _setBeacon(newBeacon);\\n emit BeaconUpgraded(newBeacon);\\n if (data.length > 0 || forceCall) {\\n Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data);\\n }\\n }\\n}\\n\",\"keccak256\":\"0xabf3f59bc0e5423eae45e459dbe92e7052c6983628d39008590edc852a62f94a\",\"license\":\"MIT\"},\"lib/openzeppelin-contracts/contracts/proxy/Proxy.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.6.0) (proxy/Proxy.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM\\n * instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to\\n * be specified by overriding the virtual {_implementation} function.\\n *\\n * Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a\\n * different contract through the {_delegate} function.\\n *\\n * The success and return data of the delegated call will be returned back to the caller of the proxy.\\n */\\nabstract contract Proxy {\\n /**\\n * @dev Delegates the current call to `implementation`.\\n *\\n * This function does not return to its internal call site, it will return directly to the external caller.\\n */\\n function _delegate(address implementation) internal virtual {\\n assembly {\\n // Copy msg.data. We take full control of memory in this inline assembly\\n // block because it will not return to Solidity code. We overwrite the\\n // Solidity scratch pad at memory position 0.\\n calldatacopy(0, 0, calldatasize())\\n\\n // Call the implementation.\\n // out and outsize are 0 because we don't know the size yet.\\n let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0)\\n\\n // Copy the returned data.\\n returndatacopy(0, 0, returndatasize())\\n\\n switch result\\n // delegatecall returns 0 on error.\\n case 0 {\\n revert(0, returndatasize())\\n }\\n default {\\n return(0, returndatasize())\\n }\\n }\\n }\\n\\n /**\\n * @dev This is a virtual function that should be overridden so it returns the address to which the fallback function\\n * and {_fallback} should delegate.\\n */\\n function _implementation() internal view virtual returns (address);\\n\\n /**\\n * @dev Delegates the current call to the address returned by `_implementation()`.\\n *\\n * This function does not return to its internal call site, it will return directly to the external caller.\\n */\\n function _fallback() internal virtual {\\n _beforeFallback();\\n _delegate(_implementation());\\n }\\n\\n /**\\n * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other\\n * function in the contract matches the call data.\\n */\\n fallback() external payable virtual {\\n _fallback();\\n }\\n\\n /**\\n * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data\\n * is empty.\\n */\\n receive() external payable virtual {\\n _fallback();\\n }\\n\\n /**\\n * @dev Hook that is called before falling back to the implementation. Can happen as part of a manual `_fallback`\\n * call, or as part of the Solidity `fallback` or `receive` functions.\\n *\\n * If overridden should call `super._beforeFallback()`.\\n */\\n function _beforeFallback() internal virtual {}\\n}\\n\",\"keccak256\":\"0xc130fe33f1b2132158531a87734153293f6d07bc263ff4ac90e85da9c82c0e27\",\"license\":\"MIT\"},\"lib/openzeppelin-contracts/contracts/proxy/beacon/IBeacon.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (proxy/beacon/IBeacon.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev This is the interface that {BeaconProxy} expects of its beacon.\\n */\\ninterface IBeacon {\\n /**\\n * @dev Must return an address that can be used as a delegate call target.\\n *\\n * {BeaconProxy} will check that this address is a contract.\\n */\\n function implementation() external view returns (address);\\n}\\n\",\"keccak256\":\"0xd50a3421ac379ccb1be435fa646d66a65c986b4924f0849839f08692f39dde61\",\"license\":\"MIT\"},\"lib/openzeppelin-contracts/contracts/proxy/transparent/TransparentUpgradeableProxy.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (proxy/transparent/TransparentUpgradeableProxy.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../ERC1967/ERC1967Proxy.sol\\\";\\n\\n/**\\n * @dev This contract implements a proxy that is upgradeable by an admin.\\n *\\n * To avoid https://medium.com/nomic-labs-blog/malicious-backdoors-in-ethereum-proxies-62629adf3357[proxy selector\\n * clashing], which can potentially be used in an attack, this contract uses the\\n * https://blog.openzeppelin.com/the-transparent-proxy-pattern/[transparent proxy pattern]. This pattern implies two\\n * things that go hand in hand:\\n *\\n * 1. If any account other than the admin calls the proxy, the call will be forwarded to the implementation, even if\\n * that call matches one of the admin functions exposed by the proxy itself.\\n * 2. If the admin calls the proxy, it can access the admin functions, but its calls will never be forwarded to the\\n * implementation. If the admin tries to call a function on the implementation it will fail with an error that says\\n * \\\"admin cannot fallback to proxy target\\\".\\n *\\n * These properties mean that the admin account can only be used for admin actions like upgrading the proxy or changing\\n * the admin, so it's best if it's a dedicated account that is not used for anything else. This will avoid headaches due\\n * to sudden errors when trying to call a function from the proxy implementation.\\n *\\n * Our recommendation is for the dedicated account to be an instance of the {ProxyAdmin} contract. If set up this way,\\n * you should think of the `ProxyAdmin` instance as the real administrative interface of your proxy.\\n */\\ncontract TransparentUpgradeableProxy is ERC1967Proxy {\\n /**\\n * @dev Initializes an upgradeable proxy managed by `_admin`, backed by the implementation at `_logic`, and\\n * optionally initialized with `_data` as explained in {ERC1967Proxy-constructor}.\\n */\\n constructor(\\n address _logic,\\n address admin_,\\n bytes memory _data\\n ) payable ERC1967Proxy(_logic, _data) {\\n _changeAdmin(admin_);\\n }\\n\\n /**\\n * @dev Modifier used internally that will delegate the call to the implementation unless the sender is the admin.\\n */\\n modifier ifAdmin() {\\n if (msg.sender == _getAdmin()) {\\n _;\\n } else {\\n _fallback();\\n }\\n }\\n\\n /**\\n * @dev Returns the current admin.\\n *\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyAdmin}.\\n *\\n * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the\\n * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.\\n * `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`\\n */\\n function admin() external ifAdmin returns (address admin_) {\\n admin_ = _getAdmin();\\n }\\n\\n /**\\n * @dev Returns the current implementation.\\n *\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyImplementation}.\\n *\\n * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the\\n * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.\\n * `0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc`\\n */\\n function implementation() external ifAdmin returns (address implementation_) {\\n implementation_ = _implementation();\\n }\\n\\n /**\\n * @dev Changes the admin of the proxy.\\n *\\n * Emits an {AdminChanged} event.\\n *\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-changeProxyAdmin}.\\n */\\n function changeAdmin(address newAdmin) external virtual ifAdmin {\\n _changeAdmin(newAdmin);\\n }\\n\\n /**\\n * @dev Upgrade the implementation of the proxy.\\n *\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-upgrade}.\\n */\\n function upgradeTo(address newImplementation) external ifAdmin {\\n _upgradeToAndCall(newImplementation, bytes(\\\"\\\"), false);\\n }\\n\\n /**\\n * @dev Upgrade the implementation of the proxy, and then call a function from the new implementation as specified\\n * by `data`, which should be an encoded function call. This is useful to initialize new storage variables in the\\n * proxied contract.\\n *\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-upgradeAndCall}.\\n */\\n function upgradeToAndCall(address newImplementation, bytes calldata data) external payable ifAdmin {\\n _upgradeToAndCall(newImplementation, data, true);\\n }\\n\\n /**\\n * @dev Returns the current admin.\\n */\\n function _admin() internal view virtual returns (address) {\\n return _getAdmin();\\n }\\n\\n /**\\n * @dev Makes sure the admin cannot access the fallback function. See {Proxy-_beforeFallback}.\\n */\\n function _beforeFallback() internal virtual override {\\n require(msg.sender != _getAdmin(), \\\"TransparentUpgradeableProxy: admin cannot fallback to proxy target\\\");\\n super._beforeFallback();\\n }\\n}\\n\",\"keccak256\":\"0xa6a787e7a901af6511e19aa53e1a00352db215a011d2c7a438d0582dd5da76f9\",\"license\":\"MIT\"},\"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (proxy/utils/Initializable.sol)\\n\\npragma solidity ^0.8.2;\\n\\nimport \\\"../../utils/Address.sol\\\";\\n\\n/**\\n * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed\\n * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an\\n * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer\\n * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.\\n *\\n * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be\\n * reused. This mechanism prevents re-execution of each \\\"step\\\" but allows the creation of new initialization steps in\\n * case an upgrade adds a module that needs to be initialized.\\n *\\n * For example:\\n *\\n * [.hljs-theme-light.nopadding]\\n * ```\\n * contract MyToken is ERC20Upgradeable {\\n * function initialize() initializer public {\\n * __ERC20_init(\\\"MyToken\\\", \\\"MTK\\\");\\n * }\\n * }\\n * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {\\n * function initializeV2() reinitializer(2) public {\\n * __ERC20Permit_init(\\\"MyToken\\\");\\n * }\\n * }\\n * ```\\n *\\n * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as\\n * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.\\n *\\n * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure\\n * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.\\n *\\n * [CAUTION]\\n * ====\\n * Avoid leaving a contract uninitialized.\\n *\\n * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation\\n * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke\\n * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:\\n *\\n * [.hljs-theme-light.nopadding]\\n * ```\\n * /// @custom:oz-upgrades-unsafe-allow constructor\\n * constructor() {\\n * _disableInitializers();\\n * }\\n * ```\\n * ====\\n */\\nabstract contract Initializable {\\n /**\\n * @dev Indicates that the contract has been initialized.\\n * @custom:oz-retyped-from bool\\n */\\n uint8 private _initialized;\\n\\n /**\\n * @dev Indicates that the contract is in the process of being initialized.\\n */\\n bool private _initializing;\\n\\n /**\\n * @dev Triggered when the contract has been initialized or reinitialized.\\n */\\n event Initialized(uint8 version);\\n\\n /**\\n * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,\\n * `onlyInitializing` functions can be used to initialize parent contracts. Equivalent to `reinitializer(1)`.\\n */\\n modifier initializer() {\\n bool isTopLevelCall = !_initializing;\\n require(\\n (isTopLevelCall && _initialized < 1) || (!Address.isContract(address(this)) && _initialized == 1),\\n \\\"Initializable: contract is already initialized\\\"\\n );\\n _initialized = 1;\\n if (isTopLevelCall) {\\n _initializing = true;\\n }\\n _;\\n if (isTopLevelCall) {\\n _initializing = false;\\n emit Initialized(1);\\n }\\n }\\n\\n /**\\n * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the\\n * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be\\n * used to initialize parent contracts.\\n *\\n * `initializer` is equivalent to `reinitializer(1)`, so a reinitializer may be used after the original\\n * initialization step. This is essential to configure modules that are added through upgrades and that require\\n * initialization.\\n *\\n * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in\\n * a contract, executing them in the right order is up to the developer or operator.\\n */\\n modifier reinitializer(uint8 version) {\\n require(!_initializing && _initialized < version, \\\"Initializable: contract is already initialized\\\");\\n _initialized = version;\\n _initializing = true;\\n _;\\n _initializing = false;\\n emit Initialized(version);\\n }\\n\\n /**\\n * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the\\n * {initializer} and {reinitializer} modifiers, directly or indirectly.\\n */\\n modifier onlyInitializing() {\\n require(_initializing, \\\"Initializable: contract is not initializing\\\");\\n _;\\n }\\n\\n /**\\n * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.\\n * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized\\n * to any version. It is recommended to use this to lock implementation contracts that are designed to be called\\n * through proxies.\\n */\\n function _disableInitializers() internal virtual {\\n require(!_initializing, \\\"Initializable: contract is initializing\\\");\\n if (_initialized < type(uint8).max) {\\n _initialized = type(uint8).max;\\n emit Initialized(type(uint8).max);\\n }\\n }\\n}\\n\",\"keccak256\":\"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66\",\"license\":\"MIT\"},\"lib/openzeppelin-contracts/contracts/security/Pausable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../utils/Context.sol\\\";\\n\\n/**\\n * @dev Contract module which allows children to implement an emergency stop\\n * mechanism that can be triggered by an authorized account.\\n *\\n * This module is used through inheritance. It will make available the\\n * modifiers `whenNotPaused` and `whenPaused`, which can be applied to\\n * the functions of your contract. Note that they will not be pausable by\\n * simply including this module, only once the modifiers are put in place.\\n */\\nabstract contract Pausable is Context {\\n /**\\n * @dev Emitted when the pause is triggered by `account`.\\n */\\n event Paused(address account);\\n\\n /**\\n * @dev Emitted when the pause is lifted by `account`.\\n */\\n event Unpaused(address account);\\n\\n bool private _paused;\\n\\n /**\\n * @dev Initializes the contract in unpaused state.\\n */\\n constructor() {\\n _paused = false;\\n }\\n\\n /**\\n * @dev Modifier to make a function callable only when the contract is not paused.\\n *\\n * Requirements:\\n *\\n * - The contract must not be paused.\\n */\\n modifier whenNotPaused() {\\n _requireNotPaused();\\n _;\\n }\\n\\n /**\\n * @dev Modifier to make a function callable only when the contract is paused.\\n *\\n * Requirements:\\n *\\n * - The contract must be paused.\\n */\\n modifier whenPaused() {\\n _requirePaused();\\n _;\\n }\\n\\n /**\\n * @dev Returns true if the contract is paused, and false otherwise.\\n */\\n function paused() public view virtual returns (bool) {\\n return _paused;\\n }\\n\\n /**\\n * @dev Throws if the contract is paused.\\n */\\n function _requireNotPaused() internal view virtual {\\n require(!paused(), \\\"Pausable: paused\\\");\\n }\\n\\n /**\\n * @dev Throws if the contract is not paused.\\n */\\n function _requirePaused() internal view virtual {\\n require(paused(), \\\"Pausable: not paused\\\");\\n }\\n\\n /**\\n * @dev Triggers stopped state.\\n *\\n * Requirements:\\n *\\n * - The contract must not be paused.\\n */\\n function _pause() internal virtual whenNotPaused {\\n _paused = true;\\n emit Paused(_msgSender());\\n }\\n\\n /**\\n * @dev Returns to normal state.\\n *\\n * Requirements:\\n *\\n * - The contract must be paused.\\n */\\n function _unpause() internal virtual whenPaused {\\n _paused = false;\\n emit Unpaused(_msgSender());\\n }\\n}\\n\",\"keccak256\":\"0x0849d93b16c9940beb286a7864ed02724b248b93e0d80ef6355af5ef15c64773\",\"license\":\"MIT\"},\"lib/openzeppelin-contracts/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\"},\"lib/openzeppelin-contracts/contracts/token/ERC1155/ERC1155.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/ERC1155.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./IERC1155.sol\\\";\\nimport \\\"./IERC1155Receiver.sol\\\";\\nimport \\\"./extensions/IERC1155MetadataURI.sol\\\";\\nimport \\\"../../utils/Address.sol\\\";\\nimport \\\"../../utils/Context.sol\\\";\\nimport \\\"../../utils/introspection/ERC165.sol\\\";\\n\\n/**\\n * @dev Implementation of the basic standard multi-token.\\n * See https://eips.ethereum.org/EIPS/eip-1155\\n * Originally based on code by Enjin: https://github.com/enjin/erc-1155\\n *\\n * _Available since v3.1._\\n */\\ncontract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {\\n using Address for address;\\n\\n // Mapping from token ID to account balances\\n mapping(uint256 => mapping(address => uint256)) private _balances;\\n\\n // Mapping from account to operator approvals\\n mapping(address => mapping(address => bool)) private _operatorApprovals;\\n\\n // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json\\n string private _uri;\\n\\n /**\\n * @dev See {_setURI}.\\n */\\n constructor(string memory uri_) {\\n _setURI(uri_);\\n }\\n\\n /**\\n * @dev See {IERC165-supportsInterface}.\\n */\\n function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {\\n return\\n interfaceId == type(IERC1155).interfaceId ||\\n interfaceId == type(IERC1155MetadataURI).interfaceId ||\\n super.supportsInterface(interfaceId);\\n }\\n\\n /**\\n * @dev See {IERC1155MetadataURI-uri}.\\n *\\n * This implementation returns the same URI for *all* token types. It relies\\n * on the token type ID substitution mechanism\\n * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].\\n *\\n * Clients calling this function must replace the `\\\\{id\\\\}` substring with the\\n * actual token type ID.\\n */\\n function uri(uint256) public view virtual override returns (string memory) {\\n return _uri;\\n }\\n\\n /**\\n * @dev See {IERC1155-balanceOf}.\\n *\\n * Requirements:\\n *\\n * - `account` cannot be the zero address.\\n */\\n function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {\\n require(account != address(0), \\\"ERC1155: address zero is not a valid owner\\\");\\n return _balances[id][account];\\n }\\n\\n /**\\n * @dev See {IERC1155-balanceOfBatch}.\\n *\\n * Requirements:\\n *\\n * - `accounts` and `ids` must have the same length.\\n */\\n function balanceOfBatch(address[] memory accounts, uint256[] memory ids)\\n public\\n view\\n virtual\\n override\\n returns (uint256[] memory)\\n {\\n require(accounts.length == ids.length, \\\"ERC1155: accounts and ids length mismatch\\\");\\n\\n uint256[] memory batchBalances = new uint256[](accounts.length);\\n\\n for (uint256 i = 0; i < accounts.length; ++i) {\\n batchBalances[i] = balanceOf(accounts[i], ids[i]);\\n }\\n\\n return batchBalances;\\n }\\n\\n /**\\n * @dev See {IERC1155-setApprovalForAll}.\\n */\\n function setApprovalForAll(address operator, bool approved) public virtual override {\\n _setApprovalForAll(_msgSender(), operator, approved);\\n }\\n\\n /**\\n * @dev See {IERC1155-isApprovedForAll}.\\n */\\n function isApprovedForAll(address account, address operator) public view virtual override returns (bool) {\\n return _operatorApprovals[account][operator];\\n }\\n\\n /**\\n * @dev See {IERC1155-safeTransferFrom}.\\n */\\n function safeTransferFrom(\\n address from,\\n address to,\\n uint256 id,\\n uint256 amount,\\n bytes memory data\\n ) public virtual override {\\n require(\\n from == _msgSender() || isApprovedForAll(from, _msgSender()),\\n \\\"ERC1155: caller is not token owner nor approved\\\"\\n );\\n _safeTransferFrom(from, to, id, amount, data);\\n }\\n\\n /**\\n * @dev See {IERC1155-safeBatchTransferFrom}.\\n */\\n function safeBatchTransferFrom(\\n address from,\\n address to,\\n uint256[] memory ids,\\n uint256[] memory amounts,\\n bytes memory data\\n ) public virtual override {\\n require(\\n from == _msgSender() || isApprovedForAll(from, _msgSender()),\\n \\\"ERC1155: caller is not token owner nor approved\\\"\\n );\\n _safeBatchTransferFrom(from, to, ids, amounts, data);\\n }\\n\\n /**\\n * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.\\n *\\n * Emits a {TransferSingle} event.\\n *\\n * Requirements:\\n *\\n * - `to` cannot be the zero address.\\n * - `from` must have a balance of tokens of type `id` of at least `amount`.\\n * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the\\n * acceptance magic value.\\n */\\n function _safeTransferFrom(\\n address from,\\n address to,\\n uint256 id,\\n uint256 amount,\\n bytes memory data\\n ) internal virtual {\\n require(to != address(0), \\\"ERC1155: transfer to the zero address\\\");\\n\\n address operator = _msgSender();\\n uint256[] memory ids = _asSingletonArray(id);\\n uint256[] memory amounts = _asSingletonArray(amount);\\n\\n _beforeTokenTransfer(operator, from, to, ids, amounts, data);\\n\\n uint256 fromBalance = _balances[id][from];\\n require(fromBalance >= amount, \\\"ERC1155: insufficient balance for transfer\\\");\\n unchecked {\\n _balances[id][from] = fromBalance - amount;\\n }\\n _balances[id][to] += amount;\\n\\n emit TransferSingle(operator, from, to, id, amount);\\n\\n _afterTokenTransfer(operator, from, to, ids, amounts, data);\\n\\n _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);\\n }\\n\\n /**\\n * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.\\n *\\n * Emits a {TransferBatch} event.\\n *\\n * Requirements:\\n *\\n * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the\\n * acceptance magic value.\\n */\\n function _safeBatchTransferFrom(\\n address from,\\n address to,\\n uint256[] memory ids,\\n uint256[] memory amounts,\\n bytes memory data\\n ) internal virtual {\\n require(ids.length == amounts.length, \\\"ERC1155: ids and amounts length mismatch\\\");\\n require(to != address(0), \\\"ERC1155: transfer to the zero address\\\");\\n\\n address operator = _msgSender();\\n\\n _beforeTokenTransfer(operator, from, to, ids, amounts, data);\\n\\n for (uint256 i = 0; i < ids.length; ++i) {\\n uint256 id = ids[i];\\n uint256 amount = amounts[i];\\n\\n uint256 fromBalance = _balances[id][from];\\n require(fromBalance >= amount, \\\"ERC1155: insufficient balance for transfer\\\");\\n unchecked {\\n _balances[id][from] = fromBalance - amount;\\n }\\n _balances[id][to] += amount;\\n }\\n\\n emit TransferBatch(operator, from, to, ids, amounts);\\n\\n _afterTokenTransfer(operator, from, to, ids, amounts, data);\\n\\n _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);\\n }\\n\\n /**\\n * @dev Sets a new URI for all token types, by relying on the token type ID\\n * substitution mechanism\\n * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].\\n *\\n * By this mechanism, any occurrence of the `\\\\{id\\\\}` substring in either the\\n * URI or any of the amounts in the JSON file at said URI will be replaced by\\n * clients with the token type ID.\\n *\\n * For example, the `https://token-cdn-domain/\\\\{id\\\\}.json` URI would be\\n * interpreted by clients as\\n * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`\\n * for token type ID 0x4cce0.\\n *\\n * See {uri}.\\n *\\n * Because these URIs cannot be meaningfully represented by the {URI} event,\\n * this function emits no events.\\n */\\n function _setURI(string memory newuri) internal virtual {\\n _uri = newuri;\\n }\\n\\n /**\\n * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`.\\n *\\n * Emits a {TransferSingle} event.\\n *\\n * Requirements:\\n *\\n * - `to` cannot be the zero address.\\n * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the\\n * acceptance magic value.\\n */\\n function _mint(\\n address to,\\n uint256 id,\\n uint256 amount,\\n bytes memory data\\n ) internal virtual {\\n require(to != address(0), \\\"ERC1155: mint to the zero address\\\");\\n\\n address operator = _msgSender();\\n uint256[] memory ids = _asSingletonArray(id);\\n uint256[] memory amounts = _asSingletonArray(amount);\\n\\n _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);\\n\\n _balances[id][to] += amount;\\n emit TransferSingle(operator, address(0), to, id, amount);\\n\\n _afterTokenTransfer(operator, address(0), to, ids, amounts, data);\\n\\n _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data);\\n }\\n\\n /**\\n * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.\\n *\\n * Emits a {TransferBatch} event.\\n *\\n * Requirements:\\n *\\n * - `ids` and `amounts` must have the same length.\\n * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the\\n * acceptance magic value.\\n */\\n function _mintBatch(\\n address to,\\n uint256[] memory ids,\\n uint256[] memory amounts,\\n bytes memory data\\n ) internal virtual {\\n require(to != address(0), \\\"ERC1155: mint to the zero address\\\");\\n require(ids.length == amounts.length, \\\"ERC1155: ids and amounts length mismatch\\\");\\n\\n address operator = _msgSender();\\n\\n _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);\\n\\n for (uint256 i = 0; i < ids.length; i++) {\\n _balances[ids[i]][to] += amounts[i];\\n }\\n\\n emit TransferBatch(operator, address(0), to, ids, amounts);\\n\\n _afterTokenTransfer(operator, address(0), to, ids, amounts, data);\\n\\n _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);\\n }\\n\\n /**\\n * @dev Destroys `amount` tokens of token type `id` from `from`\\n *\\n * Emits a {TransferSingle} event.\\n *\\n * Requirements:\\n *\\n * - `from` cannot be the zero address.\\n * - `from` must have at least `amount` tokens of token type `id`.\\n */\\n function _burn(\\n address from,\\n uint256 id,\\n uint256 amount\\n ) internal virtual {\\n require(from != address(0), \\\"ERC1155: burn from the zero address\\\");\\n\\n address operator = _msgSender();\\n uint256[] memory ids = _asSingletonArray(id);\\n uint256[] memory amounts = _asSingletonArray(amount);\\n\\n _beforeTokenTransfer(operator, from, address(0), ids, amounts, \\\"\\\");\\n\\n uint256 fromBalance = _balances[id][from];\\n require(fromBalance >= amount, \\\"ERC1155: burn amount exceeds balance\\\");\\n unchecked {\\n _balances[id][from] = fromBalance - amount;\\n }\\n\\n emit TransferSingle(operator, from, address(0), id, amount);\\n\\n _afterTokenTransfer(operator, from, address(0), ids, amounts, \\\"\\\");\\n }\\n\\n /**\\n * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.\\n *\\n * Emits a {TransferBatch} event.\\n *\\n * Requirements:\\n *\\n * - `ids` and `amounts` must have the same length.\\n */\\n function _burnBatch(\\n address from,\\n uint256[] memory ids,\\n uint256[] memory amounts\\n ) internal virtual {\\n require(from != address(0), \\\"ERC1155: burn from the zero address\\\");\\n require(ids.length == amounts.length, \\\"ERC1155: ids and amounts length mismatch\\\");\\n\\n address operator = _msgSender();\\n\\n _beforeTokenTransfer(operator, from, address(0), ids, amounts, \\\"\\\");\\n\\n for (uint256 i = 0; i < ids.length; i++) {\\n uint256 id = ids[i];\\n uint256 amount = amounts[i];\\n\\n uint256 fromBalance = _balances[id][from];\\n require(fromBalance >= amount, \\\"ERC1155: burn amount exceeds balance\\\");\\n unchecked {\\n _balances[id][from] = fromBalance - amount;\\n }\\n }\\n\\n emit TransferBatch(operator, from, address(0), ids, amounts);\\n\\n _afterTokenTransfer(operator, from, address(0), ids, amounts, \\\"\\\");\\n }\\n\\n /**\\n * @dev Approve `operator` to operate on all of `owner` tokens\\n *\\n * Emits an {ApprovalForAll} event.\\n */\\n function _setApprovalForAll(\\n address owner,\\n address operator,\\n bool approved\\n ) internal virtual {\\n require(owner != operator, \\\"ERC1155: setting approval status for self\\\");\\n _operatorApprovals[owner][operator] = approved;\\n emit ApprovalForAll(owner, operator, approved);\\n }\\n\\n /**\\n * @dev Hook that is called before any token transfer. This includes minting\\n * and burning, as well as batched variants.\\n *\\n * The same hook is called on both single and batched variants. For single\\n * transfers, the length of the `ids` and `amounts` arrays will be 1.\\n *\\n * Calling conditions (for each `id` and `amount` pair):\\n *\\n * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\n * of token type `id` will be transferred to `to`.\\n * - When `from` is zero, `amount` tokens of token type `id` will be minted\\n * for `to`.\\n * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`\\n * will be burned.\\n * - `from` and `to` are never both zero.\\n * - `ids` and `amounts` have the same, non-zero length.\\n *\\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\n */\\n function _beforeTokenTransfer(\\n address operator,\\n address from,\\n address to,\\n uint256[] memory ids,\\n uint256[] memory amounts,\\n bytes memory data\\n ) internal virtual {}\\n\\n /**\\n * @dev Hook that is called after any token transfer. This includes minting\\n * and burning, as well as batched variants.\\n *\\n * The same hook is called on both single and batched variants. For single\\n * transfers, the length of the `id` and `amount` arrays will be 1.\\n *\\n * Calling conditions (for each `id` and `amount` pair):\\n *\\n * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\n * of token type `id` will be transferred to `to`.\\n * - When `from` is zero, `amount` tokens of token type `id` will be minted\\n * for `to`.\\n * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`\\n * will be burned.\\n * - `from` and `to` are never both zero.\\n * - `ids` and `amounts` have the same, non-zero length.\\n *\\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\n */\\n function _afterTokenTransfer(\\n address operator,\\n address from,\\n address to,\\n uint256[] memory ids,\\n uint256[] memory amounts,\\n bytes memory data\\n ) internal virtual {}\\n\\n function _doSafeTransferAcceptanceCheck(\\n address operator,\\n address from,\\n address to,\\n uint256 id,\\n uint256 amount,\\n bytes memory data\\n ) private {\\n if (to.isContract()) {\\n try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {\\n if (response != IERC1155Receiver.onERC1155Received.selector) {\\n revert(\\\"ERC1155: ERC1155Receiver rejected tokens\\\");\\n }\\n } catch Error(string memory reason) {\\n revert(reason);\\n } catch {\\n revert(\\\"ERC1155: transfer to non ERC1155Receiver implementer\\\");\\n }\\n }\\n }\\n\\n function _doSafeBatchTransferAcceptanceCheck(\\n address operator,\\n address from,\\n address to,\\n uint256[] memory ids,\\n uint256[] memory amounts,\\n bytes memory data\\n ) private {\\n if (to.isContract()) {\\n try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (\\n bytes4 response\\n ) {\\n if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {\\n revert(\\\"ERC1155: ERC1155Receiver rejected tokens\\\");\\n }\\n } catch Error(string memory reason) {\\n revert(reason);\\n } catch {\\n revert(\\\"ERC1155: transfer to non ERC1155Receiver implementer\\\");\\n }\\n }\\n }\\n\\n function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {\\n uint256[] memory array = new uint256[](1);\\n array[0] = element;\\n\\n return array;\\n }\\n}\\n\",\"keccak256\":\"0x447a21c87433c0f11252912313a96f3454629ef88cca7a4eefbb283b3ec409f9\",\"license\":\"MIT\"},\"lib/openzeppelin-contracts/contracts/token/ERC1155/IERC1155.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../../utils/introspection/IERC165.sol\\\";\\n\\n/**\\n * @dev Required interface of an ERC1155 compliant contract, as defined in the\\n * https://eips.ethereum.org/EIPS/eip-1155[EIP].\\n *\\n * _Available since v3.1._\\n */\\ninterface IERC1155 is IERC165 {\\n /**\\n * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.\\n */\\n event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);\\n\\n /**\\n * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all\\n * transfers.\\n */\\n event TransferBatch(\\n address indexed operator,\\n address indexed from,\\n address indexed to,\\n uint256[] ids,\\n uint256[] values\\n );\\n\\n /**\\n * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to\\n * `approved`.\\n */\\n event ApprovalForAll(address indexed account, address indexed operator, bool approved);\\n\\n /**\\n * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.\\n *\\n * If an {URI} event was emitted for `id`, the standard\\n * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value\\n * returned by {IERC1155MetadataURI-uri}.\\n */\\n event URI(string value, uint256 indexed id);\\n\\n /**\\n * @dev Returns the amount of tokens of token type `id` owned by `account`.\\n *\\n * Requirements:\\n *\\n * - `account` cannot be the zero address.\\n */\\n function balanceOf(address account, uint256 id) external view returns (uint256);\\n\\n /**\\n * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.\\n *\\n * Requirements:\\n *\\n * - `accounts` and `ids` must have the same length.\\n */\\n function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)\\n external\\n view\\n returns (uint256[] memory);\\n\\n /**\\n * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,\\n *\\n * Emits an {ApprovalForAll} event.\\n *\\n * Requirements:\\n *\\n * - `operator` cannot be the caller.\\n */\\n function setApprovalForAll(address operator, bool approved) external;\\n\\n /**\\n * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.\\n *\\n * See {setApprovalForAll}.\\n */\\n function isApprovedForAll(address account, address operator) external view returns (bool);\\n\\n /**\\n * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.\\n *\\n * Emits a {TransferSingle} event.\\n *\\n * Requirements:\\n *\\n * - `to` cannot be the zero address.\\n * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}.\\n * - `from` must have a balance of tokens of type `id` of at least `amount`.\\n * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the\\n * acceptance magic value.\\n */\\n function safeTransferFrom(\\n address from,\\n address to,\\n uint256 id,\\n uint256 amount,\\n bytes calldata data\\n ) external;\\n\\n /**\\n * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.\\n *\\n * Emits a {TransferBatch} event.\\n *\\n * Requirements:\\n *\\n * - `ids` and `amounts` must have the same length.\\n * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the\\n * acceptance magic value.\\n */\\n function safeBatchTransferFrom(\\n address from,\\n address to,\\n uint256[] calldata ids,\\n uint256[] calldata amounts,\\n bytes calldata data\\n ) external;\\n}\\n\",\"keccak256\":\"0x6392f2cfe3a5ee802227fe7a2dfd47096d881aec89bddd214b35c5b46d3cd941\",\"license\":\"MIT\"},\"lib/openzeppelin-contracts/contracts/token/ERC1155/IERC1155Receiver.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../../utils/introspection/IERC165.sol\\\";\\n\\n/**\\n * @dev _Available since v3.1._\\n */\\ninterface IERC1155Receiver is IERC165 {\\n /**\\n * @dev Handles the receipt of a single ERC1155 token type. This function is\\n * called at the end of a `safeTransferFrom` after the balance has been updated.\\n *\\n * NOTE: To accept the transfer, this must return\\n * `bytes4(keccak256(\\\"onERC1155Received(address,address,uint256,uint256,bytes)\\\"))`\\n * (i.e. 0xf23a6e61, or its own function selector).\\n *\\n * @param operator The address which initiated the transfer (i.e. msg.sender)\\n * @param from The address which previously owned the token\\n * @param id The ID of the token being transferred\\n * @param value The amount of tokens being transferred\\n * @param data Additional data with no specified format\\n * @return `bytes4(keccak256(\\\"onERC1155Received(address,address,uint256,uint256,bytes)\\\"))` if transfer is allowed\\n */\\n function onERC1155Received(\\n address operator,\\n address from,\\n uint256 id,\\n uint256 value,\\n bytes calldata data\\n ) external returns (bytes4);\\n\\n /**\\n * @dev Handles the receipt of a multiple ERC1155 token types. This function\\n * is called at the end of a `safeBatchTransferFrom` after the balances have\\n * been updated.\\n *\\n * NOTE: To accept the transfer(s), this must return\\n * `bytes4(keccak256(\\\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\\\"))`\\n * (i.e. 0xbc197c81, or its own function selector).\\n *\\n * @param operator The address which initiated the batch transfer (i.e. msg.sender)\\n * @param from The address which previously owned the token\\n * @param ids An array containing ids of each token being transferred (order and length must match values array)\\n * @param values An array containing amounts of each token being transferred (order and length must match ids array)\\n * @param data Additional data with no specified format\\n * @return `bytes4(keccak256(\\\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\\\"))` if transfer is allowed\\n */\\n function onERC1155BatchReceived(\\n address operator,\\n address from,\\n uint256[] calldata ids,\\n uint256[] calldata values,\\n bytes calldata data\\n ) external returns (bytes4);\\n}\\n\",\"keccak256\":\"0xeb373f1fdc7b755c6a750123a9b9e3a8a02c1470042fd6505d875000a80bde0b\",\"license\":\"MIT\"},\"lib/openzeppelin-contracts/contracts/token/ERC1155/extensions/ERC1155Burnable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/extensions/ERC1155Burnable.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../ERC1155.sol\\\";\\n\\n/**\\n * @dev Extension of {ERC1155} that allows token holders to destroy both their\\n * own tokens and those that they have been approved to use.\\n *\\n * _Available since v3.1._\\n */\\nabstract contract ERC1155Burnable is ERC1155 {\\n function burn(\\n address account,\\n uint256 id,\\n uint256 value\\n ) public virtual {\\n require(\\n account == _msgSender() || isApprovedForAll(account, _msgSender()),\\n \\\"ERC1155: caller is not token owner nor approved\\\"\\n );\\n\\n _burn(account, id, value);\\n }\\n\\n function burnBatch(\\n address account,\\n uint256[] memory ids,\\n uint256[] memory values\\n ) public virtual {\\n require(\\n account == _msgSender() || isApprovedForAll(account, _msgSender()),\\n \\\"ERC1155: caller is not token owner nor approved\\\"\\n );\\n\\n _burnBatch(account, ids, values);\\n }\\n}\\n\",\"keccak256\":\"0xb11d1ade7146ac3da122e1f387ea82b0bd385d50823946c3f967dbffef3e9f4f\",\"license\":\"MIT\"},\"lib/openzeppelin-contracts/contracts/token/ERC1155/extensions/ERC1155Pausable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/ERC1155Pausable.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../ERC1155.sol\\\";\\nimport \\\"../../../security/Pausable.sol\\\";\\n\\n/**\\n * @dev ERC1155 token with pausable token transfers, minting and burning.\\n *\\n * Useful for scenarios such as preventing trades until the end of an evaluation\\n * period, or having an emergency switch for freezing all token transfers in the\\n * event of a large bug.\\n *\\n * _Available since v3.1._\\n */\\nabstract contract ERC1155Pausable is ERC1155, Pausable {\\n /**\\n * @dev See {ERC1155-_beforeTokenTransfer}.\\n *\\n * Requirements:\\n *\\n * - the contract must not be paused.\\n */\\n function _beforeTokenTransfer(\\n address operator,\\n address from,\\n address to,\\n uint256[] memory ids,\\n uint256[] memory amounts,\\n bytes memory data\\n ) internal virtual override {\\n super._beforeTokenTransfer(operator, from, to, ids, amounts, data);\\n\\n require(!paused(), \\\"ERC1155Pausable: token transfer while paused\\\");\\n }\\n}\\n\",\"keccak256\":\"0xdad22b949de979bb2ad9001c044b2aeaacf8a25e3de09ed6f022a9469f936d5b\",\"license\":\"MIT\"},\"lib/openzeppelin-contracts/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../IERC1155.sol\\\";\\n\\n/**\\n * @dev Interface of the optional ERC1155MetadataExtension interface, as defined\\n * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].\\n *\\n * _Available since v3.1._\\n */\\ninterface IERC1155MetadataURI is IERC1155 {\\n /**\\n * @dev Returns the URI for token type `id`.\\n *\\n * If the `\\\\{id\\\\}` substring is present in the URI, it must be replaced by\\n * clients with the actual token type ID.\\n */\\n function uri(uint256 id) external view returns (string memory);\\n}\\n\",\"keccak256\":\"0xa66d18b9a85458d28fc3304717964502ae36f7f8a2ff35bc83f6f85d74b03574\",\"license\":\"MIT\"},\"lib/openzeppelin-contracts/contracts/token/ERC1155/presets/ERC1155PresetMinterPauser.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/presets/ERC1155PresetMinterPauser.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../ERC1155.sol\\\";\\nimport \\\"../extensions/ERC1155Burnable.sol\\\";\\nimport \\\"../extensions/ERC1155Pausable.sol\\\";\\nimport \\\"../../../access/AccessControlEnumerable.sol\\\";\\nimport \\\"../../../utils/Context.sol\\\";\\n\\n/**\\n * @dev {ERC1155} token, including:\\n *\\n * - ability for holders to burn (destroy) their tokens\\n * - a minter role that allows for token minting (creation)\\n * - a pauser role that allows to stop all token transfers\\n *\\n * This contract uses {AccessControl} to lock permissioned functions using the\\n * different roles - head to its documentation for details.\\n *\\n * The account that deploys the contract will be granted the minter and pauser\\n * roles, as well as the default admin role, which will let it grant both minter\\n * and pauser roles to other accounts.\\n *\\n * _Deprecated in favor of https://wizard.openzeppelin.com/[Contracts Wizard]._\\n */\\ncontract ERC1155PresetMinterPauser is Context, AccessControlEnumerable, ERC1155Burnable, ERC1155Pausable {\\n bytes32 public constant MINTER_ROLE = keccak256(\\\"MINTER_ROLE\\\");\\n bytes32 public constant PAUSER_ROLE = keccak256(\\\"PAUSER_ROLE\\\");\\n\\n /**\\n * @dev Grants `DEFAULT_ADMIN_ROLE`, `MINTER_ROLE`, and `PAUSER_ROLE` to the account that\\n * deploys the contract.\\n */\\n constructor(string memory uri) ERC1155(uri) {\\n _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());\\n\\n _setupRole(MINTER_ROLE, _msgSender());\\n _setupRole(PAUSER_ROLE, _msgSender());\\n }\\n\\n /**\\n * @dev Creates `amount` new tokens for `to`, of token type `id`.\\n *\\n * See {ERC1155-_mint}.\\n *\\n * Requirements:\\n *\\n * - the caller must have the `MINTER_ROLE`.\\n */\\n function mint(\\n address to,\\n uint256 id,\\n uint256 amount,\\n bytes memory data\\n ) public virtual {\\n require(hasRole(MINTER_ROLE, _msgSender()), \\\"ERC1155PresetMinterPauser: must have minter role to mint\\\");\\n\\n _mint(to, id, amount, data);\\n }\\n\\n /**\\n * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] variant of {mint}.\\n */\\n function mintBatch(\\n address to,\\n uint256[] memory ids,\\n uint256[] memory amounts,\\n bytes memory data\\n ) public virtual {\\n require(hasRole(MINTER_ROLE, _msgSender()), \\\"ERC1155PresetMinterPauser: must have minter role to mint\\\");\\n\\n _mintBatch(to, ids, amounts, data);\\n }\\n\\n /**\\n * @dev Pauses all token transfers.\\n *\\n * See {ERC1155Pausable} and {Pausable-_pause}.\\n *\\n * Requirements:\\n *\\n * - the caller must have the `PAUSER_ROLE`.\\n */\\n function pause() public virtual {\\n require(hasRole(PAUSER_ROLE, _msgSender()), \\\"ERC1155PresetMinterPauser: must have pauser role to pause\\\");\\n _pause();\\n }\\n\\n /**\\n * @dev Unpauses all token transfers.\\n *\\n * See {ERC1155Pausable} and {Pausable-_unpause}.\\n *\\n * Requirements:\\n *\\n * - the caller must have the `PAUSER_ROLE`.\\n */\\n function unpause() public virtual {\\n require(hasRole(PAUSER_ROLE, _msgSender()), \\\"ERC1155PresetMinterPauser: must have pauser role to unpause\\\");\\n _unpause();\\n }\\n\\n /**\\n * @dev See {IERC165-supportsInterface}.\\n */\\n function supportsInterface(bytes4 interfaceId)\\n public\\n view\\n virtual\\n override(AccessControlEnumerable, ERC1155)\\n returns (bool)\\n {\\n return super.supportsInterface(interfaceId);\\n }\\n\\n function _beforeTokenTransfer(\\n address operator,\\n address from,\\n address to,\\n uint256[] memory ids,\\n uint256[] memory amounts,\\n bytes memory data\\n ) internal virtual override(ERC1155, ERC1155Pausable) {\\n super._beforeTokenTransfer(operator, from, to, ids, amounts, data);\\n }\\n}\\n\",\"keccak256\":\"0x775e248004d21e0666740534a732daa9f17ceeee660ded876829e98a3a62b657\",\"license\":\"MIT\"},\"lib/openzeppelin-contracts/contracts/token/ERC1155/utils/ERC1155Holder.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/utils/ERC1155Holder.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./ERC1155Receiver.sol\\\";\\n\\n/**\\n * Simple implementation of `ERC1155Receiver` that will allow a contract to hold ERC1155 tokens.\\n *\\n * IMPORTANT: When inheriting this contract, you must include a way to use the received tokens, otherwise they will be\\n * stuck.\\n *\\n * @dev _Available since v3.1._\\n */\\ncontract ERC1155Holder is ERC1155Receiver {\\n function onERC1155Received(\\n address,\\n address,\\n uint256,\\n uint256,\\n bytes memory\\n ) public virtual override returns (bytes4) {\\n return this.onERC1155Received.selector;\\n }\\n\\n function onERC1155BatchReceived(\\n address,\\n address,\\n uint256[] memory,\\n uint256[] memory,\\n bytes memory\\n ) public virtual override returns (bytes4) {\\n return this.onERC1155BatchReceived.selector;\\n }\\n}\\n\",\"keccak256\":\"0x2e024ca51ce5abe16c0d34e6992a1104f356e2244eb4ccbec970435e8b3405e3\",\"license\":\"MIT\"},\"lib/openzeppelin-contracts/contracts/token/ERC1155/utils/ERC1155Receiver.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (token/ERC1155/utils/ERC1155Receiver.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../IERC1155Receiver.sol\\\";\\nimport \\\"../../../utils/introspection/ERC165.sol\\\";\\n\\n/**\\n * @dev _Available since v3.1._\\n */\\nabstract contract ERC1155Receiver is ERC165, IERC1155Receiver {\\n /**\\n * @dev See {IERC165-supportsInterface}.\\n */\\n function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {\\n return interfaceId == type(IERC1155Receiver).interfaceId || super.supportsInterface(interfaceId);\\n }\\n}\\n\",\"keccak256\":\"0x3dd5e1a66a56f30302108a1da97d677a42b1daa60e503696b2bcbbf3e4c95bcb\",\"license\":\"MIT\"},\"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\n */\\ninterface IERC20 {\\n /**\\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\\n * another (`to`).\\n *\\n * Note that `value` may be zero.\\n */\\n event Transfer(address indexed from, address indexed to, uint256 value);\\n\\n /**\\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\n * a call to {approve}. `value` is the new allowance.\\n */\\n event Approval(address indexed owner, address indexed spender, uint256 value);\\n\\n /**\\n * @dev Returns the amount of tokens in existence.\\n */\\n function totalSupply() external view returns (uint256);\\n\\n /**\\n * @dev Returns the amount of tokens owned by `account`.\\n */\\n function balanceOf(address account) external view returns (uint256);\\n\\n /**\\n * @dev Moves `amount` tokens from the caller's account to `to`.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transfer(address to, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Returns the remaining number of tokens that `spender` will be\\n * allowed to spend on behalf of `owner` through {transferFrom}. This is\\n * zero by default.\\n *\\n * This value changes when {approve} or {transferFrom} are called.\\n */\\n function allowance(address owner, address spender) external view returns (uint256);\\n\\n /**\\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * IMPORTANT: Beware that changing an allowance with this method brings the risk\\n * that someone may use both the old and the new allowance by unfortunate\\n * transaction ordering. One possible solution to mitigate this race\\n * condition is to first reduce the spender's allowance to 0 and set the\\n * desired value afterwards:\\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\n *\\n * Emits an {Approval} event.\\n */\\n function approve(address spender, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Moves `amount` tokens from `from` to `to` using the\\n * allowance mechanism. `amount` is then deducted from the caller's\\n * allowance.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transferFrom(\\n address from,\\n address to,\\n uint256 amount\\n ) external returns (bool);\\n}\\n\",\"keccak256\":\"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b\",\"license\":\"MIT\"},\"lib/openzeppelin-contracts/contracts/token/ERC721/IERC721.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../../utils/introspection/IERC165.sol\\\";\\n\\n/**\\n * @dev Required interface of an ERC721 compliant contract.\\n */\\ninterface IERC721 is IERC165 {\\n /**\\n * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\\n */\\n event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\\n\\n /**\\n * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\\n */\\n event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\\n\\n /**\\n * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\\n */\\n event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\\n\\n /**\\n * @dev Returns the number of tokens in ``owner``'s account.\\n */\\n function balanceOf(address owner) external view returns (uint256 balance);\\n\\n /**\\n * @dev Returns the owner of the `tokenId` token.\\n *\\n * Requirements:\\n *\\n * - `tokenId` must exist.\\n */\\n function ownerOf(uint256 tokenId) external view returns (address owner);\\n\\n /**\\n * @dev Safely transfers `tokenId` token from `from` to `to`.\\n *\\n * Requirements:\\n *\\n * - `from` cannot be the zero address.\\n * - `to` cannot be the zero address.\\n * - `tokenId` token must exist and be owned by `from`.\\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\\n *\\n * Emits a {Transfer} event.\\n */\\n function safeTransferFrom(\\n address from,\\n address to,\\n uint256 tokenId,\\n bytes calldata data\\n ) external;\\n\\n /**\\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\\n *\\n * Requirements:\\n *\\n * - `from` cannot be the zero address.\\n * - `to` cannot be the zero address.\\n * - `tokenId` token must exist and be owned by `from`.\\n * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.\\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\\n *\\n * Emits a {Transfer} event.\\n */\\n function safeTransferFrom(\\n address from,\\n address to,\\n uint256 tokenId\\n ) external;\\n\\n /**\\n * @dev Transfers `tokenId` token from `from` to `to`.\\n *\\n * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\\n *\\n * Requirements:\\n *\\n * - `from` cannot be the zero address.\\n * - `to` cannot be the zero address.\\n * - `tokenId` token must be owned by `from`.\\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transferFrom(\\n address from,\\n address to,\\n uint256 tokenId\\n ) external;\\n\\n /**\\n * @dev Gives permission to `to` to transfer `tokenId` token to another account.\\n * The approval is cleared when the token is transferred.\\n *\\n * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\\n *\\n * Requirements:\\n *\\n * - The caller must own the token or be an approved operator.\\n * - `tokenId` must exist.\\n *\\n * Emits an {Approval} event.\\n */\\n function approve(address to, uint256 tokenId) external;\\n\\n /**\\n * @dev Approve or remove `operator` as an operator for the caller.\\n * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\\n *\\n * Requirements:\\n *\\n * - The `operator` cannot be the caller.\\n *\\n * Emits an {ApprovalForAll} event.\\n */\\n function setApprovalForAll(address operator, bool _approved) external;\\n\\n /**\\n * @dev Returns the account approved for `tokenId` token.\\n *\\n * Requirements:\\n *\\n * - `tokenId` must exist.\\n */\\n function getApproved(uint256 tokenId) external view returns (address operator);\\n\\n /**\\n * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\\n *\\n * See {setApprovalForAll}\\n */\\n function isApprovedForAll(address owner, address operator) external view returns (bool);\\n}\\n\",\"keccak256\":\"0xed6a749c5373af398105ce6ee3ac4763aa450ea7285d268c85d9eeca809cdb1f\",\"license\":\"MIT\"},\"lib/openzeppelin-contracts/contracts/utils/Address.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)\\n\\npragma solidity ^0.8.1;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary Address {\\n /**\\n * @dev Returns true if `account` is a contract.\\n *\\n * [IMPORTANT]\\n * ====\\n * It is unsafe to assume that an address for which this function returns\\n * false is an externally-owned account (EOA) and not a contract.\\n *\\n * Among others, `isContract` will return false for the following\\n * types of addresses:\\n *\\n * - an externally-owned account\\n * - a contract in construction\\n * - an address where a contract will be created\\n * - an address where a contract lived, but was destroyed\\n * ====\\n *\\n * [IMPORTANT]\\n * ====\\n * You shouldn't rely on `isContract` to protect against flash loan attacks!\\n *\\n * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\n * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\n * constructor.\\n * ====\\n */\\n function isContract(address account) internal view returns (bool) {\\n // This method relies on extcodesize/address.code.length, which returns 0\\n // for contracts in construction, since the code is only stored at the end\\n // of the constructor execution.\\n\\n return account.code.length > 0;\\n }\\n\\n /**\\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n * `recipient`, forwarding all available gas and reverting on errors.\\n *\\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n * imposed by `transfer`, making them unable to receive funds via\\n * `transfer`. {sendValue} removes this limitation.\\n *\\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n *\\n * IMPORTANT: because control is transferred to `recipient`, care must be\\n * taken to not create reentrancy vulnerabilities. Consider using\\n * {ReentrancyGuard} or the\\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n */\\n function sendValue(address payable recipient, uint256 amount) internal {\\n require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n (bool success, ) = recipient.call{value: amount}(\\\"\\\");\\n require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n }\\n\\n /**\\n * @dev Performs a Solidity function call using a low level `call`. A\\n * plain `call` is an unsafe replacement for a function call: use this\\n * function instead.\\n *\\n * If `target` reverts with a revert reason, it is bubbled up by this\\n * function (like regular Solidity function calls).\\n *\\n * Returns the raw returned data. To convert to the expected return value,\\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n *\\n * Requirements:\\n *\\n * - `target` must be a contract.\\n * - calling `target` with `data` must not revert.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionCall(target, data, \\\"Address: low-level call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n * `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, 0, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but also transferring `value` wei to `target`.\\n *\\n * Requirements:\\n *\\n * - the calling contract must have an ETH balance of at least `value`.\\n * - the called Solidity function must be `payable`.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(\\n address target,\\n bytes memory data,\\n uint256 value\\n ) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n * with `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(\\n address target,\\n bytes memory data,\\n uint256 value,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n require(isContract(target), \\\"Address: call to non-contract\\\");\\n\\n (bool success, bytes memory returndata) = target.call{value: value}(data);\\n return verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal view returns (bytes memory) {\\n require(isContract(target), \\\"Address: static call to non-contract\\\");\\n\\n (bool success, bytes memory returndata) = target.staticcall(data);\\n return verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a delegate call.\\n *\\n * _Available since v3.4._\\n */\\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionDelegateCall(target, data, \\\"Address: low-level delegate call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a delegate call.\\n *\\n * _Available since v3.4._\\n */\\n function functionDelegateCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n require(isContract(target), \\\"Address: delegate call to non-contract\\\");\\n\\n (bool success, bytes memory returndata) = target.delegatecall(data);\\n return verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the\\n * revert reason using the provided one.\\n *\\n * _Available since v4.3._\\n */\\n function verifyCallResult(\\n bool success,\\n bytes memory returndata,\\n string memory errorMessage\\n ) internal pure returns (bytes memory) {\\n if (success) {\\n return returndata;\\n } else {\\n // Look for revert reason and bubble it up if present\\n if (returndata.length > 0) {\\n // The easiest way to bubble the revert reason is using memory via assembly\\n /// @solidity memory-safe-assembly\\n assembly {\\n let returndata_size := mload(returndata)\\n revert(add(32, returndata), returndata_size)\\n }\\n } else {\\n revert(errorMessage);\\n }\\n }\\n }\\n}\\n\",\"keccak256\":\"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10\",\"license\":\"MIT\"},\"lib/openzeppelin-contracts/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\"},\"lib/openzeppelin-contracts/contracts/utils/StorageSlot.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/StorageSlot.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Library for reading and writing primitive types to specific storage slots.\\n *\\n * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\\n * This library helps with reading and writing to such slots without the need for inline assembly.\\n *\\n * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\\n *\\n * Example usage to set ERC1967 implementation slot:\\n * ```\\n * contract ERC1967 {\\n * bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\\n *\\n * function _getImplementation() internal view returns (address) {\\n * return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\\n * }\\n *\\n * function _setImplementation(address newImplementation) internal {\\n * require(Address.isContract(newImplementation), \\\"ERC1967: new implementation is not a contract\\\");\\n * StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\\n * }\\n * }\\n * ```\\n *\\n * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._\\n */\\nlibrary StorageSlot {\\n struct AddressSlot {\\n address value;\\n }\\n\\n struct BooleanSlot {\\n bool value;\\n }\\n\\n struct Bytes32Slot {\\n bytes32 value;\\n }\\n\\n struct Uint256Slot {\\n uint256 value;\\n }\\n\\n /**\\n * @dev Returns an `AddressSlot` with member `value` located at `slot`.\\n */\\n function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `BooleanSlot` with member `value` located at `slot`.\\n */\\n function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.\\n */\\n function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `Uint256Slot` with member `value` located at `slot`.\\n */\\n function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := slot\\n }\\n }\\n}\\n\",\"keccak256\":\"0xd5c50c54bf02740ebd122ff06832546cb5fa84486d52695a9ccfd11666e0c81d\",\"license\":\"MIT\"},\"lib/openzeppelin-contracts/contracts/utils/Strings.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev String operations.\\n */\\nlibrary Strings {\\n bytes16 private constant _HEX_SYMBOLS = \\\"0123456789abcdef\\\";\\n uint8 private constant _ADDRESS_LENGTH = 20;\\n\\n /**\\n * @dev Converts a `uint256` to its ASCII `string` decimal representation.\\n */\\n function toString(uint256 value) internal pure returns (string memory) {\\n // Inspired by OraclizeAPI's implementation - MIT licence\\n // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\\n\\n if (value == 0) {\\n return \\\"0\\\";\\n }\\n uint256 temp = value;\\n uint256 digits;\\n while (temp != 0) {\\n digits++;\\n temp /= 10;\\n }\\n bytes memory buffer = new bytes(digits);\\n while (value != 0) {\\n digits -= 1;\\n buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));\\n value /= 10;\\n }\\n return string(buffer);\\n }\\n\\n /**\\n * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.\\n */\\n function toHexString(uint256 value) internal pure returns (string memory) {\\n if (value == 0) {\\n return \\\"0x00\\\";\\n }\\n uint256 temp = value;\\n uint256 length = 0;\\n while (temp != 0) {\\n length++;\\n temp >>= 8;\\n }\\n return toHexString(value, length);\\n }\\n\\n /**\\n * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.\\n */\\n function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {\\n bytes memory buffer = new bytes(2 * length + 2);\\n buffer[0] = \\\"0\\\";\\n buffer[1] = \\\"x\\\";\\n for (uint256 i = 2 * length + 1; i > 1; --i) {\\n buffer[i] = _HEX_SYMBOLS[value & 0xf];\\n value >>= 4;\\n }\\n require(value == 0, \\\"Strings: hex length insufficient\\\");\\n return string(buffer);\\n }\\n\\n /**\\n * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.\\n */\\n function toHexString(address addr) internal pure returns (string memory) {\\n return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);\\n }\\n}\\n\",\"keccak256\":\"0xaf159a8b1923ad2a26d516089bceca9bdeaeacd04be50983ea00ba63070f08a3\",\"license\":\"MIT\"},\"lib/openzeppelin-contracts/contracts/utils/cryptography/ECDSA.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.3) (utils/cryptography/ECDSA.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../Strings.sol\\\";\\n\\n/**\\n * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.\\n *\\n * These functions can be used to verify that a message was signed by the holder\\n * of the private keys of a given address.\\n */\\nlibrary ECDSA {\\n enum RecoverError {\\n NoError,\\n InvalidSignature,\\n InvalidSignatureLength,\\n InvalidSignatureS,\\n InvalidSignatureV\\n }\\n\\n function _throwError(RecoverError error) private pure {\\n if (error == RecoverError.NoError) {\\n return; // no error: do nothing\\n } else if (error == RecoverError.InvalidSignature) {\\n revert(\\\"ECDSA: invalid signature\\\");\\n } else if (error == RecoverError.InvalidSignatureLength) {\\n revert(\\\"ECDSA: invalid signature length\\\");\\n } else if (error == RecoverError.InvalidSignatureS) {\\n revert(\\\"ECDSA: invalid signature 's' value\\\");\\n } else if (error == RecoverError.InvalidSignatureV) {\\n revert(\\\"ECDSA: invalid signature 'v' value\\\");\\n }\\n }\\n\\n /**\\n * @dev Returns the address that signed a hashed message (`hash`) with\\n * `signature` or error string. This address can then be used for verification purposes.\\n *\\n * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:\\n * this function rejects them by requiring the `s` value to be in the lower\\n * half order, and the `v` value to be either 27 or 28.\\n *\\n * IMPORTANT: `hash` _must_ be the result of a hash operation for the\\n * verification to be secure: it is possible to craft signatures that\\n * recover to arbitrary addresses for non-hashed data. A safe way to ensure\\n * this is by receiving a hash of the original message (which may otherwise\\n * be too long), and then calling {toEthSignedMessageHash} on it.\\n *\\n * Documentation for signature generation:\\n * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]\\n * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]\\n *\\n * _Available since v4.3._\\n */\\n function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {\\n if (signature.length == 65) {\\n bytes32 r;\\n bytes32 s;\\n uint8 v;\\n // ecrecover takes the signature parameters, and the only way to get them\\n // currently is to use assembly.\\n /// @solidity memory-safe-assembly\\n assembly {\\n r := mload(add(signature, 0x20))\\n s := mload(add(signature, 0x40))\\n v := byte(0, mload(add(signature, 0x60)))\\n }\\n return tryRecover(hash, v, r, s);\\n } else {\\n return (address(0), RecoverError.InvalidSignatureLength);\\n }\\n }\\n\\n /**\\n * @dev Returns the address that signed a hashed message (`hash`) with\\n * `signature`. This address can then be used for verification purposes.\\n *\\n * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:\\n * this function rejects them by requiring the `s` value to be in the lower\\n * half order, and the `v` value to be either 27 or 28.\\n *\\n * IMPORTANT: `hash` _must_ be the result of a hash operation for the\\n * verification to be secure: it is possible to craft signatures that\\n * recover to arbitrary addresses for non-hashed data. A safe way to ensure\\n * this is by receiving a hash of the original message (which may otherwise\\n * be too long), and then calling {toEthSignedMessageHash} on it.\\n */\\n function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {\\n (address recovered, RecoverError error) = tryRecover(hash, signature);\\n _throwError(error);\\n return recovered;\\n }\\n\\n /**\\n * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.\\n *\\n * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]\\n *\\n * _Available since v4.3._\\n */\\n function tryRecover(\\n bytes32 hash,\\n bytes32 r,\\n bytes32 vs\\n ) internal pure returns (address, RecoverError) {\\n bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);\\n uint8 v = uint8((uint256(vs) >> 255) + 27);\\n return tryRecover(hash, v, r, s);\\n }\\n\\n /**\\n * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.\\n *\\n * _Available since v4.2._\\n */\\n function recover(\\n bytes32 hash,\\n bytes32 r,\\n bytes32 vs\\n ) internal pure returns (address) {\\n (address recovered, RecoverError error) = tryRecover(hash, r, vs);\\n _throwError(error);\\n return recovered;\\n }\\n\\n /**\\n * @dev Overload of {ECDSA-tryRecover} that receives the `v`,\\n * `r` and `s` signature fields separately.\\n *\\n * _Available since v4.3._\\n */\\n function tryRecover(\\n bytes32 hash,\\n uint8 v,\\n bytes32 r,\\n bytes32 s\\n ) internal pure returns (address, RecoverError) {\\n // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature\\n // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines\\n // the valid range for s in (301): 0 < s < secp256k1n \\u00f7 2 + 1, and for v in (302): v \\u2208 {27, 28}. Most\\n // signatures from current libraries generate a unique signature with an s-value in the lower half order.\\n //\\n // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value\\n // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or\\n // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept\\n // these malleable signatures as well.\\n if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {\\n return (address(0), RecoverError.InvalidSignatureS);\\n }\\n if (v != 27 && v != 28) {\\n return (address(0), RecoverError.InvalidSignatureV);\\n }\\n\\n // If the signature is valid (and not malleable), return the signer address\\n address signer = ecrecover(hash, v, r, s);\\n if (signer == address(0)) {\\n return (address(0), RecoverError.InvalidSignature);\\n }\\n\\n return (signer, RecoverError.NoError);\\n }\\n\\n /**\\n * @dev Overload of {ECDSA-recover} that receives the `v`,\\n * `r` and `s` signature fields separately.\\n */\\n function recover(\\n bytes32 hash,\\n uint8 v,\\n bytes32 r,\\n bytes32 s\\n ) internal pure returns (address) {\\n (address recovered, RecoverError error) = tryRecover(hash, v, r, s);\\n _throwError(error);\\n return recovered;\\n }\\n\\n /**\\n * @dev Returns an Ethereum Signed Message, created from a `hash`. This\\n * produces hash corresponding to the one signed with the\\n * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]\\n * JSON-RPC method as part of EIP-191.\\n *\\n * See {recover}.\\n */\\n function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {\\n // 32 is the length in bytes of hash,\\n // enforced by the type signature above\\n return keccak256(abi.encodePacked(\\\"\\\\x19Ethereum Signed Message:\\\\n32\\\", hash));\\n }\\n\\n /**\\n * @dev Returns an Ethereum Signed Message, created from `s`. This\\n * produces hash corresponding to the one signed with the\\n * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]\\n * JSON-RPC method as part of EIP-191.\\n *\\n * See {recover}.\\n */\\n function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {\\n return keccak256(abi.encodePacked(\\\"\\\\x19Ethereum Signed Message:\\\\n\\\", Strings.toString(s.length), s));\\n }\\n\\n /**\\n * @dev Returns an Ethereum Signed Typed Data, created from a\\n * `domainSeparator` and a `structHash`. This produces hash corresponding\\n * to the one signed with the\\n * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]\\n * JSON-RPC method as part of EIP-712.\\n *\\n * See {recover}.\\n */\\n function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {\\n return keccak256(abi.encodePacked(\\\"\\\\x19\\\\x01\\\", domainSeparator, structHash));\\n }\\n}\\n\",\"keccak256\":\"0xdb7f5c28fc61cda0bd8ab60ce288e206b791643bcd3ba464a70cbec18895a2f5\",\"license\":\"MIT\"},\"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./IERC165.sol\\\";\\n\\n/**\\n * @dev Implementation of the {IERC165} interface.\\n *\\n * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check\\n * for the additional interface id that will be supported. For example:\\n *\\n * ```solidity\\n * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\\n * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);\\n * }\\n * ```\\n *\\n * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.\\n */\\nabstract contract ERC165 is IERC165 {\\n /**\\n * @dev See {IERC165-supportsInterface}.\\n */\\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\\n return interfaceId == type(IERC165).interfaceId;\\n }\\n}\\n\",\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\"},\"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Interface of the ERC165 standard, as defined in the\\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\\n *\\n * Implementers can declare support of contract interfaces, which can then be\\n * queried by others ({ERC165Checker}).\\n *\\n * For an implementation, see {ERC165}.\\n */\\ninterface IERC165 {\\n /**\\n * @dev Returns true if this contract implements the interface defined by\\n * `interfaceId`. See the corresponding\\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\\n * to learn more about how these ids are created.\\n *\\n * This function call must use less than 30 000 gas.\\n */\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\n}\\n\",\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\"},\"lib/openzeppelin-contracts/contracts/utils/structs/EnumerableSet.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/structs/EnumerableSet.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Library for managing\\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\\n * types.\\n *\\n * Sets have the following properties:\\n *\\n * - Elements are added, removed, and checked for existence in constant time\\n * (O(1)).\\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\\n *\\n * ```\\n * contract Example {\\n * // Add the library methods\\n * using EnumerableSet for EnumerableSet.AddressSet;\\n *\\n * // Declare a set state variable\\n * EnumerableSet.AddressSet private mySet;\\n * }\\n * ```\\n *\\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\\n * and `uint256` (`UintSet`) are supported.\\n *\\n * [WARNING]\\n * ====\\n * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure unusable.\\n * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.\\n *\\n * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an array of EnumerableSet.\\n * ====\\n */\\nlibrary EnumerableSet {\\n // To implement this library for multiple types with as little code\\n // repetition as possible, we write it in terms of a generic Set type with\\n // bytes32 values.\\n // The Set implementation uses private functions, and user-facing\\n // implementations (such as AddressSet) are just wrappers around the\\n // underlying Set.\\n // This means that we can only create new EnumerableSets for types that fit\\n // in bytes32.\\n\\n struct Set {\\n // Storage of set values\\n bytes32[] _values;\\n // Position of the value in the `values` array, plus 1 because index 0\\n // means a value is not in the set.\\n mapping(bytes32 => uint256) _indexes;\\n }\\n\\n /**\\n * @dev Add a value to a set. O(1).\\n *\\n * Returns true if the value was added to the set, that is if it was not\\n * already present.\\n */\\n function _add(Set storage set, bytes32 value) private returns (bool) {\\n if (!_contains(set, value)) {\\n set._values.push(value);\\n // The value is stored at length-1, but we add 1 to all indexes\\n // and use 0 as a sentinel value\\n set._indexes[value] = set._values.length;\\n return true;\\n } else {\\n return false;\\n }\\n }\\n\\n /**\\n * @dev Removes a value from a set. O(1).\\n *\\n * Returns true if the value was removed from the set, that is if it was\\n * present.\\n */\\n function _remove(Set storage set, bytes32 value) private returns (bool) {\\n // We read and store the value's index to prevent multiple reads from the same storage slot\\n uint256 valueIndex = set._indexes[value];\\n\\n if (valueIndex != 0) {\\n // Equivalent to contains(set, value)\\n // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\\n // the array, and then remove the last element (sometimes called as 'swap and pop').\\n // This modifies the order of the array, as noted in {at}.\\n\\n uint256 toDeleteIndex = valueIndex - 1;\\n uint256 lastIndex = set._values.length - 1;\\n\\n if (lastIndex != toDeleteIndex) {\\n bytes32 lastValue = set._values[lastIndex];\\n\\n // Move the last value to the index where the value to delete is\\n set._values[toDeleteIndex] = lastValue;\\n // Update the index for the moved value\\n set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex\\n }\\n\\n // Delete the slot where the moved value was stored\\n set._values.pop();\\n\\n // Delete the index for the deleted slot\\n delete set._indexes[value];\\n\\n return true;\\n } else {\\n return false;\\n }\\n }\\n\\n /**\\n * @dev Returns true if the value is in the set. O(1).\\n */\\n function _contains(Set storage set, bytes32 value) private view returns (bool) {\\n return set._indexes[value] != 0;\\n }\\n\\n /**\\n * @dev Returns the number of values on the set. O(1).\\n */\\n function _length(Set storage set) private view returns (uint256) {\\n return set._values.length;\\n }\\n\\n /**\\n * @dev Returns the value stored at position `index` in the set. O(1).\\n *\\n * Note that there are no guarantees on the ordering of values inside the\\n * array, and it may change when more values are added or removed.\\n *\\n * Requirements:\\n *\\n * - `index` must be strictly less than {length}.\\n */\\n function _at(Set storage set, uint256 index) private view returns (bytes32) {\\n return set._values[index];\\n }\\n\\n /**\\n * @dev Return the entire set in an array\\n *\\n * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\\n * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\\n * this function has an unbounded cost, and using it as part of a state-changing function may render the function\\n * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\\n */\\n function _values(Set storage set) private view returns (bytes32[] memory) {\\n return set._values;\\n }\\n\\n // Bytes32Set\\n\\n struct Bytes32Set {\\n Set _inner;\\n }\\n\\n /**\\n * @dev Add a value to a set. O(1).\\n *\\n * Returns true if the value was added to the set, that is if it was not\\n * already present.\\n */\\n function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\\n return _add(set._inner, value);\\n }\\n\\n /**\\n * @dev Removes a value from a set. O(1).\\n *\\n * Returns true if the value was removed from the set, that is if it was\\n * present.\\n */\\n function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {\\n return _remove(set._inner, value);\\n }\\n\\n /**\\n * @dev Returns true if the value is in the set. O(1).\\n */\\n function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {\\n return _contains(set._inner, value);\\n }\\n\\n /**\\n * @dev Returns the number of values in the set. O(1).\\n */\\n function length(Bytes32Set storage set) internal view returns (uint256) {\\n return _length(set._inner);\\n }\\n\\n /**\\n * @dev Returns the value stored at position `index` in the set. O(1).\\n *\\n * Note that there are no guarantees on the ordering of values inside the\\n * array, and it may change when more values are added or removed.\\n *\\n * Requirements:\\n *\\n * - `index` must be strictly less than {length}.\\n */\\n function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {\\n return _at(set._inner, index);\\n }\\n\\n /**\\n * @dev Return the entire set in an array\\n *\\n * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\\n * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\\n * this function has an unbounded cost, and using it as part of a state-changing function may render the function\\n * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\\n */\\n function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {\\n return _values(set._inner);\\n }\\n\\n // AddressSet\\n\\n struct AddressSet {\\n Set _inner;\\n }\\n\\n /**\\n * @dev Add a value to a set. O(1).\\n *\\n * Returns true if the value was added to the set, that is if it was not\\n * already present.\\n */\\n function add(AddressSet storage set, address value) internal returns (bool) {\\n return _add(set._inner, bytes32(uint256(uint160(value))));\\n }\\n\\n /**\\n * @dev Removes a value from a set. O(1).\\n *\\n * Returns true if the value was removed from the set, that is if it was\\n * present.\\n */\\n function remove(AddressSet storage set, address value) internal returns (bool) {\\n return _remove(set._inner, bytes32(uint256(uint160(value))));\\n }\\n\\n /**\\n * @dev Returns true if the value is in the set. O(1).\\n */\\n function contains(AddressSet storage set, address value) internal view returns (bool) {\\n return _contains(set._inner, bytes32(uint256(uint160(value))));\\n }\\n\\n /**\\n * @dev Returns the number of values in the set. O(1).\\n */\\n function length(AddressSet storage set) internal view returns (uint256) {\\n return _length(set._inner);\\n }\\n\\n /**\\n * @dev Returns the value stored at position `index` in the set. O(1).\\n *\\n * Note that there are no guarantees on the ordering of values inside the\\n * array, and it may change when more values are added or removed.\\n *\\n * Requirements:\\n *\\n * - `index` must be strictly less than {length}.\\n */\\n function at(AddressSet storage set, uint256 index) internal view returns (address) {\\n return address(uint160(uint256(_at(set._inner, index))));\\n }\\n\\n /**\\n * @dev Return the entire set in an array\\n *\\n * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\\n * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\\n * this function has an unbounded cost, and using it as part of a state-changing function may render the function\\n * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\\n */\\n function values(AddressSet storage set) internal view returns (address[] memory) {\\n bytes32[] memory store = _values(set._inner);\\n address[] memory result;\\n\\n /// @solidity memory-safe-assembly\\n assembly {\\n result := store\\n }\\n\\n return result;\\n }\\n\\n // UintSet\\n\\n struct UintSet {\\n Set _inner;\\n }\\n\\n /**\\n * @dev Add a value to a set. O(1).\\n *\\n * Returns true if the value was added to the set, that is if it was not\\n * already present.\\n */\\n function add(UintSet storage set, uint256 value) internal returns (bool) {\\n return _add(set._inner, bytes32(value));\\n }\\n\\n /**\\n * @dev Removes a value from a set. O(1).\\n *\\n * Returns true if the value was removed from the set, that is if it was\\n * present.\\n */\\n function remove(UintSet storage set, uint256 value) internal returns (bool) {\\n return _remove(set._inner, bytes32(value));\\n }\\n\\n /**\\n * @dev Returns true if the value is in the set. O(1).\\n */\\n function contains(UintSet storage set, uint256 value) internal view returns (bool) {\\n return _contains(set._inner, bytes32(value));\\n }\\n\\n /**\\n * @dev Returns the number of values on the set. O(1).\\n */\\n function length(UintSet storage set) internal view returns (uint256) {\\n return _length(set._inner);\\n }\\n\\n /**\\n * @dev Returns the value stored at position `index` in the set. O(1).\\n *\\n * Note that there are no guarantees on the ordering of values inside the\\n * array, and it may change when more values are added or removed.\\n *\\n * Requirements:\\n *\\n * - `index` must be strictly less than {length}.\\n */\\n function at(UintSet storage set, uint256 index) internal view returns (uint256) {\\n return uint256(_at(set._inner, index));\\n }\\n\\n /**\\n * @dev Return the entire set in an array\\n *\\n * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\\n * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\\n * this function has an unbounded cost, and using it as part of a state-changing function may render the function\\n * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\\n */\\n function values(UintSet storage set) internal view returns (uint256[] memory) {\\n bytes32[] memory store = _values(set._inner);\\n uint256[] memory result;\\n\\n /// @solidity memory-safe-assembly\\n assembly {\\n result := store\\n }\\n\\n return result;\\n }\\n}\\n\",\"keccak256\":\"0x5050943b32b6a8f282573d166b2e9d87ab7eb4dbba4ab6acf36ecb54fe6995e4\",\"license\":\"MIT\"},\"src/extensions/GatewayV3.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport \\\"@openzeppelin/contracts/security/Pausable.sol\\\";\\nimport \\\"../interfaces/IQuorum.sol\\\";\\nimport \\\"./collections/HasProxyAdmin.sol\\\";\\n\\nabstract contract GatewayV3 is HasProxyAdmin, Pausable, IQuorum {\\n uint256 internal _num;\\n uint256 internal _denom;\\n\\n address private ______deprecated;\\n uint256 public nonce;\\n\\n address public emergencyPauser;\\n\\n /**\\n * @dev This empty reserved space is put in place to allow future versions to add new\\n * variables without shifting down storage in the inheritance chain.\\n */\\n uint256[49] private ______gap;\\n\\n /**\\n * @dev Grant emergency pauser role for `_addr`.\\n */\\n function setEmergencyPauser(address _addr) external onlyProxyAdmin {\\n emergencyPauser = _addr;\\n }\\n\\n /**\\n * @inheritdoc IQuorum\\n */\\n function getThreshold() external view virtual returns (uint256 num_, uint256 denom_) {\\n return (_num, _denom);\\n }\\n\\n /**\\n * @inheritdoc IQuorum\\n */\\n function checkThreshold(uint256 _voteWeight) external view virtual returns (bool) {\\n return _voteWeight * _denom >= _num * _getTotalWeight();\\n }\\n\\n /**\\n * @inheritdoc IQuorum\\n */\\n function setThreshold(uint256 _numerator, uint256 _denominator) external virtual onlyProxyAdmin {\\n return _setThreshold(_numerator, _denominator);\\n }\\n\\n /**\\n * @dev Triggers paused state.\\n */\\n function pause() external {\\n _requireAuth();\\n _pause();\\n }\\n\\n /**\\n * @dev Triggers unpaused state.\\n */\\n function unpause() external {\\n _requireAuth();\\n _unpause();\\n }\\n\\n /**\\n * @inheritdoc IQuorum\\n */\\n function minimumVoteWeight() public view virtual returns (uint256) {\\n return _minimumVoteWeight(_getTotalWeight());\\n }\\n\\n /**\\n * @dev Sets threshold and returns the old one.\\n *\\n * Emits the `ThresholdUpdated` event.\\n *\\n */\\n function _setThreshold(uint256 num, uint256 denom) internal virtual {\\n if (num > denom) revert ErrInvalidThreshold(msg.sig);\\n uint256 prevNum = _num;\\n uint256 prevDenom = _denom;\\n _num = num;\\n _denom = denom;\\n unchecked {\\n emit ThresholdUpdated(nonce++, num, denom, prevNum, prevDenom);\\n }\\n }\\n\\n /**\\n * @dev Returns minimum vote weight.\\n */\\n function _minimumVoteWeight(uint256 _totalWeight) internal view virtual returns (uint256) {\\n return (_num * _totalWeight + _denom - 1) / _denom;\\n }\\n\\n /**\\n * @dev Internal method to check method caller.\\n *\\n * Requirements:\\n *\\n * - The method caller must be admin or pauser.\\n *\\n */\\n function _requireAuth() private view {\\n if (!(msg.sender == _getProxyAdmin() || msg.sender == emergencyPauser)) {\\n revert ErrUnauthorized(msg.sig, RoleAccess.ADMIN);\\n }\\n }\\n\\n /**\\n * @dev Returns the total weight.\\n */\\n function _getTotalWeight() internal view virtual returns (uint256);\\n}\\n\",\"keccak256\":\"0x010a0021a377e4b23a4f56269b9c6e3e3fc2684897928ff9b9da1b47c3f07baf\",\"license\":\"MIT\"},\"src/extensions/TransparentUpgradeableProxyV2.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport \\\"@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol\\\";\\n\\ncontract TransparentUpgradeableProxyV2 is TransparentUpgradeableProxy {\\n constructor(address _logic, address admin_, bytes memory _data) payable TransparentUpgradeableProxy(_logic, admin_, _data) { }\\n\\n /**\\n * @dev Calls a function from the current implementation as specified by `_data`, which should be an encoded function call.\\n *\\n * Requirements:\\n * - Only the admin can call this function.\\n *\\n * Note: The proxy admin is not allowed to interact with the proxy logic through the fallback function to avoid\\n * triggering some unexpected logic. This is to allow the administrator to explicitly call the proxy, please consider\\n * reviewing the encoded data `_data` and the method which is called before using this.\\n *\\n */\\n function functionDelegateCall(bytes memory _data) public payable ifAdmin {\\n address _addr = _implementation();\\n assembly {\\n let _result := delegatecall(gas(), _addr, add(_data, 32), mload(_data), 0, 0)\\n returndatacopy(0, 0, returndatasize())\\n switch _result\\n case 0 { revert(0, returndatasize()) }\\n default { return(0, returndatasize()) }\\n }\\n }\\n}\\n\",\"keccak256\":\"0x45fc7b71d09da99414b977a56e586b3604670d865e5f36f395d5c98bc4ba64af\",\"license\":\"MIT\"},\"src/extensions/WethUnwrapper.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport \\\"@openzeppelin/contracts/security/ReentrancyGuard.sol\\\";\\nimport \\\"../interfaces/IWETH.sol\\\";\\n\\ncontract WethUnwrapper is ReentrancyGuard {\\n IWETH public immutable weth;\\n\\n error ErrCannotTransferFrom();\\n error ErrNotWrappedContract();\\n error ErrExternalCallFailed(address sender, bytes4 sig);\\n\\n constructor(address weth_) {\\n if (address(weth_).code.length == 0) revert ErrNotWrappedContract();\\n weth = IWETH(weth_);\\n }\\n\\n fallback() external payable {\\n _fallback();\\n }\\n\\n receive() external payable {\\n _fallback();\\n }\\n\\n function unwrap(uint256 amount) external nonReentrant {\\n _deductWrappedAndWithdraw(amount);\\n _sendNativeTo(payable(msg.sender), amount);\\n }\\n\\n function unwrapTo(uint256 amount, address payable to) external nonReentrant {\\n _deductWrappedAndWithdraw(amount);\\n _sendNativeTo(payable(to), amount);\\n }\\n\\n function _deductWrappedAndWithdraw(uint256 amount) internal {\\n (bool success,) = address(weth).call(abi.encodeCall(IWETH.transferFrom, (msg.sender, address(this), amount)));\\n if (!success) revert ErrCannotTransferFrom();\\n\\n weth.withdraw(amount);\\n }\\n\\n function _sendNativeTo(address payable to, uint256 val) internal {\\n (bool success,) = to.call{ value: val }(\\\"\\\");\\n if (!success) {\\n revert ErrExternalCallFailed(to, msg.sig);\\n }\\n }\\n\\n function _fallback() internal view {\\n if (msg.sender != address(weth)) revert ErrNotWrappedContract();\\n }\\n}\\n\",\"keccak256\":\"0x5f7b72d9ed8944724d2f228358d565a61ea345cba1883e5424fb801bebc758ff\",\"license\":\"MIT\"},\"src/extensions/WithdrawalLimitation.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport \\\"./GatewayV3.sol\\\";\\n\\nabstract contract WithdrawalLimitation is GatewayV3 {\\n /// @dev Error of invalid percentage.\\n error ErrInvalidPercentage();\\n\\n /// @dev Emitted when the high-tier vote weight threshold is updated\\n event HighTierVoteWeightThresholdUpdated(\\n uint256 indexed nonce, uint256 indexed numerator, uint256 indexed denominator, uint256 previousNumerator, uint256 previousDenominator\\n );\\n /// @dev Emitted when the thresholds for high-tier withdrawals that requires high-tier vote weights are updated\\n event HighTierThresholdsUpdated(address[] tokens, uint256[] thresholds);\\n /// @dev Emitted when the thresholds for locked withdrawals are updated\\n event LockedThresholdsUpdated(address[] tokens, uint256[] thresholds);\\n /// @dev Emitted when the fee percentages to unlock withdraw are updated\\n event UnlockFeePercentagesUpdated(address[] tokens, uint256[] percentages);\\n /// @dev Emitted when the daily limit thresholds are updated\\n event DailyWithdrawalLimitsUpdated(address[] tokens, uint256[] limits);\\n\\n uint256 public constant _MAX_PERCENTAGE = 1_000_000;\\n\\n uint256 internal _highTierVWNum;\\n uint256 internal _highTierVWDenom;\\n\\n /// @dev Mapping from mainchain token => the amount thresholds for high-tier withdrawals that requires high-tier vote weights\\n mapping(address => uint256) public highTierThreshold;\\n /// @dev Mapping from mainchain token => the amount thresholds to lock withdrawal\\n mapping(address => uint256) public lockedThreshold;\\n /// @dev Mapping from mainchain token => unlock fee percentages for unlocker\\n /// @notice Values 0-1,000,000 map to 0%-100%\\n mapping(address => uint256) public unlockFeePercentages;\\n /// @dev Mapping from mainchain token => daily limit amount for withdrawal\\n mapping(address => uint256) public dailyWithdrawalLimit;\\n /// @dev Mapping from token address => today withdrawal amount\\n mapping(address => uint256) public lastSyncedWithdrawal;\\n /// @dev Mapping from token address => last date synced to record the `lastSyncedWithdrawal`\\n mapping(address => uint256) public lastDateSynced;\\n\\n /**\\n * @dev This empty reserved space is put in place to allow future versions to add new\\n * variables without shifting down storage in the inheritance chain.\\n */\\n uint256[50] private ______gap;\\n\\n /**\\n * @dev Override `GatewayV3-setThreshold`.\\n *\\n * Requirements:\\n * - The high-tier vote weight threshold must equal to or larger than the normal threshold.\\n *\\n */\\n function setThreshold(uint256 num, uint256 denom) external virtual override onlyProxyAdmin {\\n _setThreshold(num, denom);\\n _verifyThresholds();\\n }\\n\\n /**\\n * @dev Returns the high-tier vote weight threshold.\\n */\\n function getHighTierVoteWeightThreshold() external view virtual returns (uint256, uint256) {\\n return (_highTierVWNum, _highTierVWDenom);\\n }\\n\\n /**\\n * @dev Checks whether the `_voteWeight` passes the high-tier vote weight threshold.\\n */\\n function checkHighTierVoteWeightThreshold(uint256 _voteWeight) external view virtual returns (bool) {\\n return _voteWeight * _highTierVWDenom >= _highTierVWNum * _getTotalWeight();\\n }\\n\\n /**\\n * @dev Sets high-tier vote weight threshold and returns the old one.\\n *\\n * Requirements:\\n * - The method caller is admin.\\n * - The high-tier vote weight threshold must equal to or larger than the normal threshold.\\n *\\n * Emits the `HighTierVoteWeightThresholdUpdated` event.\\n *\\n */\\n function setHighTierVoteWeightThreshold(\\n uint256 _numerator,\\n uint256 _denominator\\n ) external virtual onlyProxyAdmin returns (uint256 _previousNum, uint256 _previousDenom) {\\n (_previousNum, _previousDenom) = _setHighTierVoteWeightThreshold(_numerator, _denominator);\\n _verifyThresholds();\\n }\\n\\n /**\\n * @dev Sets the thresholds for high-tier withdrawals that requires high-tier vote weights.\\n *\\n * Requirements:\\n * - The method caller is admin.\\n * - The arrays have the same length and its length larger than 0.\\n *\\n * Emits the `HighTierThresholdsUpdated` event.\\n *\\n */\\n function setHighTierThresholds(address[] calldata _tokens, uint256[] calldata _thresholds) external virtual onlyProxyAdmin {\\n if (_tokens.length == 0) revert ErrEmptyArray();\\n _setHighTierThresholds(_tokens, _thresholds);\\n }\\n\\n /**\\n * @dev Sets the amount thresholds to lock withdrawal.\\n *\\n * Requirements:\\n * - The method caller is admin.\\n * - The arrays have the same length and its length larger than 0.\\n *\\n * Emits the `LockedThresholdsUpdated` event.\\n *\\n */\\n function setLockedThresholds(address[] calldata _tokens, uint256[] calldata _thresholds) external virtual onlyProxyAdmin {\\n if (_tokens.length == 0) revert ErrEmptyArray();\\n _setLockedThresholds(_tokens, _thresholds);\\n }\\n\\n /**\\n * @dev Sets fee percentages to unlock withdrawal.\\n *\\n * Requirements:\\n * - The method caller is admin.\\n * - The arrays have the same length and its length larger than 0.\\n *\\n * Emits the `UnlockFeePercentagesUpdated` event.\\n *\\n */\\n function setUnlockFeePercentages(address[] calldata _tokens, uint256[] calldata _percentages) external virtual onlyProxyAdmin {\\n if (_tokens.length == 0) revert ErrEmptyArray();\\n _setUnlockFeePercentages(_tokens, _percentages);\\n }\\n\\n /**\\n * @dev Sets daily limit amounts for the withdrawals.\\n *\\n * Requirements:\\n * - The method caller is admin.\\n * - The arrays have the same length and its length larger than 0.\\n *\\n * Emits the `DailyWithdrawalLimitsUpdated` event.\\n *\\n */\\n function setDailyWithdrawalLimits(address[] calldata _tokens, uint256[] calldata _limits) external virtual onlyProxyAdmin {\\n if (_tokens.length == 0) revert ErrEmptyArray();\\n _setDailyWithdrawalLimits(_tokens, _limits);\\n }\\n\\n /**\\n * @dev Checks whether the withdrawal reaches the limitation.\\n */\\n function reachedWithdrawalLimit(address _token, uint256 _quantity) external view virtual returns (bool) {\\n return _reachedWithdrawalLimit(_token, _quantity);\\n }\\n\\n /**\\n * @dev Sets high-tier vote weight threshold and returns the old one.\\n *\\n * Emits the `HighTierVoteWeightThresholdUpdated` event.\\n *\\n */\\n function _setHighTierVoteWeightThreshold(uint256 _numerator, uint256 _denominator) internal returns (uint256 _previousNum, uint256 _previousDenom) {\\n if (_numerator > _denominator) revert ErrInvalidThreshold(msg.sig);\\n\\n _previousNum = _highTierVWNum;\\n _previousDenom = _highTierVWDenom;\\n _highTierVWNum = _numerator;\\n _highTierVWDenom = _denominator;\\n\\n unchecked {\\n emit HighTierVoteWeightThresholdUpdated(nonce++, _numerator, _denominator, _previousNum, _previousDenom);\\n }\\n }\\n\\n /**\\n * @dev Sets the thresholds for high-tier withdrawals that requires high-tier vote weights.\\n *\\n * Requirements:\\n * - The array lengths are equal.\\n *\\n * Emits the `HighTierThresholdsUpdated` event.\\n *\\n */\\n function _setHighTierThresholds(address[] calldata _tokens, uint256[] calldata _thresholds) internal virtual {\\n if (_tokens.length != _thresholds.length) revert ErrLengthMismatch(msg.sig);\\n\\n for (uint256 _i; _i < _tokens.length;) {\\n highTierThreshold[_tokens[_i]] = _thresholds[_i];\\n\\n unchecked {\\n ++_i;\\n }\\n }\\n emit HighTierThresholdsUpdated(_tokens, _thresholds);\\n }\\n\\n /**\\n * @dev Sets the amount thresholds to lock withdrawal.\\n *\\n * Requirements:\\n * - The array lengths are equal.\\n *\\n * Emits the `LockedThresholdsUpdated` event.\\n *\\n */\\n function _setLockedThresholds(address[] calldata _tokens, uint256[] calldata _thresholds) internal virtual {\\n if (_tokens.length != _thresholds.length) revert ErrLengthMismatch(msg.sig);\\n\\n for (uint256 _i; _i < _tokens.length;) {\\n lockedThreshold[_tokens[_i]] = _thresholds[_i];\\n\\n unchecked {\\n ++_i;\\n }\\n }\\n emit LockedThresholdsUpdated(_tokens, _thresholds);\\n }\\n\\n /**\\n * @dev Sets fee percentages to unlock withdrawal.\\n *\\n * Requirements:\\n * - The array lengths are equal.\\n * - The percentage is equal to or less than 100_000.\\n *\\n * Emits the `UnlockFeePercentagesUpdated` event.\\n *\\n */\\n function _setUnlockFeePercentages(address[] calldata _tokens, uint256[] calldata _percentages) internal virtual {\\n if (_tokens.length != _percentages.length) revert ErrLengthMismatch(msg.sig);\\n\\n for (uint256 _i; _i < _tokens.length;) {\\n if (_percentages[_i] > _MAX_PERCENTAGE) revert ErrInvalidPercentage();\\n\\n unlockFeePercentages[_tokens[_i]] = _percentages[_i];\\n\\n unchecked {\\n ++_i;\\n }\\n }\\n emit UnlockFeePercentagesUpdated(_tokens, _percentages);\\n }\\n\\n /**\\n * @dev Sets daily limit amounts for the withdrawals.\\n *\\n * Requirements:\\n * - The array lengths are equal.\\n *\\n * Emits the `DailyWithdrawalLimitsUpdated` event.\\n *\\n */\\n function _setDailyWithdrawalLimits(address[] calldata _tokens, uint256[] calldata _limits) internal virtual {\\n if (_tokens.length != _limits.length) revert ErrLengthMismatch(msg.sig);\\n\\n for (uint256 _i; _i < _tokens.length;) {\\n dailyWithdrawalLimit[_tokens[_i]] = _limits[_i];\\n\\n unchecked {\\n ++_i;\\n }\\n }\\n emit DailyWithdrawalLimitsUpdated(_tokens, _limits);\\n }\\n\\n /**\\n * @dev Checks whether the withdrawal reaches the daily limitation.\\n *\\n * Requirements:\\n * - The daily withdrawal threshold should not apply for locked withdrawals.\\n *\\n */\\n function _reachedWithdrawalLimit(address _token, uint256 _quantity) internal view virtual returns (bool) {\\n if (_lockedWithdrawalRequest(_token, _quantity)) {\\n return false;\\n }\\n\\n uint256 _currentDate = block.timestamp / 1 days;\\n if (_currentDate > lastDateSynced[_token]) {\\n return dailyWithdrawalLimit[_token] <= _quantity;\\n } else {\\n return dailyWithdrawalLimit[_token] <= lastSyncedWithdrawal[_token] + _quantity;\\n }\\n }\\n\\n /**\\n * @dev Record withdrawal token.\\n */\\n function _recordWithdrawal(address _token, uint256 _quantity) internal virtual {\\n uint256 _currentDate = block.timestamp / 1 days;\\n if (_currentDate > lastDateSynced[_token]) {\\n lastDateSynced[_token] = _currentDate;\\n lastSyncedWithdrawal[_token] = _quantity;\\n } else {\\n lastSyncedWithdrawal[_token] += _quantity;\\n }\\n }\\n\\n /**\\n * @dev Returns whether the withdrawal request is locked or not.\\n */\\n function _lockedWithdrawalRequest(address _token, uint256 _quantity) internal view virtual returns (bool) {\\n return lockedThreshold[_token] <= _quantity;\\n }\\n\\n /**\\n * @dev Computes fee percentage.\\n */\\n function _computeFeePercentage(uint256 _amount, uint256 _percentage) internal view virtual returns (uint256) {\\n return (_amount * _percentage) / _MAX_PERCENTAGE;\\n }\\n\\n /**\\n * @dev Returns high-tier vote weight.\\n */\\n function _highTierVoteWeight(uint256 _totalWeight) internal view virtual returns (uint256) {\\n return (_highTierVWNum * _totalWeight + _highTierVWDenom - 1) / _highTierVWDenom;\\n }\\n\\n /**\\n * @dev Validates whether the high-tier vote weight threshold is larger than the normal threshold.\\n */\\n function _verifyThresholds() internal view {\\n if (_num * _highTierVWDenom > _highTierVWNum * _denom) revert ErrInvalidThreshold(msg.sig);\\n }\\n}\\n\",\"keccak256\":\"0x4b7d559d4b1f53239b8690776318db8d63f578f72fb269d8024570aa70c2c2a6\",\"license\":\"MIT\"},\"src/extensions/collections/HasContracts.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport { HasProxyAdmin } from \\\"./HasProxyAdmin.sol\\\";\\nimport \\\"../../interfaces/collections/IHasContracts.sol\\\";\\nimport { IdentityGuard } from \\\"../../utils/IdentityGuard.sol\\\";\\nimport { ErrUnexpectedInternalCall } from \\\"../../utils/CommonErrors.sol\\\";\\n\\n/**\\n * @title HasContracts\\n * @dev A contract that provides functionality to manage multiple contracts with different roles.\\n */\\nabstract contract HasContracts is HasProxyAdmin, IHasContracts, IdentityGuard {\\n /// @dev value is equal to keccak256(\\\"@ronin.dpos.collections.HasContracts.slot\\\") - 1\\n bytes32 private constant _STORAGE_SLOT = 0xdea3103d22025c269050bea94c0c84688877f12fa22b7e6d2d5d78a9a49aa1cb;\\n\\n /**\\n * @dev Modifier to restrict access to functions only to contracts with a specific role.\\n * @param contractType The contract type that allowed to call\\n */\\n modifier onlyContract(ContractType contractType) virtual {\\n _requireContract(contractType);\\n _;\\n }\\n\\n /**\\n * @inheritdoc IHasContracts\\n */\\n function setContract(ContractType contractType, address addr) external virtual onlyProxyAdmin {\\n _requireHasCode(addr);\\n _setContract(contractType, addr);\\n }\\n\\n /**\\n * @inheritdoc IHasContracts\\n */\\n function getContract(ContractType contractType) public view returns (address contract_) {\\n contract_ = _getContractMap()[uint8(contractType)];\\n if (contract_ == address(0)) revert ErrContractTypeNotFound(contractType);\\n }\\n\\n /**\\n * @dev Internal function to set the address of a contract with a specific role.\\n * @param contractType The contract type of the contract to set.\\n * @param addr The address of the contract to set.\\n */\\n function _setContract(ContractType contractType, address addr) internal virtual {\\n _getContractMap()[uint8(contractType)] = addr;\\n emit ContractUpdated(contractType, addr);\\n }\\n\\n /**\\n * @dev Internal function to access the mapping of contract addresses with roles.\\n * @return contracts_ The mapping of contract addresses with roles.\\n */\\n function _getContractMap() private pure returns (mapping(uint8 => address) storage contracts_) {\\n assembly {\\n contracts_.slot := _STORAGE_SLOT\\n }\\n }\\n\\n /**\\n * @dev Internal function to check if the calling contract has a specific role.\\n * @param contractType The contract type that the calling contract must have.\\n * @dev Throws an error if the calling contract does not have the specified role.\\n */\\n function _requireContract(ContractType contractType) private view {\\n if (msg.sender != getContract(contractType)) {\\n revert ErrUnexpectedInternalCall(msg.sig, contractType, msg.sender);\\n }\\n }\\n}\\n\",\"keccak256\":\"0xf7dbefa31230e6e4bd319f02d94893cbfd07ee12a0e016f5fadc57660df01891\",\"license\":\"MIT\"},\"src/extensions/collections/HasProxyAdmin.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport \\\"@openzeppelin/contracts/utils/StorageSlot.sol\\\";\\nimport \\\"../../utils/CommonErrors.sol\\\";\\n\\nabstract contract HasProxyAdmin {\\n // bytes32(uint256(keccak256(\\\"eip1967.proxy.admin\\\")) - 1));\\n bytes32 private constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;\\n\\n modifier onlyProxyAdmin() {\\n _requireProxyAdmin();\\n _;\\n }\\n\\n /**\\n * @dev Returns proxy admin.\\n */\\n function _getProxyAdmin() internal view virtual returns (address) {\\n return StorageSlot.getAddressSlot(_ADMIN_SLOT).value;\\n }\\n\\n function _requireProxyAdmin() internal view {\\n if (msg.sender != _getProxyAdmin()) revert ErrUnauthorized(msg.sig, RoleAccess.ADMIN);\\n }\\n}\\n\",\"keccak256\":\"0xad3db02c99a960b60151f2ad45eed46073d14fe1ed861f496c7aeefacbbc528e\",\"license\":\"MIT\"},\"src/interfaces/IMainchainGatewayV3.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport \\\"./IWETH.sol\\\";\\nimport \\\"./consumers/SignatureConsumer.sol\\\";\\nimport \\\"./consumers/MappedTokenConsumer.sol\\\";\\nimport \\\"../libraries/Transfer.sol\\\";\\n\\ninterface IMainchainGatewayV3 is SignatureConsumer, MappedTokenConsumer {\\n /**\\n * @dev Error indicating that a query was made for an approved withdrawal.\\n */\\n error ErrQueryForApprovedWithdrawal();\\n\\n /**\\n * @dev Error indicating that the daily withdrawal limit has been reached.\\n */\\n error ErrReachedDailyWithdrawalLimit();\\n\\n /**\\n * @dev Error indicating that a query was made for a processed withdrawal.\\n */\\n error ErrQueryForProcessedWithdrawal();\\n\\n /**\\n * @dev Error indicating that a query was made for insufficient vote weight.\\n */\\n error ErrQueryForInsufficientVoteWeight();\\n\\n /// @dev Emitted when the deposit is requested\\n event DepositRequested(bytes32 receiptHash, Transfer.Receipt receipt);\\n /// @dev Emitted when the assets are withdrawn\\n event Withdrew(bytes32 receiptHash, Transfer.Receipt receipt);\\n /// @dev Emitted when the tokens are mapped\\n event TokenMapped(address[] mainchainTokens, address[] roninTokens, TokenStandard[] standards);\\n /// @dev Emitted when the wrapped native token contract is updated\\n event WrappedNativeTokenContractUpdated(IWETH weth);\\n /// @dev Emitted when the withdrawal is locked\\n event WithdrawalLocked(bytes32 receiptHash, Transfer.Receipt receipt);\\n /// @dev Emitted when the withdrawal is unlocked\\n event WithdrawalUnlocked(bytes32 receiptHash, Transfer.Receipt receipt);\\n\\n /**\\n * @dev Returns the domain seperator.\\n */\\n function DOMAIN_SEPARATOR() external view returns (bytes32);\\n\\n /**\\n * @dev Returns deposit count.\\n */\\n function depositCount() external view returns (uint256);\\n\\n /**\\n * @dev Sets the wrapped native token contract.\\n *\\n * Requirements:\\n * - The method caller is admin.\\n *\\n * Emits the `WrappedNativeTokenContractUpdated` event.\\n *\\n */\\n function setWrappedNativeTokenContract(IWETH _wrappedToken) external;\\n\\n /**\\n * @dev Returns whether the withdrawal is locked.\\n */\\n function withdrawalLocked(uint256 withdrawalId) external view returns (bool);\\n\\n /**\\n * @dev Returns the withdrawal hash.\\n */\\n function withdrawalHash(uint256 withdrawalId) external view returns (bytes32);\\n\\n /**\\n * @dev Locks the assets and request deposit.\\n */\\n function requestDepositFor(Transfer.Request calldata _request) external payable;\\n\\n /**\\n * @dev Locks the assets and request deposit for batch.\\n */\\n function requestDepositForBatch(Transfer.Request[] calldata requests) external payable;\\n\\n /**\\n * @dev Withdraws based on the receipt and the validator signatures.\\n * Returns whether the withdrawal is locked.\\n *\\n * Emits the `Withdrew` once the assets are released.\\n *\\n */\\n function submitWithdrawal(Transfer.Receipt memory _receipt, Signature[] memory _signatures) external returns (bool _locked);\\n\\n /**\\n * @dev Approves a specific withdrawal.\\n *\\n * Requirements:\\n * - The method caller is a validator.\\n *\\n * Emits the `Withdrew` once the assets are released.\\n *\\n */\\n function unlockWithdrawal(Transfer.Receipt calldata _receipt) external;\\n\\n /**\\n * @dev Maps mainchain tokens to Ronin network.\\n *\\n * Requirement:\\n * - The method caller is admin.\\n * - The arrays have the same length and its length larger than 0.\\n *\\n * Emits the `TokenMapped` event.\\n *\\n */\\n function mapTokens(address[] calldata _mainchainTokens, address[] calldata _roninTokens, TokenStandard[] calldata _standards) external;\\n\\n /**\\n * @dev Maps mainchain tokens to Ronin network and sets thresholds.\\n *\\n * Requirement:\\n * - The method caller is admin.\\n * - The arrays have the same length and its length larger than 0.\\n *\\n * Emits the `TokenMapped` event.\\n *\\n */\\n function mapTokensAndThresholds(\\n address[] calldata _mainchainTokens,\\n address[] calldata _roninTokens,\\n TokenStandard[] calldata _standards,\\n uint256[][4] calldata _thresholds\\n ) external;\\n\\n /**\\n * @dev Returns token address on Ronin network.\\n * Note: Reverts for unsupported token.\\n */\\n function getRoninToken(address _mainchainToken) external view returns (MappedToken memory _token);\\n}\\n\",\"keccak256\":\"0x77b52c1dce7c096d298e0ae14d19d79cb1d506248e947fdee27f295b33743d46\",\"license\":\"MIT\"},\"src/interfaces/IQuorum.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\ninterface IQuorum {\\n /// @dev Emitted when the threshold is updated\\n event ThresholdUpdated(uint256 indexed nonce, uint256 indexed numerator, uint256 indexed denominator, uint256 previousNumerator, uint256 previousDenominator);\\n\\n /**\\n * @dev Returns the threshold.\\n */\\n function getThreshold() external view returns (uint256 _num, uint256 _denom);\\n\\n /**\\n * @dev Checks whether the `_voteWeight` passes the threshold.\\n */\\n function checkThreshold(uint256 _voteWeight) external view returns (bool);\\n\\n /**\\n * @dev Returns the minimum vote weight to pass the threshold.\\n */\\n function minimumVoteWeight() external view returns (uint256);\\n\\n /**\\n * @dev Sets the threshold.\\n *\\n * Requirements:\\n * - The method caller is admin.\\n *\\n * Emits the `ThresholdUpdated` event.\\n *\\n */\\n function setThreshold(uint256 numerator, uint256 denominator) external;\\n}\\n\",\"keccak256\":\"0xc924e9480f59acc9bc8c033f05d3be9451de5cee0c224d76d4542fa5b67fa10f\",\"license\":\"MIT\"},\"src/interfaces/IWETH.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\ninterface IWETH {\\n event Transfer(address indexed src, address indexed dst, uint wad);\\n\\n function deposit() external payable;\\n\\n function transfer(address dst, uint wad) external returns (bool);\\n\\n function approve(address guy, uint wad) external returns (bool);\\n\\n function transferFrom(address src, address dst, uint wad) external returns (bool);\\n\\n function withdraw(uint256 _wad) external;\\n\\n function balanceOf(address) external view returns (uint256);\\n}\\n\",\"keccak256\":\"0x000700e2b9c1985d53bb1cdba435f0f3d7b48e76e596e7dbbdfec1da47131415\",\"license\":\"MIT\"},\"src/interfaces/bridge/IBridgeManager.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport { IBridgeManagerEvents } from \\\"./events/IBridgeManagerEvents.sol\\\";\\n\\n/**\\n * @title IBridgeManager\\n * @dev The interface for managing bridge operators.\\n */\\ninterface IBridgeManager is IBridgeManagerEvents {\\n /// @notice Error indicating that cannot find the querying operator\\n error ErrOperatorNotFound(address operator);\\n /// @notice Error indicating that cannot find the querying governor\\n error ErrGovernorNotFound(address governor);\\n /// @notice Error indicating that the msg.sender is not match the required governor\\n error ErrGovernorNotMatch(address required, address sender);\\n /// @notice Error indicating that the governors list will go below minimum number of required governor.\\n error ErrBelowMinRequiredGovernors();\\n /// @notice Common invalid input error\\n error ErrInvalidInput();\\n\\n /**\\n * @dev The domain separator used for computing hash digests in the contract.\\n */\\n function DOMAIN_SEPARATOR() external view returns (bytes32);\\n\\n /**\\n * @dev Returns the total number of bridge operators.\\n * @return The total number of bridge operators.\\n */\\n function totalBridgeOperator() external view returns (uint256);\\n\\n /**\\n * @dev Checks if the given address is a bridge operator.\\n * @param addr The address to check.\\n * @return A boolean indicating whether the address is a bridge operator.\\n */\\n function isBridgeOperator(address addr) external view returns (bool);\\n\\n /**\\n * @dev Retrieves the full information of all registered bridge operators.\\n *\\n * This external function allows external callers to obtain the full information of all the registered bridge operators.\\n * The returned arrays include the addresses of governors, bridge operators, and their corresponding vote weights.\\n *\\n * @return governors An array of addresses representing the governors of each bridge operator.\\n * @return bridgeOperators An array of addresses representing the registered bridge operators.\\n * @return weights An array of uint256 values representing the vote weights of each bridge operator.\\n *\\n * Note: The length of each array will be the same, and the order of elements corresponds to the same bridge operator.\\n *\\n * Example Usage:\\n * ```\\n * (address[] memory governors, address[] memory bridgeOperators, uint256[] memory weights) = getFullBridgeOperatorInfos();\\n * for (uint256 i = 0; i < bridgeOperators.length; i++) {\\n * // Access individual information for each bridge operator.\\n * address governor = governors[i];\\n * address bridgeOperator = bridgeOperators[i];\\n * uint256 weight = weights[i];\\n * // ... (Process or use the information as required) ...\\n * }\\n * ```\\n *\\n */\\n function getFullBridgeOperatorInfos() external view returns (address[] memory governors, address[] memory bridgeOperators, uint96[] memory weights);\\n\\n /**\\n * @dev Returns total weights of the governor list.\\n */\\n function sumGovernorsWeight(address[] calldata governors) external view returns (uint256 sum);\\n\\n /**\\n * @dev Returns total weights.\\n */\\n function getTotalWeight() external view returns (uint256);\\n\\n /**\\n * @dev Returns an array of all bridge operators.\\n * @return An array containing the addresses of all bridge operators.\\n */\\n function getBridgeOperators() external view returns (address[] memory);\\n\\n /**\\n * @dev Returns the corresponding `operator` of a `governor`.\\n */\\n function getOperatorOf(address governor) external view returns (address operator);\\n\\n /**\\n * @dev Returns the corresponding `governor` of a `operator`.\\n */\\n function getGovernorOf(address operator) external view returns (address governor);\\n\\n /**\\n * @dev External function to retrieve the vote weight of a specific governor.\\n * @param governor The address of the governor to get the vote weight for.\\n * @return voteWeight The vote weight of the specified governor.\\n */\\n function getGovernorWeight(address governor) external view returns (uint96);\\n\\n /**\\n * @dev External function to retrieve the vote weight of a specific bridge operator.\\n * @param bridgeOperator The address of the bridge operator to get the vote weight for.\\n * @return weight The vote weight of the specified bridge operator.\\n */\\n function getBridgeOperatorWeight(address bridgeOperator) external view returns (uint96 weight);\\n\\n /**\\n * @dev Returns the weights of a list of governor addresses.\\n */\\n function getGovernorWeights(address[] calldata governors) external view returns (uint96[] memory weights);\\n\\n /**\\n * @dev Returns an array of all governors.\\n * @return An array containing the addresses of all governors.\\n */\\n function getGovernors() external view returns (address[] memory);\\n\\n /**\\n * @dev Adds multiple bridge operators.\\n * @param governors An array of addresses of hot/cold wallets for bridge operator to update their node address.\\n * @param bridgeOperators An array of addresses representing the bridge operators to add.\\n */\\n function addBridgeOperators(uint96[] calldata voteWeights, address[] calldata governors, address[] calldata bridgeOperators) external;\\n\\n /**\\n * @dev Removes multiple bridge operators.\\n * @param bridgeOperators An array of addresses representing the bridge operators to remove.\\n */\\n function removeBridgeOperators(address[] calldata bridgeOperators) external;\\n\\n /**\\n * @dev Self-call to update the minimum required governor.\\n * @param min The minimum number, this must not less than 3.\\n */\\n function setMinRequiredGovernor(uint min) external;\\n}\\n\",\"keccak256\":\"0xefc46318a240371031e77ef3c355e2c18432e4479145378de6782277f9b44923\",\"license\":\"MIT\"},\"src/interfaces/bridge/IBridgeManagerCallback.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport { IERC165 } from \\\"@openzeppelin/contracts/utils/introspection/IERC165.sol\\\";\\n\\n/**\\n * @title IBridgeManagerCallback\\n * @dev Interface for the callback functions to be implemented by the Bridge Manager contract.\\n */\\ninterface IBridgeManagerCallback is IERC165 {\\n /**\\n * @dev Handles the event when bridge operators are added.\\n * @param bridgeOperators The addresses of the bridge operators.\\n * @param addeds The corresponding boolean values indicating whether the operators were added or not.\\n * @return selector The selector of the function being called.\\n */\\n function onBridgeOperatorsAdded(address[] memory bridgeOperators, uint96[] calldata weights, bool[] memory addeds) external returns (bytes4 selector);\\n\\n /**\\n * @dev Handles the event when bridge operators are removed.\\n * @param bridgeOperators The addresses of the bridge operators.\\n * @param removeds The corresponding boolean values indicating whether the operators were removed or not.\\n * @return selector The selector of the function being called.\\n */\\n function onBridgeOperatorsRemoved(address[] memory bridgeOperators, bool[] memory removeds) external returns (bytes4 selector);\\n}\\n\",\"keccak256\":\"0x6c8ce7e2478e28c5ed5e6f5d8305a77d6d5f9125a47adfb77632940b9a0f3625\",\"license\":\"MIT\"},\"src/interfaces/bridge/events/IBridgeManagerEvents.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\ninterface IBridgeManagerEvents {\\n /**\\n * @dev Emitted when new bridge operators are added.\\n */\\n event BridgeOperatorsAdded(bool[] statuses, uint96[] voteWeights, address[] governors, address[] bridgeOperators);\\n\\n /**\\n * @dev Emitted when a bridge operator is failed to add.\\n */\\n event BridgeOperatorAddingFailed(address indexed operator);\\n\\n /**\\n * @dev Emitted when bridge operators are removed.\\n */\\n event BridgeOperatorsRemoved(bool[] statuses, address[] bridgeOperators);\\n\\n /**\\n * @dev Emitted when a bridge operator is failed to remove.\\n */\\n event BridgeOperatorRemovingFailed(address indexed operator);\\n\\n /**\\n * @dev Emitted when a bridge operator is updated.\\n */\\n event BridgeOperatorUpdated(address indexed governor, address indexed fromBridgeOperator, address indexed toBridgeOperator);\\n\\n /**\\n * @dev Emitted when the minimum number of required governors is updated.\\n */\\n event MinRequiredGovernorUpdated(uint min);\\n}\\n\",\"keccak256\":\"0x38bc3709c98a7c08fb9b6fa3e07a725903dcb0bd07de8a828bac6c3bcf7d997d\",\"license\":\"MIT\"},\"src/interfaces/collections/IHasContracts.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.9;\\n\\nimport { ContractType } from \\\"../../utils/ContractType.sol\\\";\\n\\ninterface IHasContracts {\\n /// @dev Error of invalid role.\\n error ErrContractTypeNotFound(ContractType contractType);\\n\\n /// @dev Emitted when a contract is updated.\\n event ContractUpdated(ContractType indexed contractType, address indexed addr);\\n\\n /**\\n * @dev Returns the address of a contract with a specific role.\\n * Throws an error if no contract is set for the specified role.\\n *\\n * @param contractType The role of the contract to retrieve.\\n * @return contract_ The address of the contract with the specified role.\\n */\\n function getContract(ContractType contractType) external view returns (address contract_);\\n\\n /**\\n * @dev Sets the address of a contract with a specific role.\\n * Emits the event {ContractUpdated}.\\n * @param contractType The role of the contract to set.\\n * @param addr The address of the contract to set.\\n */\\n function setContract(ContractType contractType, address addr) external;\\n}\\n\",\"keccak256\":\"0x99d8213d857e30d367155abd15dc42730afdfbbac3a22dfb3b95ffea2083a92e\",\"license\":\"MIT\"},\"src/interfaces/consumers/MappedTokenConsumer.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport \\\"../../libraries/LibTokenInfo.sol\\\";\\n\\ninterface MappedTokenConsumer {\\n struct MappedToken {\\n TokenStandard erc;\\n address tokenAddr;\\n }\\n}\\n\",\"keccak256\":\"0xc53dcba9dc7d950ab6561149f76b45617ddbce5037e4c86ea00b976018bbfde1\",\"license\":\"MIT\"},\"src/interfaces/consumers/SignatureConsumer.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\ninterface SignatureConsumer {\\n struct Signature {\\n uint8 v;\\n bytes32 r;\\n bytes32 s;\\n }\\n}\\n\",\"keccak256\":\"0xd370e350722067097dec1a5c31bda6e47e83417fa5c3288293bb910028cd136b\",\"license\":\"MIT\"},\"src/libraries/AddressArrayUtils.sol\":{\"content\":\"// SPDX-License-Identifier: UNLICENSED\\n\\npragma solidity ^0.8.0;\\n\\nlibrary AddressArrayUtils {\\n /**\\n * @dev Error thrown when a duplicated element is detected in an array.\\n * @param msgSig The function signature that invoke the error.\\n */\\n error ErrDuplicated(bytes4 msgSig);\\n\\n /**\\n * @dev Returns whether or not there's a duplicate. Runs in O(n^2).\\n * @param A Array to search\\n * @return Returns true if duplicate, false otherwise\\n */\\n function hasDuplicate(address[] memory A) internal pure returns (bool) {\\n if (A.length == 0) {\\n return false;\\n }\\n unchecked {\\n for (uint256 i = 0; i < A.length - 1; i++) {\\n for (uint256 j = i + 1; j < A.length; j++) {\\n if (A[i] == A[j]) {\\n return true;\\n }\\n }\\n }\\n }\\n return false;\\n }\\n\\n /**\\n * @dev Returns whether two arrays of addresses are equal or not.\\n */\\n function isEqual(address[] memory _this, address[] memory _other) internal pure returns (bool yes_) {\\n // Hashing two arrays and compare their hash\\n assembly {\\n let _thisHash := keccak256(add(_this, 32), mul(mload(_this), 32))\\n let _otherHash := keccak256(add(_other, 32), mul(mload(_other), 32))\\n yes_ := eq(_thisHash, _otherHash)\\n }\\n }\\n\\n /**\\n * @dev Return the concatenated array from a and b.\\n */\\n function extend(address[] memory a, address[] memory b) internal pure returns (address[] memory c) {\\n uint256 lengthA = a.length;\\n uint256 lengthB = b.length;\\n unchecked {\\n c = new address[](lengthA + lengthB);\\n }\\n uint256 i;\\n for (; i < lengthA;) {\\n c[i] = a[i];\\n unchecked {\\n ++i;\\n }\\n }\\n for (uint256 j; j < lengthB;) {\\n c[i] = b[j];\\n unchecked {\\n ++i;\\n ++j;\\n }\\n }\\n }\\n}\\n\",\"keccak256\":\"0xce5d578861167da47a965c8a0e1592b808aad6eb79ccb1873bf2e2280ddb85ee\",\"license\":\"UNLICENSED\"},\"src/libraries/LibTokenInfo.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\nimport \\\"@openzeppelin/contracts/token/ERC721/IERC721.sol\\\";\\nimport \\\"@openzeppelin/contracts/token/ERC1155/IERC1155.sol\\\";\\nimport \\\"@openzeppelin/contracts/token/ERC1155/presets/ERC1155PresetMinterPauser.sol\\\";\\nimport \\\"../interfaces/IWETH.sol\\\";\\n\\nenum TokenStandard {\\n ERC20,\\n ERC721,\\n ERC1155\\n}\\n\\nstruct TokenInfo {\\n TokenStandard erc;\\n // For ERC20: the id must be 0 and the quantity is larger than 0.\\n // For ERC721: the quantity must be 0.\\n uint256 id;\\n uint256 quantity;\\n}\\n\\n/**\\n * @dev Error indicating that the `transfer` has failed.\\n * @param tokenInfo Info of the token including ERC standard, id or quantity.\\n * @param to Receiver of the token value.\\n * @param token Address of the token.\\n */\\nerror ErrTokenCouldNotTransfer(TokenInfo tokenInfo, address to, address token);\\n\\n/**\\n * @dev Error indicating that the `handleAssetIn` has failed.\\n * @param tokenInfo Info of the token including ERC standard, id or quantity.\\n * @param from Owner of the token value.\\n * @param to Receiver of the token value.\\n * @param token Address of the token.\\n */\\nerror ErrTokenCouldNotTransferFrom(TokenInfo tokenInfo, address from, address to, address token);\\n\\n/// @dev Error indicating that the provided information is invalid.\\nerror ErrInvalidInfo();\\n\\n/// @dev Error indicating that the minting of ERC20 tokens has failed.\\nerror ErrERC20MintingFailed();\\n\\n/// @dev Error indicating that the minting of ERC721 tokens has failed.\\nerror ErrERC721MintingFailed();\\n\\n/// @dev Error indicating that the transfer of ERC1155 tokens has failed.\\nerror ErrERC1155TransferFailed();\\n\\n/// @dev Error indicating that the mint of ERC1155 tokens has failed.\\nerror ErrERC1155MintingFailed();\\n\\n/// @dev Error indicating that an unsupported standard is encountered.\\nerror ErrUnsupportedStandard();\\n\\nlibrary LibTokenInfo {\\n /**\\n *\\n * HASH\\n *\\n */\\n\\n // keccak256(\\\"TokenInfo(uint8 erc,uint256 id,uint256 quantity)\\\");\\n bytes32 public constant INFO_TYPE_HASH_SINGLE = 0x1e2b74b2a792d5c0f0b6e59b037fa9d43d84fbb759337f0112fcc15ca414fc8d;\\n\\n /**\\n * @dev Returns token info struct hash.\\n */\\n function hash(TokenInfo memory self) internal pure returns (bytes32 digest) {\\n // keccak256(abi.encode(INFO_TYPE_HASH_SINGLE, info.erc, info.id, info.quantity))\\n assembly (\\\"memory-safe\\\") {\\n let ptr := mload(0x40)\\n mstore(ptr, INFO_TYPE_HASH_SINGLE)\\n mstore(add(ptr, 0x20), mload(self)) // info.erc\\n mstore(add(ptr, 0x40), mload(add(self, 0x20))) // info.id\\n mstore(add(ptr, 0x60), mload(add(self, 0x40))) // info.quantity\\n digest := keccak256(ptr, 0x80)\\n }\\n }\\n\\n /**\\n *\\n * VALIDATE\\n *\\n */\\n\\n /**\\n * @dev Validates the token info.\\n */\\n function validate(TokenInfo memory self) internal pure {\\n if (!(_checkERC20(self) || _checkERC721(self) || _checkERC1155(self))) {\\n revert ErrInvalidInfo();\\n }\\n }\\n\\n function _checkERC20(TokenInfo memory self) private pure returns (bool) {\\n return (self.erc == TokenStandard.ERC20 && self.quantity > 0 && self.id == 0);\\n }\\n\\n function _checkERC721(TokenInfo memory self) private pure returns (bool) {\\n return (self.erc == TokenStandard.ERC721 && self.quantity == 0);\\n }\\n\\n function _checkERC1155(TokenInfo memory self) private pure returns (bool res) {\\n // Only validate the quantity, because id of ERC-1155 can be 0.\\n return (self.erc == TokenStandard.ERC1155 && self.quantity > 0);\\n }\\n\\n /**\\n *\\n * TRANSFER IN/OUT METHOD\\n *\\n */\\n\\n /**\\n * @dev Transfer asset in.\\n *\\n * Requirements:\\n * - The `_from` address must approve for the contract using this library.\\n *\\n */\\n function handleAssetIn(TokenInfo memory self, address from, address token) internal {\\n bool success;\\n bytes memory data;\\n if (self.erc == TokenStandard.ERC20) {\\n (success, data) = token.call(abi.encodeWithSelector(IERC20.transferFrom.selector, from, address(this), self.quantity));\\n success = success && (data.length == 0 || abi.decode(data, (bool)));\\n } else if (self.erc == TokenStandard.ERC721) {\\n success = _tryTransferFromERC721(token, from, address(this), self.id);\\n } else if (self.erc == TokenStandard.ERC1155) {\\n success = _tryTransferFromERC1155(token, from, address(this), self.id, self.quantity);\\n } else {\\n revert ErrUnsupportedStandard();\\n }\\n\\n if (!success) revert ErrTokenCouldNotTransferFrom(self, from, address(this), token);\\n }\\n\\n /**\\n * @dev Tries transfer assets out, or mint the assets if cannot transfer.\\n *\\n * @notice Prioritizes transfer native token if the token is wrapped.\\n *\\n */\\n function handleAssetOut(TokenInfo memory self, address payable to, address token, IWETH wrappedNativeToken) internal {\\n if (token == address(wrappedNativeToken)) {\\n // Try sending the native token before transferring the wrapped token\\n if (!to.send(self.quantity)) {\\n wrappedNativeToken.deposit{ value: self.quantity }();\\n _transferTokenOut(self, to, token);\\n }\\n\\n return;\\n }\\n\\n if (self.erc == TokenStandard.ERC20) {\\n uint256 balance = IERC20(token).balanceOf(address(this));\\n if (balance < self.quantity) {\\n if (!_tryMintERC20(token, address(this), self.quantity - balance)) revert ErrERC20MintingFailed();\\n }\\n\\n _transferTokenOut(self, to, token);\\n return;\\n }\\n\\n if (self.erc == TokenStandard.ERC721) {\\n if (!_tryTransferOutOrMintERC721(token, to, self.id)) {\\n revert ErrERC721MintingFailed();\\n }\\n return;\\n }\\n\\n if (self.erc == TokenStandard.ERC1155) {\\n if (!_tryTransferOutOrMintERC1155(token, to, self.id, self.quantity)) {\\n revert ErrERC1155MintingFailed();\\n }\\n return;\\n }\\n\\n revert ErrUnsupportedStandard();\\n }\\n\\n /**\\n *\\n * TRANSFER HELPERS\\n *\\n */\\n\\n /**\\n * @dev Transfer assets from current address to `_to` address.\\n */\\n function _transferTokenOut(TokenInfo memory self, address to, address token) private {\\n bool success;\\n if (self.erc == TokenStandard.ERC20) {\\n success = _tryTransferERC20(token, to, self.quantity);\\n } else if (self.erc == TokenStandard.ERC721) {\\n success = _tryTransferFromERC721(token, address(this), to, self.id);\\n } else {\\n revert ErrUnsupportedStandard();\\n }\\n\\n if (!success) revert ErrTokenCouldNotTransfer(self, to, token);\\n }\\n\\n /**\\n * TRANSFER ERC-20\\n */\\n\\n /**\\n * @dev Transfers ERC20 token and returns the result.\\n */\\n function _tryTransferERC20(address token, address to, uint256 quantity) private returns (bool success) {\\n bytes memory data;\\n (success, data) = token.call(abi.encodeWithSelector(IERC20.transfer.selector, to, quantity));\\n success = success && (data.length == 0 || abi.decode(data, (bool)));\\n }\\n\\n /**\\n * @dev Mints ERC20 token and returns the result.\\n */\\n function _tryMintERC20(address token, address to, uint256 quantity) private returns (bool success) {\\n // bytes4(keccak256(\\\"mint(address,uint256)\\\"))\\n (success,) = token.call(abi.encodeWithSelector(0x40c10f19, to, quantity));\\n }\\n\\n /**\\n * TRANSFER ERC-721\\n */\\n\\n /**\\n * @dev Transfers the ERC721 token out. If the transfer failed, mints the ERC721.\\n * @return success Returns `false` if both transfer and mint are failed.\\n */\\n function _tryTransferOutOrMintERC721(address token, address to, uint256 id) private returns (bool success) {\\n success = _tryTransferFromERC721(token, address(this), to, id);\\n if (!success) {\\n return _tryMintERC721(token, to, id);\\n }\\n }\\n\\n /**\\n * @dev Transfers ERC721 token and returns the result.\\n */\\n function _tryTransferFromERC721(address token, address from, address to, uint256 id) private returns (bool success) {\\n (success,) = token.call(abi.encodeWithSelector(IERC721.transferFrom.selector, from, to, id));\\n }\\n\\n /**\\n * @dev Mints ERC721 token and returns the result.\\n */\\n function _tryMintERC721(address token, address to, uint256 id) private returns (bool success) {\\n // bytes4(keccak256(\\\"mint(address,uint256)\\\"))\\n (success,) = token.call(abi.encodeWithSelector(0x40c10f19, to, id));\\n }\\n\\n /**\\n * TRANSFER ERC-1155\\n */\\n\\n /**\\n * @dev Transfers the ERC1155 token out. If the transfer failed, mints the ERC11555.\\n * @return success Returns `false` if both transfer and mint are failed.\\n */\\n function _tryTransferOutOrMintERC1155(address token, address to, uint256 id, uint256 amount) private returns (bool success) {\\n success = _tryTransferFromERC1155(token, address(this), to, id, amount);\\n if (!success) {\\n return _tryMintERC1155(token, to, id, amount);\\n }\\n }\\n\\n /**\\n * @dev Transfers ERC1155 token and returns the result.\\n */\\n function _tryTransferFromERC1155(address token, address from, address to, uint256 id, uint256 amount) private returns (bool success) {\\n (success,) = token.call(abi.encodeCall(IERC1155.safeTransferFrom, (from, to, id, amount, new bytes(0))));\\n }\\n\\n /**\\n * @dev Mints ERC1155 token and returns the result.\\n */\\n function _tryMintERC1155(address token, address to, uint256 id, uint256 amount) private returns (bool success) {\\n (success,) = token.call(abi.encodeCall(ERC1155PresetMinterPauser.mint, (to, id, amount, new bytes(0))));\\n }\\n}\\n\",\"keccak256\":\"0x56b413a42c6c39a51dc1737e735d1623b89ecdf00bacd960f70b3f18ccaa6de2\",\"license\":\"MIT\"},\"src/libraries/LibTokenOwner.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nstruct TokenOwner {\\n address addr;\\n address tokenAddr;\\n uint256 chainId;\\n}\\n\\nlibrary LibTokenOwner {\\n // keccak256(\\\"TokenOwner(address addr,address tokenAddr,uint256 chainId)\\\");\\n bytes32 public constant OWNER_TYPE_HASH = 0x353bdd8d69b9e3185b3972e08b03845c0c14a21a390215302776a7a34b0e8764;\\n\\n /**\\n * @dev Returns ownership struct hash.\\n */\\n function hash(TokenOwner memory owner) internal pure returns (bytes32 digest) {\\n // keccak256(abi.encode(OWNER_TYPE_HASH, owner.addr, owner.tokenAddr, owner.chainId))\\n assembly (\\\"memory-safe\\\") {\\n let ptr := mload(0x40)\\n mstore(ptr, OWNER_TYPE_HASH)\\n mstore(add(ptr, 0x20), mload(owner)) // owner.addr\\n mstore(add(ptr, 0x40), mload(add(owner, 0x20))) // owner.tokenAddr\\n mstore(add(ptr, 0x60), mload(add(owner, 0x40))) // owner.chainId\\n digest := keccak256(ptr, 0x80)\\n }\\n }\\n}\\n\",\"keccak256\":\"0xb104fd02056a3ed52bf06c202e87b748200320682871b1801985050587ec2d51\",\"license\":\"MIT\"},\"src/libraries/Transfer.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport \\\"@openzeppelin/contracts/utils/cryptography/ECDSA.sol\\\";\\nimport \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\nimport \\\"./LibTokenInfo.sol\\\";\\nimport \\\"./LibTokenOwner.sol\\\";\\n\\nlibrary Transfer {\\n using ECDSA for bytes32;\\n using LibTokenOwner for TokenOwner;\\n using LibTokenInfo for TokenInfo;\\n\\n enum Kind {\\n Deposit,\\n Withdrawal\\n }\\n\\n struct Request {\\n // For deposit request: Recipient address on Ronin network\\n // For withdrawal request: Recipient address on mainchain network\\n address recipientAddr;\\n // Token address to deposit/withdraw\\n // Value 0: native token\\n address tokenAddr;\\n TokenInfo info;\\n }\\n\\n /**\\n * @dev Converts the transfer request into the deposit receipt.\\n */\\n function into_deposit_receipt(\\n Request memory _request,\\n address _requester,\\n uint256 _id,\\n address _roninTokenAddr,\\n uint256 _roninChainId\\n ) internal view returns (Receipt memory _receipt) {\\n _receipt.id = _id;\\n _receipt.kind = Kind.Deposit;\\n _receipt.mainchain.addr = _requester;\\n _receipt.mainchain.tokenAddr = _request.tokenAddr;\\n _receipt.mainchain.chainId = block.chainid;\\n _receipt.ronin.addr = _request.recipientAddr;\\n _receipt.ronin.tokenAddr = _roninTokenAddr;\\n _receipt.ronin.chainId = _roninChainId;\\n _receipt.info = _request.info;\\n }\\n\\n /**\\n * @dev Converts the transfer request into the withdrawal receipt.\\n */\\n function into_withdrawal_receipt(\\n Request memory _request,\\n address _requester,\\n uint256 _id,\\n address _mainchainTokenAddr,\\n uint256 _mainchainId\\n ) internal view returns (Receipt memory _receipt) {\\n _receipt.id = _id;\\n _receipt.kind = Kind.Withdrawal;\\n _receipt.ronin.addr = _requester;\\n _receipt.ronin.tokenAddr = _request.tokenAddr;\\n _receipt.ronin.chainId = block.chainid;\\n _receipt.mainchain.addr = _request.recipientAddr;\\n _receipt.mainchain.tokenAddr = _mainchainTokenAddr;\\n _receipt.mainchain.chainId = _mainchainId;\\n _receipt.info = _request.info;\\n }\\n\\n struct Receipt {\\n uint256 id;\\n Kind kind;\\n TokenOwner mainchain;\\n TokenOwner ronin;\\n TokenInfo info;\\n }\\n\\n // keccak256(\\\"Receipt(uint256 id,uint8 kind,TokenOwner mainchain,TokenOwner ronin,TokenInfo info)TokenInfo(uint8 erc,uint256 id,uint256 quantity)TokenOwner(address addr,address tokenAddr,uint256 chainId)\\\");\\n bytes32 public constant TYPE_HASH = 0xb9d1fe7c9deeec5dc90a2f47ff1684239519f2545b2228d3d91fb27df3189eea;\\n\\n /**\\n * @dev Returns token info struct hash.\\n */\\n function hash(Receipt memory _receipt) internal pure returns (bytes32 digest) {\\n bytes32 hashedReceiptMainchain = _receipt.mainchain.hash();\\n bytes32 hashedReceiptRonin = _receipt.ronin.hash();\\n bytes32 hashedReceiptInfo = _receipt.info.hash();\\n\\n /*\\n * return\\n * keccak256(\\n * abi.encode(\\n * TYPE_HASH,\\n * _receipt.id,\\n * _receipt.kind,\\n * Token.hash(_receipt.mainchain),\\n * Token.hash(_receipt.ronin),\\n * Token.hash(_receipt.info)\\n * )\\n * );\\n */\\n assembly {\\n let ptr := mload(0x40)\\n mstore(ptr, TYPE_HASH)\\n mstore(add(ptr, 0x20), mload(_receipt)) // _receipt.id\\n mstore(add(ptr, 0x40), mload(add(_receipt, 0x20))) // _receipt.kind\\n mstore(add(ptr, 0x60), hashedReceiptMainchain)\\n mstore(add(ptr, 0x80), hashedReceiptRonin)\\n mstore(add(ptr, 0xa0), hashedReceiptInfo)\\n digest := keccak256(ptr, 0xc0)\\n }\\n }\\n\\n /**\\n * @dev Returns the receipt digest.\\n */\\n function receiptDigest(bytes32 _domainSeparator, bytes32 _receiptHash) internal pure returns (bytes32) {\\n return _domainSeparator.toTypedDataHash(_receiptHash);\\n }\\n}\\n\",\"keccak256\":\"0x652c72f4e9aeffed1be05759c84c538a416d2c264deef9af4c53de0a1ad04ee4\",\"license\":\"MIT\"},\"src/mainchain/MainchainGatewayV3.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.23;\\n\\nimport \\\"@openzeppelin/contracts/access/AccessControlEnumerable.sol\\\";\\nimport \\\"@openzeppelin/contracts/proxy/utils/Initializable.sol\\\";\\nimport \\\"@openzeppelin/contracts/token/ERC1155/utils/ERC1155Holder.sol\\\";\\nimport { IBridgeManager } from \\\"../interfaces/bridge/IBridgeManager.sol\\\";\\nimport { IBridgeManagerCallback } from \\\"../interfaces/bridge/IBridgeManagerCallback.sol\\\";\\nimport { HasContracts, ContractType } from \\\"../extensions/collections/HasContracts.sol\\\";\\nimport \\\"../extensions/WethUnwrapper.sol\\\";\\nimport \\\"../extensions/WithdrawalLimitation.sol\\\";\\nimport \\\"../libraries/Transfer.sol\\\";\\nimport \\\"../interfaces/IMainchainGatewayV3.sol\\\";\\n\\ncontract MainchainGatewayV3 is\\n WithdrawalLimitation,\\n Initializable,\\n AccessControlEnumerable,\\n ERC1155Holder,\\n IMainchainGatewayV3,\\n HasContracts,\\n IBridgeManagerCallback\\n{\\n using LibTokenInfo for TokenInfo;\\n using Transfer for Transfer.Request;\\n using Transfer for Transfer.Receipt;\\n\\n /// @dev Withdrawal unlocker role hash\\n bytes32 public constant WITHDRAWAL_UNLOCKER_ROLE = keccak256(\\\"WITHDRAWAL_UNLOCKER_ROLE\\\");\\n\\n /// @dev Wrapped native token address\\n IWETH public wrappedNativeToken;\\n /// @dev Ronin network id\\n uint256 public roninChainId;\\n /// @dev Total deposit\\n uint256 public depositCount;\\n /// @dev Domain separator\\n bytes32 internal _domainSeparator;\\n /// @dev Mapping from mainchain token => token address on Ronin network\\n mapping(address => MappedToken) internal _roninToken;\\n /// @dev Mapping from withdrawal id => withdrawal hash\\n mapping(uint256 => bytes32) public withdrawalHash;\\n /// @dev Mapping from withdrawal id => locked\\n mapping(uint256 => bool) public withdrawalLocked;\\n\\n /// @custom:deprecated Previously `_bridgeOperatorAddedBlock` (mapping(address => uint256))\\n uint256 private ______deprecatedBridgeOperatorAddedBlock;\\n /// @custom:deprecated Previously `_bridgeOperators` (uint256[])\\n uint256 private ______deprecatedBridgeOperators;\\n\\n uint96 private _totalOperatorWeight;\\n mapping(address operator => uint96 weight) private _operatorWeight;\\n WethUnwrapper public wethUnwrapper;\\n\\n constructor() {\\n _disableInitializers();\\n }\\n\\n fallback() external payable {\\n _fallback();\\n }\\n\\n receive() external payable {\\n _fallback();\\n }\\n\\n /**\\n * @dev Initializes contract storage.\\n */\\n function initialize(\\n address _roleSetter,\\n IWETH _wrappedToken,\\n uint256 _roninChainId,\\n uint256 _numerator,\\n uint256 _highTierVWNumerator,\\n uint256 _denominator,\\n // _addresses[0]: mainchainTokens\\n // _addresses[1]: roninTokens\\n // _addresses[2]: withdrawalUnlockers\\n address[][3] calldata _addresses,\\n // _thresholds[0]: highTierThreshold\\n // _thresholds[1]: lockedThreshold\\n // _thresholds[2]: unlockFeePercentages\\n // _thresholds[3]: dailyWithdrawalLimit\\n uint256[][4] calldata _thresholds,\\n TokenStandard[] calldata _standards\\n ) external payable virtual initializer {\\n _setupRole(DEFAULT_ADMIN_ROLE, _roleSetter);\\n roninChainId = _roninChainId;\\n\\n _setWrappedNativeTokenContract(_wrappedToken);\\n _updateDomainSeparator();\\n _setThreshold(_numerator, _denominator);\\n _setHighTierVoteWeightThreshold(_highTierVWNumerator, _denominator);\\n _verifyThresholds();\\n\\n if (_addresses[0].length > 0) {\\n // Map mainchain tokens to ronin tokens\\n _mapTokens(_addresses[0], _addresses[1], _standards);\\n // Sets thresholds based on the mainchain tokens\\n _setHighTierThresholds(_addresses[0], _thresholds[0]);\\n _setLockedThresholds(_addresses[0], _thresholds[1]);\\n _setUnlockFeePercentages(_addresses[0], _thresholds[2]);\\n _setDailyWithdrawalLimits(_addresses[0], _thresholds[3]);\\n }\\n\\n // Grant role for withdrawal unlocker\\n for (uint256 i; i < _addresses[2].length; i++) {\\n _grantRole(WITHDRAWAL_UNLOCKER_ROLE, _addresses[2][i]);\\n }\\n }\\n\\n function initializeV2(address bridgeManagerContract) external reinitializer(2) {\\n _setContract(ContractType.BRIDGE_MANAGER, bridgeManagerContract);\\n }\\n\\n function initializeV3() external reinitializer(3) {\\n IBridgeManager mainchainBridgeManager = IBridgeManager(getContract(ContractType.BRIDGE_MANAGER));\\n (, address[] memory operators, uint96[] memory weights) = mainchainBridgeManager.getFullBridgeOperatorInfos();\\n\\n uint96 totalWeight;\\n for (uint i; i < operators.length; i++) {\\n _operatorWeight[operators[i]] = weights[i];\\n totalWeight += weights[i];\\n }\\n _totalOperatorWeight = totalWeight;\\n }\\n\\n function initializeV4(address payable wethUnwrapper_) external reinitializer(4) {\\n wethUnwrapper = WethUnwrapper(wethUnwrapper_);\\n }\\n\\n /**\\n * @dev Receives ether without doing anything. Use this function to topup native token.\\n */\\n function receiveEther() external payable { }\\n\\n /**\\n * @inheritdoc IMainchainGatewayV3\\n */\\n function DOMAIN_SEPARATOR() external view virtual returns (bytes32) {\\n return _domainSeparator;\\n }\\n\\n /**\\n * @inheritdoc IMainchainGatewayV3\\n */\\n function setWrappedNativeTokenContract(IWETH _wrappedToken) external virtual onlyProxyAdmin {\\n _setWrappedNativeTokenContract(_wrappedToken);\\n }\\n\\n /**\\n * @inheritdoc IMainchainGatewayV3\\n */\\n function requestDepositFor(Transfer.Request calldata _request) external payable virtual whenNotPaused {\\n _requestDepositFor(_request, msg.sender);\\n }\\n\\n /**\\n * @inheritdoc IMainchainGatewayV3\\n */\\n function requestDepositForBatch(Transfer.Request[] calldata _requests) external payable virtual whenNotPaused {\\n uint length = _requests.length;\\n for (uint256 i; i < length; ++i) {\\n _requestDepositFor(_requests[i], msg.sender);\\n }\\n }\\n\\n /**\\n * @inheritdoc IMainchainGatewayV3\\n */\\n function submitWithdrawal(Transfer.Receipt calldata _receipt, Signature[] calldata _signatures) external virtual whenNotPaused returns (bool _locked) {\\n return _submitWithdrawal(_receipt, _signatures);\\n }\\n\\n /**\\n * @inheritdoc IMainchainGatewayV3\\n */\\n function unlockWithdrawal(Transfer.Receipt calldata receipt) external onlyRole(WITHDRAWAL_UNLOCKER_ROLE) {\\n bytes32 _receiptHash = receipt.hash();\\n if (withdrawalHash[receipt.id] != receipt.hash()) {\\n revert ErrInvalidReceipt();\\n }\\n if (!withdrawalLocked[receipt.id]) {\\n revert ErrQueryForApprovedWithdrawal();\\n }\\n delete withdrawalLocked[receipt.id];\\n emit WithdrawalUnlocked(_receiptHash, receipt);\\n\\n address token = receipt.mainchain.tokenAddr;\\n if (receipt.info.erc == TokenStandard.ERC20) {\\n TokenInfo memory feeInfo = receipt.info;\\n feeInfo.quantity = _computeFeePercentage(receipt.info.quantity, unlockFeePercentages[token]);\\n TokenInfo memory withdrawInfo = receipt.info;\\n withdrawInfo.quantity = receipt.info.quantity - feeInfo.quantity;\\n\\n feeInfo.handleAssetOut(payable(msg.sender), token, wrappedNativeToken);\\n withdrawInfo.handleAssetOut(payable(receipt.mainchain.addr), token, wrappedNativeToken);\\n } else {\\n receipt.info.handleAssetOut(payable(receipt.mainchain.addr), token, wrappedNativeToken);\\n }\\n\\n emit Withdrew(_receiptHash, receipt);\\n }\\n\\n /**\\n * @inheritdoc IMainchainGatewayV3\\n */\\n function mapTokens(address[] calldata _mainchainTokens, address[] calldata _roninTokens, TokenStandard[] calldata _standards) external virtual onlyProxyAdmin {\\n if (_mainchainTokens.length == 0) revert ErrEmptyArray();\\n _mapTokens(_mainchainTokens, _roninTokens, _standards);\\n }\\n\\n /**\\n * @inheritdoc IMainchainGatewayV3\\n */\\n function mapTokensAndThresholds(\\n address[] calldata _mainchainTokens,\\n address[] calldata _roninTokens,\\n TokenStandard[] calldata _standards,\\n // _thresholds[0]: highTierThreshold\\n // _thresholds[1]: lockedThreshold\\n // _thresholds[2]: unlockFeePercentages\\n // _thresholds[3]: dailyWithdrawalLimit\\n uint256[][4] calldata _thresholds\\n ) external virtual onlyProxyAdmin {\\n if (_mainchainTokens.length == 0) revert ErrEmptyArray();\\n _mapTokens(_mainchainTokens, _roninTokens, _standards);\\n _setHighTierThresholds(_mainchainTokens, _thresholds[0]);\\n _setLockedThresholds(_mainchainTokens, _thresholds[1]);\\n _setUnlockFeePercentages(_mainchainTokens, _thresholds[2]);\\n _setDailyWithdrawalLimits(_mainchainTokens, _thresholds[3]);\\n }\\n\\n /**\\n * @inheritdoc IMainchainGatewayV3\\n */\\n function getRoninToken(address mainchainToken) public view returns (MappedToken memory token) {\\n token = _roninToken[mainchainToken];\\n if (token.tokenAddr == address(0)) revert ErrUnsupportedToken();\\n }\\n\\n /**\\n * @dev Maps mainchain tokens to Ronin network.\\n *\\n * Requirement:\\n * - The arrays have the same length.\\n *\\n * Emits the `TokenMapped` event.\\n *\\n */\\n function _mapTokens(address[] calldata mainchainTokens, address[] calldata roninTokens, TokenStandard[] calldata standards) internal virtual {\\n if (!(mainchainTokens.length == roninTokens.length && mainchainTokens.length == standards.length)) revert ErrLengthMismatch(msg.sig);\\n\\n for (uint256 i; i < mainchainTokens.length; ++i) {\\n _roninToken[mainchainTokens[i]].tokenAddr = roninTokens[i];\\n _roninToken[mainchainTokens[i]].erc = standards[i];\\n }\\n\\n emit TokenMapped(mainchainTokens, roninTokens, standards);\\n }\\n\\n /**\\n * @dev Submits withdrawal receipt.\\n *\\n * Requirements:\\n * - The receipt kind is withdrawal.\\n * - The receipt is to withdraw on this chain.\\n * - The receipt is not used to withdraw before.\\n * - The withdrawal is not reached the limit threshold.\\n * - The signer weight total is larger than or equal to the minimum threshold.\\n * - The signature signers are in order.\\n *\\n * Emits the `Withdrew` once the assets are released.\\n *\\n */\\n function _submitWithdrawal(Transfer.Receipt calldata receipt, Signature[] memory signatures) internal virtual returns (bool locked) {\\n uint256 id = receipt.id;\\n uint256 quantity = receipt.info.quantity;\\n address tokenAddr = receipt.mainchain.tokenAddr;\\n\\n receipt.info.validate();\\n if (receipt.kind != Transfer.Kind.Withdrawal) revert ErrInvalidReceiptKind();\\n\\n if (receipt.mainchain.chainId != block.chainid) {\\n revert ErrInvalidChainId(msg.sig, receipt.mainchain.chainId, block.chainid);\\n }\\n\\n MappedToken memory token = getRoninToken(receipt.mainchain.tokenAddr);\\n\\n if (!(token.erc == receipt.info.erc && token.tokenAddr == receipt.ronin.tokenAddr && receipt.ronin.chainId == roninChainId)) {\\n revert ErrInvalidReceipt();\\n }\\n\\n if (withdrawalHash[id] != 0) revert ErrQueryForProcessedWithdrawal();\\n\\n if (!(receipt.info.erc == TokenStandard.ERC721 || !_reachedWithdrawalLimit(tokenAddr, quantity))) {\\n revert ErrReachedDailyWithdrawalLimit();\\n }\\n\\n bytes32 receiptHash = receipt.hash();\\n bytes32 receiptDigest = Transfer.receiptDigest(_domainSeparator, receiptHash);\\n\\n uint256 minimumWeight;\\n (minimumWeight, locked) = _computeMinVoteWeight(receipt.info.erc, tokenAddr, quantity);\\n\\n {\\n bool passed;\\n address signer;\\n address lastSigner;\\n Signature memory sig;\\n uint256 weight;\\n for (uint256 i; i < signatures.length; i++) {\\n sig = signatures[i];\\n signer = ecrecover(receiptDigest, sig.v, sig.r, sig.s);\\n if (lastSigner >= signer) revert ErrInvalidOrder(msg.sig);\\n\\n lastSigner = signer;\\n\\n weight += _getWeight(signer);\\n if (weight >= minimumWeight) {\\n passed = true;\\n break;\\n }\\n }\\n\\n if (!passed) revert ErrQueryForInsufficientVoteWeight();\\n withdrawalHash[id] = receiptHash;\\n }\\n\\n if (locked) {\\n withdrawalLocked[id] = true;\\n emit WithdrawalLocked(receiptHash, receipt);\\n return locked;\\n }\\n\\n _recordWithdrawal(tokenAddr, quantity);\\n receipt.info.handleAssetOut(payable(receipt.mainchain.addr), tokenAddr, wrappedNativeToken);\\n emit Withdrew(receiptHash, receipt);\\n }\\n\\n /**\\n * @dev Requests deposit made by `_requester` address.\\n *\\n * Requirements:\\n * - The token info is valid.\\n * - The `msg.value` is 0 while depositing ERC20 token.\\n * - The `msg.value` is equal to deposit quantity while depositing native token.\\n *\\n * Emits the `DepositRequested` event.\\n *\\n */\\n function _requestDepositFor(Transfer.Request memory _request, address _requester) internal virtual {\\n MappedToken memory _token;\\n address _roninWeth = address(wrappedNativeToken);\\n\\n _request.info.validate();\\n if (_request.tokenAddr == address(0)) {\\n if (_request.info.quantity != msg.value) revert ErrInvalidRequest();\\n\\n _token = getRoninToken(_roninWeth);\\n if (_token.erc != _request.info.erc) revert ErrInvalidTokenStandard();\\n\\n _request.tokenAddr = _roninWeth;\\n } else {\\n if (msg.value != 0) revert ErrInvalidRequest();\\n\\n _token = getRoninToken(_request.tokenAddr);\\n if (_token.erc != _request.info.erc) revert ErrInvalidTokenStandard();\\n\\n _request.info.handleAssetIn(_requester, _request.tokenAddr);\\n // Withdraw if token is WETH\\n // The withdraw of WETH must go via `WethUnwrapper`, because `WETH.withdraw` only sends 2300 gas, which is insufficient when recipient is a proxy.\\n if (_roninWeth == _request.tokenAddr) {\\n wrappedNativeToken.approve(address(wethUnwrapper), _request.info.quantity);\\n wethUnwrapper.unwrap(_request.info.quantity);\\n }\\n }\\n\\n uint256 _depositId = depositCount++;\\n Transfer.Receipt memory _receipt = _request.into_deposit_receipt(_requester, _depositId, _token.tokenAddr, roninChainId);\\n\\n emit DepositRequested(_receipt.hash(), _receipt);\\n }\\n\\n /**\\n * @dev Returns the minimum vote weight for the token.\\n */\\n function _computeMinVoteWeight(TokenStandard _erc, address _token, uint256 _quantity) internal virtual returns (uint256 _weight, bool _locked) {\\n uint256 _totalWeight = _getTotalWeight();\\n _weight = _minimumVoteWeight(_totalWeight);\\n if (_erc == TokenStandard.ERC20) {\\n if (highTierThreshold[_token] <= _quantity) {\\n _weight = _highTierVoteWeight(_totalWeight);\\n }\\n _locked = _lockedWithdrawalRequest(_token, _quantity);\\n }\\n }\\n\\n /**\\n * @dev Update domain seperator.\\n */\\n function _updateDomainSeparator() internal {\\n /*\\n * _domainSeparator = keccak256(\\n * abi.encode(\\n * keccak256(\\\"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\\\"),\\n * keccak256(\\\"MainchainGatewayV2\\\"),\\n * keccak256(\\\"2\\\"),\\n * block.chainid,\\n * address(this)\\n * )\\n * );\\n */\\n assembly {\\n let ptr := mload(0x40)\\n // keccak256(\\\"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\\\")\\n mstore(ptr, 0x8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f)\\n // keccak256(\\\"MainchainGatewayV2\\\")\\n mstore(add(ptr, 0x20), 0x159f52c1e3a2b6a6aad3950adf713516211484e0516dad685ea662a094b7c43b)\\n // keccak256(\\\"2\\\")\\n mstore(add(ptr, 0x40), 0xad7c5bef027816a800da1736444fb58a807ef4c9603b7848673f7e3a68eb14a5)\\n mstore(add(ptr, 0x60), chainid())\\n mstore(add(ptr, 0x80), address())\\n sstore(_domainSeparator.slot, keccak256(ptr, 0xa0))\\n }\\n }\\n\\n /**\\n * @dev Sets the WETH contract.\\n *\\n * Emits the `WrappedNativeTokenContractUpdated` event.\\n *\\n */\\n function _setWrappedNativeTokenContract(IWETH _wrapedToken) internal {\\n wrappedNativeToken = _wrapedToken;\\n emit WrappedNativeTokenContractUpdated(_wrapedToken);\\n }\\n\\n /**\\n * @dev Receives ETH from WETH or creates deposit request if sender is not WETH or WETHUnwrapper.\\n */\\n function _fallback() internal virtual {\\n if (msg.sender == address(wrappedNativeToken) || msg.sender == address(wethUnwrapper)) {\\n return;\\n }\\n\\n _createDepositOnFallback();\\n }\\n\\n /**\\n * @dev Creates deposit request.\\n */\\n function _createDepositOnFallback() internal virtual whenNotPaused {\\n Transfer.Request memory _request;\\n _request.recipientAddr = msg.sender;\\n _request.info.quantity = msg.value;\\n _requestDepositFor(_request, _request.recipientAddr);\\n }\\n\\n /**\\n * @inheritdoc GatewayV3\\n */\\n function _getTotalWeight() internal view override returns (uint256) {\\n return _totalOperatorWeight;\\n }\\n\\n /**\\n * @dev Returns the weight of an address.\\n */\\n function _getWeight(address addr) internal view returns (uint256) {\\n return _operatorWeight[addr];\\n }\\n\\n ///////////////////////////////////////////////\\n // CALLBACKS\\n ///////////////////////////////////////////////\\n\\n /**\\n * @inheritdoc IBridgeManagerCallback\\n */\\n function onBridgeOperatorsAdded(\\n address[] calldata operators,\\n uint96[] calldata weights,\\n bool[] memory addeds\\n ) external onlyContract(ContractType.BRIDGE_MANAGER) returns (bytes4) {\\n uint256 length = operators.length;\\n if (length != addeds.length || length != weights.length) revert ErrLengthMismatch(msg.sig);\\n if (length == 0) {\\n return IBridgeManagerCallback.onBridgeOperatorsAdded.selector;\\n }\\n\\n for (uint256 i; i < length; ++i) {\\n unchecked {\\n if (addeds[i]) {\\n _totalOperatorWeight += weights[i];\\n _operatorWeight[operators[i]] = weights[i];\\n }\\n }\\n }\\n\\n return IBridgeManagerCallback.onBridgeOperatorsAdded.selector;\\n }\\n\\n /**\\n * @inheritdoc IBridgeManagerCallback\\n */\\n function onBridgeOperatorsRemoved(address[] calldata operators, bool[] calldata removeds) external onlyContract(ContractType.BRIDGE_MANAGER) returns (bytes4) {\\n uint length = operators.length;\\n if (length != removeds.length) revert ErrLengthMismatch(msg.sig);\\n if (length == 0) {\\n return IBridgeManagerCallback.onBridgeOperatorsRemoved.selector;\\n }\\n\\n uint96 totalRemovingWeight;\\n for (uint i; i < length; ++i) {\\n unchecked {\\n if (removeds[i]) {\\n totalRemovingWeight += _operatorWeight[operators[i]];\\n delete _operatorWeight[operators[i]];\\n }\\n }\\n }\\n\\n _totalOperatorWeight -= totalRemovingWeight;\\n\\n return IBridgeManagerCallback.onBridgeOperatorsRemoved.selector;\\n }\\n\\n function supportsInterface(bytes4 interfaceId) public view override(AccessControlEnumerable, IERC165, ERC1155Receiver) returns (bool) {\\n return\\n interfaceId == type(IMainchainGatewayV3).interfaceId || interfaceId == type(IBridgeManagerCallback).interfaceId || super.supportsInterface(interfaceId);\\n }\\n}\\n\",\"keccak256\":\"0xcb718591e95d9de1f4b07a6a12d9e6bee4c16822e8dd8885b1d6affeda2cc0f9\",\"license\":\"MIT\"},\"src/utils/CommonErrors.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport { ContractType } from \\\"./ContractType.sol\\\";\\nimport { RoleAccess } from \\\"./RoleAccess.sol\\\";\\n\\nerror ErrSyncTooFarPeriod(uint256 period, uint256 latestRewardedPeriod);\\n/**\\n * @dev Error thrown when an address is expected to be an already created externally owned account (EOA).\\n * This error indicates that the provided address is invalid for certain contract operations that require already created EOA.\\n */\\nerror ErrAddressIsNotCreatedEOA(address addr, bytes32 codehash);\\n/**\\n * @dev Error raised when a bridge operator update operation fails.\\n * @param bridgeOperator The address of the bridge operator that failed to update.\\n */\\nerror ErrBridgeOperatorUpdateFailed(address bridgeOperator);\\n/**\\n * @dev Error thrown when attempting to add a bridge operator that already exists in the contract.\\n * This error indicates that the provided bridge operator address is already registered as a bridge operator in the contract.\\n */\\nerror ErrBridgeOperatorAlreadyExisted(address bridgeOperator);\\n/**\\n * @dev The error indicating an unsupported interface.\\n * @param interfaceId The bytes4 interface identifier that is not supported.\\n * @param addr The address where the unsupported interface was encountered.\\n */\\nerror ErrUnsupportedInterface(bytes4 interfaceId, address addr);\\n/**\\n * @dev Error thrown when the return data from a callback function is invalid.\\n * @param callbackFnSig The signature of the callback function that returned invalid data.\\n * @param register The address of the register where the callback function was invoked.\\n * @param returnData The invalid return data received from the callback function.\\n */\\nerror ErrInvalidReturnData(bytes4 callbackFnSig, address register, bytes returnData);\\n/**\\n * @dev Error of set to non-contract.\\n */\\nerror ErrZeroCodeContract(address addr);\\n/**\\n * @dev Error indicating that arguments are invalid.\\n */\\nerror ErrInvalidArguments(bytes4 msgSig);\\n/**\\n * @dev Error indicating that given address is null when it should not.\\n */\\nerror ErrZeroAddress(bytes4 msgSig);\\n/**\\n * @dev Error indicating that the provided threshold is invalid for a specific function signature.\\n * @param msgSig The function signature (bytes4) that the invalid threshold applies to.\\n */\\nerror ErrInvalidThreshold(bytes4 msgSig);\\n\\n/**\\n * @dev Error indicating that a function can only be called by the contract itself.\\n * @param msgSig The function signature (bytes4) that can only be called by the contract itself.\\n */\\nerror ErrOnlySelfCall(bytes4 msgSig);\\n\\n/**\\n * @dev Error indicating that the caller is unauthorized to perform a specific function.\\n * @param msgSig The function signature (bytes4) that the caller is unauthorized to perform.\\n * @param expectedRole The role required to perform the function.\\n */\\nerror ErrUnauthorized(bytes4 msgSig, RoleAccess expectedRole);\\n\\n/**\\n * @dev Error indicating that the caller is unauthorized to perform a specific function.\\n * @param msgSig The function signature (bytes4) that the caller is unauthorized to perform.\\n */\\nerror ErrUnauthorizedCall(bytes4 msgSig);\\n\\n/**\\n * @dev Error indicating that the caller is unauthorized to perform a specific function.\\n * @param msgSig The function signature (bytes4).\\n * @param expectedContractType The contract type required to perform the function.\\n * @param actual The actual address that called to the function.\\n */\\nerror ErrUnexpectedInternalCall(bytes4 msgSig, ContractType expectedContractType, address actual);\\n\\n/**\\n * @dev Error indicating that an array is empty when it should contain elements.\\n */\\nerror ErrEmptyArray();\\n\\n/**\\n * @dev Error indicating a mismatch in the length of input parameters or arrays for a specific function.\\n * @param msgSig The function signature (bytes4) that has a length mismatch.\\n */\\nerror ErrLengthMismatch(bytes4 msgSig);\\n\\n/**\\n * @dev Error indicating that a proxy call to an external contract has failed.\\n * @param msgSig The function signature (bytes4) of the proxy call that failed.\\n * @param extCallSig The function signature (bytes4) of the external contract call that failed.\\n */\\nerror ErrProxyCallFailed(bytes4 msgSig, bytes4 extCallSig);\\n\\n/**\\n * @dev Error indicating that a function tried to call a precompiled contract that is not allowed.\\n * @param msgSig The function signature (bytes4) that attempted to call a precompiled contract.\\n */\\nerror ErrCallPrecompiled(bytes4 msgSig);\\n\\n/**\\n * @dev Error indicating that a native token transfer has failed.\\n * @param msgSig The function signature (bytes4) of the token transfer that failed.\\n */\\nerror ErrNativeTransferFailed(bytes4 msgSig);\\n\\n/**\\n * @dev Error indicating that an order is invalid.\\n * @param msgSig The function signature (bytes4) of the operation that encountered an invalid order.\\n */\\nerror ErrInvalidOrder(bytes4 msgSig);\\n\\n/**\\n * @dev Error indicating that the chain ID is invalid.\\n * @param msgSig The function signature (bytes4) of the operation that encountered an invalid chain ID.\\n * @param actual Current chain ID that executing function.\\n * @param expected Expected chain ID required for the tx to success.\\n */\\nerror ErrInvalidChainId(bytes4 msgSig, uint256 actual, uint256 expected);\\n\\n/**\\n * @dev Error indicating that a vote type is not supported.\\n * @param msgSig The function signature (bytes4) of the operation that encountered an unsupported vote type.\\n */\\nerror ErrUnsupportedVoteType(bytes4 msgSig);\\n\\n/**\\n * @dev Error indicating that the proposal nonce is invalid.\\n * @param msgSig The function signature (bytes4) of the operation that encountered an invalid proposal nonce.\\n */\\nerror ErrInvalidProposalNonce(bytes4 msgSig);\\n\\n/**\\n * @dev Error indicating that a voter has already voted.\\n * @param voter The address of the voter who has already voted.\\n */\\nerror ErrAlreadyVoted(address voter);\\n\\n/**\\n * @dev Error indicating that a signature is invalid for a specific function signature.\\n * @param msgSig The function signature (bytes4) that encountered an invalid signature.\\n */\\nerror ErrInvalidSignatures(bytes4 msgSig);\\n\\n/**\\n * @dev Error indicating that a relay call has failed.\\n * @param msgSig The function signature (bytes4) of the relay call that failed.\\n */\\nerror ErrRelayFailed(bytes4 msgSig);\\n/**\\n * @dev Error indicating that a vote weight is invalid for a specific function signature.\\n * @param msgSig The function signature (bytes4) that encountered an invalid vote weight.\\n */\\nerror ErrInvalidVoteWeight(bytes4 msgSig);\\n\\n/**\\n * @dev Error indicating that a query was made for an outdated bridge operator set.\\n */\\nerror ErrQueryForOutdatedBridgeOperatorSet();\\n\\n/**\\n * @dev Error indicating that a request is invalid.\\n */\\nerror ErrInvalidRequest();\\n\\n/**\\n * @dev Error indicating that a token standard is invalid.\\n */\\nerror ErrInvalidTokenStandard();\\n\\n/**\\n * @dev Error indicating that a token is not supported.\\n */\\nerror ErrUnsupportedToken();\\n\\n/**\\n * @dev Error indicating that a receipt kind is invalid.\\n */\\nerror ErrInvalidReceiptKind();\\n\\n/**\\n * @dev Error indicating that a receipt is invalid.\\n */\\nerror ErrInvalidReceipt();\\n\\n/**\\n * @dev Error indicating that an address is not payable.\\n */\\nerror ErrNonpayableAddress(address);\\n\\n/**\\n * @dev Error indicating that the period is already processed, i.e. scattered reward.\\n */\\nerror ErrPeriodAlreadyProcessed(uint256 requestingPeriod, uint256 latestPeriod);\\n\\n/**\\n * @dev Error thrown when an invalid vote hash is provided.\\n */\\nerror ErrInvalidVoteHash();\\n\\n/**\\n * @dev Error thrown when querying for an empty vote.\\n */\\nerror ErrQueryForEmptyVote();\\n\\n/**\\n * @dev Error thrown when querying for an expired vote.\\n */\\nerror ErrQueryForExpiredVote();\\n\\n/**\\n * @dev Error thrown when querying for a non-existent vote.\\n */\\nerror ErrQueryForNonExistentVote();\\n\\n/**\\n * @dev Error indicating that the method is only called once per block.\\n */\\nerror ErrOncePerBlock();\\n\\n/**\\n * @dev Error of method caller must be coinbase\\n */\\nerror ErrCallerMustBeCoinbase();\\n\\n/**\\n * @dev Error thrown when an invalid proposal is encountered.\\n * @param actual The actual value of the proposal.\\n * @param expected The expected value of the proposal.\\n */\\nerror ErrInvalidProposal(bytes32 actual, bytes32 expected);\\n\\n/**\\n * @dev Error of proposal is not approved for executing.\\n */\\nerror ErrProposalNotApproved();\\n\\n/**\\n * @dev Error of the caller is not the specified executor.\\n */\\nerror ErrInvalidExecutor();\\n\\n/**\\n * @dev Error of the `caller` to relay is not the specified `executor`.\\n */\\nerror ErrNonExecutorCannotRelay(address executor, address caller);\\n\",\"keccak256\":\"0x0d9e2fd98f6b704273faad707ed9eadbd4c79551ee3f902bff5b29213a204679\",\"license\":\"MIT\"},\"src/utils/ContractType.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nenum ContractType {\\n UNKNOWN, // 0\\n PAUSE_ENFORCER, // 1\\n BRIDGE, // 2\\n BRIDGE_TRACKING, // 3\\n GOVERNANCE_ADMIN, // 4\\n MAINTENANCE, // 5\\n SLASH_INDICATOR, // 6\\n STAKING_VESTING, // 7\\n VALIDATOR, // 8\\n STAKING, // 9\\n RONIN_TRUSTED_ORGANIZATION, // 10\\n BRIDGE_MANAGER, // 11\\n BRIDGE_SLASH, // 12\\n BRIDGE_REWARD, // 13\\n FAST_FINALITY_TRACKING, // 14\\n PROFILE // 15\\n\\n}\\n\",\"keccak256\":\"0xec088aa939cd885dbe84e944942d7ea674e1fff8802c1f2ae5d8e84e4578357d\",\"license\":\"MIT\"},\"src/utils/IdentityGuard.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport { AddressArrayUtils } from \\\"../libraries/AddressArrayUtils.sol\\\";\\nimport { IERC165 } from \\\"@openzeppelin/contracts/utils/introspection/IERC165.sol\\\";\\nimport { TransparentUpgradeableProxyV2 } from \\\"../extensions/TransparentUpgradeableProxyV2.sol\\\";\\nimport { ErrAddressIsNotCreatedEOA, ErrZeroAddress, ErrOnlySelfCall, ErrZeroCodeContract, ErrUnsupportedInterface } from \\\"./CommonErrors.sol\\\";\\n\\nabstract contract IdentityGuard {\\n using AddressArrayUtils for address[];\\n\\n /// @dev value is equal to keccak256(abi.encode())\\n /// @dev see: https://eips.ethereum.org/EIPS/eip-1052\\n bytes32 internal constant CREATED_ACCOUNT_HASH = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;\\n\\n /**\\n * @dev Modifier to restrict functions to only be called by this contract.\\n * @dev Reverts if the caller is not this contract.\\n */\\n modifier onlySelfCall() virtual {\\n _requireSelfCall();\\n _;\\n }\\n\\n /**\\n * @dev Modifier to ensure that the elements in the `arr` array are non-duplicates.\\n * It calls the internal `_checkDuplicate` function to perform the duplicate check.\\n *\\n * Requirements:\\n * - The elements in the `arr` array must not contain any duplicates.\\n */\\n modifier nonDuplicate(address[] memory arr) virtual {\\n _requireNonDuplicate(arr);\\n _;\\n }\\n\\n /**\\n * @dev Internal method to check the method caller.\\n * @dev Reverts if the method caller is not this contract.\\n */\\n function _requireSelfCall() internal view virtual {\\n if (msg.sender != address(this)) revert ErrOnlySelfCall(msg.sig);\\n }\\n\\n /**\\n * @dev Internal function to check if a contract address has code.\\n * @param addr The address of the contract to check.\\n * @dev Throws an error if the contract address has no code.\\n */\\n function _requireHasCode(address addr) internal view {\\n if (addr.code.length == 0) revert ErrZeroCodeContract(addr);\\n }\\n\\n /**\\n * @dev Checks if an address is zero and reverts if it is.\\n * @param addr The address to check.\\n */\\n function _requireNonZeroAddress(address addr) internal pure {\\n if (addr == address(0)) revert ErrZeroAddress(msg.sig);\\n }\\n\\n /**\\n * @dev Check if arr is empty and revert if it is.\\n * Checks if an array contains any duplicate addresses and reverts if duplicates are found.\\n * @param arr The array of addresses to check.\\n */\\n function _requireNonDuplicate(address[] memory arr) internal pure {\\n if (arr.hasDuplicate()) revert AddressArrayUtils.ErrDuplicated(msg.sig);\\n }\\n\\n /**\\n * @dev Internal function to require that the provided address is a created externally owned account (EOA).\\n * This internal function is used to ensure that the provided address is a valid externally owned account (EOA).\\n * It checks the codehash of the address against a predefined constant to confirm that the address is a created EOA.\\n * @notice This method only works with non-state EOA accounts\\n */\\n function _requireCreatedEOA(address addr) internal view {\\n _requireNonZeroAddress(addr);\\n bytes32 codehash = addr.codehash;\\n if (codehash != CREATED_ACCOUNT_HASH) revert ErrAddressIsNotCreatedEOA(addr, codehash);\\n }\\n\\n /**\\n * @dev Internal function to require that the specified contract supports the given interface. This method handle in\\n * both case that the callee is either or not the proxy admin of the caller. If the contract does not support the\\n * interface `interfaceId` or EIP165, a revert with the corresponding error message is triggered.\\n *\\n * @param contractAddr The address of the contract to check for interface support.\\n * @param interfaceId The interface ID to check for support.\\n */\\n function _requireSupportsInterface(address contractAddr, bytes4 interfaceId) internal view {\\n bytes memory supportsInterfaceParams = abi.encodeCall(IERC165.supportsInterface, (interfaceId));\\n (bool success, bytes memory returnOrRevertData) = contractAddr.staticcall(supportsInterfaceParams);\\n if (!success) {\\n (success, returnOrRevertData) = contractAddr.staticcall(abi.encodeCall(TransparentUpgradeableProxyV2.functionDelegateCall, (supportsInterfaceParams)));\\n if (!success) revert ErrUnsupportedInterface(interfaceId, contractAddr);\\n }\\n if (!abi.decode(returnOrRevertData, (bool))) revert ErrUnsupportedInterface(interfaceId, contractAddr);\\n }\\n}\\n\",\"keccak256\":\"0x546ab4c9cdb0e7f8e650f140349225305ba1d0706dcaceeb9180c96aa765da59\",\"license\":\"MIT\"},\"src/utils/RoleAccess.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nenum RoleAccess {\\n UNKNOWN, // 0\\n ADMIN, // 1\\n COINBASE, // 2\\n GOVERNOR, // 3\\n CANDIDATE_ADMIN, // 4\\n WITHDRAWAL_MIGRATOR, // 5\\n __DEPRECATED_BRIDGE_OPERATOR, // 6\\n BLOCK_PRODUCER, // 7\\n VALIDATOR_CANDIDATE, // 8\\n CONSENSUS, // 9\\n TREASURY // 10\\n\\n}\\n\",\"keccak256\":\"0x671ff40dd874c508c4b3879a580996c7987fc018669256f47151e420a55c0e51\",\"license\":\"MIT\"}},\"version\":1}", - "nonce": 57, - "numDeployments": 4, + "metadata": "\"{\\\"compiler\\\":{\\\"version\\\":\\\"0.8.23+commit.f704f362\\\"},\\\"language\\\":\\\"Solidity\\\",\\\"output\\\":{\\\"abi\\\":[{\\\"inputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"constructor\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"enum ContractType\\\",\\\"name\\\":\\\"contractType\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"name\\\":\\\"ErrContractTypeNotFound\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrERC1155MintingFailed\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrERC20MintingFailed\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrERC721MintingFailed\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrEmptyArray\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"msgSig\\\",\\\"type\\\":\\\"bytes4\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"actual\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"expected\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"ErrInvalidChainId\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrInvalidInfo\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"msgSig\\\",\\\"type\\\":\\\"bytes4\\\"}],\\\"name\\\":\\\"ErrInvalidOrder\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrInvalidPercentage\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrInvalidReceipt\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrInvalidReceiptKind\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrInvalidRequest\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"signer\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"weight\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"v\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"r\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"s\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"internalType\\\":\\\"struct SignatureConsumer.Signature\\\",\\\"name\\\":\\\"sig\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"name\\\":\\\"ErrInvalidSigner\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"msgSig\\\",\\\"type\\\":\\\"bytes4\\\"}],\\\"name\\\":\\\"ErrInvalidThreshold\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrInvalidTokenStandard\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"msgSig\\\",\\\"type\\\":\\\"bytes4\\\"}],\\\"name\\\":\\\"ErrLengthMismatch\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"msgSig\\\",\\\"type\\\":\\\"bytes4\\\"}],\\\"name\\\":\\\"ErrNullHighTierVoteWeightProvided\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"msgSig\\\",\\\"type\\\":\\\"bytes4\\\"}],\\\"name\\\":\\\"ErrNullMinVoteWeightProvided\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"msgSig\\\",\\\"type\\\":\\\"bytes4\\\"}],\\\"name\\\":\\\"ErrNullTotalWeightProvided\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrQueryForApprovedWithdrawal\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrQueryForInsufficientVoteWeight\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrQueryForProcessedWithdrawal\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrReachedDailyWithdrawalLimit\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[{\\\"components\\\":[{\\\"internalType\\\":\\\"enum TokenStandard\\\",\\\"name\\\":\\\"erc\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"quantity\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenInfo\\\",\\\"name\\\":\\\"tokenInfo\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"ErrTokenCouldNotTransfer\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[{\\\"components\\\":[{\\\"internalType\\\":\\\"enum TokenStandard\\\",\\\"name\\\":\\\"erc\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"quantity\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenInfo\\\",\\\"name\\\":\\\"tokenInfo\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"from\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"ErrTokenCouldNotTransferFrom\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"msgSig\\\",\\\"type\\\":\\\"bytes4\\\"},{\\\"internalType\\\":\\\"enum RoleAccess\\\",\\\"name\\\":\\\"expectedRole\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"name\\\":\\\"ErrUnauthorized\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"msgSig\\\",\\\"type\\\":\\\"bytes4\\\"},{\\\"internalType\\\":\\\"enum ContractType\\\",\\\"name\\\":\\\"expectedContractType\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"actual\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"ErrUnexpectedInternalCall\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrUnsupportedStandard\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrUnsupportedToken\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"ErrZeroCodeContract\\\",\\\"type\\\":\\\"error\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"enum ContractType\\\",\\\"name\\\":\\\"contractType\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"ContractUpdated\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"tokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256[]\\\",\\\"name\\\":\\\"limits\\\",\\\"type\\\":\\\"uint256[]\\\"}],\\\"name\\\":\\\"DailyWithdrawalLimitsUpdated\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"receiptHash\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"enum Transfer.Kind\\\",\\\"name\\\":\\\"kind\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"chainId\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenOwner\\\",\\\"name\\\":\\\"mainchain\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"chainId\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenOwner\\\",\\\"name\\\":\\\"ronin\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"enum TokenStandard\\\",\\\"name\\\":\\\"erc\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"quantity\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenInfo\\\",\\\"name\\\":\\\"info\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"indexed\\\":false,\\\"internalType\\\":\\\"struct Transfer.Receipt\\\",\\\"name\\\":\\\"receipt\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"name\\\":\\\"DepositRequested\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"tokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256[]\\\",\\\"name\\\":\\\"thresholds\\\",\\\"type\\\":\\\"uint256[]\\\"}],\\\"name\\\":\\\"HighTierThresholdsUpdated\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"nonce\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"numerator\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"denominator\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"previousNumerator\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"previousDenominator\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"HighTierVoteWeightThresholdUpdated\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"version\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"name\\\":\\\"Initialized\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"tokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256[]\\\",\\\"name\\\":\\\"thresholds\\\",\\\"type\\\":\\\"uint256[]\\\"}],\\\"name\\\":\\\"LockedThresholdsUpdated\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"Paused\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"previousAdminRole\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"newAdminRole\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"name\\\":\\\"RoleAdminChanged\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"sender\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"RoleGranted\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"sender\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"RoleRevoked\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"nonce\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"numerator\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"denominator\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"previousNumerator\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"previousDenominator\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"ThresholdUpdated\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"mainchainTokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"roninTokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"enum TokenStandard[]\\\",\\\"name\\\":\\\"standards\\\",\\\"type\\\":\\\"uint8[]\\\"}],\\\"name\\\":\\\"TokenMapped\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"tokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256[]\\\",\\\"name\\\":\\\"percentages\\\",\\\"type\\\":\\\"uint256[]\\\"}],\\\"name\\\":\\\"UnlockFeePercentagesUpdated\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"Unpaused\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"receiptHash\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"enum Transfer.Kind\\\",\\\"name\\\":\\\"kind\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"chainId\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenOwner\\\",\\\"name\\\":\\\"mainchain\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"chainId\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenOwner\\\",\\\"name\\\":\\\"ronin\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"enum TokenStandard\\\",\\\"name\\\":\\\"erc\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"quantity\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenInfo\\\",\\\"name\\\":\\\"info\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"indexed\\\":false,\\\"internalType\\\":\\\"struct Transfer.Receipt\\\",\\\"name\\\":\\\"receipt\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"name\\\":\\\"WithdrawalLocked\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"receiptHash\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"enum Transfer.Kind\\\",\\\"name\\\":\\\"kind\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"chainId\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenOwner\\\",\\\"name\\\":\\\"mainchain\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"chainId\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenOwner\\\",\\\"name\\\":\\\"ronin\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"enum TokenStandard\\\",\\\"name\\\":\\\"erc\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"quantity\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenInfo\\\",\\\"name\\\":\\\"info\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"indexed\\\":false,\\\"internalType\\\":\\\"struct Transfer.Receipt\\\",\\\"name\\\":\\\"receipt\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"name\\\":\\\"WithdrawalUnlocked\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"receiptHash\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"enum Transfer.Kind\\\",\\\"name\\\":\\\"kind\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"chainId\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenOwner\\\",\\\"name\\\":\\\"mainchain\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"chainId\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenOwner\\\",\\\"name\\\":\\\"ronin\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"enum TokenStandard\\\",\\\"name\\\":\\\"erc\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"quantity\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenInfo\\\",\\\"name\\\":\\\"info\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"indexed\\\":false,\\\"internalType\\\":\\\"struct Transfer.Receipt\\\",\\\"name\\\":\\\"receipt\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"name\\\":\\\"Withdrew\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"contract IWETH\\\",\\\"name\\\":\\\"weth\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"WrappedNativeTokenContractUpdated\\\",\\\"type\\\":\\\"event\\\"},{\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"fallback\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"DEFAULT_ADMIN_ROLE\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"DOMAIN_SEPARATOR\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"WITHDRAWAL_UNLOCKER_ROLE\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"_MAX_PERCENTAGE\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_voteWeight\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"checkHighTierVoteWeightThreshold\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_voteWeight\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"checkThreshold\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"dailyWithdrawalLimit\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"depositCount\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"emergencyPauser\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"enum ContractType\\\",\\\"name\\\":\\\"contractType\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"name\\\":\\\"getContract\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"contract_\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"getHighTierVoteWeightThreshold\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"name\\\":\\\"getRoleAdmin\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"index\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"getRoleMember\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"name\\\":\\\"getRoleMemberCount\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"mainchainToken\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"getRoninToken\\\",\\\"outputs\\\":[{\\\"components\\\":[{\\\"internalType\\\":\\\"enum TokenStandard\\\",\\\"name\\\":\\\"erc\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"}],\\\"internalType\\\":\\\"struct MappedTokenConsumer.MappedToken\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"getThreshold\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"num_\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"denom_\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"grantRole\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"hasRole\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"highTierThreshold\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_roleSetter\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"contract IWETH\\\",\\\"name\\\":\\\"_wrappedToken\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_roninChainId\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_numerator\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_highTierVWNumerator\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_denominator\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"address[][3]\\\",\\\"name\\\":\\\"_addresses\\\",\\\"type\\\":\\\"address[][3]\\\"},{\\\"internalType\\\":\\\"uint256[][4]\\\",\\\"name\\\":\\\"_thresholds\\\",\\\"type\\\":\\\"uint256[][4]\\\"},{\\\"internalType\\\":\\\"enum TokenStandard[]\\\",\\\"name\\\":\\\"_standards\\\",\\\"type\\\":\\\"uint8[]\\\"}],\\\"name\\\":\\\"initialize\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"bridgeManagerContract\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"initializeV2\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"initializeV3\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address payable\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"initializeV4\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"lastDateSynced\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"lastSyncedWithdrawal\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"lockedThreshold\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"_mainchainTokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"_roninTokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"internalType\\\":\\\"enum TokenStandard[]\\\",\\\"name\\\":\\\"_standards\\\",\\\"type\\\":\\\"uint8[]\\\"}],\\\"name\\\":\\\"mapTokens\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"_mainchainTokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"_roninTokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"internalType\\\":\\\"enum TokenStandard[]\\\",\\\"name\\\":\\\"_standards\\\",\\\"type\\\":\\\"uint8[]\\\"},{\\\"internalType\\\":\\\"uint256[][4]\\\",\\\"name\\\":\\\"_thresholds\\\",\\\"type\\\":\\\"uint256[][4]\\\"}],\\\"name\\\":\\\"mapTokensAndThresholds\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"minimumVoteWeight\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"nonce\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"operators\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"internalType\\\":\\\"uint96[]\\\",\\\"name\\\":\\\"weights\\\",\\\"type\\\":\\\"uint96[]\\\"},{\\\"internalType\\\":\\\"bool[]\\\",\\\"name\\\":\\\"addeds\\\",\\\"type\\\":\\\"bool[]\\\"}],\\\"name\\\":\\\"onBridgeOperatorsAdded\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes4\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"operators\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"internalType\\\":\\\"bool[]\\\",\\\"name\\\":\\\"removeds\\\",\\\"type\\\":\\\"bool[]\\\"}],\\\"name\\\":\\\"onBridgeOperatorsRemoved\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes4\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256[]\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256[]\\\"},{\\\"internalType\\\":\\\"uint256[]\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256[]\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"onERC1155BatchReceived\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes4\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"onERC1155Received\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes4\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"pause\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"paused\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_token\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_quantity\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"reachedWithdrawalLimit\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"receiveEther\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"renounceRole\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"recipientAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"enum TokenStandard\\\",\\\"name\\\":\\\"erc\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"quantity\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenInfo\\\",\\\"name\\\":\\\"info\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"internalType\\\":\\\"struct Transfer.Request\\\",\\\"name\\\":\\\"_request\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"name\\\":\\\"requestDepositFor\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"revokeRole\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"roninChainId\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"enum ContractType\\\",\\\"name\\\":\\\"contractType\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"setContract\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"_tokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"internalType\\\":\\\"uint256[]\\\",\\\"name\\\":\\\"_limits\\\",\\\"type\\\":\\\"uint256[]\\\"}],\\\"name\\\":\\\"setDailyWithdrawalLimits\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_addr\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"setEmergencyPauser\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"_tokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"internalType\\\":\\\"uint256[]\\\",\\\"name\\\":\\\"_thresholds\\\",\\\"type\\\":\\\"uint256[]\\\"}],\\\"name\\\":\\\"setHighTierThresholds\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_numerator\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_denominator\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"setHighTierVoteWeightThreshold\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_previousNum\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_previousDenom\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"_tokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"internalType\\\":\\\"uint256[]\\\",\\\"name\\\":\\\"_thresholds\\\",\\\"type\\\":\\\"uint256[]\\\"}],\\\"name\\\":\\\"setLockedThresholds\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"num\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"denom\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"setThreshold\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"_tokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"internalType\\\":\\\"uint256[]\\\",\\\"name\\\":\\\"_percentages\\\",\\\"type\\\":\\\"uint256[]\\\"}],\\\"name\\\":\\\"setUnlockFeePercentages\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"contract IWETH\\\",\\\"name\\\":\\\"_wrappedToken\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"setWrappedNativeTokenContract\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"components\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"enum Transfer.Kind\\\",\\\"name\\\":\\\"kind\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"chainId\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenOwner\\\",\\\"name\\\":\\\"mainchain\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"chainId\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenOwner\\\",\\\"name\\\":\\\"ronin\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"enum TokenStandard\\\",\\\"name\\\":\\\"erc\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"quantity\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenInfo\\\",\\\"name\\\":\\\"info\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"internalType\\\":\\\"struct Transfer.Receipt\\\",\\\"name\\\":\\\"_receipt\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"v\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"r\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"s\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"internalType\\\":\\\"struct SignatureConsumer.Signature[]\\\",\\\"name\\\":\\\"_signatures\\\",\\\"type\\\":\\\"tuple[]\\\"}],\\\"name\\\":\\\"submitWithdrawal\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"_locked\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"interfaceId\\\",\\\"type\\\":\\\"bytes4\\\"}],\\\"name\\\":\\\"supportsInterface\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"unlockFeePercentages\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"components\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"enum Transfer.Kind\\\",\\\"name\\\":\\\"kind\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"chainId\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenOwner\\\",\\\"name\\\":\\\"mainchain\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"chainId\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenOwner\\\",\\\"name\\\":\\\"ronin\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"enum TokenStandard\\\",\\\"name\\\":\\\"erc\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"quantity\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenInfo\\\",\\\"name\\\":\\\"info\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"internalType\\\":\\\"struct Transfer.Receipt\\\",\\\"name\\\":\\\"receipt\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"name\\\":\\\"unlockWithdrawal\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"unpause\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"withdrawalHash\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"withdrawalLocked\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"wrappedNativeToken\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"contract IWETH\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"receive\\\"}],\\\"devdoc\\\":{\\\"errors\\\":{\\\"ErrContractTypeNotFound(uint8)\\\":[{\\\"details\\\":\\\"Error of invalid role.\\\"}],\\\"ErrERC1155MintingFailed()\\\":[{\\\"details\\\":\\\"Error indicating that the mint of ERC1155 tokens has failed.\\\"}],\\\"ErrERC20MintingFailed()\\\":[{\\\"details\\\":\\\"Error indicating that the minting of ERC20 tokens has failed.\\\"}],\\\"ErrERC721MintingFailed()\\\":[{\\\"details\\\":\\\"Error indicating that the minting of ERC721 tokens has failed.\\\"}],\\\"ErrEmptyArray()\\\":[{\\\"details\\\":\\\"Error indicating that an array is empty when it should contain elements.\\\"}],\\\"ErrInvalidChainId(bytes4,uint256,uint256)\\\":[{\\\"details\\\":\\\"Error indicating that the chain ID is invalid.\\\",\\\"params\\\":{\\\"actual\\\":\\\"Current chain ID that executing function.\\\",\\\"expected\\\":\\\"Expected chain ID required for the tx to success.\\\",\\\"msgSig\\\":\\\"The function signature (bytes4) of the operation that encountered an invalid chain ID.\\\"}}],\\\"ErrInvalidInfo()\\\":[{\\\"details\\\":\\\"Error indicating that the provided information is invalid.\\\"}],\\\"ErrInvalidOrder(bytes4)\\\":[{\\\"details\\\":\\\"Error indicating that an order is invalid.\\\",\\\"params\\\":{\\\"msgSig\\\":\\\"The function signature (bytes4) of the operation that encountered an invalid order.\\\"}}],\\\"ErrInvalidPercentage()\\\":[{\\\"details\\\":\\\"Error of invalid percentage.\\\"}],\\\"ErrInvalidReceipt()\\\":[{\\\"details\\\":\\\"Error indicating that a receipt is invalid.\\\"}],\\\"ErrInvalidReceiptKind()\\\":[{\\\"details\\\":\\\"Error indicating that a receipt kind is invalid.\\\"}],\\\"ErrInvalidRequest()\\\":[{\\\"details\\\":\\\"Error indicating that a request is invalid.\\\"}],\\\"ErrInvalidSigner(address,uint256,(uint8,bytes32,bytes32))\\\":[{\\\"details\\\":\\\"Error indicating that the recovered signer from the signature has invalid vote weight.\\\"}],\\\"ErrInvalidThreshold(bytes4)\\\":[{\\\"details\\\":\\\"Error indicating that the provided threshold is invalid for a specific function signature.\\\",\\\"params\\\":{\\\"msgSig\\\":\\\"The function signature (bytes4) that the invalid threshold applies to.\\\"}}],\\\"ErrInvalidTokenStandard()\\\":[{\\\"details\\\":\\\"Error indicating that a token standard is invalid.\\\"}],\\\"ErrLengthMismatch(bytes4)\\\":[{\\\"details\\\":\\\"Error indicating a mismatch in the length of input parameters or arrays for a specific function.\\\",\\\"params\\\":{\\\"msgSig\\\":\\\"The function signature (bytes4) that has a length mismatch.\\\"}}],\\\"ErrNullHighTierVoteWeightProvided(bytes4)\\\":[{\\\"details\\\":\\\"Error thrown when the high-tier vote weight threshold is `0`.\\\"}],\\\"ErrNullMinVoteWeightProvided(bytes4)\\\":[{\\\"details\\\":\\\"Error indicating that `_minimumVoteWeight` is returning 0.\\\"}],\\\"ErrNullTotalWeightProvided(bytes4)\\\":[{\\\"details\\\":\\\"Error indicating that the total weight provided is null.\\\"}],\\\"ErrQueryForApprovedWithdrawal()\\\":[{\\\"details\\\":\\\"Error indicating that a query was made for an approved withdrawal.\\\"}],\\\"ErrQueryForInsufficientVoteWeight()\\\":[{\\\"details\\\":\\\"Error indicating that a query was made for insufficient vote weight.\\\"}],\\\"ErrQueryForProcessedWithdrawal()\\\":[{\\\"details\\\":\\\"Error indicating that a query was made for a processed withdrawal.\\\"}],\\\"ErrReachedDailyWithdrawalLimit()\\\":[{\\\"details\\\":\\\"Error indicating that the daily withdrawal limit has been reached.\\\"}],\\\"ErrTokenCouldNotTransfer((uint8,uint256,uint256),address,address)\\\":[{\\\"details\\\":\\\"Error indicating that the `transfer` has failed.\\\",\\\"params\\\":{\\\"to\\\":\\\"Receiver of the token value.\\\",\\\"token\\\":\\\"Address of the token.\\\",\\\"tokenInfo\\\":\\\"Info of the token including ERC standard, id or quantity.\\\"}}],\\\"ErrTokenCouldNotTransferFrom((uint8,uint256,uint256),address,address,address)\\\":[{\\\"details\\\":\\\"Error indicating that the `handleAssetIn` has failed.\\\",\\\"params\\\":{\\\"from\\\":\\\"Owner of the token value.\\\",\\\"to\\\":\\\"Receiver of the token value.\\\",\\\"token\\\":\\\"Address of the token.\\\",\\\"tokenInfo\\\":\\\"Info of the token including ERC standard, id or quantity.\\\"}}],\\\"ErrUnauthorized(bytes4,uint8)\\\":[{\\\"details\\\":\\\"Error indicating that the caller is unauthorized to perform a specific function.\\\",\\\"params\\\":{\\\"expectedRole\\\":\\\"The role required to perform the function.\\\",\\\"msgSig\\\":\\\"The function signature (bytes4) that the caller is unauthorized to perform.\\\"}}],\\\"ErrUnexpectedInternalCall(bytes4,uint8,address)\\\":[{\\\"details\\\":\\\"Error indicating that the caller is unauthorized to perform a specific function.\\\",\\\"params\\\":{\\\"actual\\\":\\\"The actual address that called to the function.\\\",\\\"expectedContractType\\\":\\\"The contract type required to perform the function.\\\",\\\"msgSig\\\":\\\"The function signature (bytes4).\\\"}}],\\\"ErrUnsupportedStandard()\\\":[{\\\"details\\\":\\\"Error indicating that an unsupported standard is encountered.\\\"}],\\\"ErrUnsupportedToken()\\\":[{\\\"details\\\":\\\"Error indicating that a token is not supported.\\\"}],\\\"ErrZeroCodeContract(address)\\\":[{\\\"details\\\":\\\"Error of set to non-contract.\\\"}]},\\\"events\\\":{\\\"ContractUpdated(uint8,address)\\\":{\\\"details\\\":\\\"Emitted when a contract is updated.\\\"},\\\"DailyWithdrawalLimitsUpdated(address[],uint256[])\\\":{\\\"details\\\":\\\"Emitted when the daily limit thresholds are updated\\\"},\\\"DepositRequested(bytes32,(uint256,uint8,(address,address,uint256),(address,address,uint256),(uint8,uint256,uint256)))\\\":{\\\"details\\\":\\\"Emitted when the deposit is requested\\\"},\\\"HighTierThresholdsUpdated(address[],uint256[])\\\":{\\\"details\\\":\\\"Emitted when the thresholds for high-tier withdrawals that requires high-tier vote weights are updated\\\"},\\\"HighTierVoteWeightThresholdUpdated(uint256,uint256,uint256,uint256,uint256)\\\":{\\\"details\\\":\\\"Emitted when the high-tier vote weight threshold is updated\\\"},\\\"Initialized(uint8)\\\":{\\\"details\\\":\\\"Triggered when the contract has been initialized or reinitialized.\\\"},\\\"LockedThresholdsUpdated(address[],uint256[])\\\":{\\\"details\\\":\\\"Emitted when the thresholds for locked withdrawals are updated\\\"},\\\"Paused(address)\\\":{\\\"details\\\":\\\"Emitted when the pause is triggered by `account`.\\\"},\\\"RoleAdminChanged(bytes32,bytes32,bytes32)\\\":{\\\"details\\\":\\\"Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite {RoleAdminChanged} not being emitted signaling this. _Available since v3.1._\\\"},\\\"RoleGranted(bytes32,address,address)\\\":{\\\"details\\\":\\\"Emitted when `account` is granted `role`. `sender` is the account that originated the contract call, an admin role bearer except when using {AccessControl-_setupRole}.\\\"},\\\"RoleRevoked(bytes32,address,address)\\\":{\\\"details\\\":\\\"Emitted when `account` is revoked `role`. `sender` is the account that originated the contract call: - if using `revokeRole`, it is the admin role bearer - if using `renounceRole`, it is the role bearer (i.e. `account`)\\\"},\\\"ThresholdUpdated(uint256,uint256,uint256,uint256,uint256)\\\":{\\\"details\\\":\\\"Emitted when the threshold is updated\\\"},\\\"TokenMapped(address[],address[],uint8[])\\\":{\\\"details\\\":\\\"Emitted when the tokens are mapped\\\"},\\\"UnlockFeePercentagesUpdated(address[],uint256[])\\\":{\\\"details\\\":\\\"Emitted when the fee percentages to unlock withdraw are updated\\\"},\\\"Unpaused(address)\\\":{\\\"details\\\":\\\"Emitted when the pause is lifted by `account`.\\\"},\\\"WithdrawalLocked(bytes32,(uint256,uint8,(address,address,uint256),(address,address,uint256),(uint8,uint256,uint256)))\\\":{\\\"details\\\":\\\"Emitted when the withdrawal is locked\\\"},\\\"WithdrawalUnlocked(bytes32,(uint256,uint8,(address,address,uint256),(address,address,uint256),(uint8,uint256,uint256)))\\\":{\\\"details\\\":\\\"Emitted when the withdrawal is unlocked\\\"},\\\"Withdrew(bytes32,(uint256,uint8,(address,address,uint256),(address,address,uint256),(uint8,uint256,uint256)))\\\":{\\\"details\\\":\\\"Emitted when the assets are withdrawn\\\"},\\\"WrappedNativeTokenContractUpdated(address)\\\":{\\\"details\\\":\\\"Emitted when the wrapped native token contract is updated\\\"}},\\\"kind\\\":\\\"dev\\\",\\\"methods\\\":{\\\"DOMAIN_SEPARATOR()\\\":{\\\"details\\\":\\\"Returns the domain separator.\\\"},\\\"checkHighTierVoteWeightThreshold(uint256)\\\":{\\\"details\\\":\\\"Checks whether the `_voteWeight` passes the high-tier vote weight threshold.\\\"},\\\"checkThreshold(uint256)\\\":{\\\"details\\\":\\\"Checks whether the `_voteWeight` passes the threshold.\\\"},\\\"getContract(uint8)\\\":{\\\"details\\\":\\\"Returns the address of a contract with a specific role. Throws an error if no contract is set for the specified role.\\\",\\\"params\\\":{\\\"contractType\\\":\\\"The role of the contract to retrieve.\\\"},\\\"returns\\\":{\\\"contract_\\\":\\\"The address of the contract with the specified role.\\\"}},\\\"getHighTierVoteWeightThreshold()\\\":{\\\"details\\\":\\\"Returns the high-tier vote weight threshold.\\\"},\\\"getRoleAdmin(bytes32)\\\":{\\\"details\\\":\\\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\\\"},\\\"getRoleMember(bytes32,uint256)\\\":{\\\"details\\\":\\\"Returns one of the accounts that have `role`. `index` must be a value between 0 and {getRoleMemberCount}, non-inclusive. Role bearers are not sorted in any particular way, and their ordering may change at any point. WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure you perform all queries on the same block. See the following https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] for more information.\\\"},\\\"getRoleMemberCount(bytes32)\\\":{\\\"details\\\":\\\"Returns the number of accounts that have `role`. Can be used together with {getRoleMember} to enumerate all bearers of a role.\\\"},\\\"getRoninToken(address)\\\":{\\\"details\\\":\\\"Returns token address on Ronin network. Note: Reverts for unsupported token.\\\"},\\\"getThreshold()\\\":{\\\"details\\\":\\\"Returns the threshold.\\\"},\\\"grantRole(bytes32,address)\\\":{\\\"details\\\":\\\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleGranted} event.\\\"},\\\"hasRole(bytes32,address)\\\":{\\\"details\\\":\\\"Returns `true` if `account` has been granted `role`.\\\"},\\\"initialize(address,address,uint256,uint256,uint256,uint256,address[][3],uint256[][4],uint8[])\\\":{\\\"details\\\":\\\"Initializes contract storage.\\\"},\\\"mapTokens(address[],address[],uint8[])\\\":{\\\"details\\\":\\\"Maps mainchain tokens to Ronin network. Requirement: - The method caller is admin. - The arrays have the same length and its length larger than 0. Emits the `TokenMapped` event.\\\"},\\\"mapTokensAndThresholds(address[],address[],uint8[],uint256[][4])\\\":{\\\"details\\\":\\\"Maps mainchain tokens to Ronin network and sets thresholds. Requirement: - The method caller is admin. - The arrays have the same length and its length larger than 0. Emits the `TokenMapped` event.\\\"},\\\"minimumVoteWeight()\\\":{\\\"details\\\":\\\"Returns the minimum vote weight to pass the threshold.\\\"},\\\"onBridgeOperatorsAdded(address[],uint96[],bool[])\\\":{\\\"details\\\":\\\"Handles the event when bridge operators are added.\\\",\\\"params\\\":{\\\"addeds\\\":\\\"The corresponding boolean values indicating whether the operators were added or not.\\\",\\\"bridgeOperators\\\":\\\"The addresses of the bridge operators.\\\"},\\\"returns\\\":{\\\"_0\\\":\\\"The selector of the function being called.\\\"}},\\\"onBridgeOperatorsRemoved(address[],bool[])\\\":{\\\"details\\\":\\\"Handles the event when bridge operators are removed.\\\",\\\"params\\\":{\\\"bridgeOperators\\\":\\\"The addresses of the bridge operators.\\\",\\\"removeds\\\":\\\"The corresponding boolean values indicating whether the operators were removed or not.\\\"},\\\"returns\\\":{\\\"_0\\\":\\\"The selector of the function being called.\\\"}},\\\"pause()\\\":{\\\"details\\\":\\\"Triggers paused state.\\\"},\\\"paused()\\\":{\\\"details\\\":\\\"Returns true if the contract is paused, and false otherwise.\\\"},\\\"reachedWithdrawalLimit(address,uint256)\\\":{\\\"details\\\":\\\"Checks whether the withdrawal reaches the limitation.\\\"},\\\"receiveEther()\\\":{\\\"details\\\":\\\"Receives ether without doing anything. Use this function to topup native token.\\\"},\\\"renounceRole(bytes32,address)\\\":{\\\"details\\\":\\\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`. May emit a {RoleRevoked} event.\\\"},\\\"requestDepositFor((address,address,(uint8,uint256,uint256)))\\\":{\\\"details\\\":\\\"Locks the assets and request deposit.\\\"},\\\"revokeRole(bytes32,address)\\\":{\\\"details\\\":\\\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleRevoked} event.\\\"},\\\"setContract(uint8,address)\\\":{\\\"details\\\":\\\"Sets the address of a contract with a specific role. Emits the event {ContractUpdated}.\\\",\\\"params\\\":{\\\"addr\\\":\\\"The address of the contract to set.\\\",\\\"contractType\\\":\\\"The role of the contract to set.\\\"}},\\\"setDailyWithdrawalLimits(address[],uint256[])\\\":{\\\"details\\\":\\\"Sets daily limit amounts for the withdrawals. Requirements: - The method caller is admin. - The arrays have the same length and its length larger than 0. Emits the `DailyWithdrawalLimitsUpdated` event.\\\"},\\\"setEmergencyPauser(address)\\\":{\\\"details\\\":\\\"Grant emergency pauser role for `_addr`.\\\"},\\\"setHighTierThresholds(address[],uint256[])\\\":{\\\"details\\\":\\\"Sets the thresholds for high-tier withdrawals that requires high-tier vote weights. Requirements: - The method caller is admin. - The arrays have the same length and its length larger than 0. Emits the `HighTierThresholdsUpdated` event.\\\"},\\\"setHighTierVoteWeightThreshold(uint256,uint256)\\\":{\\\"details\\\":\\\"Sets high-tier vote weight threshold and returns the old one. Requirements: - The method caller is admin. - The high-tier vote weight threshold must equal to or larger than the normal threshold. Emits the `HighTierVoteWeightThresholdUpdated` event.\\\"},\\\"setLockedThresholds(address[],uint256[])\\\":{\\\"details\\\":\\\"Sets the amount thresholds to lock withdrawal. Requirements: - The method caller is admin. - The arrays have the same length and its length larger than 0. Emits the `LockedThresholdsUpdated` event.\\\"},\\\"setThreshold(uint256,uint256)\\\":{\\\"details\\\":\\\"Override `GatewayV3-setThreshold`. Requirements: - The high-tier vote weight threshold must equal to or larger than the normal threshold.\\\"},\\\"setUnlockFeePercentages(address[],uint256[])\\\":{\\\"details\\\":\\\"Sets fee percentages to unlock withdrawal. Requirements: - The method caller is admin. - The arrays have the same length and its length larger than 0. Emits the `UnlockFeePercentagesUpdated` event.\\\"},\\\"setWrappedNativeTokenContract(address)\\\":{\\\"details\\\":\\\"Sets the wrapped native token contract. Requirements: - The method caller is admin. Emits the `WrappedNativeTokenContractUpdated` event.\\\"},\\\"submitWithdrawal((uint256,uint8,(address,address,uint256),(address,address,uint256),(uint8,uint256,uint256)),(uint8,bytes32,bytes32)[])\\\":{\\\"details\\\":\\\"Withdraws based on the receipt and the validator signatures. Returns whether the withdrawal is locked. Emits the `Withdrew` once the assets are released.\\\"},\\\"unlockWithdrawal((uint256,uint8,(address,address,uint256),(address,address,uint256),(uint8,uint256,uint256)))\\\":{\\\"details\\\":\\\"Approves a specific withdrawal. Requirements: - The method caller is a validator. Emits the `Withdrew` once the assets are released.\\\"},\\\"unpause()\\\":{\\\"details\\\":\\\"Triggers unpaused state.\\\"}},\\\"stateVariables\\\":{\\\"WITHDRAWAL_UNLOCKER_ROLE\\\":{\\\"details\\\":\\\"Withdrawal unlocker role hash\\\"},\\\"______deprecatedBridgeOperatorAddedBlock\\\":{\\\"custom:deprecated\\\":\\\"Previously `_bridgeOperatorAddedBlock` (mapping(address => uint256))\\\"},\\\"______deprecatedBridgeOperators\\\":{\\\"custom:deprecated\\\":\\\"Previously `_bridgeOperators` (uint256[])\\\"},\\\"______deprecatedWethUnwrapper\\\":{\\\"custom:deprecated\\\":\\\"Previously `_wethUnwrapper` (address)\\\"},\\\"_domainSeparator\\\":{\\\"details\\\":\\\"Domain separator\\\"},\\\"_roninToken\\\":{\\\"details\\\":\\\"Mapping from mainchain token => token address on Ronin network\\\"},\\\"depositCount\\\":{\\\"details\\\":\\\"Total deposit\\\"},\\\"roninChainId\\\":{\\\"details\\\":\\\"Ronin network id\\\"},\\\"withdrawalHash\\\":{\\\"details\\\":\\\"Mapping from withdrawal id => withdrawal hash\\\"},\\\"withdrawalLocked\\\":{\\\"details\\\":\\\"Mapping from withdrawal id => locked\\\"},\\\"wrappedNativeToken\\\":{\\\"details\\\":\\\"Wrapped native token address\\\"}},\\\"version\\\":1},\\\"userdoc\\\":{\\\"kind\\\":\\\"user\\\",\\\"methods\\\":{\\\"unlockFeePercentages(address)\\\":{\\\"notice\\\":\\\"Values 0-1,000,000 map to 0%-100%\\\"}},\\\"version\\\":1}},\\\"settings\\\":{\\\"compilationTarget\\\":{\\\"src/mainchain/MainchainGatewayV3.sol\\\":\\\"MainchainGatewayV3\\\"},\\\"evmVersion\\\":\\\"shanghai\\\",\\\"libraries\\\":{},\\\"metadata\\\":{\\\"bytecodeHash\\\":\\\"ipfs\\\",\\\"useLiteralContent\\\":true},\\\"optimizer\\\":{\\\"enabled\\\":true,\\\"runs\\\":200},\\\"remappings\\\":[\\\":@fdk/=dependencies/@fdk-0.3.1-beta/script/\\\",\\\":@openzeppelin/=dependencies/@openzeppelin-4.7.3/\\\",\\\":@prb/math/=lib/prb-math/\\\",\\\":@prb/test/=dependencies/@prb-test-0.6.5/src/\\\",\\\":@ronin/contracts/=src/\\\",\\\":@ronin/test/=test/\\\",\\\":ds-test/=lib/prb-math/lib/forge-std/lib/ds-test/src/\\\",\\\":forge-std/=dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/\\\",\\\":hardhat-deploy/=node_modules/hardhat-deploy/\\\",\\\":hardhat/=node_modules/hardhat/\\\",\\\":prb-math/=lib/prb-math/src/\\\",\\\":prb-test/=lib/prb-math/lib/prb-test/src/\\\",\\\":solady/=dependencies/@fdk-0.3.1-beta/dependencies/@solady-0.0.228/src/\\\"]},\\\"sources\\\":{\\\"dependencies/@openzeppelin-4.7.3/contracts/access/AccessControl.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (access/AccessControl.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./IAccessControl.sol\\\\\\\";\\\\nimport \\\\\\\"../utils/Context.sol\\\\\\\";\\\\nimport \\\\\\\"../utils/Strings.sol\\\\\\\";\\\\nimport \\\\\\\"../utils/introspection/ERC165.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Contract module that allows children to implement role-based access\\\\n * control mechanisms. This is a lightweight version that doesn't allow enumerating role\\\\n * members except through off-chain means by accessing the contract event logs. Some\\\\n * applications may benefit from on-chain enumerability, for those cases see\\\\n * {AccessControlEnumerable}.\\\\n *\\\\n * Roles are referred to by their `bytes32` identifier. These should be exposed\\\\n * in the external API and be unique. The best way to achieve this is by\\\\n * using `public constant` hash digests:\\\\n *\\\\n * ```\\\\n * bytes32 public constant MY_ROLE = keccak256(\\\\\\\"MY_ROLE\\\\\\\");\\\\n * ```\\\\n *\\\\n * Roles can be used to represent a set of permissions. To restrict access to a\\\\n * function call, use {hasRole}:\\\\n *\\\\n * ```\\\\n * function foo() public {\\\\n * require(hasRole(MY_ROLE, msg.sender));\\\\n * ...\\\\n * }\\\\n * ```\\\\n *\\\\n * Roles can be granted and revoked dynamically via the {grantRole} and\\\\n * {revokeRole} functions. Each role has an associated admin role, and only\\\\n * accounts that have a role's admin role can call {grantRole} and {revokeRole}.\\\\n *\\\\n * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means\\\\n * that only accounts with this role will be able to grant or revoke other\\\\n * roles. More complex role relationships can be created by using\\\\n * {_setRoleAdmin}.\\\\n *\\\\n * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to\\\\n * grant and revoke this role. Extra precautions should be taken to secure\\\\n * accounts that have been granted it.\\\\n */\\\\nabstract contract AccessControl is Context, IAccessControl, ERC165 {\\\\n struct RoleData {\\\\n mapping(address => bool) members;\\\\n bytes32 adminRole;\\\\n }\\\\n\\\\n mapping(bytes32 => RoleData) private _roles;\\\\n\\\\n bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;\\\\n\\\\n /**\\\\n * @dev Modifier that checks that an account has a specific role. Reverts\\\\n * with a standardized message including the required role.\\\\n *\\\\n * The format of the revert reason is given by the following regular expression:\\\\n *\\\\n * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/\\\\n *\\\\n * _Available since v4.1._\\\\n */\\\\n modifier onlyRole(bytes32 role) {\\\\n _checkRole(role);\\\\n _;\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC165-supportsInterface}.\\\\n */\\\\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\\\\n return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns `true` if `account` has been granted `role`.\\\\n */\\\\n function hasRole(bytes32 role, address account) public view virtual override returns (bool) {\\\\n return _roles[role].members[account];\\\\n }\\\\n\\\\n /**\\\\n * @dev Revert with a standard message if `_msgSender()` is missing `role`.\\\\n * Overriding this function changes the behavior of the {onlyRole} modifier.\\\\n *\\\\n * Format of the revert message is described in {_checkRole}.\\\\n *\\\\n * _Available since v4.6._\\\\n */\\\\n function _checkRole(bytes32 role) internal view virtual {\\\\n _checkRole(role, _msgSender());\\\\n }\\\\n\\\\n /**\\\\n * @dev Revert with a standard message if `account` is missing `role`.\\\\n *\\\\n * The format of the revert reason is given by the following regular expression:\\\\n *\\\\n * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/\\\\n */\\\\n function _checkRole(bytes32 role, address account) internal view virtual {\\\\n if (!hasRole(role, account)) {\\\\n revert(\\\\n string(\\\\n abi.encodePacked(\\\\n \\\\\\\"AccessControl: account \\\\\\\",\\\\n Strings.toHexString(uint160(account), 20),\\\\n \\\\\\\" is missing role \\\\\\\",\\\\n Strings.toHexString(uint256(role), 32)\\\\n )\\\\n )\\\\n );\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the admin role that controls `role`. See {grantRole} and\\\\n * {revokeRole}.\\\\n *\\\\n * To change a role's admin, use {_setRoleAdmin}.\\\\n */\\\\n function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {\\\\n return _roles[role].adminRole;\\\\n }\\\\n\\\\n /**\\\\n * @dev Grants `role` to `account`.\\\\n *\\\\n * If `account` had not been already granted `role`, emits a {RoleGranted}\\\\n * event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the caller must have ``role``'s admin role.\\\\n *\\\\n * May emit a {RoleGranted} event.\\\\n */\\\\n function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {\\\\n _grantRole(role, account);\\\\n }\\\\n\\\\n /**\\\\n * @dev Revokes `role` from `account`.\\\\n *\\\\n * If `account` had been granted `role`, emits a {RoleRevoked} event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the caller must have ``role``'s admin role.\\\\n *\\\\n * May emit a {RoleRevoked} event.\\\\n */\\\\n function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {\\\\n _revokeRole(role, account);\\\\n }\\\\n\\\\n /**\\\\n * @dev Revokes `role` from the calling account.\\\\n *\\\\n * Roles are often managed via {grantRole} and {revokeRole}: this function's\\\\n * purpose is to provide a mechanism for accounts to lose their privileges\\\\n * if they are compromised (such as when a trusted device is misplaced).\\\\n *\\\\n * If the calling account had been revoked `role`, emits a {RoleRevoked}\\\\n * event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the caller must be `account`.\\\\n *\\\\n * May emit a {RoleRevoked} event.\\\\n */\\\\n function renounceRole(bytes32 role, address account) public virtual override {\\\\n require(account == _msgSender(), \\\\\\\"AccessControl: can only renounce roles for self\\\\\\\");\\\\n\\\\n _revokeRole(role, account);\\\\n }\\\\n\\\\n /**\\\\n * @dev Grants `role` to `account`.\\\\n *\\\\n * If `account` had not been already granted `role`, emits a {RoleGranted}\\\\n * event. Note that unlike {grantRole}, this function doesn't perform any\\\\n * checks on the calling account.\\\\n *\\\\n * May emit a {RoleGranted} event.\\\\n *\\\\n * [WARNING]\\\\n * ====\\\\n * This function should only be called from the constructor when setting\\\\n * up the initial roles for the system.\\\\n *\\\\n * Using this function in any other way is effectively circumventing the admin\\\\n * system imposed by {AccessControl}.\\\\n * ====\\\\n *\\\\n * NOTE: This function is deprecated in favor of {_grantRole}.\\\\n */\\\\n function _setupRole(bytes32 role, address account) internal virtual {\\\\n _grantRole(role, account);\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets `adminRole` as ``role``'s admin role.\\\\n *\\\\n * Emits a {RoleAdminChanged} event.\\\\n */\\\\n function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {\\\\n bytes32 previousAdminRole = getRoleAdmin(role);\\\\n _roles[role].adminRole = adminRole;\\\\n emit RoleAdminChanged(role, previousAdminRole, adminRole);\\\\n }\\\\n\\\\n /**\\\\n * @dev Grants `role` to `account`.\\\\n *\\\\n * Internal function without access restriction.\\\\n *\\\\n * May emit a {RoleGranted} event.\\\\n */\\\\n function _grantRole(bytes32 role, address account) internal virtual {\\\\n if (!hasRole(role, account)) {\\\\n _roles[role].members[account] = true;\\\\n emit RoleGranted(role, account, _msgSender());\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Revokes `role` from `account`.\\\\n *\\\\n * Internal function without access restriction.\\\\n *\\\\n * May emit a {RoleRevoked} event.\\\\n */\\\\n function _revokeRole(bytes32 role, address account) internal virtual {\\\\n if (hasRole(role, account)) {\\\\n _roles[role].members[account] = false;\\\\n emit RoleRevoked(role, account, _msgSender());\\\\n }\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x5b35d8e68aeaccc685239bd9dd79b9ba01a0357930f8a3307ab85511733d9724\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/access/AccessControlEnumerable.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControlEnumerable.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./IAccessControlEnumerable.sol\\\\\\\";\\\\nimport \\\\\\\"./AccessControl.sol\\\\\\\";\\\\nimport \\\\\\\"../utils/structs/EnumerableSet.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Extension of {AccessControl} that allows enumerating the members of each role.\\\\n */\\\\nabstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl {\\\\n using EnumerableSet for EnumerableSet.AddressSet;\\\\n\\\\n mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers;\\\\n\\\\n /**\\\\n * @dev See {IERC165-supportsInterface}.\\\\n */\\\\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\\\\n return interfaceId == type(IAccessControlEnumerable).interfaceId || super.supportsInterface(interfaceId);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns one of the accounts that have `role`. `index` must be a\\\\n * value between 0 and {getRoleMemberCount}, non-inclusive.\\\\n *\\\\n * Role bearers are not sorted in any particular way, and their ordering may\\\\n * change at any point.\\\\n *\\\\n * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure\\\\n * you perform all queries on the same block. See the following\\\\n * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]\\\\n * for more information.\\\\n */\\\\n function getRoleMember(bytes32 role, uint256 index) public view virtual override returns (address) {\\\\n return _roleMembers[role].at(index);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the number of accounts that have `role`. Can be used\\\\n * together with {getRoleMember} to enumerate all bearers of a role.\\\\n */\\\\n function getRoleMemberCount(bytes32 role) public view virtual override returns (uint256) {\\\\n return _roleMembers[role].length();\\\\n }\\\\n\\\\n /**\\\\n * @dev Overload {_grantRole} to track enumerable memberships\\\\n */\\\\n function _grantRole(bytes32 role, address account) internal virtual override {\\\\n super._grantRole(role, account);\\\\n _roleMembers[role].add(account);\\\\n }\\\\n\\\\n /**\\\\n * @dev Overload {_revokeRole} to track enumerable memberships\\\\n */\\\\n function _revokeRole(bytes32 role, address account) internal virtual override {\\\\n super._revokeRole(role, account);\\\\n _roleMembers[role].remove(account);\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x13f5e15f2a0650c0b6aaee2ef19e89eaf4870d6e79662d572a393334c1397247\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/access/IAccessControl.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev External interface of AccessControl declared to support ERC165 detection.\\\\n */\\\\ninterface IAccessControl {\\\\n /**\\\\n * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`\\\\n *\\\\n * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite\\\\n * {RoleAdminChanged} not being emitted signaling this.\\\\n *\\\\n * _Available since v3.1._\\\\n */\\\\n event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);\\\\n\\\\n /**\\\\n * @dev Emitted when `account` is granted `role`.\\\\n *\\\\n * `sender` is the account that originated the contract call, an admin role\\\\n * bearer except when using {AccessControl-_setupRole}.\\\\n */\\\\n event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);\\\\n\\\\n /**\\\\n * @dev Emitted when `account` is revoked `role`.\\\\n *\\\\n * `sender` is the account that originated the contract call:\\\\n * - if using `revokeRole`, it is the admin role bearer\\\\n * - if using `renounceRole`, it is the role bearer (i.e. `account`)\\\\n */\\\\n event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);\\\\n\\\\n /**\\\\n * @dev Returns `true` if `account` has been granted `role`.\\\\n */\\\\n function hasRole(bytes32 role, address account) external view returns (bool);\\\\n\\\\n /**\\\\n * @dev Returns the admin role that controls `role`. See {grantRole} and\\\\n * {revokeRole}.\\\\n *\\\\n * To change a role's admin, use {AccessControl-_setRoleAdmin}.\\\\n */\\\\n function getRoleAdmin(bytes32 role) external view returns (bytes32);\\\\n\\\\n /**\\\\n * @dev Grants `role` to `account`.\\\\n *\\\\n * If `account` had not been already granted `role`, emits a {RoleGranted}\\\\n * event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the caller must have ``role``'s admin role.\\\\n */\\\\n function grantRole(bytes32 role, address account) external;\\\\n\\\\n /**\\\\n * @dev Revokes `role` from `account`.\\\\n *\\\\n * If `account` had been granted `role`, emits a {RoleRevoked} event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the caller must have ``role``'s admin role.\\\\n */\\\\n function revokeRole(bytes32 role, address account) external;\\\\n\\\\n /**\\\\n * @dev Revokes `role` from the calling account.\\\\n *\\\\n * Roles are often managed via {grantRole} and {revokeRole}: this function's\\\\n * purpose is to provide a mechanism for accounts to lose their privileges\\\\n * if they are compromised (such as when a trusted device is misplaced).\\\\n *\\\\n * If the calling account had been granted `role`, emits a {RoleRevoked}\\\\n * event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the caller must be `account`.\\\\n */\\\\n function renounceRole(bytes32 role, address account) external;\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/access/IAccessControlEnumerable.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (access/IAccessControlEnumerable.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./IAccessControl.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.\\\\n */\\\\ninterface IAccessControlEnumerable is IAccessControl {\\\\n /**\\\\n * @dev Returns one of the accounts that have `role`. `index` must be a\\\\n * value between 0 and {getRoleMemberCount}, non-inclusive.\\\\n *\\\\n * Role bearers are not sorted in any particular way, and their ordering may\\\\n * change at any point.\\\\n *\\\\n * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure\\\\n * you perform all queries on the same block. See the following\\\\n * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]\\\\n * for more information.\\\\n */\\\\n function getRoleMember(bytes32 role, uint256 index) external view returns (address);\\\\n\\\\n /**\\\\n * @dev Returns the number of accounts that have `role`. Can be used\\\\n * together with {getRoleMember} to enumerate all bearers of a role.\\\\n */\\\\n function getRoleMemberCount(bytes32 role) external view returns (uint256);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xba4459ab871dfa300f5212c6c30178b63898c03533a1ede28436f11546626676\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/interfaces/draft-IERC1822.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.5.0) (interfaces/draft-IERC1822.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified\\\\n * proxy whose upgrades are fully controlled by the current implementation.\\\\n */\\\\ninterface IERC1822Proxiable {\\\\n /**\\\\n * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation\\\\n * address.\\\\n *\\\\n * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\\\\n * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\\\\n * function revert if invoked through a proxy.\\\\n */\\\\n function proxiableUUID() external view returns (bytes32);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x1d4afe6cb24200cc4545eed814ecf5847277dfe5d613a1707aad5fceecebcfff\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/proxy/ERC1967/ERC1967Proxy.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (proxy/ERC1967/ERC1967Proxy.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../Proxy.sol\\\\\\\";\\\\nimport \\\\\\\"./ERC1967Upgrade.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev This contract implements an upgradeable proxy. It is upgradeable because calls are delegated to an\\\\n * implementation address that can be changed. This address is stored in storage in the location specified by\\\\n * https://eips.ethereum.org/EIPS/eip-1967[EIP1967], so that it doesn't conflict with the storage layout of the\\\\n * implementation behind the proxy.\\\\n */\\\\ncontract ERC1967Proxy is Proxy, ERC1967Upgrade {\\\\n /**\\\\n * @dev Initializes the upgradeable proxy with an initial implementation specified by `_logic`.\\\\n *\\\\n * If `_data` is nonempty, it's used as data in a delegate call to `_logic`. This will typically be an encoded\\\\n * function call, and allows initializing the storage of the proxy like a Solidity constructor.\\\\n */\\\\n constructor(address _logic, bytes memory _data) payable {\\\\n _upgradeToAndCall(_logic, _data, false);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the current implementation address.\\\\n */\\\\n function _implementation() internal view virtual override returns (address impl) {\\\\n return ERC1967Upgrade._getImplementation();\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xa2b22da3032e50b55f95ec1d13336102d675f341167aa76db571ef7f8bb7975d\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/proxy/ERC1967/ERC1967Upgrade.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.5.0) (proxy/ERC1967/ERC1967Upgrade.sol)\\\\n\\\\npragma solidity ^0.8.2;\\\\n\\\\nimport \\\\\\\"../beacon/IBeacon.sol\\\\\\\";\\\\nimport \\\\\\\"../../interfaces/draft-IERC1822.sol\\\\\\\";\\\\nimport \\\\\\\"../../utils/Address.sol\\\\\\\";\\\\nimport \\\\\\\"../../utils/StorageSlot.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev This abstract contract provides getters and event emitting update functions for\\\\n * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.\\\\n *\\\\n * _Available since v4.1._\\\\n *\\\\n * @custom:oz-upgrades-unsafe-allow delegatecall\\\\n */\\\\nabstract contract ERC1967Upgrade {\\\\n // This is the keccak-256 hash of \\\\\\\"eip1967.proxy.rollback\\\\\\\" subtracted by 1\\\\n bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143;\\\\n\\\\n /**\\\\n * @dev Storage slot with the address of the current implementation.\\\\n * This is the keccak-256 hash of \\\\\\\"eip1967.proxy.implementation\\\\\\\" subtracted by 1, and is\\\\n * validated in the constructor.\\\\n */\\\\n bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\\\\n\\\\n /**\\\\n * @dev Emitted when the implementation is upgraded.\\\\n */\\\\n event Upgraded(address indexed implementation);\\\\n\\\\n /**\\\\n * @dev Returns the current implementation address.\\\\n */\\\\n function _getImplementation() internal view returns (address) {\\\\n return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\\\\n }\\\\n\\\\n /**\\\\n * @dev Stores a new address in the EIP1967 implementation slot.\\\\n */\\\\n function _setImplementation(address newImplementation) private {\\\\n require(Address.isContract(newImplementation), \\\\\\\"ERC1967: new implementation is not a contract\\\\\\\");\\\\n StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\\\\n }\\\\n\\\\n /**\\\\n * @dev Perform implementation upgrade\\\\n *\\\\n * Emits an {Upgraded} event.\\\\n */\\\\n function _upgradeTo(address newImplementation) internal {\\\\n _setImplementation(newImplementation);\\\\n emit Upgraded(newImplementation);\\\\n }\\\\n\\\\n /**\\\\n * @dev Perform implementation upgrade with additional setup call.\\\\n *\\\\n * Emits an {Upgraded} event.\\\\n */\\\\n function _upgradeToAndCall(\\\\n address newImplementation,\\\\n bytes memory data,\\\\n bool forceCall\\\\n ) internal {\\\\n _upgradeTo(newImplementation);\\\\n if (data.length > 0 || forceCall) {\\\\n Address.functionDelegateCall(newImplementation, data);\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call.\\\\n *\\\\n * Emits an {Upgraded} event.\\\\n */\\\\n function _upgradeToAndCallUUPS(\\\\n address newImplementation,\\\\n bytes memory data,\\\\n bool forceCall\\\\n ) internal {\\\\n // Upgrades from old implementations will perform a rollback test. This test requires the new\\\\n // implementation to upgrade back to the old, non-ERC1822 compliant, implementation. Removing\\\\n // this special case will break upgrade paths from old UUPS implementation to new ones.\\\\n if (StorageSlot.getBooleanSlot(_ROLLBACK_SLOT).value) {\\\\n _setImplementation(newImplementation);\\\\n } else {\\\\n try IERC1822Proxiable(newImplementation).proxiableUUID() returns (bytes32 slot) {\\\\n require(slot == _IMPLEMENTATION_SLOT, \\\\\\\"ERC1967Upgrade: unsupported proxiableUUID\\\\\\\");\\\\n } catch {\\\\n revert(\\\\\\\"ERC1967Upgrade: new implementation is not UUPS\\\\\\\");\\\\n }\\\\n _upgradeToAndCall(newImplementation, data, forceCall);\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Storage slot with the admin of the contract.\\\\n * This is the keccak-256 hash of \\\\\\\"eip1967.proxy.admin\\\\\\\" subtracted by 1, and is\\\\n * validated in the constructor.\\\\n */\\\\n bytes32 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;\\\\n\\\\n /**\\\\n * @dev Emitted when the admin account has changed.\\\\n */\\\\n event AdminChanged(address previousAdmin, address newAdmin);\\\\n\\\\n /**\\\\n * @dev Returns the current admin.\\\\n */\\\\n function _getAdmin() internal view returns (address) {\\\\n return StorageSlot.getAddressSlot(_ADMIN_SLOT).value;\\\\n }\\\\n\\\\n /**\\\\n * @dev Stores a new address in the EIP1967 admin slot.\\\\n */\\\\n function _setAdmin(address newAdmin) private {\\\\n require(newAdmin != address(0), \\\\\\\"ERC1967: new admin is the zero address\\\\\\\");\\\\n StorageSlot.getAddressSlot(_ADMIN_SLOT).value = newAdmin;\\\\n }\\\\n\\\\n /**\\\\n * @dev Changes the admin of the proxy.\\\\n *\\\\n * Emits an {AdminChanged} event.\\\\n */\\\\n function _changeAdmin(address newAdmin) internal {\\\\n emit AdminChanged(_getAdmin(), newAdmin);\\\\n _setAdmin(newAdmin);\\\\n }\\\\n\\\\n /**\\\\n * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.\\\\n * This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor.\\\\n */\\\\n bytes32 internal constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;\\\\n\\\\n /**\\\\n * @dev Emitted when the beacon is upgraded.\\\\n */\\\\n event BeaconUpgraded(address indexed beacon);\\\\n\\\\n /**\\\\n * @dev Returns the current beacon.\\\\n */\\\\n function _getBeacon() internal view returns (address) {\\\\n return StorageSlot.getAddressSlot(_BEACON_SLOT).value;\\\\n }\\\\n\\\\n /**\\\\n * @dev Stores a new beacon in the EIP1967 beacon slot.\\\\n */\\\\n function _setBeacon(address newBeacon) private {\\\\n require(Address.isContract(newBeacon), \\\\\\\"ERC1967: new beacon is not a contract\\\\\\\");\\\\n require(\\\\n Address.isContract(IBeacon(newBeacon).implementation()),\\\\n \\\\\\\"ERC1967: beacon implementation is not a contract\\\\\\\"\\\\n );\\\\n StorageSlot.getAddressSlot(_BEACON_SLOT).value = newBeacon;\\\\n }\\\\n\\\\n /**\\\\n * @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does\\\\n * not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that).\\\\n *\\\\n * Emits a {BeaconUpgraded} event.\\\\n */\\\\n function _upgradeBeaconToAndCall(\\\\n address newBeacon,\\\\n bytes memory data,\\\\n bool forceCall\\\\n ) internal {\\\\n _setBeacon(newBeacon);\\\\n emit BeaconUpgraded(newBeacon);\\\\n if (data.length > 0 || forceCall) {\\\\n Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data);\\\\n }\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xabf3f59bc0e5423eae45e459dbe92e7052c6983628d39008590edc852a62f94a\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/proxy/Proxy.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.6.0) (proxy/Proxy.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM\\\\n * instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to\\\\n * be specified by overriding the virtual {_implementation} function.\\\\n *\\\\n * Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a\\\\n * different contract through the {_delegate} function.\\\\n *\\\\n * The success and return data of the delegated call will be returned back to the caller of the proxy.\\\\n */\\\\nabstract contract Proxy {\\\\n /**\\\\n * @dev Delegates the current call to `implementation`.\\\\n *\\\\n * This function does not return to its internal call site, it will return directly to the external caller.\\\\n */\\\\n function _delegate(address implementation) internal virtual {\\\\n assembly {\\\\n // Copy msg.data. We take full control of memory in this inline assembly\\\\n // block because it will not return to Solidity code. We overwrite the\\\\n // Solidity scratch pad at memory position 0.\\\\n calldatacopy(0, 0, calldatasize())\\\\n\\\\n // Call the implementation.\\\\n // out and outsize are 0 because we don't know the size yet.\\\\n let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0)\\\\n\\\\n // Copy the returned data.\\\\n returndatacopy(0, 0, returndatasize())\\\\n\\\\n switch result\\\\n // delegatecall returns 0 on error.\\\\n case 0 {\\\\n revert(0, returndatasize())\\\\n }\\\\n default {\\\\n return(0, returndatasize())\\\\n }\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev This is a virtual function that should be overridden so it returns the address to which the fallback function\\\\n * and {_fallback} should delegate.\\\\n */\\\\n function _implementation() internal view virtual returns (address);\\\\n\\\\n /**\\\\n * @dev Delegates the current call to the address returned by `_implementation()`.\\\\n *\\\\n * This function does not return to its internal call site, it will return directly to the external caller.\\\\n */\\\\n function _fallback() internal virtual {\\\\n _beforeFallback();\\\\n _delegate(_implementation());\\\\n }\\\\n\\\\n /**\\\\n * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other\\\\n * function in the contract matches the call data.\\\\n */\\\\n fallback() external payable virtual {\\\\n _fallback();\\\\n }\\\\n\\\\n /**\\\\n * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data\\\\n * is empty.\\\\n */\\\\n receive() external payable virtual {\\\\n _fallback();\\\\n }\\\\n\\\\n /**\\\\n * @dev Hook that is called before falling back to the implementation. Can happen as part of a manual `_fallback`\\\\n * call, or as part of the Solidity `fallback` or `receive` functions.\\\\n *\\\\n * If overridden should call `super._beforeFallback()`.\\\\n */\\\\n function _beforeFallback() internal virtual {}\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xc130fe33f1b2132158531a87734153293f6d07bc263ff4ac90e85da9c82c0e27\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/proxy/beacon/IBeacon.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (proxy/beacon/IBeacon.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev This is the interface that {BeaconProxy} expects of its beacon.\\\\n */\\\\ninterface IBeacon {\\\\n /**\\\\n * @dev Must return an address that can be used as a delegate call target.\\\\n *\\\\n * {BeaconProxy} will check that this address is a contract.\\\\n */\\\\n function implementation() external view returns (address);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xd50a3421ac379ccb1be435fa646d66a65c986b4924f0849839f08692f39dde61\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/proxy/transparent/TransparentUpgradeableProxy.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (proxy/transparent/TransparentUpgradeableProxy.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../ERC1967/ERC1967Proxy.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev This contract implements a proxy that is upgradeable by an admin.\\\\n *\\\\n * To avoid https://medium.com/nomic-labs-blog/malicious-backdoors-in-ethereum-proxies-62629adf3357[proxy selector\\\\n * clashing], which can potentially be used in an attack, this contract uses the\\\\n * https://blog.openzeppelin.com/the-transparent-proxy-pattern/[transparent proxy pattern]. This pattern implies two\\\\n * things that go hand in hand:\\\\n *\\\\n * 1. If any account other than the admin calls the proxy, the call will be forwarded to the implementation, even if\\\\n * that call matches one of the admin functions exposed by the proxy itself.\\\\n * 2. If the admin calls the proxy, it can access the admin functions, but its calls will never be forwarded to the\\\\n * implementation. If the admin tries to call a function on the implementation it will fail with an error that says\\\\n * \\\\\\\"admin cannot fallback to proxy target\\\\\\\".\\\\n *\\\\n * These properties mean that the admin account can only be used for admin actions like upgrading the proxy or changing\\\\n * the admin, so it's best if it's a dedicated account that is not used for anything else. This will avoid headaches due\\\\n * to sudden errors when trying to call a function from the proxy implementation.\\\\n *\\\\n * Our recommendation is for the dedicated account to be an instance of the {ProxyAdmin} contract. If set up this way,\\\\n * you should think of the `ProxyAdmin` instance as the real administrative interface of your proxy.\\\\n */\\\\ncontract TransparentUpgradeableProxy is ERC1967Proxy {\\\\n /**\\\\n * @dev Initializes an upgradeable proxy managed by `_admin`, backed by the implementation at `_logic`, and\\\\n * optionally initialized with `_data` as explained in {ERC1967Proxy-constructor}.\\\\n */\\\\n constructor(\\\\n address _logic,\\\\n address admin_,\\\\n bytes memory _data\\\\n ) payable ERC1967Proxy(_logic, _data) {\\\\n _changeAdmin(admin_);\\\\n }\\\\n\\\\n /**\\\\n * @dev Modifier used internally that will delegate the call to the implementation unless the sender is the admin.\\\\n */\\\\n modifier ifAdmin() {\\\\n if (msg.sender == _getAdmin()) {\\\\n _;\\\\n } else {\\\\n _fallback();\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the current admin.\\\\n *\\\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyAdmin}.\\\\n *\\\\n * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the\\\\n * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.\\\\n * `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`\\\\n */\\\\n function admin() external ifAdmin returns (address admin_) {\\\\n admin_ = _getAdmin();\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the current implementation.\\\\n *\\\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyImplementation}.\\\\n *\\\\n * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the\\\\n * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.\\\\n * `0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc`\\\\n */\\\\n function implementation() external ifAdmin returns (address implementation_) {\\\\n implementation_ = _implementation();\\\\n }\\\\n\\\\n /**\\\\n * @dev Changes the admin of the proxy.\\\\n *\\\\n * Emits an {AdminChanged} event.\\\\n *\\\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-changeProxyAdmin}.\\\\n */\\\\n function changeAdmin(address newAdmin) external virtual ifAdmin {\\\\n _changeAdmin(newAdmin);\\\\n }\\\\n\\\\n /**\\\\n * @dev Upgrade the implementation of the proxy.\\\\n *\\\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-upgrade}.\\\\n */\\\\n function upgradeTo(address newImplementation) external ifAdmin {\\\\n _upgradeToAndCall(newImplementation, bytes(\\\\\\\"\\\\\\\"), false);\\\\n }\\\\n\\\\n /**\\\\n * @dev Upgrade the implementation of the proxy, and then call a function from the new implementation as specified\\\\n * by `data`, which should be an encoded function call. This is useful to initialize new storage variables in the\\\\n * proxied contract.\\\\n *\\\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-upgradeAndCall}.\\\\n */\\\\n function upgradeToAndCall(address newImplementation, bytes calldata data) external payable ifAdmin {\\\\n _upgradeToAndCall(newImplementation, data, true);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the current admin.\\\\n */\\\\n function _admin() internal view virtual returns (address) {\\\\n return _getAdmin();\\\\n }\\\\n\\\\n /**\\\\n * @dev Makes sure the admin cannot access the fallback function. See {Proxy-_beforeFallback}.\\\\n */\\\\n function _beforeFallback() internal virtual override {\\\\n require(msg.sender != _getAdmin(), \\\\\\\"TransparentUpgradeableProxy: admin cannot fallback to proxy target\\\\\\\");\\\\n super._beforeFallback();\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xa6a787e7a901af6511e19aa53e1a00352db215a011d2c7a438d0582dd5da76f9\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/proxy/utils/Initializable.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (proxy/utils/Initializable.sol)\\\\n\\\\npragma solidity ^0.8.2;\\\\n\\\\nimport \\\\\\\"../../utils/Address.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed\\\\n * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an\\\\n * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer\\\\n * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.\\\\n *\\\\n * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be\\\\n * reused. This mechanism prevents re-execution of each \\\\\\\"step\\\\\\\" but allows the creation of new initialization steps in\\\\n * case an upgrade adds a module that needs to be initialized.\\\\n *\\\\n * For example:\\\\n *\\\\n * [.hljs-theme-light.nopadding]\\\\n * ```\\\\n * contract MyToken is ERC20Upgradeable {\\\\n * function initialize() initializer public {\\\\n * __ERC20_init(\\\\\\\"MyToken\\\\\\\", \\\\\\\"MTK\\\\\\\");\\\\n * }\\\\n * }\\\\n * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {\\\\n * function initializeV2() reinitializer(2) public {\\\\n * __ERC20Permit_init(\\\\\\\"MyToken\\\\\\\");\\\\n * }\\\\n * }\\\\n * ```\\\\n *\\\\n * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as\\\\n * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.\\\\n *\\\\n * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure\\\\n * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.\\\\n *\\\\n * [CAUTION]\\\\n * ====\\\\n * Avoid leaving a contract uninitialized.\\\\n *\\\\n * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation\\\\n * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke\\\\n * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:\\\\n *\\\\n * [.hljs-theme-light.nopadding]\\\\n * ```\\\\n * /// @custom:oz-upgrades-unsafe-allow constructor\\\\n * constructor() {\\\\n * _disableInitializers();\\\\n * }\\\\n * ```\\\\n * ====\\\\n */\\\\nabstract contract Initializable {\\\\n /**\\\\n * @dev Indicates that the contract has been initialized.\\\\n * @custom:oz-retyped-from bool\\\\n */\\\\n uint8 private _initialized;\\\\n\\\\n /**\\\\n * @dev Indicates that the contract is in the process of being initialized.\\\\n */\\\\n bool private _initializing;\\\\n\\\\n /**\\\\n * @dev Triggered when the contract has been initialized or reinitialized.\\\\n */\\\\n event Initialized(uint8 version);\\\\n\\\\n /**\\\\n * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,\\\\n * `onlyInitializing` functions can be used to initialize parent contracts. Equivalent to `reinitializer(1)`.\\\\n */\\\\n modifier initializer() {\\\\n bool isTopLevelCall = !_initializing;\\\\n require(\\\\n (isTopLevelCall && _initialized < 1) || (!Address.isContract(address(this)) && _initialized == 1),\\\\n \\\\\\\"Initializable: contract is already initialized\\\\\\\"\\\\n );\\\\n _initialized = 1;\\\\n if (isTopLevelCall) {\\\\n _initializing = true;\\\\n }\\\\n _;\\\\n if (isTopLevelCall) {\\\\n _initializing = false;\\\\n emit Initialized(1);\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the\\\\n * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be\\\\n * used to initialize parent contracts.\\\\n *\\\\n * `initializer` is equivalent to `reinitializer(1)`, so a reinitializer may be used after the original\\\\n * initialization step. This is essential to configure modules that are added through upgrades and that require\\\\n * initialization.\\\\n *\\\\n * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in\\\\n * a contract, executing them in the right order is up to the developer or operator.\\\\n */\\\\n modifier reinitializer(uint8 version) {\\\\n require(!_initializing && _initialized < version, \\\\\\\"Initializable: contract is already initialized\\\\\\\");\\\\n _initialized = version;\\\\n _initializing = true;\\\\n _;\\\\n _initializing = false;\\\\n emit Initialized(version);\\\\n }\\\\n\\\\n /**\\\\n * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the\\\\n * {initializer} and {reinitializer} modifiers, directly or indirectly.\\\\n */\\\\n modifier onlyInitializing() {\\\\n require(_initializing, \\\\\\\"Initializable: contract is not initializing\\\\\\\");\\\\n _;\\\\n }\\\\n\\\\n /**\\\\n * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.\\\\n * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized\\\\n * to any version. It is recommended to use this to lock implementation contracts that are designed to be called\\\\n * through proxies.\\\\n */\\\\n function _disableInitializers() internal virtual {\\\\n require(!_initializing, \\\\\\\"Initializable: contract is initializing\\\\\\\");\\\\n if (_initialized < type(uint8).max) {\\\\n _initialized = type(uint8).max;\\\\n emit Initialized(type(uint8).max);\\\\n }\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/security/Pausable.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../utils/Context.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Contract module which allows children to implement an emergency stop\\\\n * mechanism that can be triggered by an authorized account.\\\\n *\\\\n * This module is used through inheritance. It will make available the\\\\n * modifiers `whenNotPaused` and `whenPaused`, which can be applied to\\\\n * the functions of your contract. Note that they will not be pausable by\\\\n * simply including this module, only once the modifiers are put in place.\\\\n */\\\\nabstract contract Pausable is Context {\\\\n /**\\\\n * @dev Emitted when the pause is triggered by `account`.\\\\n */\\\\n event Paused(address account);\\\\n\\\\n /**\\\\n * @dev Emitted when the pause is lifted by `account`.\\\\n */\\\\n event Unpaused(address account);\\\\n\\\\n bool private _paused;\\\\n\\\\n /**\\\\n * @dev Initializes the contract in unpaused state.\\\\n */\\\\n constructor() {\\\\n _paused = false;\\\\n }\\\\n\\\\n /**\\\\n * @dev Modifier to make a function callable only when the contract is not paused.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - The contract must not be paused.\\\\n */\\\\n modifier whenNotPaused() {\\\\n _requireNotPaused();\\\\n _;\\\\n }\\\\n\\\\n /**\\\\n * @dev Modifier to make a function callable only when the contract is paused.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - The contract must be paused.\\\\n */\\\\n modifier whenPaused() {\\\\n _requirePaused();\\\\n _;\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns true if the contract is paused, and false otherwise.\\\\n */\\\\n function paused() public view virtual returns (bool) {\\\\n return _paused;\\\\n }\\\\n\\\\n /**\\\\n * @dev Throws if the contract is paused.\\\\n */\\\\n function _requireNotPaused() internal view virtual {\\\\n require(!paused(), \\\\\\\"Pausable: paused\\\\\\\");\\\\n }\\\\n\\\\n /**\\\\n * @dev Throws if the contract is not paused.\\\\n */\\\\n function _requirePaused() internal view virtual {\\\\n require(paused(), \\\\\\\"Pausable: not paused\\\\\\\");\\\\n }\\\\n\\\\n /**\\\\n * @dev Triggers stopped state.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - The contract must not be paused.\\\\n */\\\\n function _pause() internal virtual whenNotPaused {\\\\n _paused = true;\\\\n emit Paused(_msgSender());\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns to normal state.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - The contract must be paused.\\\\n */\\\\n function _unpause() internal virtual whenPaused {\\\\n _paused = false;\\\\n emit Unpaused(_msgSender());\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x0849d93b16c9940beb286a7864ed02724b248b93e0d80ef6355af5ef15c64773\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/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\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/token/ERC1155/ERC1155.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/ERC1155.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./IERC1155.sol\\\\\\\";\\\\nimport \\\\\\\"./IERC1155Receiver.sol\\\\\\\";\\\\nimport \\\\\\\"./extensions/IERC1155MetadataURI.sol\\\\\\\";\\\\nimport \\\\\\\"../../utils/Address.sol\\\\\\\";\\\\nimport \\\\\\\"../../utils/Context.sol\\\\\\\";\\\\nimport \\\\\\\"../../utils/introspection/ERC165.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Implementation of the basic standard multi-token.\\\\n * See https://eips.ethereum.org/EIPS/eip-1155\\\\n * Originally based on code by Enjin: https://github.com/enjin/erc-1155\\\\n *\\\\n * _Available since v3.1._\\\\n */\\\\ncontract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {\\\\n using Address for address;\\\\n\\\\n // Mapping from token ID to account balances\\\\n mapping(uint256 => mapping(address => uint256)) private _balances;\\\\n\\\\n // Mapping from account to operator approvals\\\\n mapping(address => mapping(address => bool)) private _operatorApprovals;\\\\n\\\\n // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json\\\\n string private _uri;\\\\n\\\\n /**\\\\n * @dev See {_setURI}.\\\\n */\\\\n constructor(string memory uri_) {\\\\n _setURI(uri_);\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC165-supportsInterface}.\\\\n */\\\\n function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {\\\\n return\\\\n interfaceId == type(IERC1155).interfaceId ||\\\\n interfaceId == type(IERC1155MetadataURI).interfaceId ||\\\\n super.supportsInterface(interfaceId);\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC1155MetadataURI-uri}.\\\\n *\\\\n * This implementation returns the same URI for *all* token types. It relies\\\\n * on the token type ID substitution mechanism\\\\n * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].\\\\n *\\\\n * Clients calling this function must replace the `\\\\\\\\{id\\\\\\\\}` substring with the\\\\n * actual token type ID.\\\\n */\\\\n function uri(uint256) public view virtual override returns (string memory) {\\\\n return _uri;\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC1155-balanceOf}.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `account` cannot be the zero address.\\\\n */\\\\n function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {\\\\n require(account != address(0), \\\\\\\"ERC1155: address zero is not a valid owner\\\\\\\");\\\\n return _balances[id][account];\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC1155-balanceOfBatch}.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `accounts` and `ids` must have the same length.\\\\n */\\\\n function balanceOfBatch(address[] memory accounts, uint256[] memory ids)\\\\n public\\\\n view\\\\n virtual\\\\n override\\\\n returns (uint256[] memory)\\\\n {\\\\n require(accounts.length == ids.length, \\\\\\\"ERC1155: accounts and ids length mismatch\\\\\\\");\\\\n\\\\n uint256[] memory batchBalances = new uint256[](accounts.length);\\\\n\\\\n for (uint256 i = 0; i < accounts.length; ++i) {\\\\n batchBalances[i] = balanceOf(accounts[i], ids[i]);\\\\n }\\\\n\\\\n return batchBalances;\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC1155-setApprovalForAll}.\\\\n */\\\\n function setApprovalForAll(address operator, bool approved) public virtual override {\\\\n _setApprovalForAll(_msgSender(), operator, approved);\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC1155-isApprovedForAll}.\\\\n */\\\\n function isApprovedForAll(address account, address operator) public view virtual override returns (bool) {\\\\n return _operatorApprovals[account][operator];\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC1155-safeTransferFrom}.\\\\n */\\\\n function safeTransferFrom(\\\\n address from,\\\\n address to,\\\\n uint256 id,\\\\n uint256 amount,\\\\n bytes memory data\\\\n ) public virtual override {\\\\n require(\\\\n from == _msgSender() || isApprovedForAll(from, _msgSender()),\\\\n \\\\\\\"ERC1155: caller is not token owner nor approved\\\\\\\"\\\\n );\\\\n _safeTransferFrom(from, to, id, amount, data);\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC1155-safeBatchTransferFrom}.\\\\n */\\\\n function safeBatchTransferFrom(\\\\n address from,\\\\n address to,\\\\n uint256[] memory ids,\\\\n uint256[] memory amounts,\\\\n bytes memory data\\\\n ) public virtual override {\\\\n require(\\\\n from == _msgSender() || isApprovedForAll(from, _msgSender()),\\\\n \\\\\\\"ERC1155: caller is not token owner nor approved\\\\\\\"\\\\n );\\\\n _safeBatchTransferFrom(from, to, ids, amounts, data);\\\\n }\\\\n\\\\n /**\\\\n * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.\\\\n *\\\\n * Emits a {TransferSingle} event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `to` cannot be the zero address.\\\\n * - `from` must have a balance of tokens of type `id` of at least `amount`.\\\\n * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the\\\\n * acceptance magic value.\\\\n */\\\\n function _safeTransferFrom(\\\\n address from,\\\\n address to,\\\\n uint256 id,\\\\n uint256 amount,\\\\n bytes memory data\\\\n ) internal virtual {\\\\n require(to != address(0), \\\\\\\"ERC1155: transfer to the zero address\\\\\\\");\\\\n\\\\n address operator = _msgSender();\\\\n uint256[] memory ids = _asSingletonArray(id);\\\\n uint256[] memory amounts = _asSingletonArray(amount);\\\\n\\\\n _beforeTokenTransfer(operator, from, to, ids, amounts, data);\\\\n\\\\n uint256 fromBalance = _balances[id][from];\\\\n require(fromBalance >= amount, \\\\\\\"ERC1155: insufficient balance for transfer\\\\\\\");\\\\n unchecked {\\\\n _balances[id][from] = fromBalance - amount;\\\\n }\\\\n _balances[id][to] += amount;\\\\n\\\\n emit TransferSingle(operator, from, to, id, amount);\\\\n\\\\n _afterTokenTransfer(operator, from, to, ids, amounts, data);\\\\n\\\\n _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);\\\\n }\\\\n\\\\n /**\\\\n * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.\\\\n *\\\\n * Emits a {TransferBatch} event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the\\\\n * acceptance magic value.\\\\n */\\\\n function _safeBatchTransferFrom(\\\\n address from,\\\\n address to,\\\\n uint256[] memory ids,\\\\n uint256[] memory amounts,\\\\n bytes memory data\\\\n ) internal virtual {\\\\n require(ids.length == amounts.length, \\\\\\\"ERC1155: ids and amounts length mismatch\\\\\\\");\\\\n require(to != address(0), \\\\\\\"ERC1155: transfer to the zero address\\\\\\\");\\\\n\\\\n address operator = _msgSender();\\\\n\\\\n _beforeTokenTransfer(operator, from, to, ids, amounts, data);\\\\n\\\\n for (uint256 i = 0; i < ids.length; ++i) {\\\\n uint256 id = ids[i];\\\\n uint256 amount = amounts[i];\\\\n\\\\n uint256 fromBalance = _balances[id][from];\\\\n require(fromBalance >= amount, \\\\\\\"ERC1155: insufficient balance for transfer\\\\\\\");\\\\n unchecked {\\\\n _balances[id][from] = fromBalance - amount;\\\\n }\\\\n _balances[id][to] += amount;\\\\n }\\\\n\\\\n emit TransferBatch(operator, from, to, ids, amounts);\\\\n\\\\n _afterTokenTransfer(operator, from, to, ids, amounts, data);\\\\n\\\\n _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets a new URI for all token types, by relying on the token type ID\\\\n * substitution mechanism\\\\n * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].\\\\n *\\\\n * By this mechanism, any occurrence of the `\\\\\\\\{id\\\\\\\\}` substring in either the\\\\n * URI or any of the amounts in the JSON file at said URI will be replaced by\\\\n * clients with the token type ID.\\\\n *\\\\n * For example, the `https://token-cdn-domain/\\\\\\\\{id\\\\\\\\}.json` URI would be\\\\n * interpreted by clients as\\\\n * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`\\\\n * for token type ID 0x4cce0.\\\\n *\\\\n * See {uri}.\\\\n *\\\\n * Because these URIs cannot be meaningfully represented by the {URI} event,\\\\n * this function emits no events.\\\\n */\\\\n function _setURI(string memory newuri) internal virtual {\\\\n _uri = newuri;\\\\n }\\\\n\\\\n /**\\\\n * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`.\\\\n *\\\\n * Emits a {TransferSingle} event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `to` cannot be the zero address.\\\\n * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the\\\\n * acceptance magic value.\\\\n */\\\\n function _mint(\\\\n address to,\\\\n uint256 id,\\\\n uint256 amount,\\\\n bytes memory data\\\\n ) internal virtual {\\\\n require(to != address(0), \\\\\\\"ERC1155: mint to the zero address\\\\\\\");\\\\n\\\\n address operator = _msgSender();\\\\n uint256[] memory ids = _asSingletonArray(id);\\\\n uint256[] memory amounts = _asSingletonArray(amount);\\\\n\\\\n _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);\\\\n\\\\n _balances[id][to] += amount;\\\\n emit TransferSingle(operator, address(0), to, id, amount);\\\\n\\\\n _afterTokenTransfer(operator, address(0), to, ids, amounts, data);\\\\n\\\\n _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data);\\\\n }\\\\n\\\\n /**\\\\n * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.\\\\n *\\\\n * Emits a {TransferBatch} event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `ids` and `amounts` must have the same length.\\\\n * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the\\\\n * acceptance magic value.\\\\n */\\\\n function _mintBatch(\\\\n address to,\\\\n uint256[] memory ids,\\\\n uint256[] memory amounts,\\\\n bytes memory data\\\\n ) internal virtual {\\\\n require(to != address(0), \\\\\\\"ERC1155: mint to the zero address\\\\\\\");\\\\n require(ids.length == amounts.length, \\\\\\\"ERC1155: ids and amounts length mismatch\\\\\\\");\\\\n\\\\n address operator = _msgSender();\\\\n\\\\n _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);\\\\n\\\\n for (uint256 i = 0; i < ids.length; i++) {\\\\n _balances[ids[i]][to] += amounts[i];\\\\n }\\\\n\\\\n emit TransferBatch(operator, address(0), to, ids, amounts);\\\\n\\\\n _afterTokenTransfer(operator, address(0), to, ids, amounts, data);\\\\n\\\\n _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);\\\\n }\\\\n\\\\n /**\\\\n * @dev Destroys `amount` tokens of token type `id` from `from`\\\\n *\\\\n * Emits a {TransferSingle} event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `from` cannot be the zero address.\\\\n * - `from` must have at least `amount` tokens of token type `id`.\\\\n */\\\\n function _burn(\\\\n address from,\\\\n uint256 id,\\\\n uint256 amount\\\\n ) internal virtual {\\\\n require(from != address(0), \\\\\\\"ERC1155: burn from the zero address\\\\\\\");\\\\n\\\\n address operator = _msgSender();\\\\n uint256[] memory ids = _asSingletonArray(id);\\\\n uint256[] memory amounts = _asSingletonArray(amount);\\\\n\\\\n _beforeTokenTransfer(operator, from, address(0), ids, amounts, \\\\\\\"\\\\\\\");\\\\n\\\\n uint256 fromBalance = _balances[id][from];\\\\n require(fromBalance >= amount, \\\\\\\"ERC1155: burn amount exceeds balance\\\\\\\");\\\\n unchecked {\\\\n _balances[id][from] = fromBalance - amount;\\\\n }\\\\n\\\\n emit TransferSingle(operator, from, address(0), id, amount);\\\\n\\\\n _afterTokenTransfer(operator, from, address(0), ids, amounts, \\\\\\\"\\\\\\\");\\\\n }\\\\n\\\\n /**\\\\n * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.\\\\n *\\\\n * Emits a {TransferBatch} event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `ids` and `amounts` must have the same length.\\\\n */\\\\n function _burnBatch(\\\\n address from,\\\\n uint256[] memory ids,\\\\n uint256[] memory amounts\\\\n ) internal virtual {\\\\n require(from != address(0), \\\\\\\"ERC1155: burn from the zero address\\\\\\\");\\\\n require(ids.length == amounts.length, \\\\\\\"ERC1155: ids and amounts length mismatch\\\\\\\");\\\\n\\\\n address operator = _msgSender();\\\\n\\\\n _beforeTokenTransfer(operator, from, address(0), ids, amounts, \\\\\\\"\\\\\\\");\\\\n\\\\n for (uint256 i = 0; i < ids.length; i++) {\\\\n uint256 id = ids[i];\\\\n uint256 amount = amounts[i];\\\\n\\\\n uint256 fromBalance = _balances[id][from];\\\\n require(fromBalance >= amount, \\\\\\\"ERC1155: burn amount exceeds balance\\\\\\\");\\\\n unchecked {\\\\n _balances[id][from] = fromBalance - amount;\\\\n }\\\\n }\\\\n\\\\n emit TransferBatch(operator, from, address(0), ids, amounts);\\\\n\\\\n _afterTokenTransfer(operator, from, address(0), ids, amounts, \\\\\\\"\\\\\\\");\\\\n }\\\\n\\\\n /**\\\\n * @dev Approve `operator` to operate on all of `owner` tokens\\\\n *\\\\n * Emits an {ApprovalForAll} event.\\\\n */\\\\n function _setApprovalForAll(\\\\n address owner,\\\\n address operator,\\\\n bool approved\\\\n ) internal virtual {\\\\n require(owner != operator, \\\\\\\"ERC1155: setting approval status for self\\\\\\\");\\\\n _operatorApprovals[owner][operator] = approved;\\\\n emit ApprovalForAll(owner, operator, approved);\\\\n }\\\\n\\\\n /**\\\\n * @dev Hook that is called before any token transfer. This includes minting\\\\n * and burning, as well as batched variants.\\\\n *\\\\n * The same hook is called on both single and batched variants. For single\\\\n * transfers, the length of the `ids` and `amounts` arrays will be 1.\\\\n *\\\\n * Calling conditions (for each `id` and `amount` pair):\\\\n *\\\\n * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\\\n * of token type `id` will be transferred to `to`.\\\\n * - When `from` is zero, `amount` tokens of token type `id` will be minted\\\\n * for `to`.\\\\n * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`\\\\n * will be burned.\\\\n * - `from` and `to` are never both zero.\\\\n * - `ids` and `amounts` have the same, non-zero length.\\\\n *\\\\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\\\n */\\\\n function _beforeTokenTransfer(\\\\n address operator,\\\\n address from,\\\\n address to,\\\\n uint256[] memory ids,\\\\n uint256[] memory amounts,\\\\n bytes memory data\\\\n ) internal virtual {}\\\\n\\\\n /**\\\\n * @dev Hook that is called after any token transfer. This includes minting\\\\n * and burning, as well as batched variants.\\\\n *\\\\n * The same hook is called on both single and batched variants. For single\\\\n * transfers, the length of the `id` and `amount` arrays will be 1.\\\\n *\\\\n * Calling conditions (for each `id` and `amount` pair):\\\\n *\\\\n * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\\\n * of token type `id` will be transferred to `to`.\\\\n * - When `from` is zero, `amount` tokens of token type `id` will be minted\\\\n * for `to`.\\\\n * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`\\\\n * will be burned.\\\\n * - `from` and `to` are never both zero.\\\\n * - `ids` and `amounts` have the same, non-zero length.\\\\n *\\\\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\\\n */\\\\n function _afterTokenTransfer(\\\\n address operator,\\\\n address from,\\\\n address to,\\\\n uint256[] memory ids,\\\\n uint256[] memory amounts,\\\\n bytes memory data\\\\n ) internal virtual {}\\\\n\\\\n function _doSafeTransferAcceptanceCheck(\\\\n address operator,\\\\n address from,\\\\n address to,\\\\n uint256 id,\\\\n uint256 amount,\\\\n bytes memory data\\\\n ) private {\\\\n if (to.isContract()) {\\\\n try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {\\\\n if (response != IERC1155Receiver.onERC1155Received.selector) {\\\\n revert(\\\\\\\"ERC1155: ERC1155Receiver rejected tokens\\\\\\\");\\\\n }\\\\n } catch Error(string memory reason) {\\\\n revert(reason);\\\\n } catch {\\\\n revert(\\\\\\\"ERC1155: transfer to non ERC1155Receiver implementer\\\\\\\");\\\\n }\\\\n }\\\\n }\\\\n\\\\n function _doSafeBatchTransferAcceptanceCheck(\\\\n address operator,\\\\n address from,\\\\n address to,\\\\n uint256[] memory ids,\\\\n uint256[] memory amounts,\\\\n bytes memory data\\\\n ) private {\\\\n if (to.isContract()) {\\\\n try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (\\\\n bytes4 response\\\\n ) {\\\\n if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {\\\\n revert(\\\\\\\"ERC1155: ERC1155Receiver rejected tokens\\\\\\\");\\\\n }\\\\n } catch Error(string memory reason) {\\\\n revert(reason);\\\\n } catch {\\\\n revert(\\\\\\\"ERC1155: transfer to non ERC1155Receiver implementer\\\\\\\");\\\\n }\\\\n }\\\\n }\\\\n\\\\n function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {\\\\n uint256[] memory array = new uint256[](1);\\\\n array[0] = element;\\\\n\\\\n return array;\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x447a21c87433c0f11252912313a96f3454629ef88cca7a4eefbb283b3ec409f9\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/token/ERC1155/IERC1155.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../../utils/introspection/IERC165.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Required interface of an ERC1155 compliant contract, as defined in the\\\\n * https://eips.ethereum.org/EIPS/eip-1155[EIP].\\\\n *\\\\n * _Available since v3.1._\\\\n */\\\\ninterface IERC1155 is IERC165 {\\\\n /**\\\\n * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.\\\\n */\\\\n event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);\\\\n\\\\n /**\\\\n * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all\\\\n * transfers.\\\\n */\\\\n event TransferBatch(\\\\n address indexed operator,\\\\n address indexed from,\\\\n address indexed to,\\\\n uint256[] ids,\\\\n uint256[] values\\\\n );\\\\n\\\\n /**\\\\n * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to\\\\n * `approved`.\\\\n */\\\\n event ApprovalForAll(address indexed account, address indexed operator, bool approved);\\\\n\\\\n /**\\\\n * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.\\\\n *\\\\n * If an {URI} event was emitted for `id`, the standard\\\\n * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value\\\\n * returned by {IERC1155MetadataURI-uri}.\\\\n */\\\\n event URI(string value, uint256 indexed id);\\\\n\\\\n /**\\\\n * @dev Returns the amount of tokens of token type `id` owned by `account`.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `account` cannot be the zero address.\\\\n */\\\\n function balanceOf(address account, uint256 id) external view returns (uint256);\\\\n\\\\n /**\\\\n * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `accounts` and `ids` must have the same length.\\\\n */\\\\n function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)\\\\n external\\\\n view\\\\n returns (uint256[] memory);\\\\n\\\\n /**\\\\n * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,\\\\n *\\\\n * Emits an {ApprovalForAll} event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `operator` cannot be the caller.\\\\n */\\\\n function setApprovalForAll(address operator, bool approved) external;\\\\n\\\\n /**\\\\n * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.\\\\n *\\\\n * See {setApprovalForAll}.\\\\n */\\\\n function isApprovedForAll(address account, address operator) external view returns (bool);\\\\n\\\\n /**\\\\n * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.\\\\n *\\\\n * Emits a {TransferSingle} event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `to` cannot be the zero address.\\\\n * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}.\\\\n * - `from` must have a balance of tokens of type `id` of at least `amount`.\\\\n * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the\\\\n * acceptance magic value.\\\\n */\\\\n function safeTransferFrom(\\\\n address from,\\\\n address to,\\\\n uint256 id,\\\\n uint256 amount,\\\\n bytes calldata data\\\\n ) external;\\\\n\\\\n /**\\\\n * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.\\\\n *\\\\n * Emits a {TransferBatch} event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `ids` and `amounts` must have the same length.\\\\n * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the\\\\n * acceptance magic value.\\\\n */\\\\n function safeBatchTransferFrom(\\\\n address from,\\\\n address to,\\\\n uint256[] calldata ids,\\\\n uint256[] calldata amounts,\\\\n bytes calldata data\\\\n ) external;\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x6392f2cfe3a5ee802227fe7a2dfd47096d881aec89bddd214b35c5b46d3cd941\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/token/ERC1155/IERC1155Receiver.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../../utils/introspection/IERC165.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev _Available since v3.1._\\\\n */\\\\ninterface IERC1155Receiver is IERC165 {\\\\n /**\\\\n * @dev Handles the receipt of a single ERC1155 token type. This function is\\\\n * called at the end of a `safeTransferFrom` after the balance has been updated.\\\\n *\\\\n * NOTE: To accept the transfer, this must return\\\\n * `bytes4(keccak256(\\\\\\\"onERC1155Received(address,address,uint256,uint256,bytes)\\\\\\\"))`\\\\n * (i.e. 0xf23a6e61, or its own function selector).\\\\n *\\\\n * @param operator The address which initiated the transfer (i.e. msg.sender)\\\\n * @param from The address which previously owned the token\\\\n * @param id The ID of the token being transferred\\\\n * @param value The amount of tokens being transferred\\\\n * @param data Additional data with no specified format\\\\n * @return `bytes4(keccak256(\\\\\\\"onERC1155Received(address,address,uint256,uint256,bytes)\\\\\\\"))` if transfer is allowed\\\\n */\\\\n function onERC1155Received(\\\\n address operator,\\\\n address from,\\\\n uint256 id,\\\\n uint256 value,\\\\n bytes calldata data\\\\n ) external returns (bytes4);\\\\n\\\\n /**\\\\n * @dev Handles the receipt of a multiple ERC1155 token types. This function\\\\n * is called at the end of a `safeBatchTransferFrom` after the balances have\\\\n * been updated.\\\\n *\\\\n * NOTE: To accept the transfer(s), this must return\\\\n * `bytes4(keccak256(\\\\\\\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\\\\\\\"))`\\\\n * (i.e. 0xbc197c81, or its own function selector).\\\\n *\\\\n * @param operator The address which initiated the batch transfer (i.e. msg.sender)\\\\n * @param from The address which previously owned the token\\\\n * @param ids An array containing ids of each token being transferred (order and length must match values array)\\\\n * @param values An array containing amounts of each token being transferred (order and length must match ids array)\\\\n * @param data Additional data with no specified format\\\\n * @return `bytes4(keccak256(\\\\\\\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\\\\\\\"))` if transfer is allowed\\\\n */\\\\n function onERC1155BatchReceived(\\\\n address operator,\\\\n address from,\\\\n uint256[] calldata ids,\\\\n uint256[] calldata values,\\\\n bytes calldata data\\\\n ) external returns (bytes4);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xeb373f1fdc7b755c6a750123a9b9e3a8a02c1470042fd6505d875000a80bde0b\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/token/ERC1155/extensions/ERC1155Burnable.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/extensions/ERC1155Burnable.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../ERC1155.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Extension of {ERC1155} that allows token holders to destroy both their\\\\n * own tokens and those that they have been approved to use.\\\\n *\\\\n * _Available since v3.1._\\\\n */\\\\nabstract contract ERC1155Burnable is ERC1155 {\\\\n function burn(\\\\n address account,\\\\n uint256 id,\\\\n uint256 value\\\\n ) public virtual {\\\\n require(\\\\n account == _msgSender() || isApprovedForAll(account, _msgSender()),\\\\n \\\\\\\"ERC1155: caller is not token owner nor approved\\\\\\\"\\\\n );\\\\n\\\\n _burn(account, id, value);\\\\n }\\\\n\\\\n function burnBatch(\\\\n address account,\\\\n uint256[] memory ids,\\\\n uint256[] memory values\\\\n ) public virtual {\\\\n require(\\\\n account == _msgSender() || isApprovedForAll(account, _msgSender()),\\\\n \\\\\\\"ERC1155: caller is not token owner nor approved\\\\\\\"\\\\n );\\\\n\\\\n _burnBatch(account, ids, values);\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xb11d1ade7146ac3da122e1f387ea82b0bd385d50823946c3f967dbffef3e9f4f\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/token/ERC1155/extensions/ERC1155Pausable.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/ERC1155Pausable.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../ERC1155.sol\\\\\\\";\\\\nimport \\\\\\\"../../../security/Pausable.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev ERC1155 token with pausable token transfers, minting and burning.\\\\n *\\\\n * Useful for scenarios such as preventing trades until the end of an evaluation\\\\n * period, or having an emergency switch for freezing all token transfers in the\\\\n * event of a large bug.\\\\n *\\\\n * _Available since v3.1._\\\\n */\\\\nabstract contract ERC1155Pausable is ERC1155, Pausable {\\\\n /**\\\\n * @dev See {ERC1155-_beforeTokenTransfer}.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the contract must not be paused.\\\\n */\\\\n function _beforeTokenTransfer(\\\\n address operator,\\\\n address from,\\\\n address to,\\\\n uint256[] memory ids,\\\\n uint256[] memory amounts,\\\\n bytes memory data\\\\n ) internal virtual override {\\\\n super._beforeTokenTransfer(operator, from, to, ids, amounts, data);\\\\n\\\\n require(!paused(), \\\\\\\"ERC1155Pausable: token transfer while paused\\\\\\\");\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xdad22b949de979bb2ad9001c044b2aeaacf8a25e3de09ed6f022a9469f936d5b\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../IERC1155.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Interface of the optional ERC1155MetadataExtension interface, as defined\\\\n * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].\\\\n *\\\\n * _Available since v3.1._\\\\n */\\\\ninterface IERC1155MetadataURI is IERC1155 {\\\\n /**\\\\n * @dev Returns the URI for token type `id`.\\\\n *\\\\n * If the `\\\\\\\\{id\\\\\\\\}` substring is present in the URI, it must be replaced by\\\\n * clients with the actual token type ID.\\\\n */\\\\n function uri(uint256 id) external view returns (string memory);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xa66d18b9a85458d28fc3304717964502ae36f7f8a2ff35bc83f6f85d74b03574\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/token/ERC1155/presets/ERC1155PresetMinterPauser.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/presets/ERC1155PresetMinterPauser.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../ERC1155.sol\\\\\\\";\\\\nimport \\\\\\\"../extensions/ERC1155Burnable.sol\\\\\\\";\\\\nimport \\\\\\\"../extensions/ERC1155Pausable.sol\\\\\\\";\\\\nimport \\\\\\\"../../../access/AccessControlEnumerable.sol\\\\\\\";\\\\nimport \\\\\\\"../../../utils/Context.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev {ERC1155} token, including:\\\\n *\\\\n * - ability for holders to burn (destroy) their tokens\\\\n * - a minter role that allows for token minting (creation)\\\\n * - a pauser role that allows to stop all token transfers\\\\n *\\\\n * This contract uses {AccessControl} to lock permissioned functions using the\\\\n * different roles - head to its documentation for details.\\\\n *\\\\n * The account that deploys the contract will be granted the minter and pauser\\\\n * roles, as well as the default admin role, which will let it grant both minter\\\\n * and pauser roles to other accounts.\\\\n *\\\\n * _Deprecated in favor of https://wizard.openzeppelin.com/[Contracts Wizard]._\\\\n */\\\\ncontract ERC1155PresetMinterPauser is Context, AccessControlEnumerable, ERC1155Burnable, ERC1155Pausable {\\\\n bytes32 public constant MINTER_ROLE = keccak256(\\\\\\\"MINTER_ROLE\\\\\\\");\\\\n bytes32 public constant PAUSER_ROLE = keccak256(\\\\\\\"PAUSER_ROLE\\\\\\\");\\\\n\\\\n /**\\\\n * @dev Grants `DEFAULT_ADMIN_ROLE`, `MINTER_ROLE`, and `PAUSER_ROLE` to the account that\\\\n * deploys the contract.\\\\n */\\\\n constructor(string memory uri) ERC1155(uri) {\\\\n _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());\\\\n\\\\n _setupRole(MINTER_ROLE, _msgSender());\\\\n _setupRole(PAUSER_ROLE, _msgSender());\\\\n }\\\\n\\\\n /**\\\\n * @dev Creates `amount` new tokens for `to`, of token type `id`.\\\\n *\\\\n * See {ERC1155-_mint}.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the caller must have the `MINTER_ROLE`.\\\\n */\\\\n function mint(\\\\n address to,\\\\n uint256 id,\\\\n uint256 amount,\\\\n bytes memory data\\\\n ) public virtual {\\\\n require(hasRole(MINTER_ROLE, _msgSender()), \\\\\\\"ERC1155PresetMinterPauser: must have minter role to mint\\\\\\\");\\\\n\\\\n _mint(to, id, amount, data);\\\\n }\\\\n\\\\n /**\\\\n * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] variant of {mint}.\\\\n */\\\\n function mintBatch(\\\\n address to,\\\\n uint256[] memory ids,\\\\n uint256[] memory amounts,\\\\n bytes memory data\\\\n ) public virtual {\\\\n require(hasRole(MINTER_ROLE, _msgSender()), \\\\\\\"ERC1155PresetMinterPauser: must have minter role to mint\\\\\\\");\\\\n\\\\n _mintBatch(to, ids, amounts, data);\\\\n }\\\\n\\\\n /**\\\\n * @dev Pauses all token transfers.\\\\n *\\\\n * See {ERC1155Pausable} and {Pausable-_pause}.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the caller must have the `PAUSER_ROLE`.\\\\n */\\\\n function pause() public virtual {\\\\n require(hasRole(PAUSER_ROLE, _msgSender()), \\\\\\\"ERC1155PresetMinterPauser: must have pauser role to pause\\\\\\\");\\\\n _pause();\\\\n }\\\\n\\\\n /**\\\\n * @dev Unpauses all token transfers.\\\\n *\\\\n * See {ERC1155Pausable} and {Pausable-_unpause}.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the caller must have the `PAUSER_ROLE`.\\\\n */\\\\n function unpause() public virtual {\\\\n require(hasRole(PAUSER_ROLE, _msgSender()), \\\\\\\"ERC1155PresetMinterPauser: must have pauser role to unpause\\\\\\\");\\\\n _unpause();\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC165-supportsInterface}.\\\\n */\\\\n function supportsInterface(bytes4 interfaceId)\\\\n public\\\\n view\\\\n virtual\\\\n override(AccessControlEnumerable, ERC1155)\\\\n returns (bool)\\\\n {\\\\n return super.supportsInterface(interfaceId);\\\\n }\\\\n\\\\n function _beforeTokenTransfer(\\\\n address operator,\\\\n address from,\\\\n address to,\\\\n uint256[] memory ids,\\\\n uint256[] memory amounts,\\\\n bytes memory data\\\\n ) internal virtual override(ERC1155, ERC1155Pausable) {\\\\n super._beforeTokenTransfer(operator, from, to, ids, amounts, data);\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x775e248004d21e0666740534a732daa9f17ceeee660ded876829e98a3a62b657\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/token/ERC1155/utils/ERC1155Holder.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/utils/ERC1155Holder.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./ERC1155Receiver.sol\\\\\\\";\\\\n\\\\n/**\\\\n * Simple implementation of `ERC1155Receiver` that will allow a contract to hold ERC1155 tokens.\\\\n *\\\\n * IMPORTANT: When inheriting this contract, you must include a way to use the received tokens, otherwise they will be\\\\n * stuck.\\\\n *\\\\n * @dev _Available since v3.1._\\\\n */\\\\ncontract ERC1155Holder is ERC1155Receiver {\\\\n function onERC1155Received(\\\\n address,\\\\n address,\\\\n uint256,\\\\n uint256,\\\\n bytes memory\\\\n ) public virtual override returns (bytes4) {\\\\n return this.onERC1155Received.selector;\\\\n }\\\\n\\\\n function onERC1155BatchReceived(\\\\n address,\\\\n address,\\\\n uint256[] memory,\\\\n uint256[] memory,\\\\n bytes memory\\\\n ) public virtual override returns (bytes4) {\\\\n return this.onERC1155BatchReceived.selector;\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x2e024ca51ce5abe16c0d34e6992a1104f356e2244eb4ccbec970435e8b3405e3\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/token/ERC1155/utils/ERC1155Receiver.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (token/ERC1155/utils/ERC1155Receiver.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../IERC1155Receiver.sol\\\\\\\";\\\\nimport \\\\\\\"../../../utils/introspection/ERC165.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev _Available since v3.1._\\\\n */\\\\nabstract contract ERC1155Receiver is ERC165, IERC1155Receiver {\\\\n /**\\\\n * @dev See {IERC165-supportsInterface}.\\\\n */\\\\n function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {\\\\n return interfaceId == type(IERC1155Receiver).interfaceId || super.supportsInterface(interfaceId);\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x3dd5e1a66a56f30302108a1da97d677a42b1daa60e503696b2bcbbf3e4c95bcb\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/token/ERC20/IERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\\\n */\\\\ninterface IERC20 {\\\\n /**\\\\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\\\\n * another (`to`).\\\\n *\\\\n * Note that `value` may be zero.\\\\n */\\\\n event Transfer(address indexed from, address indexed to, uint256 value);\\\\n\\\\n /**\\\\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\\\n * a call to {approve}. `value` is the new allowance.\\\\n */\\\\n event Approval(address indexed owner, address indexed spender, uint256 value);\\\\n\\\\n /**\\\\n * @dev Returns the amount of tokens in existence.\\\\n */\\\\n function totalSupply() external view returns (uint256);\\\\n\\\\n /**\\\\n * @dev Returns the amount of tokens owned by `account`.\\\\n */\\\\n function balanceOf(address account) external view returns (uint256);\\\\n\\\\n /**\\\\n * @dev Moves `amount` tokens from the caller's account to `to`.\\\\n *\\\\n * Returns a boolean value indicating whether the operation succeeded.\\\\n *\\\\n * Emits a {Transfer} event.\\\\n */\\\\n function transfer(address to, uint256 amount) external returns (bool);\\\\n\\\\n /**\\\\n * @dev Returns the remaining number of tokens that `spender` will be\\\\n * allowed to spend on behalf of `owner` through {transferFrom}. This is\\\\n * zero by default.\\\\n *\\\\n * This value changes when {approve} or {transferFrom} are called.\\\\n */\\\\n function allowance(address owner, address spender) external view returns (uint256);\\\\n\\\\n /**\\\\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\\\n *\\\\n * Returns a boolean value indicating whether the operation succeeded.\\\\n *\\\\n * IMPORTANT: Beware that changing an allowance with this method brings the risk\\\\n * that someone may use both the old and the new allowance by unfortunate\\\\n * transaction ordering. One possible solution to mitigate this race\\\\n * condition is to first reduce the spender's allowance to 0 and set the\\\\n * desired value afterwards:\\\\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\\\n *\\\\n * Emits an {Approval} event.\\\\n */\\\\n function approve(address spender, uint256 amount) external returns (bool);\\\\n\\\\n /**\\\\n * @dev Moves `amount` tokens from `from` to `to` using the\\\\n * allowance mechanism. `amount` is then deducted from the caller's\\\\n * allowance.\\\\n *\\\\n * Returns a boolean value indicating whether the operation succeeded.\\\\n *\\\\n * Emits a {Transfer} event.\\\\n */\\\\n function transferFrom(\\\\n address from,\\\\n address to,\\\\n uint256 amount\\\\n ) external returns (bool);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/token/ERC721/IERC721.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../../utils/introspection/IERC165.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Required interface of an ERC721 compliant contract.\\\\n */\\\\ninterface IERC721 is IERC165 {\\\\n /**\\\\n * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\\\\n */\\\\n event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\\\\n\\\\n /**\\\\n * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\\\\n */\\\\n event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\\\\n\\\\n /**\\\\n * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\\\\n */\\\\n event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\\\\n\\\\n /**\\\\n * @dev Returns the number of tokens in ``owner``'s account.\\\\n */\\\\n function balanceOf(address owner) external view returns (uint256 balance);\\\\n\\\\n /**\\\\n * @dev Returns the owner of the `tokenId` token.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `tokenId` must exist.\\\\n */\\\\n function ownerOf(uint256 tokenId) external view returns (address owner);\\\\n\\\\n /**\\\\n * @dev Safely transfers `tokenId` token from `from` to `to`.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `from` cannot be the zero address.\\\\n * - `to` cannot be the zero address.\\\\n * - `tokenId` token must exist and be owned by `from`.\\\\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\\\\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\\\\n *\\\\n * Emits a {Transfer} event.\\\\n */\\\\n function safeTransferFrom(\\\\n address from,\\\\n address to,\\\\n uint256 tokenId,\\\\n bytes calldata data\\\\n ) external;\\\\n\\\\n /**\\\\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\\\\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `from` cannot be the zero address.\\\\n * - `to` cannot be the zero address.\\\\n * - `tokenId` token must exist and be owned by `from`.\\\\n * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.\\\\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\\\\n *\\\\n * Emits a {Transfer} event.\\\\n */\\\\n function safeTransferFrom(\\\\n address from,\\\\n address to,\\\\n uint256 tokenId\\\\n ) external;\\\\n\\\\n /**\\\\n * @dev Transfers `tokenId` token from `from` to `to`.\\\\n *\\\\n * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `from` cannot be the zero address.\\\\n * - `to` cannot be the zero address.\\\\n * - `tokenId` token must be owned by `from`.\\\\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\\\\n *\\\\n * Emits a {Transfer} event.\\\\n */\\\\n function transferFrom(\\\\n address from,\\\\n address to,\\\\n uint256 tokenId\\\\n ) external;\\\\n\\\\n /**\\\\n * @dev Gives permission to `to` to transfer `tokenId` token to another account.\\\\n * The approval is cleared when the token is transferred.\\\\n *\\\\n * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - The caller must own the token or be an approved operator.\\\\n * - `tokenId` must exist.\\\\n *\\\\n * Emits an {Approval} event.\\\\n */\\\\n function approve(address to, uint256 tokenId) external;\\\\n\\\\n /**\\\\n * @dev Approve or remove `operator` as an operator for the caller.\\\\n * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - The `operator` cannot be the caller.\\\\n *\\\\n * Emits an {ApprovalForAll} event.\\\\n */\\\\n function setApprovalForAll(address operator, bool _approved) external;\\\\n\\\\n /**\\\\n * @dev Returns the account approved for `tokenId` token.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `tokenId` must exist.\\\\n */\\\\n function getApproved(uint256 tokenId) external view returns (address operator);\\\\n\\\\n /**\\\\n * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\\\\n *\\\\n * See {setApprovalForAll}\\\\n */\\\\n function isApprovedForAll(address owner, address operator) external view returns (bool);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xed6a749c5373af398105ce6ee3ac4763aa450ea7285d268c85d9eeca809cdb1f\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/utils/Address.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)\\\\n\\\\npragma solidity ^0.8.1;\\\\n\\\\n/**\\\\n * @dev Collection of functions related to the address type\\\\n */\\\\nlibrary Address {\\\\n /**\\\\n * @dev Returns true if `account` is a contract.\\\\n *\\\\n * [IMPORTANT]\\\\n * ====\\\\n * It is unsafe to assume that an address for which this function returns\\\\n * false is an externally-owned account (EOA) and not a contract.\\\\n *\\\\n * Among others, `isContract` will return false for the following\\\\n * types of addresses:\\\\n *\\\\n * - an externally-owned account\\\\n * - a contract in construction\\\\n * - an address where a contract will be created\\\\n * - an address where a contract lived, but was destroyed\\\\n * ====\\\\n *\\\\n * [IMPORTANT]\\\\n * ====\\\\n * You shouldn't rely on `isContract` to protect against flash loan attacks!\\\\n *\\\\n * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\\\n * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\\\n * constructor.\\\\n * ====\\\\n */\\\\n function isContract(address account) internal view returns (bool) {\\\\n // This method relies on extcodesize/address.code.length, which returns 0\\\\n // for contracts in construction, since the code is only stored at the end\\\\n // of the constructor execution.\\\\n\\\\n return account.code.length > 0;\\\\n }\\\\n\\\\n /**\\\\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\\\n * `recipient`, forwarding all available gas and reverting on errors.\\\\n *\\\\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\\\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\\\\n * imposed by `transfer`, making them unable to receive funds via\\\\n * `transfer`. {sendValue} removes this limitation.\\\\n *\\\\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\\\n *\\\\n * IMPORTANT: because control is transferred to `recipient`, care must be\\\\n * taken to not create reentrancy vulnerabilities. Consider using\\\\n * {ReentrancyGuard} or the\\\\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\\\n */\\\\n function sendValue(address payable recipient, uint256 amount) internal {\\\\n require(address(this).balance >= amount, \\\\\\\"Address: insufficient balance\\\\\\\");\\\\n\\\\n (bool success, ) = recipient.call{value: amount}(\\\\\\\"\\\\\\\");\\\\n require(success, \\\\\\\"Address: unable to send value, recipient may have reverted\\\\\\\");\\\\n }\\\\n\\\\n /**\\\\n * @dev Performs a Solidity function call using a low level `call`. A\\\\n * plain `call` is an unsafe replacement for a function call: use this\\\\n * function instead.\\\\n *\\\\n * If `target` reverts with a revert reason, it is bubbled up by this\\\\n * function (like regular Solidity function calls).\\\\n *\\\\n * Returns the raw returned data. To convert to the expected return value,\\\\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `target` must be a contract.\\\\n * - calling `target` with `data` must not revert.\\\\n *\\\\n * _Available since v3.1._\\\\n */\\\\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\\\n return functionCall(target, data, \\\\\\\"Address: low-level call failed\\\\\\\");\\\\n }\\\\n\\\\n /**\\\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\\\n * `errorMessage` as a fallback revert reason when `target` reverts.\\\\n *\\\\n * _Available since v3.1._\\\\n */\\\\n function functionCall(\\\\n address target,\\\\n bytes memory data,\\\\n string memory errorMessage\\\\n ) internal returns (bytes memory) {\\\\n return functionCallWithValue(target, data, 0, errorMessage);\\\\n }\\\\n\\\\n /**\\\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\\\n * but also transferring `value` wei to `target`.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the calling contract must have an ETH balance of at least `value`.\\\\n * - the called Solidity function must be `payable`.\\\\n *\\\\n * _Available since v3.1._\\\\n */\\\\n function functionCallWithValue(\\\\n address target,\\\\n bytes memory data,\\\\n uint256 value\\\\n ) internal returns (bytes memory) {\\\\n return functionCallWithValue(target, data, value, \\\\\\\"Address: low-level call with value failed\\\\\\\");\\\\n }\\\\n\\\\n /**\\\\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\\\n * with `errorMessage` as a fallback revert reason when `target` reverts.\\\\n *\\\\n * _Available since v3.1._\\\\n */\\\\n function functionCallWithValue(\\\\n address target,\\\\n bytes memory data,\\\\n uint256 value,\\\\n string memory errorMessage\\\\n ) internal returns (bytes memory) {\\\\n require(address(this).balance >= value, \\\\\\\"Address: insufficient balance for call\\\\\\\");\\\\n require(isContract(target), \\\\\\\"Address: call to non-contract\\\\\\\");\\\\n\\\\n (bool success, bytes memory returndata) = target.call{value: value}(data);\\\\n return verifyCallResult(success, returndata, errorMessage);\\\\n }\\\\n\\\\n /**\\\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\\\n * but performing a static call.\\\\n *\\\\n * _Available since v3.3._\\\\n */\\\\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\\\n return functionStaticCall(target, data, \\\\\\\"Address: low-level static call failed\\\\\\\");\\\\n }\\\\n\\\\n /**\\\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\\\n * but performing a static call.\\\\n *\\\\n * _Available since v3.3._\\\\n */\\\\n function functionStaticCall(\\\\n address target,\\\\n bytes memory data,\\\\n string memory errorMessage\\\\n ) internal view returns (bytes memory) {\\\\n require(isContract(target), \\\\\\\"Address: static call to non-contract\\\\\\\");\\\\n\\\\n (bool success, bytes memory returndata) = target.staticcall(data);\\\\n return verifyCallResult(success, returndata, errorMessage);\\\\n }\\\\n\\\\n /**\\\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\\\n * but performing a delegate call.\\\\n *\\\\n * _Available since v3.4._\\\\n */\\\\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\\\n return functionDelegateCall(target, data, \\\\\\\"Address: low-level delegate call failed\\\\\\\");\\\\n }\\\\n\\\\n /**\\\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\\\n * but performing a delegate call.\\\\n *\\\\n * _Available since v3.4._\\\\n */\\\\n function functionDelegateCall(\\\\n address target,\\\\n bytes memory data,\\\\n string memory errorMessage\\\\n ) internal returns (bytes memory) {\\\\n require(isContract(target), \\\\\\\"Address: delegate call to non-contract\\\\\\\");\\\\n\\\\n (bool success, bytes memory returndata) = target.delegatecall(data);\\\\n return verifyCallResult(success, returndata, errorMessage);\\\\n }\\\\n\\\\n /**\\\\n * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the\\\\n * revert reason using the provided one.\\\\n *\\\\n * _Available since v4.3._\\\\n */\\\\n function verifyCallResult(\\\\n bool success,\\\\n bytes memory returndata,\\\\n string memory errorMessage\\\\n ) internal pure returns (bytes memory) {\\\\n if (success) {\\\\n return returndata;\\\\n } else {\\\\n // Look for revert reason and bubble it up if present\\\\n if (returndata.length > 0) {\\\\n // The easiest way to bubble the revert reason is using memory via assembly\\\\n /// @solidity memory-safe-assembly\\\\n assembly {\\\\n let returndata_size := mload(returndata)\\\\n revert(add(32, returndata), returndata_size)\\\\n }\\\\n } else {\\\\n revert(errorMessage);\\\\n }\\\\n }\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/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\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/utils/StorageSlot.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/StorageSlot.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Library for reading and writing primitive types to specific storage slots.\\\\n *\\\\n * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\\\\n * This library helps with reading and writing to such slots without the need for inline assembly.\\\\n *\\\\n * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\\\\n *\\\\n * Example usage to set ERC1967 implementation slot:\\\\n * ```\\\\n * contract ERC1967 {\\\\n * bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\\\\n *\\\\n * function _getImplementation() internal view returns (address) {\\\\n * return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\\\\n * }\\\\n *\\\\n * function _setImplementation(address newImplementation) internal {\\\\n * require(Address.isContract(newImplementation), \\\\\\\"ERC1967: new implementation is not a contract\\\\\\\");\\\\n * StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\\\\n * }\\\\n * }\\\\n * ```\\\\n *\\\\n * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._\\\\n */\\\\nlibrary StorageSlot {\\\\n struct AddressSlot {\\\\n address value;\\\\n }\\\\n\\\\n struct BooleanSlot {\\\\n bool value;\\\\n }\\\\n\\\\n struct Bytes32Slot {\\\\n bytes32 value;\\\\n }\\\\n\\\\n struct Uint256Slot {\\\\n uint256 value;\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns an `AddressSlot` with member `value` located at `slot`.\\\\n */\\\\n function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {\\\\n /// @solidity memory-safe-assembly\\\\n assembly {\\\\n r.slot := slot\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns an `BooleanSlot` with member `value` located at `slot`.\\\\n */\\\\n function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {\\\\n /// @solidity memory-safe-assembly\\\\n assembly {\\\\n r.slot := slot\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.\\\\n */\\\\n function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {\\\\n /// @solidity memory-safe-assembly\\\\n assembly {\\\\n r.slot := slot\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns an `Uint256Slot` with member `value` located at `slot`.\\\\n */\\\\n function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {\\\\n /// @solidity memory-safe-assembly\\\\n assembly {\\\\n r.slot := slot\\\\n }\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xd5c50c54bf02740ebd122ff06832546cb5fa84486d52695a9ccfd11666e0c81d\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/utils/Strings.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev String operations.\\\\n */\\\\nlibrary Strings {\\\\n bytes16 private constant _HEX_SYMBOLS = \\\\\\\"0123456789abcdef\\\\\\\";\\\\n uint8 private constant _ADDRESS_LENGTH = 20;\\\\n\\\\n /**\\\\n * @dev Converts a `uint256` to its ASCII `string` decimal representation.\\\\n */\\\\n function toString(uint256 value) internal pure returns (string memory) {\\\\n // Inspired by OraclizeAPI's implementation - MIT licence\\\\n // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\\\\n\\\\n if (value == 0) {\\\\n return \\\\\\\"0\\\\\\\";\\\\n }\\\\n uint256 temp = value;\\\\n uint256 digits;\\\\n while (temp != 0) {\\\\n digits++;\\\\n temp /= 10;\\\\n }\\\\n bytes memory buffer = new bytes(digits);\\\\n while (value != 0) {\\\\n digits -= 1;\\\\n buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));\\\\n value /= 10;\\\\n }\\\\n return string(buffer);\\\\n }\\\\n\\\\n /**\\\\n * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.\\\\n */\\\\n function toHexString(uint256 value) internal pure returns (string memory) {\\\\n if (value == 0) {\\\\n return \\\\\\\"0x00\\\\\\\";\\\\n }\\\\n uint256 temp = value;\\\\n uint256 length = 0;\\\\n while (temp != 0) {\\\\n length++;\\\\n temp >>= 8;\\\\n }\\\\n return toHexString(value, length);\\\\n }\\\\n\\\\n /**\\\\n * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.\\\\n */\\\\n function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {\\\\n bytes memory buffer = new bytes(2 * length + 2);\\\\n buffer[0] = \\\\\\\"0\\\\\\\";\\\\n buffer[1] = \\\\\\\"x\\\\\\\";\\\\n for (uint256 i = 2 * length + 1; i > 1; --i) {\\\\n buffer[i] = _HEX_SYMBOLS[value & 0xf];\\\\n value >>= 4;\\\\n }\\\\n require(value == 0, \\\\\\\"Strings: hex length insufficient\\\\\\\");\\\\n return string(buffer);\\\\n }\\\\n\\\\n /**\\\\n * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.\\\\n */\\\\n function toHexString(address addr) internal pure returns (string memory) {\\\\n return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xaf159a8b1923ad2a26d516089bceca9bdeaeacd04be50983ea00ba63070f08a3\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/utils/cryptography/ECDSA.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.3) (utils/cryptography/ECDSA.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../Strings.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.\\\\n *\\\\n * These functions can be used to verify that a message was signed by the holder\\\\n * of the private keys of a given address.\\\\n */\\\\nlibrary ECDSA {\\\\n enum RecoverError {\\\\n NoError,\\\\n InvalidSignature,\\\\n InvalidSignatureLength,\\\\n InvalidSignatureS,\\\\n InvalidSignatureV\\\\n }\\\\n\\\\n function _throwError(RecoverError error) private pure {\\\\n if (error == RecoverError.NoError) {\\\\n return; // no error: do nothing\\\\n } else if (error == RecoverError.InvalidSignature) {\\\\n revert(\\\\\\\"ECDSA: invalid signature\\\\\\\");\\\\n } else if (error == RecoverError.InvalidSignatureLength) {\\\\n revert(\\\\\\\"ECDSA: invalid signature length\\\\\\\");\\\\n } else if (error == RecoverError.InvalidSignatureS) {\\\\n revert(\\\\\\\"ECDSA: invalid signature 's' value\\\\\\\");\\\\n } else if (error == RecoverError.InvalidSignatureV) {\\\\n revert(\\\\\\\"ECDSA: invalid signature 'v' value\\\\\\\");\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the address that signed a hashed message (`hash`) with\\\\n * `signature` or error string. This address can then be used for verification purposes.\\\\n *\\\\n * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:\\\\n * this function rejects them by requiring the `s` value to be in the lower\\\\n * half order, and the `v` value to be either 27 or 28.\\\\n *\\\\n * IMPORTANT: `hash` _must_ be the result of a hash operation for the\\\\n * verification to be secure: it is possible to craft signatures that\\\\n * recover to arbitrary addresses for non-hashed data. A safe way to ensure\\\\n * this is by receiving a hash of the original message (which may otherwise\\\\n * be too long), and then calling {toEthSignedMessageHash} on it.\\\\n *\\\\n * Documentation for signature generation:\\\\n * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]\\\\n * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]\\\\n *\\\\n * _Available since v4.3._\\\\n */\\\\n function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {\\\\n if (signature.length == 65) {\\\\n bytes32 r;\\\\n bytes32 s;\\\\n uint8 v;\\\\n // ecrecover takes the signature parameters, and the only way to get them\\\\n // currently is to use assembly.\\\\n /// @solidity memory-safe-assembly\\\\n assembly {\\\\n r := mload(add(signature, 0x20))\\\\n s := mload(add(signature, 0x40))\\\\n v := byte(0, mload(add(signature, 0x60)))\\\\n }\\\\n return tryRecover(hash, v, r, s);\\\\n } else {\\\\n return (address(0), RecoverError.InvalidSignatureLength);\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the address that signed a hashed message (`hash`) with\\\\n * `signature`. This address can then be used for verification purposes.\\\\n *\\\\n * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:\\\\n * this function rejects them by requiring the `s` value to be in the lower\\\\n * half order, and the `v` value to be either 27 or 28.\\\\n *\\\\n * IMPORTANT: `hash` _must_ be the result of a hash operation for the\\\\n * verification to be secure: it is possible to craft signatures that\\\\n * recover to arbitrary addresses for non-hashed data. A safe way to ensure\\\\n * this is by receiving a hash of the original message (which may otherwise\\\\n * be too long), and then calling {toEthSignedMessageHash} on it.\\\\n */\\\\n function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {\\\\n (address recovered, RecoverError error) = tryRecover(hash, signature);\\\\n _throwError(error);\\\\n return recovered;\\\\n }\\\\n\\\\n /**\\\\n * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.\\\\n *\\\\n * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]\\\\n *\\\\n * _Available since v4.3._\\\\n */\\\\n function tryRecover(\\\\n bytes32 hash,\\\\n bytes32 r,\\\\n bytes32 vs\\\\n ) internal pure returns (address, RecoverError) {\\\\n bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);\\\\n uint8 v = uint8((uint256(vs) >> 255) + 27);\\\\n return tryRecover(hash, v, r, s);\\\\n }\\\\n\\\\n /**\\\\n * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.\\\\n *\\\\n * _Available since v4.2._\\\\n */\\\\n function recover(\\\\n bytes32 hash,\\\\n bytes32 r,\\\\n bytes32 vs\\\\n ) internal pure returns (address) {\\\\n (address recovered, RecoverError error) = tryRecover(hash, r, vs);\\\\n _throwError(error);\\\\n return recovered;\\\\n }\\\\n\\\\n /**\\\\n * @dev Overload of {ECDSA-tryRecover} that receives the `v`,\\\\n * `r` and `s` signature fields separately.\\\\n *\\\\n * _Available since v4.3._\\\\n */\\\\n function tryRecover(\\\\n bytes32 hash,\\\\n uint8 v,\\\\n bytes32 r,\\\\n bytes32 s\\\\n ) internal pure returns (address, RecoverError) {\\\\n // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature\\\\n // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines\\\\n // the valid range for s in (301): 0 < s < secp256k1n \\\\u00f7 2 + 1, and for v in (302): v \\\\u2208 {27, 28}. Most\\\\n // signatures from current libraries generate a unique signature with an s-value in the lower half order.\\\\n //\\\\n // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value\\\\n // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or\\\\n // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept\\\\n // these malleable signatures as well.\\\\n if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {\\\\n return (address(0), RecoverError.InvalidSignatureS);\\\\n }\\\\n if (v != 27 && v != 28) {\\\\n return (address(0), RecoverError.InvalidSignatureV);\\\\n }\\\\n\\\\n // If the signature is valid (and not malleable), return the signer address\\\\n address signer = ecrecover(hash, v, r, s);\\\\n if (signer == address(0)) {\\\\n return (address(0), RecoverError.InvalidSignature);\\\\n }\\\\n\\\\n return (signer, RecoverError.NoError);\\\\n }\\\\n\\\\n /**\\\\n * @dev Overload of {ECDSA-recover} that receives the `v`,\\\\n * `r` and `s` signature fields separately.\\\\n */\\\\n function recover(\\\\n bytes32 hash,\\\\n uint8 v,\\\\n bytes32 r,\\\\n bytes32 s\\\\n ) internal pure returns (address) {\\\\n (address recovered, RecoverError error) = tryRecover(hash, v, r, s);\\\\n _throwError(error);\\\\n return recovered;\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns an Ethereum Signed Message, created from a `hash`. This\\\\n * produces hash corresponding to the one signed with the\\\\n * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]\\\\n * JSON-RPC method as part of EIP-191.\\\\n *\\\\n * See {recover}.\\\\n */\\\\n function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {\\\\n // 32 is the length in bytes of hash,\\\\n // enforced by the type signature above\\\\n return keccak256(abi.encodePacked(\\\\\\\"\\\\\\\\x19Ethereum Signed Message:\\\\\\\\n32\\\\\\\", hash));\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns an Ethereum Signed Message, created from `s`. This\\\\n * produces hash corresponding to the one signed with the\\\\n * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]\\\\n * JSON-RPC method as part of EIP-191.\\\\n *\\\\n * See {recover}.\\\\n */\\\\n function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {\\\\n return keccak256(abi.encodePacked(\\\\\\\"\\\\\\\\x19Ethereum Signed Message:\\\\\\\\n\\\\\\\", Strings.toString(s.length), s));\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns an Ethereum Signed Typed Data, created from a\\\\n * `domainSeparator` and a `structHash`. This produces hash corresponding\\\\n * to the one signed with the\\\\n * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]\\\\n * JSON-RPC method as part of EIP-712.\\\\n *\\\\n * See {recover}.\\\\n */\\\\n function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {\\\\n return keccak256(abi.encodePacked(\\\\\\\"\\\\\\\\x19\\\\\\\\x01\\\\\\\", domainSeparator, structHash));\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xdb7f5c28fc61cda0bd8ab60ce288e206b791643bcd3ba464a70cbec18895a2f5\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/utils/introspection/ERC165.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./IERC165.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Implementation of the {IERC165} interface.\\\\n *\\\\n * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check\\\\n * for the additional interface id that will be supported. For example:\\\\n *\\\\n * ```solidity\\\\n * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\\\\n * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);\\\\n * }\\\\n * ```\\\\n *\\\\n * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.\\\\n */\\\\nabstract contract ERC165 is IERC165 {\\\\n /**\\\\n * @dev See {IERC165-supportsInterface}.\\\\n */\\\\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\\\\n return interfaceId == type(IERC165).interfaceId;\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/utils/introspection/IERC165.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Interface of the ERC165 standard, as defined in the\\\\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\\\\n *\\\\n * Implementers can declare support of contract interfaces, which can then be\\\\n * queried by others ({ERC165Checker}).\\\\n *\\\\n * For an implementation, see {ERC165}.\\\\n */\\\\ninterface IERC165 {\\\\n /**\\\\n * @dev Returns true if this contract implements the interface defined by\\\\n * `interfaceId`. See the corresponding\\\\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\\\\n * to learn more about how these ids are created.\\\\n *\\\\n * This function call must use less than 30 000 gas.\\\\n */\\\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/utils/structs/EnumerableSet.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/structs/EnumerableSet.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Library for managing\\\\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\\\\n * types.\\\\n *\\\\n * Sets have the following properties:\\\\n *\\\\n * - Elements are added, removed, and checked for existence in constant time\\\\n * (O(1)).\\\\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\\\\n *\\\\n * ```\\\\n * contract Example {\\\\n * // Add the library methods\\\\n * using EnumerableSet for EnumerableSet.AddressSet;\\\\n *\\\\n * // Declare a set state variable\\\\n * EnumerableSet.AddressSet private mySet;\\\\n * }\\\\n * ```\\\\n *\\\\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\\\\n * and `uint256` (`UintSet`) are supported.\\\\n *\\\\n * [WARNING]\\\\n * ====\\\\n * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure unusable.\\\\n * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.\\\\n *\\\\n * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an array of EnumerableSet.\\\\n * ====\\\\n */\\\\nlibrary EnumerableSet {\\\\n // To implement this library for multiple types with as little code\\\\n // repetition as possible, we write it in terms of a generic Set type with\\\\n // bytes32 values.\\\\n // The Set implementation uses private functions, and user-facing\\\\n // implementations (such as AddressSet) are just wrappers around the\\\\n // underlying Set.\\\\n // This means that we can only create new EnumerableSets for types that fit\\\\n // in bytes32.\\\\n\\\\n struct Set {\\\\n // Storage of set values\\\\n bytes32[] _values;\\\\n // Position of the value in the `values` array, plus 1 because index 0\\\\n // means a value is not in the set.\\\\n mapping(bytes32 => uint256) _indexes;\\\\n }\\\\n\\\\n /**\\\\n * @dev Add a value to a set. O(1).\\\\n *\\\\n * Returns true if the value was added to the set, that is if it was not\\\\n * already present.\\\\n */\\\\n function _add(Set storage set, bytes32 value) private returns (bool) {\\\\n if (!_contains(set, value)) {\\\\n set._values.push(value);\\\\n // The value is stored at length-1, but we add 1 to all indexes\\\\n // and use 0 as a sentinel value\\\\n set._indexes[value] = set._values.length;\\\\n return true;\\\\n } else {\\\\n return false;\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Removes a value from a set. O(1).\\\\n *\\\\n * Returns true if the value was removed from the set, that is if it was\\\\n * present.\\\\n */\\\\n function _remove(Set storage set, bytes32 value) private returns (bool) {\\\\n // We read and store the value's index to prevent multiple reads from the same storage slot\\\\n uint256 valueIndex = set._indexes[value];\\\\n\\\\n if (valueIndex != 0) {\\\\n // Equivalent to contains(set, value)\\\\n // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\\\\n // the array, and then remove the last element (sometimes called as 'swap and pop').\\\\n // This modifies the order of the array, as noted in {at}.\\\\n\\\\n uint256 toDeleteIndex = valueIndex - 1;\\\\n uint256 lastIndex = set._values.length - 1;\\\\n\\\\n if (lastIndex != toDeleteIndex) {\\\\n bytes32 lastValue = set._values[lastIndex];\\\\n\\\\n // Move the last value to the index where the value to delete is\\\\n set._values[toDeleteIndex] = lastValue;\\\\n // Update the index for the moved value\\\\n set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex\\\\n }\\\\n\\\\n // Delete the slot where the moved value was stored\\\\n set._values.pop();\\\\n\\\\n // Delete the index for the deleted slot\\\\n delete set._indexes[value];\\\\n\\\\n return true;\\\\n } else {\\\\n return false;\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns true if the value is in the set. O(1).\\\\n */\\\\n function _contains(Set storage set, bytes32 value) private view returns (bool) {\\\\n return set._indexes[value] != 0;\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the number of values on the set. O(1).\\\\n */\\\\n function _length(Set storage set) private view returns (uint256) {\\\\n return set._values.length;\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the value stored at position `index` in the set. O(1).\\\\n *\\\\n * Note that there are no guarantees on the ordering of values inside the\\\\n * array, and it may change when more values are added or removed.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `index` must be strictly less than {length}.\\\\n */\\\\n function _at(Set storage set, uint256 index) private view returns (bytes32) {\\\\n return set._values[index];\\\\n }\\\\n\\\\n /**\\\\n * @dev Return the entire set in an array\\\\n *\\\\n * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\\\\n * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\\\\n * this function has an unbounded cost, and using it as part of a state-changing function may render the function\\\\n * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\\\\n */\\\\n function _values(Set storage set) private view returns (bytes32[] memory) {\\\\n return set._values;\\\\n }\\\\n\\\\n // Bytes32Set\\\\n\\\\n struct Bytes32Set {\\\\n Set _inner;\\\\n }\\\\n\\\\n /**\\\\n * @dev Add a value to a set. O(1).\\\\n *\\\\n * Returns true if the value was added to the set, that is if it was not\\\\n * already present.\\\\n */\\\\n function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\\\\n return _add(set._inner, value);\\\\n }\\\\n\\\\n /**\\\\n * @dev Removes a value from a set. O(1).\\\\n *\\\\n * Returns true if the value was removed from the set, that is if it was\\\\n * present.\\\\n */\\\\n function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {\\\\n return _remove(set._inner, value);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns true if the value is in the set. O(1).\\\\n */\\\\n function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {\\\\n return _contains(set._inner, value);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the number of values in the set. O(1).\\\\n */\\\\n function length(Bytes32Set storage set) internal view returns (uint256) {\\\\n return _length(set._inner);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the value stored at position `index` in the set. O(1).\\\\n *\\\\n * Note that there are no guarantees on the ordering of values inside the\\\\n * array, and it may change when more values are added or removed.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `index` must be strictly less than {length}.\\\\n */\\\\n function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {\\\\n return _at(set._inner, index);\\\\n }\\\\n\\\\n /**\\\\n * @dev Return the entire set in an array\\\\n *\\\\n * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\\\\n * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\\\\n * this function has an unbounded cost, and using it as part of a state-changing function may render the function\\\\n * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\\\\n */\\\\n function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {\\\\n return _values(set._inner);\\\\n }\\\\n\\\\n // AddressSet\\\\n\\\\n struct AddressSet {\\\\n Set _inner;\\\\n }\\\\n\\\\n /**\\\\n * @dev Add a value to a set. O(1).\\\\n *\\\\n * Returns true if the value was added to the set, that is if it was not\\\\n * already present.\\\\n */\\\\n function add(AddressSet storage set, address value) internal returns (bool) {\\\\n return _add(set._inner, bytes32(uint256(uint160(value))));\\\\n }\\\\n\\\\n /**\\\\n * @dev Removes a value from a set. O(1).\\\\n *\\\\n * Returns true if the value was removed from the set, that is if it was\\\\n * present.\\\\n */\\\\n function remove(AddressSet storage set, address value) internal returns (bool) {\\\\n return _remove(set._inner, bytes32(uint256(uint160(value))));\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns true if the value is in the set. O(1).\\\\n */\\\\n function contains(AddressSet storage set, address value) internal view returns (bool) {\\\\n return _contains(set._inner, bytes32(uint256(uint160(value))));\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the number of values in the set. O(1).\\\\n */\\\\n function length(AddressSet storage set) internal view returns (uint256) {\\\\n return _length(set._inner);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the value stored at position `index` in the set. O(1).\\\\n *\\\\n * Note that there are no guarantees on the ordering of values inside the\\\\n * array, and it may change when more values are added or removed.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `index` must be strictly less than {length}.\\\\n */\\\\n function at(AddressSet storage set, uint256 index) internal view returns (address) {\\\\n return address(uint160(uint256(_at(set._inner, index))));\\\\n }\\\\n\\\\n /**\\\\n * @dev Return the entire set in an array\\\\n *\\\\n * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\\\\n * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\\\\n * this function has an unbounded cost, and using it as part of a state-changing function may render the function\\\\n * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\\\\n */\\\\n function values(AddressSet storage set) internal view returns (address[] memory) {\\\\n bytes32[] memory store = _values(set._inner);\\\\n address[] memory result;\\\\n\\\\n /// @solidity memory-safe-assembly\\\\n assembly {\\\\n result := store\\\\n }\\\\n\\\\n return result;\\\\n }\\\\n\\\\n // UintSet\\\\n\\\\n struct UintSet {\\\\n Set _inner;\\\\n }\\\\n\\\\n /**\\\\n * @dev Add a value to a set. O(1).\\\\n *\\\\n * Returns true if the value was added to the set, that is if it was not\\\\n * already present.\\\\n */\\\\n function add(UintSet storage set, uint256 value) internal returns (bool) {\\\\n return _add(set._inner, bytes32(value));\\\\n }\\\\n\\\\n /**\\\\n * @dev Removes a value from a set. O(1).\\\\n *\\\\n * Returns true if the value was removed from the set, that is if it was\\\\n * present.\\\\n */\\\\n function remove(UintSet storage set, uint256 value) internal returns (bool) {\\\\n return _remove(set._inner, bytes32(value));\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns true if the value is in the set. O(1).\\\\n */\\\\n function contains(UintSet storage set, uint256 value) internal view returns (bool) {\\\\n return _contains(set._inner, bytes32(value));\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the number of values on the set. O(1).\\\\n */\\\\n function length(UintSet storage set) internal view returns (uint256) {\\\\n return _length(set._inner);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the value stored at position `index` in the set. O(1).\\\\n *\\\\n * Note that there are no guarantees on the ordering of values inside the\\\\n * array, and it may change when more values are added or removed.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `index` must be strictly less than {length}.\\\\n */\\\\n function at(UintSet storage set, uint256 index) internal view returns (uint256) {\\\\n return uint256(_at(set._inner, index));\\\\n }\\\\n\\\\n /**\\\\n * @dev Return the entire set in an array\\\\n *\\\\n * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\\\\n * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\\\\n * this function has an unbounded cost, and using it as part of a state-changing function may render the function\\\\n * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\\\\n */\\\\n function values(UintSet storage set) internal view returns (uint256[] memory) {\\\\n bytes32[] memory store = _values(set._inner);\\\\n uint256[] memory result;\\\\n\\\\n /// @solidity memory-safe-assembly\\\\n assembly {\\\\n result := store\\\\n }\\\\n\\\\n return result;\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x5050943b32b6a8f282573d166b2e9d87ab7eb4dbba4ab6acf36ecb54fe6995e4\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/extensions/GatewayV3.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"@openzeppelin/contracts/security/Pausable.sol\\\\\\\";\\\\nimport \\\\\\\"../interfaces/IQuorum.sol\\\\\\\";\\\\nimport \\\\\\\"./collections/HasProxyAdmin.sol\\\\\\\";\\\\n\\\\nabstract contract GatewayV3 is HasProxyAdmin, Pausable, IQuorum {\\\\n /**\\\\n * @dev Error indicating that `_minimumVoteWeight` is returning 0.\\\\n */\\\\n error ErrNullMinVoteWeightProvided(bytes4 msgSig);\\\\n\\\\n uint256 internal _num;\\\\n uint256 internal _denom;\\\\n\\\\n address private ______deprecated;\\\\n uint256 public nonce;\\\\n\\\\n address public emergencyPauser;\\\\n\\\\n /**\\\\n * @dev This empty reserved space is put in place to allow future versions to add new\\\\n * variables without shifting down storage in the inheritance chain.\\\\n */\\\\n uint256[49] private ______gap;\\\\n\\\\n /**\\\\n * @dev Grant emergency pauser role for `_addr`.\\\\n */\\\\n function setEmergencyPauser(address _addr) external onlyProxyAdmin {\\\\n emergencyPauser = _addr;\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IQuorum\\\\n */\\\\n function getThreshold() external view virtual returns (uint256 num_, uint256 denom_) {\\\\n return (_num, _denom);\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IQuorum\\\\n */\\\\n function checkThreshold(uint256 _voteWeight) external view virtual returns (bool) {\\\\n return _voteWeight * _denom >= _num * _getTotalWeight();\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IQuorum\\\\n */\\\\n function setThreshold(uint256 _numerator, uint256 _denominator) external virtual onlyProxyAdmin {\\\\n return _setThreshold(_numerator, _denominator);\\\\n }\\\\n\\\\n /**\\\\n * @dev Triggers paused state.\\\\n */\\\\n function pause() external {\\\\n _requireAuth();\\\\n _pause();\\\\n }\\\\n\\\\n /**\\\\n * @dev Triggers unpaused state.\\\\n */\\\\n function unpause() external {\\\\n _requireAuth();\\\\n _unpause();\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IQuorum\\\\n */\\\\n function minimumVoteWeight() public view virtual returns (uint256) {\\\\n return _minimumVoteWeight(_getTotalWeight());\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets threshold and returns the old one.\\\\n *\\\\n * Emits the `ThresholdUpdated` event.\\\\n *\\\\n */\\\\n function _setThreshold(uint256 num, uint256 denom) internal virtual {\\\\n if (num > denom || denom == 0 || num == 0) revert ErrInvalidThreshold(msg.sig);\\\\n\\\\n uint256 prevNum = _num;\\\\n uint256 prevDenom = _denom;\\\\n\\\\n _num = num;\\\\n _denom = denom;\\\\n\\\\n unchecked {\\\\n emit ThresholdUpdated(nonce++, num, denom, prevNum, prevDenom);\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns minimum vote weight.\\\\n */\\\\n function _minimumVoteWeight(uint256 _totalWeight) internal view virtual returns (uint256 minVoteWeight) {\\\\n minVoteWeight = (_num * _totalWeight + _denom - 1) / _denom;\\\\n if (minVoteWeight == 0) revert ErrNullMinVoteWeightProvided(msg.sig);\\\\n }\\\\n\\\\n /**\\\\n * @dev Internal method to check method caller.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - The method caller must be admin or pauser.\\\\n *\\\\n */\\\\n function _requireAuth() private view {\\\\n if (!(msg.sender == _getProxyAdmin() || msg.sender == emergencyPauser)) {\\\\n revert ErrUnauthorized(msg.sig, RoleAccess.ADMIN);\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the total weight.\\\\n */\\\\n function _getTotalWeight() internal view virtual returns (uint256);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xf32cdb6c8c7d05450430d49933f6c15991e219fc40f9247f9e62923ef12c14a6\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/extensions/TransparentUpgradeableProxyV2.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol\\\\\\\";\\\\n\\\\ncontract TransparentUpgradeableProxyV2 is TransparentUpgradeableProxy {\\\\n constructor(address _logic, address admin_, bytes memory _data) payable TransparentUpgradeableProxy(_logic, admin_, _data) { }\\\\n\\\\n /**\\\\n * @dev Calls a function from the current implementation as specified by `_data`, which should be an encoded function call.\\\\n *\\\\n * Requirements:\\\\n * - Only the admin can call this function.\\\\n *\\\\n * Note: The proxy admin is not allowed to interact with the proxy logic through the fallback function to avoid\\\\n * triggering some unexpected logic. This is to allow the administrator to explicitly call the proxy, please consider\\\\n * reviewing the encoded data `_data` and the method which is called before using this.\\\\n *\\\\n */\\\\n function functionDelegateCall(bytes memory _data) public payable ifAdmin {\\\\n address _addr = _implementation();\\\\n assembly {\\\\n let _result := delegatecall(gas(), _addr, add(_data, 32), mload(_data), 0, 0)\\\\n returndatacopy(0, 0, returndatasize())\\\\n switch _result\\\\n case 0 { revert(0, returndatasize()) }\\\\n default { return(0, returndatasize()) }\\\\n }\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x45fc7b71d09da99414b977a56e586b3604670d865e5f36f395d5c98bc4ba64af\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/extensions/WethUnwrapper.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"@openzeppelin/contracts/security/ReentrancyGuard.sol\\\\\\\";\\\\nimport \\\\\\\"../interfaces/IWETH.sol\\\\\\\";\\\\n\\\\ncontract WethUnwrapper is ReentrancyGuard {\\\\n IWETH public immutable weth;\\\\n\\\\n error ErrCannotTransferFrom();\\\\n error ErrNotWrappedContract();\\\\n error ErrExternalCallFailed(address sender, bytes4 sig);\\\\n\\\\n constructor(address weth_) {\\\\n if (address(weth_).code.length == 0) revert ErrNotWrappedContract();\\\\n weth = IWETH(weth_);\\\\n }\\\\n\\\\n fallback() external payable {\\\\n _fallback();\\\\n }\\\\n\\\\n receive() external payable {\\\\n _fallback();\\\\n }\\\\n\\\\n function unwrap(uint256 amount) external nonReentrant {\\\\n _deductWrappedAndWithdraw(amount);\\\\n _sendNativeTo(payable(msg.sender), amount);\\\\n }\\\\n\\\\n function unwrapTo(uint256 amount, address payable to) external nonReentrant {\\\\n _deductWrappedAndWithdraw(amount);\\\\n _sendNativeTo(payable(to), amount);\\\\n }\\\\n\\\\n function _deductWrappedAndWithdraw(uint256 amount) internal {\\\\n (bool success,) = address(weth).call(abi.encodeCall(IWETH.transferFrom, (msg.sender, address(this), amount)));\\\\n if (!success) revert ErrCannotTransferFrom();\\\\n\\\\n weth.withdraw(amount);\\\\n }\\\\n\\\\n function _sendNativeTo(address payable to, uint256 val) internal {\\\\n (bool success,) = to.call{ value: val }(\\\\\\\"\\\\\\\");\\\\n if (!success) {\\\\n revert ErrExternalCallFailed(to, msg.sig);\\\\n }\\\\n }\\\\n\\\\n function _fallback() internal view {\\\\n if (msg.sender != address(weth)) revert ErrNotWrappedContract();\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x5f7b72d9ed8944724d2f228358d565a61ea345cba1883e5424fb801bebc758ff\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/extensions/WithdrawalLimitation.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./GatewayV3.sol\\\\\\\";\\\\n\\\\nabstract contract WithdrawalLimitation is GatewayV3 {\\\\n /// @dev Error of invalid percentage.\\\\n error ErrInvalidPercentage();\\\\n /// @dev Error thrown when the high-tier vote weight threshold is `0`.\\\\n error ErrNullHighTierVoteWeightProvided(bytes4 msgSig);\\\\n\\\\n /// @dev Emitted when the high-tier vote weight threshold is updated\\\\n event HighTierVoteWeightThresholdUpdated(\\\\n uint256 indexed nonce, uint256 indexed numerator, uint256 indexed denominator, uint256 previousNumerator, uint256 previousDenominator\\\\n );\\\\n /// @dev Emitted when the thresholds for high-tier withdrawals that requires high-tier vote weights are updated\\\\n event HighTierThresholdsUpdated(address[] tokens, uint256[] thresholds);\\\\n /// @dev Emitted when the thresholds for locked withdrawals are updated\\\\n event LockedThresholdsUpdated(address[] tokens, uint256[] thresholds);\\\\n /// @dev Emitted when the fee percentages to unlock withdraw are updated\\\\n event UnlockFeePercentagesUpdated(address[] tokens, uint256[] percentages);\\\\n /// @dev Emitted when the daily limit thresholds are updated\\\\n event DailyWithdrawalLimitsUpdated(address[] tokens, uint256[] limits);\\\\n\\\\n uint256 public constant _MAX_PERCENTAGE = 1_000_000;\\\\n\\\\n uint256 internal _highTierVWNum;\\\\n uint256 internal _highTierVWDenom;\\\\n\\\\n /// @dev Mapping from mainchain token => the amount thresholds for high-tier withdrawals that requires high-tier vote weights\\\\n mapping(address => uint256) public highTierThreshold;\\\\n /// @dev Mapping from mainchain token => the amount thresholds to lock withdrawal\\\\n mapping(address => uint256) public lockedThreshold;\\\\n /// @dev Mapping from mainchain token => unlock fee percentages for unlocker\\\\n /// @notice Values 0-1,000,000 map to 0%-100%\\\\n mapping(address => uint256) public unlockFeePercentages;\\\\n /// @dev Mapping from mainchain token => daily limit amount for withdrawal\\\\n mapping(address => uint256) public dailyWithdrawalLimit;\\\\n /// @dev Mapping from token address => today withdrawal amount\\\\n mapping(address => uint256) public lastSyncedWithdrawal;\\\\n /// @dev Mapping from token address => last date synced to record the `lastSyncedWithdrawal`\\\\n mapping(address => uint256) public lastDateSynced;\\\\n\\\\n /**\\\\n * @dev This empty reserved space is put in place to allow future versions to add new\\\\n * variables without shifting down storage in the inheritance chain.\\\\n */\\\\n uint256[50] private ______gap;\\\\n\\\\n /**\\\\n * @dev Override `GatewayV3-setThreshold`.\\\\n *\\\\n * Requirements:\\\\n * - The high-tier vote weight threshold must equal to or larger than the normal threshold.\\\\n *\\\\n */\\\\n function setThreshold(uint256 num, uint256 denom) external virtual override onlyProxyAdmin {\\\\n _setThreshold(num, denom);\\\\n _verifyThresholds();\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the high-tier vote weight threshold.\\\\n */\\\\n function getHighTierVoteWeightThreshold() external view virtual returns (uint256, uint256) {\\\\n return (_highTierVWNum, _highTierVWDenom);\\\\n }\\\\n\\\\n /**\\\\n * @dev Checks whether the `_voteWeight` passes the high-tier vote weight threshold.\\\\n */\\\\n function checkHighTierVoteWeightThreshold(uint256 _voteWeight) external view virtual returns (bool) {\\\\n return _voteWeight * _highTierVWDenom >= _highTierVWNum * _getTotalWeight();\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets high-tier vote weight threshold and returns the old one.\\\\n *\\\\n * Requirements:\\\\n * - The method caller is admin.\\\\n * - The high-tier vote weight threshold must equal to or larger than the normal threshold.\\\\n *\\\\n * Emits the `HighTierVoteWeightThresholdUpdated` event.\\\\n *\\\\n */\\\\n function setHighTierVoteWeightThreshold(\\\\n uint256 _numerator,\\\\n uint256 _denominator\\\\n ) external virtual onlyProxyAdmin returns (uint256 _previousNum, uint256 _previousDenom) {\\\\n (_previousNum, _previousDenom) = _setHighTierVoteWeightThreshold(_numerator, _denominator);\\\\n _verifyThresholds();\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets the thresholds for high-tier withdrawals that requires high-tier vote weights.\\\\n *\\\\n * Requirements:\\\\n * - The method caller is admin.\\\\n * - The arrays have the same length and its length larger than 0.\\\\n *\\\\n * Emits the `HighTierThresholdsUpdated` event.\\\\n *\\\\n */\\\\n function setHighTierThresholds(address[] calldata _tokens, uint256[] calldata _thresholds) external virtual onlyProxyAdmin {\\\\n if (_tokens.length == 0) revert ErrEmptyArray();\\\\n _setHighTierThresholds(_tokens, _thresholds);\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets the amount thresholds to lock withdrawal.\\\\n *\\\\n * Requirements:\\\\n * - The method caller is admin.\\\\n * - The arrays have the same length and its length larger than 0.\\\\n *\\\\n * Emits the `LockedThresholdsUpdated` event.\\\\n *\\\\n */\\\\n function setLockedThresholds(address[] calldata _tokens, uint256[] calldata _thresholds) external virtual onlyProxyAdmin {\\\\n if (_tokens.length == 0) revert ErrEmptyArray();\\\\n _setLockedThresholds(_tokens, _thresholds);\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets fee percentages to unlock withdrawal.\\\\n *\\\\n * Requirements:\\\\n * - The method caller is admin.\\\\n * - The arrays have the same length and its length larger than 0.\\\\n *\\\\n * Emits the `UnlockFeePercentagesUpdated` event.\\\\n *\\\\n */\\\\n function setUnlockFeePercentages(address[] calldata _tokens, uint256[] calldata _percentages) external virtual onlyProxyAdmin {\\\\n if (_tokens.length == 0) revert ErrEmptyArray();\\\\n _setUnlockFeePercentages(_tokens, _percentages);\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets daily limit amounts for the withdrawals.\\\\n *\\\\n * Requirements:\\\\n * - The method caller is admin.\\\\n * - The arrays have the same length and its length larger than 0.\\\\n *\\\\n * Emits the `DailyWithdrawalLimitsUpdated` event.\\\\n *\\\\n */\\\\n function setDailyWithdrawalLimits(address[] calldata _tokens, uint256[] calldata _limits) external virtual onlyProxyAdmin {\\\\n if (_tokens.length == 0) revert ErrEmptyArray();\\\\n _setDailyWithdrawalLimits(_tokens, _limits);\\\\n }\\\\n\\\\n /**\\\\n * @dev Checks whether the withdrawal reaches the limitation.\\\\n */\\\\n function reachedWithdrawalLimit(address _token, uint256 _quantity) external view virtual returns (bool) {\\\\n return _reachedWithdrawalLimit(_token, _quantity);\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets high-tier vote weight threshold and returns the old one.\\\\n *\\\\n * Emits the `HighTierVoteWeightThresholdUpdated` event.\\\\n *\\\\n */\\\\n function _setHighTierVoteWeightThreshold(uint256 _numerator, uint256 _denominator) internal returns (uint256 _previousNum, uint256 _previousDenom) {\\\\n if (_numerator > _denominator || _numerator == 0 || _denominator == 0) revert ErrInvalidThreshold(msg.sig);\\\\n\\\\n _previousNum = _highTierVWNum;\\\\n _previousDenom = _highTierVWDenom;\\\\n _highTierVWNum = _numerator;\\\\n _highTierVWDenom = _denominator;\\\\n\\\\n unchecked {\\\\n emit HighTierVoteWeightThresholdUpdated(nonce++, _numerator, _denominator, _previousNum, _previousDenom);\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets the thresholds for high-tier withdrawals that requires high-tier vote weights.\\\\n *\\\\n * Requirements:\\\\n * - The array lengths are equal.\\\\n *\\\\n * Emits the `HighTierThresholdsUpdated` event.\\\\n *\\\\n */\\\\n function _setHighTierThresholds(address[] calldata _tokens, uint256[] calldata _thresholds) internal virtual {\\\\n if (_tokens.length != _thresholds.length) revert ErrLengthMismatch(msg.sig);\\\\n\\\\n for (uint256 _i; _i < _tokens.length;) {\\\\n highTierThreshold[_tokens[_i]] = _thresholds[_i];\\\\n\\\\n unchecked {\\\\n ++_i;\\\\n }\\\\n }\\\\n emit HighTierThresholdsUpdated(_tokens, _thresholds);\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets the amount thresholds to lock withdrawal.\\\\n *\\\\n * Requirements:\\\\n * - The array lengths are equal.\\\\n *\\\\n * Emits the `LockedThresholdsUpdated` event.\\\\n *\\\\n */\\\\n function _setLockedThresholds(address[] calldata _tokens, uint256[] calldata _thresholds) internal virtual {\\\\n if (_tokens.length != _thresholds.length) revert ErrLengthMismatch(msg.sig);\\\\n\\\\n for (uint256 _i; _i < _tokens.length;) {\\\\n lockedThreshold[_tokens[_i]] = _thresholds[_i];\\\\n\\\\n unchecked {\\\\n ++_i;\\\\n }\\\\n }\\\\n emit LockedThresholdsUpdated(_tokens, _thresholds);\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets fee percentages to unlock withdrawal.\\\\n *\\\\n * Requirements:\\\\n * - The array lengths are equal.\\\\n * - The percentage is equal to or less than 100_000.\\\\n *\\\\n * Emits the `UnlockFeePercentagesUpdated` event.\\\\n *\\\\n */\\\\n function _setUnlockFeePercentages(address[] calldata _tokens, uint256[] calldata _percentages) internal virtual {\\\\n if (_tokens.length != _percentages.length) revert ErrLengthMismatch(msg.sig);\\\\n\\\\n for (uint256 _i; _i < _tokens.length;) {\\\\n if (_percentages[_i] > _MAX_PERCENTAGE) revert ErrInvalidPercentage();\\\\n\\\\n unlockFeePercentages[_tokens[_i]] = _percentages[_i];\\\\n\\\\n unchecked {\\\\n ++_i;\\\\n }\\\\n }\\\\n emit UnlockFeePercentagesUpdated(_tokens, _percentages);\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets daily limit amounts for the withdrawals.\\\\n *\\\\n * Requirements:\\\\n * - The array lengths are equal.\\\\n *\\\\n * Emits the `DailyWithdrawalLimitsUpdated` event.\\\\n *\\\\n */\\\\n function _setDailyWithdrawalLimits(address[] calldata _tokens, uint256[] calldata _limits) internal virtual {\\\\n if (_tokens.length != _limits.length) revert ErrLengthMismatch(msg.sig);\\\\n\\\\n for (uint256 _i; _i < _tokens.length;) {\\\\n dailyWithdrawalLimit[_tokens[_i]] = _limits[_i];\\\\n\\\\n unchecked {\\\\n ++_i;\\\\n }\\\\n }\\\\n emit DailyWithdrawalLimitsUpdated(_tokens, _limits);\\\\n }\\\\n\\\\n /**\\\\n * @dev Checks whether the withdrawal reaches the daily limitation.\\\\n *\\\\n * Requirements:\\\\n * - The daily withdrawal threshold should not apply for locked withdrawals.\\\\n *\\\\n */\\\\n function _reachedWithdrawalLimit(address _token, uint256 _quantity) internal view virtual returns (bool) {\\\\n if (_lockedWithdrawalRequest(_token, _quantity)) {\\\\n return false;\\\\n }\\\\n\\\\n uint256 _currentDate = block.timestamp / 1 days;\\\\n if (_currentDate > lastDateSynced[_token]) {\\\\n return dailyWithdrawalLimit[_token] <= _quantity;\\\\n } else {\\\\n return dailyWithdrawalLimit[_token] <= lastSyncedWithdrawal[_token] + _quantity;\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Record withdrawal token.\\\\n */\\\\n function _recordWithdrawal(address _token, uint256 _quantity) internal virtual {\\\\n uint256 _currentDate = block.timestamp / 1 days;\\\\n if (_currentDate > lastDateSynced[_token]) {\\\\n lastDateSynced[_token] = _currentDate;\\\\n lastSyncedWithdrawal[_token] = _quantity;\\\\n } else {\\\\n lastSyncedWithdrawal[_token] += _quantity;\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns whether the withdrawal request is locked or not.\\\\n */\\\\n function _lockedWithdrawalRequest(address _token, uint256 _quantity) internal view virtual returns (bool) {\\\\n return lockedThreshold[_token] <= _quantity;\\\\n }\\\\n\\\\n /**\\\\n * @dev Computes fee percentage.\\\\n */\\\\n function _computeFeePercentage(uint256 _amount, uint256 _percentage) internal view virtual returns (uint256) {\\\\n return (_amount * _percentage) / _MAX_PERCENTAGE;\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns high-tier vote weight.\\\\n */\\\\n function _highTierVoteWeight(uint256 _totalWeight) internal view virtual returns (uint256 highTierVW) {\\\\n highTierVW = (_highTierVWNum * _totalWeight + _highTierVWDenom - 1) / _highTierVWDenom;\\\\n if (highTierVW == 0) revert ErrNullHighTierVoteWeightProvided(msg.sig);\\\\n }\\\\n\\\\n /**\\\\n * @dev Validates whether the high-tier vote weight threshold is larger than the normal threshold.\\\\n */\\\\n function _verifyThresholds() internal view {\\\\n if (_num * _highTierVWDenom > _highTierVWNum * _denom) revert ErrInvalidThreshold(msg.sig);\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xa21b97cf3b5c2f761c47bda34709b5e963b3084c9dc94ecebc205516e12b62ab\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/extensions/collections/HasContracts.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport { HasProxyAdmin } from \\\\\\\"./HasProxyAdmin.sol\\\\\\\";\\\\nimport \\\\\\\"../../interfaces/collections/IHasContracts.sol\\\\\\\";\\\\nimport { IdentityGuard } from \\\\\\\"../../utils/IdentityGuard.sol\\\\\\\";\\\\nimport { ErrUnexpectedInternalCall } from \\\\\\\"../../utils/CommonErrors.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @title HasContracts\\\\n * @dev A contract that provides functionality to manage multiple contracts with different roles.\\\\n */\\\\nabstract contract HasContracts is HasProxyAdmin, IHasContracts, IdentityGuard {\\\\n /// @dev value is equal to keccak256(\\\\\\\"@ronin.dpos.collections.HasContracts.slot\\\\\\\") - 1\\\\n bytes32 private constant _STORAGE_SLOT = 0xdea3103d22025c269050bea94c0c84688877f12fa22b7e6d2d5d78a9a49aa1cb;\\\\n\\\\n /**\\\\n * @dev Modifier to restrict access to functions only to contracts with a specific role.\\\\n * @param contractType The contract type that allowed to call\\\\n */\\\\n modifier onlyContract(ContractType contractType) virtual {\\\\n _requireContract(contractType);\\\\n _;\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IHasContracts\\\\n */\\\\n function setContract(ContractType contractType, address addr) external virtual onlyProxyAdmin {\\\\n _requireHasCode(addr);\\\\n _setContract(contractType, addr);\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IHasContracts\\\\n */\\\\n function getContract(ContractType contractType) public view returns (address contract_) {\\\\n contract_ = _getContractMap()[uint8(contractType)];\\\\n if (contract_ == address(0)) revert ErrContractTypeNotFound(contractType);\\\\n }\\\\n\\\\n /**\\\\n * @dev Internal function to set the address of a contract with a specific role.\\\\n * @param contractType The contract type of the contract to set.\\\\n * @param addr The address of the contract to set.\\\\n */\\\\n function _setContract(ContractType contractType, address addr) internal virtual {\\\\n _getContractMap()[uint8(contractType)] = addr;\\\\n emit ContractUpdated(contractType, addr);\\\\n }\\\\n\\\\n /**\\\\n * @dev Internal function to access the mapping of contract addresses with roles.\\\\n * @return contracts_ The mapping of contract addresses with roles.\\\\n */\\\\n function _getContractMap() private pure returns (mapping(uint8 => address) storage contracts_) {\\\\n assembly {\\\\n contracts_.slot := _STORAGE_SLOT\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Internal function to check if the calling contract has a specific role.\\\\n * @param contractType The contract type that the calling contract must have.\\\\n * @dev Throws an error if the calling contract does not have the specified role.\\\\n */\\\\n function _requireContract(ContractType contractType) private view {\\\\n if (msg.sender != getContract(contractType)) {\\\\n revert ErrUnexpectedInternalCall(msg.sig, contractType, msg.sender);\\\\n }\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xf7dbefa31230e6e4bd319f02d94893cbfd07ee12a0e016f5fadc57660df01891\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/extensions/collections/HasProxyAdmin.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"@openzeppelin/contracts/utils/StorageSlot.sol\\\\\\\";\\\\nimport \\\\\\\"../../utils/CommonErrors.sol\\\\\\\";\\\\n\\\\nabstract contract HasProxyAdmin {\\\\n // bytes32(uint256(keccak256(\\\\\\\"eip1967.proxy.admin\\\\\\\")) - 1));\\\\n bytes32 private constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;\\\\n\\\\n modifier onlyProxyAdmin() {\\\\n _requireProxyAdmin();\\\\n _;\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns proxy admin.\\\\n */\\\\n function _getProxyAdmin() internal view virtual returns (address) {\\\\n return StorageSlot.getAddressSlot(_ADMIN_SLOT).value;\\\\n }\\\\n\\\\n function _requireProxyAdmin() internal view {\\\\n if (msg.sender != _getProxyAdmin()) revert ErrUnauthorized(msg.sig, RoleAccess.ADMIN);\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xad3db02c99a960b60151f2ad45eed46073d14fe1ed861f496c7aeefacbbc528e\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/interfaces/IMainchainGatewayV3.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./IWETH.sol\\\\\\\";\\\\nimport \\\\\\\"./consumers/SignatureConsumer.sol\\\\\\\";\\\\nimport \\\\\\\"./consumers/MappedTokenConsumer.sol\\\\\\\";\\\\nimport \\\\\\\"../libraries/Transfer.sol\\\\\\\";\\\\n\\\\ninterface IMainchainGatewayV3 is SignatureConsumer, MappedTokenConsumer {\\\\n /**\\\\n * @dev Error indicating that a query was made for an approved withdrawal.\\\\n */\\\\n error ErrQueryForApprovedWithdrawal();\\\\n\\\\n /**\\\\n * @dev Error indicating that the daily withdrawal limit has been reached.\\\\n */\\\\n error ErrReachedDailyWithdrawalLimit();\\\\n\\\\n /**\\\\n * @dev Error indicating that a query was made for a processed withdrawal.\\\\n */\\\\n error ErrQueryForProcessedWithdrawal();\\\\n\\\\n /**\\\\n * @dev Error indicating that a query was made for insufficient vote weight.\\\\n */\\\\n error ErrQueryForInsufficientVoteWeight();\\\\n\\\\n /**\\\\n * @dev Error indicating that the recovered signer from the signature has invalid vote weight.\\\\n */\\\\n error ErrInvalidSigner(address signer, uint256 weight, Signature sig);\\\\n\\\\n /**\\\\n * @dev Error indicating that the total weight provided is null.\\\\n */\\\\n error ErrNullTotalWeightProvided(bytes4 msgSig);\\\\n\\\\n /// @dev Emitted when the deposit is requested\\\\n event DepositRequested(bytes32 receiptHash, Transfer.Receipt receipt);\\\\n /// @dev Emitted when the assets are withdrawn\\\\n event Withdrew(bytes32 receiptHash, Transfer.Receipt receipt);\\\\n /// @dev Emitted when the tokens are mapped\\\\n event TokenMapped(address[] mainchainTokens, address[] roninTokens, TokenStandard[] standards);\\\\n /// @dev Emitted when the wrapped native token contract is updated\\\\n event WrappedNativeTokenContractUpdated(IWETH weth);\\\\n /// @dev Emitted when the withdrawal is locked\\\\n event WithdrawalLocked(bytes32 receiptHash, Transfer.Receipt receipt);\\\\n /// @dev Emitted when the withdrawal is unlocked\\\\n event WithdrawalUnlocked(bytes32 receiptHash, Transfer.Receipt receipt);\\\\n\\\\n /**\\\\n * @dev Returns the WETH address.\\\\n */\\\\n function wrappedNativeToken() external view returns (IWETH);\\\\n\\\\n /**\\\\n * @dev Returns the domain separator.\\\\n */\\\\n function DOMAIN_SEPARATOR() external view returns (bytes32);\\\\n\\\\n /**\\\\n * @dev Returns deposit count.\\\\n */\\\\n function depositCount() external view returns (uint256);\\\\n\\\\n /**\\\\n * @dev Sets the wrapped native token contract.\\\\n *\\\\n * Requirements:\\\\n * - The method caller is admin.\\\\n *\\\\n * Emits the `WrappedNativeTokenContractUpdated` event.\\\\n *\\\\n */\\\\n function setWrappedNativeTokenContract(IWETH _wrappedToken) external;\\\\n\\\\n /**\\\\n * @dev Returns whether the withdrawal is locked.\\\\n */\\\\n function withdrawalLocked(uint256 withdrawalId) external view returns (bool);\\\\n\\\\n /**\\\\n * @dev Returns the withdrawal hash.\\\\n */\\\\n function withdrawalHash(uint256 withdrawalId) external view returns (bytes32);\\\\n\\\\n /**\\\\n * @dev Locks the assets and request deposit.\\\\n */\\\\n function requestDepositFor(Transfer.Request calldata _request) external payable;\\\\n\\\\n /**\\\\n * @dev Withdraws based on the receipt and the validator signatures.\\\\n * Returns whether the withdrawal is locked.\\\\n *\\\\n * Emits the `Withdrew` once the assets are released.\\\\n *\\\\n */\\\\n function submitWithdrawal(Transfer.Receipt memory _receipt, Signature[] memory _signatures) external returns (bool _locked);\\\\n\\\\n /**\\\\n * @dev Approves a specific withdrawal.\\\\n *\\\\n * Requirements:\\\\n * - The method caller is a validator.\\\\n *\\\\n * Emits the `Withdrew` once the assets are released.\\\\n *\\\\n */\\\\n function unlockWithdrawal(Transfer.Receipt calldata _receipt) external;\\\\n\\\\n /**\\\\n * @dev Maps mainchain tokens to Ronin network.\\\\n *\\\\n * Requirement:\\\\n * - The method caller is admin.\\\\n * - The arrays have the same length and its length larger than 0.\\\\n *\\\\n * Emits the `TokenMapped` event.\\\\n *\\\\n */\\\\n function mapTokens(address[] calldata _mainchainTokens, address[] calldata _roninTokens, TokenStandard[] calldata _standards) external;\\\\n\\\\n /**\\\\n * @dev Maps mainchain tokens to Ronin network and sets thresholds.\\\\n *\\\\n * Requirement:\\\\n * - The method caller is admin.\\\\n * - The arrays have the same length and its length larger than 0.\\\\n *\\\\n * Emits the `TokenMapped` event.\\\\n *\\\\n */\\\\n function mapTokensAndThresholds(\\\\n address[] calldata _mainchainTokens,\\\\n address[] calldata _roninTokens,\\\\n TokenStandard[] calldata _standards,\\\\n uint256[][4] calldata _thresholds\\\\n ) external;\\\\n\\\\n /**\\\\n * @dev Returns token address on Ronin network.\\\\n * Note: Reverts for unsupported token.\\\\n */\\\\n function getRoninToken(address _mainchainToken) external view returns (MappedToken memory _token);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x6506518cd8e2ea392c7d62f51af6b9a19319719c2271db85cf29764f1cfccbcd\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/interfaces/IQuorum.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\ninterface IQuorum {\\\\n /// @dev Emitted when the threshold is updated\\\\n event ThresholdUpdated(uint256 indexed nonce, uint256 indexed numerator, uint256 indexed denominator, uint256 previousNumerator, uint256 previousDenominator);\\\\n\\\\n /**\\\\n * @dev Returns the threshold.\\\\n */\\\\n function getThreshold() external view returns (uint256 _num, uint256 _denom);\\\\n\\\\n /**\\\\n * @dev Checks whether the `_voteWeight` passes the threshold.\\\\n */\\\\n function checkThreshold(uint256 _voteWeight) external view returns (bool);\\\\n\\\\n /**\\\\n * @dev Returns the minimum vote weight to pass the threshold.\\\\n */\\\\n function minimumVoteWeight() external view returns (uint256);\\\\n\\\\n /**\\\\n * @dev Sets the threshold.\\\\n *\\\\n * Requirements:\\\\n * - The method caller is admin.\\\\n *\\\\n * Emits the `ThresholdUpdated` event.\\\\n *\\\\n */\\\\n function setThreshold(uint256 numerator, uint256 denominator) external;\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xc924e9480f59acc9bc8c033f05d3be9451de5cee0c224d76d4542fa5b67fa10f\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/interfaces/IWETH.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\ninterface IWETH {\\\\n event Transfer(address indexed src, address indexed dst, uint wad);\\\\n\\\\n function deposit() external payable;\\\\n\\\\n function transfer(address dst, uint wad) external returns (bool);\\\\n\\\\n function approve(address guy, uint wad) external returns (bool);\\\\n\\\\n function transferFrom(address src, address dst, uint wad) external returns (bool);\\\\n\\\\n function withdraw(uint256 _wad) external;\\\\n\\\\n function balanceOf(address) external view returns (uint256);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x000700e2b9c1985d53bb1cdba435f0f3d7b48e76e596e7dbbdfec1da47131415\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/interfaces/bridge/IBridgeManager.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport { IBridgeManagerEvents } from \\\\\\\"./events/IBridgeManagerEvents.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @title IBridgeManager\\\\n * @dev The interface for managing bridge operators.\\\\n */\\\\ninterface IBridgeManager is IBridgeManagerEvents {\\\\n /// @notice Error indicating that cannot find the querying operator\\\\n error ErrOperatorNotFound(address operator);\\\\n /// @notice Error indicating that cannot find the querying governor\\\\n error ErrGovernorNotFound(address governor);\\\\n /// @notice Error indicating that the msg.sender is not match the required governor\\\\n error ErrGovernorNotMatch(address required, address sender);\\\\n /// @notice Error indicating that the governors list will go below minimum number of required governor.\\\\n error ErrBelowMinRequiredGovernors();\\\\n /// @notice Common invalid input error\\\\n error ErrInvalidInput();\\\\n\\\\n /**\\\\n * @dev The domain separator used for computing hash digests in the contract.\\\\n */\\\\n function DOMAIN_SEPARATOR() external view returns (bytes32);\\\\n\\\\n /**\\\\n * @dev Returns the total number of bridge operators.\\\\n * @return The total number of bridge operators.\\\\n */\\\\n function totalBridgeOperator() external view returns (uint256);\\\\n\\\\n /**\\\\n * @dev Checks if the given address is a bridge operator.\\\\n * @param addr The address to check.\\\\n * @return A boolean indicating whether the address is a bridge operator.\\\\n */\\\\n function isBridgeOperator(address addr) external view returns (bool);\\\\n\\\\n /**\\\\n * @dev Retrieves the full information of all registered bridge operators.\\\\n *\\\\n * This external function allows external callers to obtain the full information of all the registered bridge operators.\\\\n * The returned arrays include the addresses of governors, bridge operators, and their corresponding vote weights.\\\\n *\\\\n * @return governors An array of addresses representing the governors of each bridge operator.\\\\n * @return bridgeOperators An array of addresses representing the registered bridge operators.\\\\n * @return weights An array of uint256 values representing the vote weights of each bridge operator.\\\\n *\\\\n * Note: The length of each array will be the same, and the order of elements corresponds to the same bridge operator.\\\\n *\\\\n * Example Usage:\\\\n * ```\\\\n * (address[] memory governors, address[] memory bridgeOperators, uint256[] memory weights) = getFullBridgeOperatorInfos();\\\\n * for (uint256 i = 0; i < bridgeOperators.length; i++) {\\\\n * // Access individual information for each bridge operator.\\\\n * address governor = governors[i];\\\\n * address bridgeOperator = bridgeOperators[i];\\\\n * uint256 weight = weights[i];\\\\n * // ... (Process or use the information as required) ...\\\\n * }\\\\n * ```\\\\n *\\\\n */\\\\n function getFullBridgeOperatorInfos() external view returns (address[] memory governors, address[] memory bridgeOperators, uint96[] memory weights);\\\\n\\\\n /**\\\\n * @dev Returns total weights of the governor list.\\\\n */\\\\n function sumGovernorsWeight(address[] calldata governors) external view returns (uint256 sum);\\\\n\\\\n /**\\\\n * @dev Returns total weights.\\\\n */\\\\n function getTotalWeight() external view returns (uint256);\\\\n\\\\n /**\\\\n * @dev Returns an array of all bridge operators.\\\\n * @return An array containing the addresses of all bridge operators.\\\\n */\\\\n function getBridgeOperators() external view returns (address[] memory);\\\\n\\\\n /**\\\\n * @dev Returns the corresponding `operator` of a `governor`.\\\\n */\\\\n function getOperatorOf(address governor) external view returns (address operator);\\\\n\\\\n /**\\\\n * @dev Returns the corresponding `governor` of a `operator`.\\\\n */\\\\n function getGovernorOf(address operator) external view returns (address governor);\\\\n\\\\n /**\\\\n * @dev External function to retrieve the vote weight of a specific governor.\\\\n * @param governor The address of the governor to get the vote weight for.\\\\n * @return voteWeight The vote weight of the specified governor.\\\\n */\\\\n function getGovernorWeight(address governor) external view returns (uint96);\\\\n\\\\n /**\\\\n * @dev External function to retrieve the vote weight of a specific bridge operator.\\\\n * @param bridgeOperator The address of the bridge operator to get the vote weight for.\\\\n * @return weight The vote weight of the specified bridge operator.\\\\n */\\\\n function getBridgeOperatorWeight(address bridgeOperator) external view returns (uint96 weight);\\\\n\\\\n /**\\\\n * @dev Returns the weights of a list of governor addresses.\\\\n */\\\\n function getGovernorWeights(address[] calldata governors) external view returns (uint96[] memory weights);\\\\n\\\\n /**\\\\n * @dev Returns an array of all governors.\\\\n * @return An array containing the addresses of all governors.\\\\n */\\\\n function getGovernors() external view returns (address[] memory);\\\\n\\\\n /**\\\\n * @dev Adds multiple bridge operators.\\\\n * @param governors An array of addresses of hot/cold wallets for bridge operator to update their node address.\\\\n * @param bridgeOperators An array of addresses representing the bridge operators to add.\\\\n */\\\\n function addBridgeOperators(uint96[] calldata voteWeights, address[] calldata governors, address[] calldata bridgeOperators) external;\\\\n\\\\n /**\\\\n * @dev Removes multiple bridge operators.\\\\n * @param bridgeOperators An array of addresses representing the bridge operators to remove.\\\\n */\\\\n function removeBridgeOperators(address[] calldata bridgeOperators) external;\\\\n\\\\n /**\\\\n * @dev Self-call to update the minimum required governor.\\\\n * @param min The minimum number, this must not less than 3.\\\\n */\\\\n function setMinRequiredGovernor(uint min) external;\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xefc46318a240371031e77ef3c355e2c18432e4479145378de6782277f9b44923\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/interfaces/bridge/IBridgeManagerCallback.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport { IERC165 } from \\\\\\\"@openzeppelin/contracts/utils/introspection/IERC165.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @title IBridgeManagerCallback\\\\n * @dev Interface for the callback functions to be implemented by the Bridge Manager contract.\\\\n */\\\\ninterface IBridgeManagerCallback is IERC165 {\\\\n /**\\\\n * @dev Handles the event when bridge operators are added.\\\\n * @param bridgeOperators The addresses of the bridge operators.\\\\n * @param addeds The corresponding boolean values indicating whether the operators were added or not.\\\\n * @return selector The selector of the function being called.\\\\n */\\\\n function onBridgeOperatorsAdded(address[] memory bridgeOperators, uint96[] calldata weights, bool[] memory addeds) external returns (bytes4 selector);\\\\n\\\\n /**\\\\n * @dev Handles the event when bridge operators are removed.\\\\n * @param bridgeOperators The addresses of the bridge operators.\\\\n * @param removeds The corresponding boolean values indicating whether the operators were removed or not.\\\\n * @return selector The selector of the function being called.\\\\n */\\\\n function onBridgeOperatorsRemoved(address[] memory bridgeOperators, bool[] memory removeds) external returns (bytes4 selector);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x6c8ce7e2478e28c5ed5e6f5d8305a77d6d5f9125a47adfb77632940b9a0f3625\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/interfaces/bridge/events/IBridgeManagerEvents.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\ninterface IBridgeManagerEvents {\\\\n /**\\\\n * @dev Emitted when new bridge operators are added.\\\\n */\\\\n event BridgeOperatorsAdded(bool[] statuses, uint96[] voteWeights, address[] governors, address[] bridgeOperators);\\\\n\\\\n /**\\\\n * @dev Emitted when a bridge operator is failed to add.\\\\n */\\\\n event BridgeOperatorAddingFailed(address indexed operator);\\\\n\\\\n /**\\\\n * @dev Emitted when bridge operators are removed.\\\\n */\\\\n event BridgeOperatorsRemoved(bool[] statuses, address[] bridgeOperators);\\\\n\\\\n /**\\\\n * @dev Emitted when a bridge operator is failed to remove.\\\\n */\\\\n event BridgeOperatorRemovingFailed(address indexed operator);\\\\n\\\\n /**\\\\n * @dev Emitted when a bridge operator is updated.\\\\n */\\\\n event BridgeOperatorUpdated(address indexed governor, address indexed fromBridgeOperator, address indexed toBridgeOperator);\\\\n\\\\n /**\\\\n * @dev Emitted when the minimum number of required governors is updated.\\\\n */\\\\n event MinRequiredGovernorUpdated(uint min);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x38bc3709c98a7c08fb9b6fa3e07a725903dcb0bd07de8a828bac6c3bcf7d997d\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/interfaces/collections/IHasContracts.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity ^0.8.9;\\\\n\\\\nimport { ContractType } from \\\\\\\"../../utils/ContractType.sol\\\\\\\";\\\\n\\\\ninterface IHasContracts {\\\\n /// @dev Error of invalid role.\\\\n error ErrContractTypeNotFound(ContractType contractType);\\\\n\\\\n /// @dev Emitted when a contract is updated.\\\\n event ContractUpdated(ContractType indexed contractType, address indexed addr);\\\\n\\\\n /**\\\\n * @dev Returns the address of a contract with a specific role.\\\\n * Throws an error if no contract is set for the specified role.\\\\n *\\\\n * @param contractType The role of the contract to retrieve.\\\\n * @return contract_ The address of the contract with the specified role.\\\\n */\\\\n function getContract(ContractType contractType) external view returns (address contract_);\\\\n\\\\n /**\\\\n * @dev Sets the address of a contract with a specific role.\\\\n * Emits the event {ContractUpdated}.\\\\n * @param contractType The role of the contract to set.\\\\n * @param addr The address of the contract to set.\\\\n */\\\\n function setContract(ContractType contractType, address addr) external;\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x99d8213d857e30d367155abd15dc42730afdfbbac3a22dfb3b95ffea2083a92e\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/interfaces/consumers/MappedTokenConsumer.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../../libraries/LibTokenInfo.sol\\\\\\\";\\\\n\\\\ninterface MappedTokenConsumer {\\\\n struct MappedToken {\\\\n TokenStandard erc;\\\\n address tokenAddr;\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xc53dcba9dc7d950ab6561149f76b45617ddbce5037e4c86ea00b976018bbfde1\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/interfaces/consumers/SignatureConsumer.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\ninterface SignatureConsumer {\\\\n struct Signature {\\\\n uint8 v;\\\\n bytes32 r;\\\\n bytes32 s;\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xd370e350722067097dec1a5c31bda6e47e83417fa5c3288293bb910028cd136b\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/libraries/AddressArrayUtils.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: UNLICENSED\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nlibrary AddressArrayUtils {\\\\n /**\\\\n * @dev Error thrown when a duplicated element is detected in an array.\\\\n * @param msgSig The function signature that invoke the error.\\\\n */\\\\n error ErrDuplicated(bytes4 msgSig);\\\\n\\\\n /**\\\\n * @dev Returns whether or not there's a duplicate. Runs in O(n^2).\\\\n * @param A Array to search\\\\n * @return Returns true if duplicate, false otherwise\\\\n */\\\\n function hasDuplicate(address[] memory A) internal pure returns (bool) {\\\\n if (A.length == 0) {\\\\n return false;\\\\n }\\\\n unchecked {\\\\n for (uint256 i = 0; i < A.length - 1; i++) {\\\\n for (uint256 j = i + 1; j < A.length; j++) {\\\\n if (A[i] == A[j]) {\\\\n return true;\\\\n }\\\\n }\\\\n }\\\\n }\\\\n return false;\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns whether two arrays of addresses are equal or not.\\\\n */\\\\n function isEqual(address[] memory _this, address[] memory _other) internal pure returns (bool yes_) {\\\\n // Hashing two arrays and compare their hash\\\\n assembly {\\\\n let _thisHash := keccak256(add(_this, 32), mul(mload(_this), 32))\\\\n let _otherHash := keccak256(add(_other, 32), mul(mload(_other), 32))\\\\n yes_ := eq(_thisHash, _otherHash)\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Return the concatenated array from a and b.\\\\n */\\\\n function extend(address[] memory a, address[] memory b) internal pure returns (address[] memory c) {\\\\n uint256 lengthA = a.length;\\\\n uint256 lengthB = b.length;\\\\n unchecked {\\\\n c = new address[](lengthA + lengthB);\\\\n }\\\\n uint256 i;\\\\n for (; i < lengthA;) {\\\\n c[i] = a[i];\\\\n unchecked {\\\\n ++i;\\\\n }\\\\n }\\\\n for (uint256 j; j < lengthB;) {\\\\n c[i] = b[j];\\\\n unchecked {\\\\n ++i;\\\\n ++j;\\\\n }\\\\n }\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xce5d578861167da47a965c8a0e1592b808aad6eb79ccb1873bf2e2280ddb85ee\\\",\\\"license\\\":\\\"UNLICENSED\\\"},\\\"src/libraries/LibTokenInfo.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\\\\\";\\\\nimport \\\\\\\"@openzeppelin/contracts/token/ERC721/IERC721.sol\\\\\\\";\\\\nimport \\\\\\\"@openzeppelin/contracts/token/ERC1155/IERC1155.sol\\\\\\\";\\\\nimport \\\\\\\"@openzeppelin/contracts/token/ERC1155/presets/ERC1155PresetMinterPauser.sol\\\\\\\";\\\\nimport \\\\\\\"../interfaces/IWETH.sol\\\\\\\";\\\\n\\\\nenum TokenStandard {\\\\n ERC20,\\\\n ERC721,\\\\n ERC1155\\\\n}\\\\n\\\\nstruct TokenInfo {\\\\n TokenStandard erc;\\\\n // For ERC20: the id must be 0 and the quantity is larger than 0.\\\\n // For ERC721: the quantity must be 0.\\\\n uint256 id;\\\\n uint256 quantity;\\\\n}\\\\n\\\\n/**\\\\n * @dev Error indicating that the `transfer` has failed.\\\\n * @param tokenInfo Info of the token including ERC standard, id or quantity.\\\\n * @param to Receiver of the token value.\\\\n * @param token Address of the token.\\\\n */\\\\nerror ErrTokenCouldNotTransfer(TokenInfo tokenInfo, address to, address token);\\\\n\\\\n/**\\\\n * @dev Error indicating that the `handleAssetIn` has failed.\\\\n * @param tokenInfo Info of the token including ERC standard, id or quantity.\\\\n * @param from Owner of the token value.\\\\n * @param to Receiver of the token value.\\\\n * @param token Address of the token.\\\\n */\\\\nerror ErrTokenCouldNotTransferFrom(TokenInfo tokenInfo, address from, address to, address token);\\\\n\\\\n/// @dev Error indicating that the provided information is invalid.\\\\nerror ErrInvalidInfo();\\\\n\\\\n/// @dev Error indicating that the minting of ERC20 tokens has failed.\\\\nerror ErrERC20MintingFailed();\\\\n\\\\n/// @dev Error indicating that the minting of ERC721 tokens has failed.\\\\nerror ErrERC721MintingFailed();\\\\n\\\\n/// @dev Error indicating that the transfer of ERC1155 tokens has failed.\\\\nerror ErrERC1155TransferFailed();\\\\n\\\\n/// @dev Error indicating that the mint of ERC1155 tokens has failed.\\\\nerror ErrERC1155MintingFailed();\\\\n\\\\n/// @dev Error indicating that an unsupported standard is encountered.\\\\nerror ErrUnsupportedStandard();\\\\n\\\\nlibrary LibTokenInfo {\\\\n /**\\\\n *\\\\n * HASH\\\\n *\\\\n */\\\\n\\\\n // keccak256(\\\\\\\"TokenInfo(uint8 erc,uint256 id,uint256 quantity)\\\\\\\");\\\\n bytes32 public constant INFO_TYPE_HASH_SINGLE = 0x1e2b74b2a792d5c0f0b6e59b037fa9d43d84fbb759337f0112fcc15ca414fc8d;\\\\n\\\\n /**\\\\n * @dev Returns token info struct hash.\\\\n */\\\\n function hash(TokenInfo memory self) internal pure returns (bytes32 digest) {\\\\n // keccak256(abi.encode(INFO_TYPE_HASH_SINGLE, info.erc, info.id, info.quantity))\\\\n assembly (\\\\\\\"memory-safe\\\\\\\") {\\\\n let ptr := mload(0x40)\\\\n mstore(ptr, INFO_TYPE_HASH_SINGLE)\\\\n mstore(add(ptr, 0x20), mload(self)) // info.erc\\\\n mstore(add(ptr, 0x40), mload(add(self, 0x20))) // info.id\\\\n mstore(add(ptr, 0x60), mload(add(self, 0x40))) // info.quantity\\\\n digest := keccak256(ptr, 0x80)\\\\n }\\\\n }\\\\n\\\\n /**\\\\n *\\\\n * VALIDATE\\\\n *\\\\n */\\\\n\\\\n /**\\\\n * @dev Validates the token info.\\\\n */\\\\n function validate(TokenInfo memory self) internal pure {\\\\n if (!(_checkERC20(self) || _checkERC721(self) || _checkERC1155(self))) {\\\\n revert ErrInvalidInfo();\\\\n }\\\\n }\\\\n\\\\n function _checkERC20(TokenInfo memory self) private pure returns (bool) {\\\\n return (self.erc == TokenStandard.ERC20 && self.quantity > 0 && self.id == 0);\\\\n }\\\\n\\\\n function _checkERC721(TokenInfo memory self) private pure returns (bool) {\\\\n return (self.erc == TokenStandard.ERC721 && self.quantity == 0);\\\\n }\\\\n\\\\n function _checkERC1155(TokenInfo memory self) private pure returns (bool res) {\\\\n // Only validate the quantity, because id of ERC-1155 can be 0.\\\\n return (self.erc == TokenStandard.ERC1155 && self.quantity > 0);\\\\n }\\\\n\\\\n /**\\\\n *\\\\n * TRANSFER IN/OUT METHOD\\\\n *\\\\n */\\\\n\\\\n /**\\\\n * @dev Transfer asset in.\\\\n *\\\\n * Requirements:\\\\n * - The `_from` address must approve for the contract using this library.\\\\n *\\\\n */\\\\n function handleAssetIn(TokenInfo memory self, address from, address token) internal {\\\\n bool success;\\\\n bytes memory data;\\\\n if (self.erc == TokenStandard.ERC20) {\\\\n (success, data) = token.call(abi.encodeWithSelector(IERC20.transferFrom.selector, from, address(this), self.quantity));\\\\n success = success && (data.length == 0 || abi.decode(data, (bool)));\\\\n } else if (self.erc == TokenStandard.ERC721) {\\\\n success = _tryTransferFromERC721(token, from, address(this), self.id);\\\\n } else if (self.erc == TokenStandard.ERC1155) {\\\\n success = _tryTransferFromERC1155(token, from, address(this), self.id, self.quantity);\\\\n } else {\\\\n revert ErrUnsupportedStandard();\\\\n }\\\\n\\\\n if (!success) revert ErrTokenCouldNotTransferFrom(self, from, address(this), token);\\\\n }\\\\n\\\\n /**\\\\n * @dev Tries transfer assets out, or mint the assets if cannot transfer.\\\\n *\\\\n * @notice Prioritizes transfer native token if the token is wrapped.\\\\n *\\\\n */\\\\n function handleAssetOut(TokenInfo memory self, address payable to, address token, IWETH wrappedNativeToken) internal {\\\\n if (token == address(wrappedNativeToken)) {\\\\n // Try sending the native token before transferring the wrapped token\\\\n if (!to.send(self.quantity)) {\\\\n wrappedNativeToken.deposit{ value: self.quantity }();\\\\n _transferTokenOut(self, to, token);\\\\n }\\\\n\\\\n return;\\\\n }\\\\n\\\\n if (self.erc == TokenStandard.ERC20) {\\\\n uint256 balance = IERC20(token).balanceOf(address(this));\\\\n if (balance < self.quantity) {\\\\n if (!_tryMintERC20(token, address(this), self.quantity - balance)) revert ErrERC20MintingFailed();\\\\n }\\\\n\\\\n _transferTokenOut(self, to, token);\\\\n return;\\\\n }\\\\n\\\\n if (self.erc == TokenStandard.ERC721) {\\\\n if (!_tryTransferOutOrMintERC721(token, to, self.id)) {\\\\n revert ErrERC721MintingFailed();\\\\n }\\\\n return;\\\\n }\\\\n\\\\n if (self.erc == TokenStandard.ERC1155) {\\\\n if (!_tryTransferOutOrMintERC1155(token, to, self.id, self.quantity)) {\\\\n revert ErrERC1155MintingFailed();\\\\n }\\\\n return;\\\\n }\\\\n\\\\n revert ErrUnsupportedStandard();\\\\n }\\\\n\\\\n /**\\\\n *\\\\n * TRANSFER HELPERS\\\\n *\\\\n */\\\\n\\\\n /**\\\\n * @dev Transfer assets from current address to `_to` address.\\\\n */\\\\n function _transferTokenOut(TokenInfo memory self, address to, address token) private {\\\\n bool success;\\\\n if (self.erc == TokenStandard.ERC20) {\\\\n success = _tryTransferERC20(token, to, self.quantity);\\\\n } else if (self.erc == TokenStandard.ERC721) {\\\\n success = _tryTransferFromERC721(token, address(this), to, self.id);\\\\n } else {\\\\n revert ErrUnsupportedStandard();\\\\n }\\\\n\\\\n if (!success) revert ErrTokenCouldNotTransfer(self, to, token);\\\\n }\\\\n\\\\n /**\\\\n * TRANSFER ERC-20\\\\n */\\\\n\\\\n /**\\\\n * @dev Transfers ERC20 token and returns the result.\\\\n */\\\\n function _tryTransferERC20(address token, address to, uint256 quantity) private returns (bool success) {\\\\n bytes memory data;\\\\n (success, data) = token.call(abi.encodeWithSelector(IERC20.transfer.selector, to, quantity));\\\\n success = success && (data.length == 0 || abi.decode(data, (bool)));\\\\n }\\\\n\\\\n /**\\\\n * @dev Mints ERC20 token and returns the result.\\\\n */\\\\n function _tryMintERC20(address token, address to, uint256 quantity) private returns (bool success) {\\\\n // bytes4(keccak256(\\\\\\\"mint(address,uint256)\\\\\\\"))\\\\n (success,) = token.call(abi.encodeWithSelector(0x40c10f19, to, quantity));\\\\n }\\\\n\\\\n /**\\\\n * TRANSFER ERC-721\\\\n */\\\\n\\\\n /**\\\\n * @dev Transfers the ERC721 token out. If the transfer failed, mints the ERC721.\\\\n * @return success Returns `false` if both transfer and mint are failed.\\\\n */\\\\n function _tryTransferOutOrMintERC721(address token, address to, uint256 id) private returns (bool success) {\\\\n success = _tryTransferFromERC721(token, address(this), to, id);\\\\n if (!success) {\\\\n return _tryMintERC721(token, to, id);\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Transfers ERC721 token and returns the result.\\\\n */\\\\n function _tryTransferFromERC721(address token, address from, address to, uint256 id) private returns (bool success) {\\\\n (success,) = token.call(abi.encodeWithSelector(IERC721.transferFrom.selector, from, to, id));\\\\n }\\\\n\\\\n /**\\\\n * @dev Mints ERC721 token and returns the result.\\\\n */\\\\n function _tryMintERC721(address token, address to, uint256 id) private returns (bool success) {\\\\n // bytes4(keccak256(\\\\\\\"mint(address,uint256)\\\\\\\"))\\\\n (success,) = token.call(abi.encodeWithSelector(0x40c10f19, to, id));\\\\n }\\\\n\\\\n /**\\\\n * TRANSFER ERC-1155\\\\n */\\\\n\\\\n /**\\\\n * @dev Transfers the ERC1155 token out. If the transfer failed, mints the ERC11555.\\\\n * @return success Returns `false` if both transfer and mint are failed.\\\\n */\\\\n function _tryTransferOutOrMintERC1155(address token, address to, uint256 id, uint256 amount) private returns (bool success) {\\\\n success = _tryTransferFromERC1155(token, address(this), to, id, amount);\\\\n if (!success) {\\\\n return _tryMintERC1155(token, to, id, amount);\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Transfers ERC1155 token and returns the result.\\\\n */\\\\n function _tryTransferFromERC1155(address token, address from, address to, uint256 id, uint256 amount) private returns (bool success) {\\\\n (success,) = token.call(abi.encodeCall(IERC1155.safeTransferFrom, (from, to, id, amount, new bytes(0))));\\\\n }\\\\n\\\\n /**\\\\n * @dev Mints ERC1155 token and returns the result.\\\\n */\\\\n function _tryMintERC1155(address token, address to, uint256 id, uint256 amount) private returns (bool success) {\\\\n (success,) = token.call(abi.encodeCall(ERC1155PresetMinterPauser.mint, (to, id, amount, new bytes(0))));\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x56b413a42c6c39a51dc1737e735d1623b89ecdf00bacd960f70b3f18ccaa6de2\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/libraries/LibTokenOwner.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nstruct TokenOwner {\\\\n address addr;\\\\n address tokenAddr;\\\\n uint256 chainId;\\\\n}\\\\n\\\\nlibrary LibTokenOwner {\\\\n // keccak256(\\\\\\\"TokenOwner(address addr,address tokenAddr,uint256 chainId)\\\\\\\");\\\\n bytes32 public constant OWNER_TYPE_HASH = 0x353bdd8d69b9e3185b3972e08b03845c0c14a21a390215302776a7a34b0e8764;\\\\n\\\\n /**\\\\n * @dev Returns ownership struct hash.\\\\n */\\\\n function hash(TokenOwner memory owner) internal pure returns (bytes32 digest) {\\\\n // keccak256(abi.encode(OWNER_TYPE_HASH, owner.addr, owner.tokenAddr, owner.chainId))\\\\n assembly (\\\\\\\"memory-safe\\\\\\\") {\\\\n let ptr := mload(0x40)\\\\n mstore(ptr, OWNER_TYPE_HASH)\\\\n mstore(add(ptr, 0x20), mload(owner)) // owner.addr\\\\n mstore(add(ptr, 0x40), mload(add(owner, 0x20))) // owner.tokenAddr\\\\n mstore(add(ptr, 0x60), mload(add(owner, 0x40))) // owner.chainId\\\\n digest := keccak256(ptr, 0x80)\\\\n }\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xb104fd02056a3ed52bf06c202e87b748200320682871b1801985050587ec2d51\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/libraries/Transfer.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"@openzeppelin/contracts/utils/cryptography/ECDSA.sol\\\\\\\";\\\\nimport \\\\\\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\\\\\";\\\\nimport \\\\\\\"./LibTokenInfo.sol\\\\\\\";\\\\nimport \\\\\\\"./LibTokenOwner.sol\\\\\\\";\\\\n\\\\nlibrary Transfer {\\\\n using ECDSA for bytes32;\\\\n using LibTokenOwner for TokenOwner;\\\\n using LibTokenInfo for TokenInfo;\\\\n\\\\n enum Kind {\\\\n Deposit,\\\\n Withdrawal\\\\n }\\\\n\\\\n struct Request {\\\\n // For deposit request: Recipient address on Ronin network\\\\n // For withdrawal request: Recipient address on mainchain network\\\\n address recipientAddr;\\\\n // Token address to deposit/withdraw\\\\n // Value 0: native token\\\\n address tokenAddr;\\\\n TokenInfo info;\\\\n }\\\\n\\\\n /**\\\\n * @dev Converts the transfer request into the deposit receipt.\\\\n */\\\\n function into_deposit_receipt(\\\\n Request memory _request,\\\\n address _requester,\\\\n uint256 _id,\\\\n address _roninTokenAddr,\\\\n uint256 _roninChainId\\\\n ) internal view returns (Receipt memory _receipt) {\\\\n _receipt.id = _id;\\\\n _receipt.kind = Kind.Deposit;\\\\n _receipt.mainchain.addr = _requester;\\\\n _receipt.mainchain.tokenAddr = _request.tokenAddr;\\\\n _receipt.mainchain.chainId = block.chainid;\\\\n _receipt.ronin.addr = _request.recipientAddr;\\\\n _receipt.ronin.tokenAddr = _roninTokenAddr;\\\\n _receipt.ronin.chainId = _roninChainId;\\\\n _receipt.info = _request.info;\\\\n }\\\\n\\\\n /**\\\\n * @dev Converts the transfer request into the withdrawal receipt.\\\\n */\\\\n function into_withdrawal_receipt(\\\\n Request memory _request,\\\\n address _requester,\\\\n uint256 _id,\\\\n address _mainchainTokenAddr,\\\\n uint256 _mainchainId\\\\n ) internal view returns (Receipt memory _receipt) {\\\\n _receipt.id = _id;\\\\n _receipt.kind = Kind.Withdrawal;\\\\n _receipt.ronin.addr = _requester;\\\\n _receipt.ronin.tokenAddr = _request.tokenAddr;\\\\n _receipt.ronin.chainId = block.chainid;\\\\n _receipt.mainchain.addr = _request.recipientAddr;\\\\n _receipt.mainchain.tokenAddr = _mainchainTokenAddr;\\\\n _receipt.mainchain.chainId = _mainchainId;\\\\n _receipt.info = _request.info;\\\\n }\\\\n\\\\n struct Receipt {\\\\n uint256 id;\\\\n Kind kind;\\\\n TokenOwner mainchain;\\\\n TokenOwner ronin;\\\\n TokenInfo info;\\\\n }\\\\n\\\\n // keccak256(\\\\\\\"Receipt(uint256 id,uint8 kind,TokenOwner mainchain,TokenOwner ronin,TokenInfo info)TokenInfo(uint8 erc,uint256 id,uint256 quantity)TokenOwner(address addr,address tokenAddr,uint256 chainId)\\\\\\\");\\\\n bytes32 public constant TYPE_HASH = 0xb9d1fe7c9deeec5dc90a2f47ff1684239519f2545b2228d3d91fb27df3189eea;\\\\n\\\\n /**\\\\n * @dev Returns token info struct hash.\\\\n */\\\\n function hash(Receipt memory _receipt) internal pure returns (bytes32 digest) {\\\\n bytes32 hashedReceiptMainchain = _receipt.mainchain.hash();\\\\n bytes32 hashedReceiptRonin = _receipt.ronin.hash();\\\\n bytes32 hashedReceiptInfo = _receipt.info.hash();\\\\n\\\\n /*\\\\n * return\\\\n * keccak256(\\\\n * abi.encode(\\\\n * TYPE_HASH,\\\\n * _receipt.id,\\\\n * _receipt.kind,\\\\n * Token.hash(_receipt.mainchain),\\\\n * Token.hash(_receipt.ronin),\\\\n * Token.hash(_receipt.info)\\\\n * )\\\\n * );\\\\n */\\\\n assembly {\\\\n let ptr := mload(0x40)\\\\n mstore(ptr, TYPE_HASH)\\\\n mstore(add(ptr, 0x20), mload(_receipt)) // _receipt.id\\\\n mstore(add(ptr, 0x40), mload(add(_receipt, 0x20))) // _receipt.kind\\\\n mstore(add(ptr, 0x60), hashedReceiptMainchain)\\\\n mstore(add(ptr, 0x80), hashedReceiptRonin)\\\\n mstore(add(ptr, 0xa0), hashedReceiptInfo)\\\\n digest := keccak256(ptr, 0xc0)\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the receipt digest.\\\\n */\\\\n function receiptDigest(bytes32 _domainSeparator, bytes32 _receiptHash) internal pure returns (bytes32) {\\\\n return _domainSeparator.toTypedDataHash(_receiptHash);\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x652c72f4e9aeffed1be05759c84c538a416d2c264deef9af4c53de0a1ad04ee4\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/mainchain/MainchainGatewayV3.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.23;\\\\n\\\\nimport \\\\\\\"@openzeppelin/contracts/access/AccessControlEnumerable.sol\\\\\\\";\\\\nimport \\\\\\\"@openzeppelin/contracts/proxy/utils/Initializable.sol\\\\\\\";\\\\nimport \\\\\\\"@openzeppelin/contracts/token/ERC1155/utils/ERC1155Holder.sol\\\\\\\";\\\\nimport { ECDSA } from \\\\\\\"@openzeppelin/contracts/utils/cryptography/ECDSA.sol\\\\\\\";\\\\nimport { IBridgeManager } from \\\\\\\"../interfaces/bridge/IBridgeManager.sol\\\\\\\";\\\\nimport { IBridgeManagerCallback } from \\\\\\\"../interfaces/bridge/IBridgeManagerCallback.sol\\\\\\\";\\\\nimport { HasContracts, ContractType } from \\\\\\\"../extensions/collections/HasContracts.sol\\\\\\\";\\\\nimport \\\\\\\"../extensions/WethUnwrapper.sol\\\\\\\";\\\\nimport \\\\\\\"../extensions/WithdrawalLimitation.sol\\\\\\\";\\\\nimport \\\\\\\"../libraries/Transfer.sol\\\\\\\";\\\\nimport \\\\\\\"../interfaces/IMainchainGatewayV3.sol\\\\\\\";\\\\n\\\\ncontract MainchainGatewayV3 is\\\\n WithdrawalLimitation,\\\\n Initializable,\\\\n AccessControlEnumerable,\\\\n ERC1155Holder,\\\\n IMainchainGatewayV3,\\\\n HasContracts,\\\\n IBridgeManagerCallback\\\\n{\\\\n using LibTokenInfo for TokenInfo;\\\\n using Transfer for Transfer.Request;\\\\n using Transfer for Transfer.Receipt;\\\\n\\\\n /// @dev Withdrawal unlocker role hash\\\\n bytes32 public constant WITHDRAWAL_UNLOCKER_ROLE = keccak256(\\\\\\\"WITHDRAWAL_UNLOCKER_ROLE\\\\\\\");\\\\n\\\\n /// @dev Wrapped native token address\\\\n IWETH public wrappedNativeToken;\\\\n /// @dev Ronin network id\\\\n uint256 public roninChainId;\\\\n /// @dev Total deposit\\\\n uint256 public depositCount;\\\\n /// @dev Domain separator\\\\n bytes32 internal _domainSeparator;\\\\n /// @dev Mapping from mainchain token => token address on Ronin network\\\\n mapping(address => MappedToken) internal _roninToken;\\\\n /// @dev Mapping from withdrawal id => withdrawal hash\\\\n mapping(uint256 => bytes32) public withdrawalHash;\\\\n /// @dev Mapping from withdrawal id => locked\\\\n mapping(uint256 => bool) public withdrawalLocked;\\\\n\\\\n /// @custom:deprecated Previously `_bridgeOperatorAddedBlock` (mapping(address => uint256))\\\\n uint256 private ______deprecatedBridgeOperatorAddedBlock;\\\\n /// @custom:deprecated Previously `_bridgeOperators` (uint256[])\\\\n uint256 private ______deprecatedBridgeOperators;\\\\n\\\\n uint96 private _totalOperatorWeight;\\\\n mapping(address operator => uint96 weight) private _operatorWeight;\\\\n /// @custom:deprecated Previously `_wethUnwrapper` (address)\\\\n uint256 private ______deprecatedWethUnwrapper;\\\\n\\\\n constructor() {\\\\n _disableInitializers();\\\\n }\\\\n\\\\n fallback() external payable {\\\\n _fallback();\\\\n }\\\\n\\\\n receive() external payable {\\\\n _fallback();\\\\n }\\\\n\\\\n /**\\\\n * @dev Initializes contract storage.\\\\n */\\\\n function initialize(\\\\n address _roleSetter,\\\\n IWETH _wrappedToken,\\\\n uint256 _roninChainId,\\\\n uint256 _numerator,\\\\n uint256 _highTierVWNumerator,\\\\n uint256 _denominator,\\\\n // _addresses[0]: mainchainTokens\\\\n // _addresses[1]: roninTokens\\\\n // _addresses[2]: withdrawalUnlockers\\\\n address[][3] calldata _addresses,\\\\n // _thresholds[0]: highTierThreshold\\\\n // _thresholds[1]: lockedThreshold\\\\n // _thresholds[2]: unlockFeePercentages\\\\n // _thresholds[3]: dailyWithdrawalLimit\\\\n uint256[][4] calldata _thresholds,\\\\n TokenStandard[] calldata _standards\\\\n ) external payable virtual initializer {\\\\n _setupRole(DEFAULT_ADMIN_ROLE, _roleSetter);\\\\n roninChainId = _roninChainId;\\\\n\\\\n _setWrappedNativeTokenContract(_wrappedToken);\\\\n _updateDomainSeparator();\\\\n _setThreshold(_numerator, _denominator);\\\\n _setHighTierVoteWeightThreshold(_highTierVWNumerator, _denominator);\\\\n _verifyThresholds();\\\\n\\\\n if (_addresses[0].length > 0) {\\\\n // Map mainchain tokens to ronin tokens\\\\n _mapTokens(_addresses[0], _addresses[1], _standards);\\\\n // Sets thresholds based on the mainchain tokens\\\\n _setHighTierThresholds(_addresses[0], _thresholds[0]);\\\\n _setLockedThresholds(_addresses[0], _thresholds[1]);\\\\n _setUnlockFeePercentages(_addresses[0], _thresholds[2]);\\\\n _setDailyWithdrawalLimits(_addresses[0], _thresholds[3]);\\\\n }\\\\n\\\\n // Grant role for withdrawal unlocker\\\\n for (uint256 i; i < _addresses[2].length; i++) {\\\\n _grantRole(WITHDRAWAL_UNLOCKER_ROLE, _addresses[2][i]);\\\\n }\\\\n }\\\\n\\\\n function initializeV2(address bridgeManagerContract) external reinitializer(2) {\\\\n _setContract(ContractType.BRIDGE_MANAGER, bridgeManagerContract);\\\\n }\\\\n\\\\n function initializeV3() external reinitializer(3) {\\\\n IBridgeManager mainchainBridgeManager = IBridgeManager(getContract(ContractType.BRIDGE_MANAGER));\\\\n (, address[] memory operators, uint96[] memory weights) = mainchainBridgeManager.getFullBridgeOperatorInfos();\\\\n\\\\n uint96 totalWeight;\\\\n for (uint i; i < operators.length; i++) {\\\\n _operatorWeight[operators[i]] = weights[i];\\\\n totalWeight += weights[i];\\\\n }\\\\n _totalOperatorWeight = totalWeight;\\\\n }\\\\n\\\\n function initializeV4(address payable /* wethUnwrapper_ */) external reinitializer(4) {\\\\n /** @deprecated\\\\n *\\\\n * wethUnwrapper = WethUnwrapper(wethUnwrapper_);\\\\n */\\\\n }\\\\n\\\\n /**\\\\n * @dev Receives ether without doing anything. Use this function to topup native token.\\\\n */\\\\n function receiveEther() external payable { }\\\\n\\\\n /**\\\\n * @inheritdoc IMainchainGatewayV3\\\\n */\\\\n function DOMAIN_SEPARATOR() external view virtual returns (bytes32) {\\\\n return _domainSeparator;\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IMainchainGatewayV3\\\\n */\\\\n function setWrappedNativeTokenContract(IWETH _wrappedToken) external virtual onlyProxyAdmin {\\\\n _setWrappedNativeTokenContract(_wrappedToken);\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IMainchainGatewayV3\\\\n */\\\\n function requestDepositFor(Transfer.Request calldata _request) external payable virtual whenNotPaused {\\\\n _requestDepositFor(_request, msg.sender);\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IMainchainGatewayV3\\\\n */\\\\n function submitWithdrawal(Transfer.Receipt calldata _receipt, Signature[] calldata _signatures) external virtual whenNotPaused returns (bool _locked) {\\\\n return _submitWithdrawal(_receipt, _signatures);\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IMainchainGatewayV3\\\\n */\\\\n function unlockWithdrawal(Transfer.Receipt calldata receipt) external onlyRole(WITHDRAWAL_UNLOCKER_ROLE) {\\\\n bytes32 _receiptHash = receipt.hash();\\\\n if (withdrawalHash[receipt.id] != receipt.hash()) {\\\\n revert ErrInvalidReceipt();\\\\n }\\\\n if (!withdrawalLocked[receipt.id]) {\\\\n revert ErrQueryForApprovedWithdrawal();\\\\n }\\\\n delete withdrawalLocked[receipt.id];\\\\n emit WithdrawalUnlocked(_receiptHash, receipt);\\\\n\\\\n address token = receipt.mainchain.tokenAddr;\\\\n if (receipt.info.erc == TokenStandard.ERC20) {\\\\n TokenInfo memory feeInfo = receipt.info;\\\\n feeInfo.quantity = _computeFeePercentage(receipt.info.quantity, unlockFeePercentages[token]);\\\\n TokenInfo memory withdrawInfo = receipt.info;\\\\n withdrawInfo.quantity = receipt.info.quantity - feeInfo.quantity;\\\\n\\\\n feeInfo.handleAssetOut(payable(msg.sender), token, wrappedNativeToken);\\\\n withdrawInfo.handleAssetOut(payable(receipt.mainchain.addr), token, wrappedNativeToken);\\\\n } else {\\\\n receipt.info.handleAssetOut(payable(receipt.mainchain.addr), token, wrappedNativeToken);\\\\n }\\\\n\\\\n emit Withdrew(_receiptHash, receipt);\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IMainchainGatewayV3\\\\n */\\\\n function mapTokens(address[] calldata _mainchainTokens, address[] calldata _roninTokens, TokenStandard[] calldata _standards) external virtual onlyProxyAdmin {\\\\n if (_mainchainTokens.length == 0) revert ErrEmptyArray();\\\\n _mapTokens(_mainchainTokens, _roninTokens, _standards);\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IMainchainGatewayV3\\\\n */\\\\n function mapTokensAndThresholds(\\\\n address[] calldata _mainchainTokens,\\\\n address[] calldata _roninTokens,\\\\n TokenStandard[] calldata _standards,\\\\n // _thresholds[0]: highTierThreshold\\\\n // _thresholds[1]: lockedThreshold\\\\n // _thresholds[2]: unlockFeePercentages\\\\n // _thresholds[3]: dailyWithdrawalLimit\\\\n uint256[][4] calldata _thresholds\\\\n ) external virtual onlyProxyAdmin {\\\\n if (_mainchainTokens.length == 0) revert ErrEmptyArray();\\\\n _mapTokens(_mainchainTokens, _roninTokens, _standards);\\\\n _setHighTierThresholds(_mainchainTokens, _thresholds[0]);\\\\n _setLockedThresholds(_mainchainTokens, _thresholds[1]);\\\\n _setUnlockFeePercentages(_mainchainTokens, _thresholds[2]);\\\\n _setDailyWithdrawalLimits(_mainchainTokens, _thresholds[3]);\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IMainchainGatewayV3\\\\n */\\\\n function getRoninToken(address mainchainToken) public view returns (MappedToken memory token) {\\\\n token = _roninToken[mainchainToken];\\\\n if (token.tokenAddr == address(0)) revert ErrUnsupportedToken();\\\\n }\\\\n\\\\n /**\\\\n * @dev Maps mainchain tokens to Ronin network.\\\\n *\\\\n * Requirement:\\\\n * - The arrays have the same length.\\\\n *\\\\n * Emits the `TokenMapped` event.\\\\n *\\\\n */\\\\n function _mapTokens(address[] calldata mainchainTokens, address[] calldata roninTokens, TokenStandard[] calldata standards) internal virtual {\\\\n if (!(mainchainTokens.length == roninTokens.length && mainchainTokens.length == standards.length)) revert ErrLengthMismatch(msg.sig);\\\\n\\\\n for (uint256 i; i < mainchainTokens.length; ++i) {\\\\n _roninToken[mainchainTokens[i]].tokenAddr = roninTokens[i];\\\\n _roninToken[mainchainTokens[i]].erc = standards[i];\\\\n }\\\\n\\\\n emit TokenMapped(mainchainTokens, roninTokens, standards);\\\\n }\\\\n\\\\n /**\\\\n * @dev Submits withdrawal receipt.\\\\n *\\\\n * Requirements:\\\\n * - The receipt kind is withdrawal.\\\\n * - The receipt is to withdraw on this chain.\\\\n * - The receipt is not used to withdraw before.\\\\n * - The withdrawal is not reached the limit threshold.\\\\n * - The signer weight total is larger than or equal to the minimum threshold.\\\\n * - The signature signers are in order.\\\\n *\\\\n * Emits the `Withdrew` once the assets are released.\\\\n *\\\\n */\\\\n function _submitWithdrawal(Transfer.Receipt calldata receipt, Signature[] memory signatures) internal virtual returns (bool locked) {\\\\n uint256 id = receipt.id;\\\\n uint256 quantity = receipt.info.quantity;\\\\n address tokenAddr = receipt.mainchain.tokenAddr;\\\\n\\\\n receipt.info.validate();\\\\n if (receipt.kind != Transfer.Kind.Withdrawal) revert ErrInvalidReceiptKind();\\\\n\\\\n if (receipt.mainchain.chainId != block.chainid) {\\\\n revert ErrInvalidChainId(msg.sig, receipt.mainchain.chainId, block.chainid);\\\\n }\\\\n\\\\n MappedToken memory token = getRoninToken(receipt.mainchain.tokenAddr);\\\\n\\\\n if (!(token.erc == receipt.info.erc && token.tokenAddr == receipt.ronin.tokenAddr && receipt.ronin.chainId == roninChainId)) {\\\\n revert ErrInvalidReceipt();\\\\n }\\\\n\\\\n if (withdrawalHash[id] != 0) revert ErrQueryForProcessedWithdrawal();\\\\n\\\\n if (!(receipt.info.erc == TokenStandard.ERC721 || !_reachedWithdrawalLimit(tokenAddr, quantity))) {\\\\n revert ErrReachedDailyWithdrawalLimit();\\\\n }\\\\n\\\\n bytes32 receiptHash = receipt.hash();\\\\n bytes32 receiptDigest = Transfer.receiptDigest(_domainSeparator, receiptHash);\\\\n\\\\n uint256 minimumWeight;\\\\n (minimumWeight, locked) = _computeMinVoteWeight(receipt.info.erc, tokenAddr, quantity);\\\\n\\\\n {\\\\n bool passed;\\\\n address signer;\\\\n address lastSigner;\\\\n Signature memory sig;\\\\n uint256 accumWeight;\\\\n for (uint256 i; i < signatures.length; i++) {\\\\n sig = signatures[i];\\\\n signer = ECDSA.recover({ hash: receiptDigest, v: sig.v, r: sig.r, s: sig.s });\\\\n if (lastSigner >= signer) revert ErrInvalidOrder(msg.sig);\\\\n\\\\n lastSigner = signer;\\\\n\\\\n uint256 w = _getWeight(signer);\\\\n if (w == 0) revert ErrInvalidSigner(signer, w, sig);\\\\n\\\\n accumWeight += w;\\\\n if (accumWeight >= minimumWeight) {\\\\n passed = true;\\\\n break;\\\\n }\\\\n }\\\\n\\\\n if (!passed) revert ErrQueryForInsufficientVoteWeight();\\\\n withdrawalHash[id] = receiptHash;\\\\n }\\\\n\\\\n if (locked) {\\\\n withdrawalLocked[id] = true;\\\\n emit WithdrawalLocked(receiptHash, receipt);\\\\n return locked;\\\\n }\\\\n\\\\n _recordWithdrawal(tokenAddr, quantity);\\\\n receipt.info.handleAssetOut(payable(receipt.mainchain.addr), tokenAddr, wrappedNativeToken);\\\\n emit Withdrew(receiptHash, receipt);\\\\n }\\\\n\\\\n /**\\\\n * @dev Requests deposit made by `_requester` address.\\\\n *\\\\n * Requirements:\\\\n * - The token info is valid.\\\\n * - The `msg.value` is 0 while depositing ERC20 token.\\\\n * - The `msg.value` is equal to deposit quantity while depositing native token.\\\\n *\\\\n * Emits the `DepositRequested` event.\\\\n *\\\\n */\\\\n function _requestDepositFor(Transfer.Request memory _request, address _requester) internal virtual {\\\\n MappedToken memory _token;\\\\n address mainchainWeth = address(wrappedNativeToken);\\\\n\\\\n _request.info.validate();\\\\n if (_request.tokenAddr == address(0)) {\\\\n if (_request.info.quantity != msg.value) revert ErrInvalidRequest();\\\\n\\\\n _token = getRoninToken(mainchainWeth);\\\\n if (_token.erc != _request.info.erc) revert ErrInvalidTokenStandard();\\\\n\\\\n _request.tokenAddr = mainchainWeth;\\\\n } else {\\\\n if (msg.value != 0) revert ErrInvalidRequest();\\\\n\\\\n _token = getRoninToken(_request.tokenAddr);\\\\n if (_token.erc != _request.info.erc) revert ErrInvalidTokenStandard();\\\\n\\\\n _request.info.handleAssetIn(_requester, _request.tokenAddr);\\\\n\\\\n /**\\\\n * Withdraw if token is WETH\\\\n *\\\\n * `IWETH.withdraw` only sends 2300 gas, which might be insufficient when recipient is a proxy, in this case, gateway proxy.\\\\n * However, the storage accesses of proxy relating variables on Shanghai hardfork are warm-access, only requires additional 100*2 gas. So it should be safe,\\\\n * no need to go via a mediator of WETH unwrapper.\\\\n */\\\\n if (mainchainWeth == _request.tokenAddr) {\\\\n IWETH(mainchainWeth).withdraw(_request.info.quantity);\\\\n }\\\\n }\\\\n\\\\n uint256 _depositId = depositCount++;\\\\n Transfer.Receipt memory _receipt = _request.into_deposit_receipt(_requester, _depositId, _token.tokenAddr, roninChainId);\\\\n\\\\n emit DepositRequested(_receipt.hash(), _receipt);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the minimum vote weight for the token.\\\\n */\\\\n function _computeMinVoteWeight(TokenStandard _erc, address _token, uint256 _quantity) internal virtual returns (uint256 _weight, bool _locked) {\\\\n uint256 _totalWeight = _getTotalWeight();\\\\n _weight = _minimumVoteWeight(_totalWeight);\\\\n if (_erc == TokenStandard.ERC20) {\\\\n if (highTierThreshold[_token] <= _quantity) {\\\\n _weight = _highTierVoteWeight(_totalWeight);\\\\n }\\\\n _locked = _lockedWithdrawalRequest(_token, _quantity);\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Update domain separator.\\\\n */\\\\n function _updateDomainSeparator() internal {\\\\n /*\\\\n * _domainSeparator = keccak256(\\\\n * abi.encode(\\\\n * keccak256(\\\\\\\"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\\\\\\\"),\\\\n * keccak256(\\\\\\\"MainchainGatewayV2\\\\\\\"),\\\\n * keccak256(\\\\\\\"2\\\\\\\"),\\\\n * block.chainid,\\\\n * address(this)\\\\n * )\\\\n * );\\\\n */\\\\n assembly {\\\\n let ptr := mload(0x40)\\\\n // keccak256(\\\\\\\"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\\\\\\\")\\\\n mstore(ptr, 0x8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f)\\\\n // keccak256(\\\\\\\"MainchainGatewayV2\\\\\\\")\\\\n mstore(add(ptr, 0x20), 0x159f52c1e3a2b6a6aad3950adf713516211484e0516dad685ea662a094b7c43b)\\\\n // keccak256(\\\\\\\"2\\\\\\\")\\\\n mstore(add(ptr, 0x40), 0xad7c5bef027816a800da1736444fb58a807ef4c9603b7848673f7e3a68eb14a5)\\\\n mstore(add(ptr, 0x60), chainid())\\\\n mstore(add(ptr, 0x80), address())\\\\n sstore(_domainSeparator.slot, keccak256(ptr, 0xa0))\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets the WETH contract.\\\\n *\\\\n * Emits the `WrappedNativeTokenContractUpdated` event.\\\\n *\\\\n */\\\\n function _setWrappedNativeTokenContract(IWETH _wrappedToken) internal {\\\\n wrappedNativeToken = _wrappedToken;\\\\n emit WrappedNativeTokenContractUpdated(_wrappedToken);\\\\n }\\\\n\\\\n /**\\\\n * @dev Receives ETH from WETH or creates deposit request if sender is not WETH.\\\\n */\\\\n function _fallback() internal virtual {\\\\n if (msg.sender == address(wrappedNativeToken)) {\\\\n return;\\\\n }\\\\n\\\\n _createDepositOnFallback();\\\\n }\\\\n\\\\n /**\\\\n * @dev Creates deposit request.\\\\n */\\\\n function _createDepositOnFallback() internal virtual whenNotPaused {\\\\n Transfer.Request memory _request;\\\\n _request.recipientAddr = msg.sender;\\\\n _request.info.quantity = msg.value;\\\\n _requestDepositFor(_request, _request.recipientAddr);\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc GatewayV3\\\\n */\\\\n function _getTotalWeight() internal view override returns (uint256 totalWeight) {\\\\n totalWeight = _totalOperatorWeight;\\\\n if (totalWeight == 0) revert ErrNullTotalWeightProvided(msg.sig);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the weight of an address.\\\\n */\\\\n function _getWeight(address addr) internal view returns (uint256) {\\\\n return _operatorWeight[addr];\\\\n }\\\\n\\\\n ///////////////////////////////////////////////\\\\n // CALLBACKS\\\\n ///////////////////////////////////////////////\\\\n\\\\n /**\\\\n * @inheritdoc IBridgeManagerCallback\\\\n */\\\\n function onBridgeOperatorsAdded(\\\\n address[] calldata operators,\\\\n uint96[] calldata weights,\\\\n bool[] memory addeds\\\\n ) external onlyContract(ContractType.BRIDGE_MANAGER) returns (bytes4) {\\\\n uint256 length = operators.length;\\\\n if (length != addeds.length || length != weights.length) revert ErrLengthMismatch(msg.sig);\\\\n if (length == 0) {\\\\n return IBridgeManagerCallback.onBridgeOperatorsAdded.selector;\\\\n }\\\\n\\\\n for (uint256 i; i < length; ++i) {\\\\n unchecked {\\\\n if (addeds[i]) {\\\\n _totalOperatorWeight += weights[i];\\\\n _operatorWeight[operators[i]] = weights[i];\\\\n }\\\\n }\\\\n }\\\\n\\\\n return IBridgeManagerCallback.onBridgeOperatorsAdded.selector;\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IBridgeManagerCallback\\\\n */\\\\n function onBridgeOperatorsRemoved(address[] calldata operators, bool[] calldata removeds) external onlyContract(ContractType.BRIDGE_MANAGER) returns (bytes4) {\\\\n uint length = operators.length;\\\\n if (length != removeds.length) revert ErrLengthMismatch(msg.sig);\\\\n if (length == 0) {\\\\n return IBridgeManagerCallback.onBridgeOperatorsRemoved.selector;\\\\n }\\\\n\\\\n uint96 totalRemovingWeight;\\\\n for (uint i; i < length; ++i) {\\\\n unchecked {\\\\n if (removeds[i]) {\\\\n totalRemovingWeight += _operatorWeight[operators[i]];\\\\n delete _operatorWeight[operators[i]];\\\\n }\\\\n }\\\\n }\\\\n\\\\n _totalOperatorWeight -= totalRemovingWeight;\\\\n\\\\n return IBridgeManagerCallback.onBridgeOperatorsRemoved.selector;\\\\n }\\\\n\\\\n function supportsInterface(bytes4 interfaceId) public view override(AccessControlEnumerable, IERC165, ERC1155Receiver) returns (bool) {\\\\n return\\\\n interfaceId == type(IMainchainGatewayV3).interfaceId || interfaceId == type(IBridgeManagerCallback).interfaceId || super.supportsInterface(interfaceId);\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x1e5ba54eb47e96739b856749f1b43510b80445a9013d771e9d29b4f28a6db0c9\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/utils/CommonErrors.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport { ContractType } from \\\\\\\"./ContractType.sol\\\\\\\";\\\\nimport { RoleAccess } from \\\\\\\"./RoleAccess.sol\\\\\\\";\\\\n\\\\nerror ErrSyncTooFarPeriod(uint256 period, uint256 latestRewardedPeriod);\\\\n/**\\\\n * @dev Error thrown when an address is expected to be an already created externally owned account (EOA).\\\\n * This error indicates that the provided address is invalid for certain contract operations that require already created EOA.\\\\n */\\\\nerror ErrAddressIsNotCreatedEOA(address addr, bytes32 codehash);\\\\n/**\\\\n * @dev Error raised when a bridge operator update operation fails.\\\\n * @param bridgeOperator The address of the bridge operator that failed to update.\\\\n */\\\\nerror ErrBridgeOperatorUpdateFailed(address bridgeOperator);\\\\n/**\\\\n * @dev Error thrown when attempting to add a bridge operator that already exists in the contract.\\\\n * This error indicates that the provided bridge operator address is already registered as a bridge operator in the contract.\\\\n */\\\\nerror ErrBridgeOperatorAlreadyExisted(address bridgeOperator);\\\\n/**\\\\n * @dev The error indicating an unsupported interface.\\\\n * @param interfaceId The bytes4 interface identifier that is not supported.\\\\n * @param addr The address where the unsupported interface was encountered.\\\\n */\\\\nerror ErrUnsupportedInterface(bytes4 interfaceId, address addr);\\\\n/**\\\\n * @dev Error thrown when the return data from a callback function is invalid.\\\\n * @param callbackFnSig The signature of the callback function that returned invalid data.\\\\n * @param register The address of the register where the callback function was invoked.\\\\n * @param returnData The invalid return data received from the callback function.\\\\n */\\\\nerror ErrInvalidReturnData(bytes4 callbackFnSig, address register, bytes returnData);\\\\n/**\\\\n * @dev Error of set to non-contract.\\\\n */\\\\nerror ErrZeroCodeContract(address addr);\\\\n/**\\\\n * @dev Error indicating that arguments are invalid.\\\\n */\\\\nerror ErrInvalidArguments(bytes4 msgSig);\\\\n/**\\\\n * @dev Error indicating that given address is null when it should not.\\\\n */\\\\nerror ErrZeroAddress(bytes4 msgSig);\\\\n/**\\\\n * @dev Error indicating that the provided threshold is invalid for a specific function signature.\\\\n * @param msgSig The function signature (bytes4) that the invalid threshold applies to.\\\\n */\\\\nerror ErrInvalidThreshold(bytes4 msgSig);\\\\n\\\\n/**\\\\n * @dev Error indicating that a function can only be called by the contract itself.\\\\n * @param msgSig The function signature (bytes4) that can only be called by the contract itself.\\\\n */\\\\nerror ErrOnlySelfCall(bytes4 msgSig);\\\\n\\\\n/**\\\\n * @dev Error indicating that the caller is unauthorized to perform a specific function.\\\\n * @param msgSig The function signature (bytes4) that the caller is unauthorized to perform.\\\\n * @param expectedRole The role required to perform the function.\\\\n */\\\\nerror ErrUnauthorized(bytes4 msgSig, RoleAccess expectedRole);\\\\n\\\\n/**\\\\n * @dev Error indicating that the caller is unauthorized to perform a specific function.\\\\n * @param msgSig The function signature (bytes4) that the caller is unauthorized to perform.\\\\n */\\\\nerror ErrUnauthorizedCall(bytes4 msgSig);\\\\n\\\\n/**\\\\n * @dev Error indicating that the caller is unauthorized to perform a specific function.\\\\n * @param msgSig The function signature (bytes4).\\\\n * @param expectedContractType The contract type required to perform the function.\\\\n * @param actual The actual address that called to the function.\\\\n */\\\\nerror ErrUnexpectedInternalCall(bytes4 msgSig, ContractType expectedContractType, address actual);\\\\n\\\\n/**\\\\n * @dev Error indicating that an array is empty when it should contain elements.\\\\n */\\\\nerror ErrEmptyArray();\\\\n\\\\n/**\\\\n * @dev Error indicating a mismatch in the length of input parameters or arrays for a specific function.\\\\n * @param msgSig The function signature (bytes4) that has a length mismatch.\\\\n */\\\\nerror ErrLengthMismatch(bytes4 msgSig);\\\\n\\\\n/**\\\\n * @dev Error indicating that a proxy call to an external contract has failed.\\\\n * @param msgSig The function signature (bytes4) of the proxy call that failed.\\\\n * @param extCallSig The function signature (bytes4) of the external contract call that failed.\\\\n */\\\\nerror ErrProxyCallFailed(bytes4 msgSig, bytes4 extCallSig);\\\\n\\\\n/**\\\\n * @dev Error indicating that a function tried to call a precompiled contract that is not allowed.\\\\n * @param msgSig The function signature (bytes4) that attempted to call a precompiled contract.\\\\n */\\\\nerror ErrCallPrecompiled(bytes4 msgSig);\\\\n\\\\n/**\\\\n * @dev Error indicating that a native token transfer has failed.\\\\n * @param msgSig The function signature (bytes4) of the token transfer that failed.\\\\n */\\\\nerror ErrNativeTransferFailed(bytes4 msgSig);\\\\n\\\\n/**\\\\n * @dev Error indicating that an order is invalid.\\\\n * @param msgSig The function signature (bytes4) of the operation that encountered an invalid order.\\\\n */\\\\nerror ErrInvalidOrder(bytes4 msgSig);\\\\n\\\\n/**\\\\n * @dev Error indicating that the chain ID is invalid.\\\\n * @param msgSig The function signature (bytes4) of the operation that encountered an invalid chain ID.\\\\n * @param actual Current chain ID that executing function.\\\\n * @param expected Expected chain ID required for the tx to success.\\\\n */\\\\nerror ErrInvalidChainId(bytes4 msgSig, uint256 actual, uint256 expected);\\\\n\\\\n/**\\\\n * @dev Error indicating that a vote type is not supported.\\\\n * @param msgSig The function signature (bytes4) of the operation that encountered an unsupported vote type.\\\\n */\\\\nerror ErrUnsupportedVoteType(bytes4 msgSig);\\\\n\\\\n/**\\\\n * @dev Error indicating that the proposal nonce is invalid.\\\\n * @param msgSig The function signature (bytes4) of the operation that encountered an invalid proposal nonce.\\\\n */\\\\nerror ErrInvalidProposalNonce(bytes4 msgSig);\\\\n\\\\n/**\\\\n * @dev Error indicating that a voter has already voted.\\\\n * @param voter The address of the voter who has already voted.\\\\n */\\\\nerror ErrAlreadyVoted(address voter);\\\\n\\\\n/**\\\\n * @dev Error indicating that a signature is invalid for a specific function signature.\\\\n * @param msgSig The function signature (bytes4) that encountered an invalid signature.\\\\n */\\\\nerror ErrInvalidSignatures(bytes4 msgSig);\\\\n\\\\n/**\\\\n * @dev Error indicating that a relay call has failed.\\\\n * @param msgSig The function signature (bytes4) of the relay call that failed.\\\\n */\\\\nerror ErrRelayFailed(bytes4 msgSig);\\\\n/**\\\\n * @dev Error indicating that a vote weight is invalid for a specific function signature.\\\\n * @param msgSig The function signature (bytes4) that encountered an invalid vote weight.\\\\n */\\\\nerror ErrInvalidVoteWeight(bytes4 msgSig);\\\\n\\\\n/**\\\\n * @dev Error indicating that a query was made for an outdated bridge operator set.\\\\n */\\\\nerror ErrQueryForOutdatedBridgeOperatorSet();\\\\n\\\\n/**\\\\n * @dev Error indicating that a request is invalid.\\\\n */\\\\nerror ErrInvalidRequest();\\\\n\\\\n/**\\\\n * @dev Error indicating that a token standard is invalid.\\\\n */\\\\nerror ErrInvalidTokenStandard();\\\\n\\\\n/**\\\\n * @dev Error indicating that a token is not supported.\\\\n */\\\\nerror ErrUnsupportedToken();\\\\n\\\\n/**\\\\n * @dev Error indicating that a receipt kind is invalid.\\\\n */\\\\nerror ErrInvalidReceiptKind();\\\\n\\\\n/**\\\\n * @dev Error indicating that a receipt is invalid.\\\\n */\\\\nerror ErrInvalidReceipt();\\\\n\\\\n/**\\\\n * @dev Error indicating that an address is not payable.\\\\n */\\\\nerror ErrNonpayableAddress(address);\\\\n\\\\n/**\\\\n * @dev Error indicating that the period is already processed, i.e. scattered reward.\\\\n */\\\\nerror ErrPeriodAlreadyProcessed(uint256 requestingPeriod, uint256 latestPeriod);\\\\n\\\\n/**\\\\n * @dev Error thrown when an invalid vote hash is provided.\\\\n */\\\\nerror ErrInvalidVoteHash();\\\\n\\\\n/**\\\\n * @dev Error thrown when querying for an empty vote.\\\\n */\\\\nerror ErrQueryForEmptyVote();\\\\n\\\\n/**\\\\n * @dev Error thrown when querying for an expired vote.\\\\n */\\\\nerror ErrQueryForExpiredVote();\\\\n\\\\n/**\\\\n * @dev Error thrown when querying for a non-existent vote.\\\\n */\\\\nerror ErrQueryForNonExistentVote();\\\\n\\\\n/**\\\\n * @dev Error indicating that the method is only called once per block.\\\\n */\\\\nerror ErrOncePerBlock();\\\\n\\\\n/**\\\\n * @dev Error of method caller must be coinbase\\\\n */\\\\nerror ErrCallerMustBeCoinbase();\\\\n\\\\n/**\\\\n * @dev Error thrown when an invalid proposal is encountered.\\\\n * @param actual The actual value of the proposal.\\\\n * @param expected The expected value of the proposal.\\\\n */\\\\nerror ErrInvalidProposal(bytes32 actual, bytes32 expected);\\\\n\\\\n/**\\\\n * @dev Error of proposal is not approved for executing.\\\\n */\\\\nerror ErrProposalNotApproved();\\\\n\\\\n/**\\\\n * @dev Error of the caller is not the specified executor.\\\\n */\\\\nerror ErrInvalidExecutor();\\\\n\\\\n/**\\\\n * @dev Error of the `caller` to relay is not the specified `executor`.\\\\n */\\\\nerror ErrNonExecutorCannotRelay(address executor, address caller);\\\\n\\\",\\\"keccak256\\\":\\\"0x0d9e2fd98f6b704273faad707ed9eadbd4c79551ee3f902bff5b29213a204679\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/utils/ContractType.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nenum ContractType {\\\\n UNKNOWN, // 0\\\\n PAUSE_ENFORCER, // 1\\\\n BRIDGE, // 2\\\\n BRIDGE_TRACKING, // 3\\\\n GOVERNANCE_ADMIN, // 4\\\\n MAINTENANCE, // 5\\\\n SLASH_INDICATOR, // 6\\\\n STAKING_VESTING, // 7\\\\n VALIDATOR, // 8\\\\n STAKING, // 9\\\\n RONIN_TRUSTED_ORGANIZATION, // 10\\\\n BRIDGE_MANAGER, // 11\\\\n BRIDGE_SLASH, // 12\\\\n BRIDGE_REWARD, // 13\\\\n FAST_FINALITY_TRACKING, // 14\\\\n PROFILE // 15\\\\n\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xec088aa939cd885dbe84e944942d7ea674e1fff8802c1f2ae5d8e84e4578357d\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/utils/IdentityGuard.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport { AddressArrayUtils } from \\\\\\\"../libraries/AddressArrayUtils.sol\\\\\\\";\\\\nimport { IERC165 } from \\\\\\\"@openzeppelin/contracts/utils/introspection/IERC165.sol\\\\\\\";\\\\nimport { TransparentUpgradeableProxyV2 } from \\\\\\\"../extensions/TransparentUpgradeableProxyV2.sol\\\\\\\";\\\\nimport { ErrAddressIsNotCreatedEOA, ErrZeroAddress, ErrOnlySelfCall, ErrZeroCodeContract, ErrUnsupportedInterface } from \\\\\\\"./CommonErrors.sol\\\\\\\";\\\\n\\\\nabstract contract IdentityGuard {\\\\n using AddressArrayUtils for address[];\\\\n\\\\n /// @dev value is equal to keccak256(abi.encode())\\\\n /// @dev see: https://eips.ethereum.org/EIPS/eip-1052\\\\n bytes32 internal constant CREATED_ACCOUNT_HASH = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;\\\\n\\\\n /**\\\\n * @dev Modifier to restrict functions to only be called by this contract.\\\\n * @dev Reverts if the caller is not this contract.\\\\n */\\\\n modifier onlySelfCall() virtual {\\\\n _requireSelfCall();\\\\n _;\\\\n }\\\\n\\\\n /**\\\\n * @dev Modifier to ensure that the elements in the `arr` array are non-duplicates.\\\\n * It calls the internal `_checkDuplicate` function to perform the duplicate check.\\\\n *\\\\n * Requirements:\\\\n * - The elements in the `arr` array must not contain any duplicates.\\\\n */\\\\n modifier nonDuplicate(address[] memory arr) virtual {\\\\n _requireNonDuplicate(arr);\\\\n _;\\\\n }\\\\n\\\\n /**\\\\n * @dev Internal method to check the method caller.\\\\n * @dev Reverts if the method caller is not this contract.\\\\n */\\\\n function _requireSelfCall() internal view virtual {\\\\n if (msg.sender != address(this)) revert ErrOnlySelfCall(msg.sig);\\\\n }\\\\n\\\\n /**\\\\n * @dev Internal function to check if a contract address has code.\\\\n * @param addr The address of the contract to check.\\\\n * @dev Throws an error if the contract address has no code.\\\\n */\\\\n function _requireHasCode(address addr) internal view {\\\\n if (addr.code.length == 0) revert ErrZeroCodeContract(addr);\\\\n }\\\\n\\\\n /**\\\\n * @dev Checks if an address is zero and reverts if it is.\\\\n * @param addr The address to check.\\\\n */\\\\n function _requireNonZeroAddress(address addr) internal pure {\\\\n if (addr == address(0)) revert ErrZeroAddress(msg.sig);\\\\n }\\\\n\\\\n /**\\\\n * @dev Check if arr is empty and revert if it is.\\\\n * Checks if an array contains any duplicate addresses and reverts if duplicates are found.\\\\n * @param arr The array of addresses to check.\\\\n */\\\\n function _requireNonDuplicate(address[] memory arr) internal pure {\\\\n if (arr.hasDuplicate()) revert AddressArrayUtils.ErrDuplicated(msg.sig);\\\\n }\\\\n\\\\n /**\\\\n * @dev Internal function to require that the provided address is a created externally owned account (EOA).\\\\n * This internal function is used to ensure that the provided address is a valid externally owned account (EOA).\\\\n * It checks the codehash of the address against a predefined constant to confirm that the address is a created EOA.\\\\n * @notice This method only works with non-state EOA accounts\\\\n */\\\\n function _requireCreatedEOA(address addr) internal view {\\\\n _requireNonZeroAddress(addr);\\\\n bytes32 codehash = addr.codehash;\\\\n if (codehash != CREATED_ACCOUNT_HASH) revert ErrAddressIsNotCreatedEOA(addr, codehash);\\\\n }\\\\n\\\\n /**\\\\n * @dev Internal function to require that the specified contract supports the given interface. This method handle in\\\\n * both case that the callee is either or not the proxy admin of the caller. If the contract does not support the\\\\n * interface `interfaceId` or EIP165, a revert with the corresponding error message is triggered.\\\\n *\\\\n * @param contractAddr The address of the contract to check for interface support.\\\\n * @param interfaceId The interface ID to check for support.\\\\n */\\\\n function _requireSupportsInterface(address contractAddr, bytes4 interfaceId) internal view {\\\\n bytes memory supportsInterfaceParams = abi.encodeCall(IERC165.supportsInterface, (interfaceId));\\\\n (bool success, bytes memory returnOrRevertData) = contractAddr.staticcall(supportsInterfaceParams);\\\\n if (!success) {\\\\n (success, returnOrRevertData) = contractAddr.staticcall(abi.encodeCall(TransparentUpgradeableProxyV2.functionDelegateCall, (supportsInterfaceParams)));\\\\n if (!success) revert ErrUnsupportedInterface(interfaceId, contractAddr);\\\\n }\\\\n if (!abi.decode(returnOrRevertData, (bool))) revert ErrUnsupportedInterface(interfaceId, contractAddr);\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x546ab4c9cdb0e7f8e650f140349225305ba1d0706dcaceeb9180c96aa765da59\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/utils/RoleAccess.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nenum RoleAccess {\\\\n UNKNOWN, // 0\\\\n ADMIN, // 1\\\\n COINBASE, // 2\\\\n GOVERNOR, // 3\\\\n CANDIDATE_ADMIN, // 4\\\\n WITHDRAWAL_MIGRATOR, // 5\\\\n __DEPRECATED_BRIDGE_OPERATOR, // 6\\\\n BLOCK_PRODUCER, // 7\\\\n VALIDATOR_CANDIDATE, // 8\\\\n CONSENSUS, // 9\\\\n TREASURY // 10\\\\n\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x671ff40dd874c508c4b3879a580996c7987fc018669256f47151e420a55c0e51\\\",\\\"license\\\":\\\"MIT\\\"}},\\\"version\\\":1}\"", + "nonce": 0, "storageLayout": { "storage": [ { - "astId": 58349, + "astId": 52708, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "_paused", "offset": 0, @@ -2761,7 +411,7 @@ "type": "t_bool" }, { - "astId": 101999, + "astId": 116370, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "_num", "offset": 0, @@ -2769,7 +419,7 @@ "type": "t_uint256" }, { - "astId": 102001, + "astId": 116372, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "_denom", "offset": 0, @@ -2777,7 +427,7 @@ "type": "t_uint256" }, { - "astId": 102003, + "astId": 116374, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "______deprecated", "offset": 0, @@ -2785,7 +435,7 @@ "type": "t_address" }, { - "astId": 102005, + "astId": 116376, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "nonce", "offset": 0, @@ -2793,7 +443,7 @@ "type": "t_uint256" }, { - "astId": 102007, + "astId": 116378, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "emergencyPauser", "offset": 0, @@ -2801,7 +451,7 @@ "type": "t_address" }, { - "astId": 102012, + "astId": 116383, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "______gap", "offset": 0, @@ -2809,7 +459,7 @@ "type": "t_array(t_uint256)49_storage" }, { - "astId": 102734, + "astId": 117128, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "_highTierVWNum", "offset": 0, @@ -2817,7 +467,7 @@ "type": "t_uint256" }, { - "astId": 102736, + "astId": 117130, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "_highTierVWDenom", "offset": 0, @@ -2825,7 +475,7 @@ "type": "t_uint256" }, { - "astId": 102741, + "astId": 117135, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "highTierThreshold", "offset": 0, @@ -2833,7 +483,7 @@ "type": "t_mapping(t_address,t_uint256)" }, { - "astId": 102746, + "astId": 117140, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "lockedThreshold", "offset": 0, @@ -2841,7 +491,7 @@ "type": "t_mapping(t_address,t_uint256)" }, { - "astId": 102751, + "astId": 117145, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "unlockFeePercentages", "offset": 0, @@ -2849,7 +499,7 @@ "type": "t_mapping(t_address,t_uint256)" }, { - "astId": 102756, + "astId": 117150, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "dailyWithdrawalLimit", "offset": 0, @@ -2857,7 +507,7 @@ "type": "t_mapping(t_address,t_uint256)" }, { - "astId": 102761, + "astId": 117155, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "lastSyncedWithdrawal", "offset": 0, @@ -2865,7 +515,7 @@ "type": "t_mapping(t_address,t_uint256)" }, { - "astId": 102766, + "astId": 117160, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "lastDateSynced", "offset": 0, @@ -2873,7 +523,7 @@ "type": "t_mapping(t_address,t_uint256)" }, { - "astId": 102771, + "astId": 117165, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "______gap", "offset": 0, @@ -2881,7 +531,7 @@ "type": "t_array(t_uint256)50_storage" }, { - "astId": 58187, + "astId": 52546, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "_initialized", "offset": 0, @@ -2889,7 +539,7 @@ "type": "t_uint8" }, { - "astId": 58190, + "astId": 52549, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "_initializing", "offset": 1, @@ -2897,31 +547,31 @@ "type": "t_bool" }, { - "astId": 56838, + "astId": 51446, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "_roles", "offset": 0, "slot": "114", - "type": "t_mapping(t_bytes32,t_struct(RoleData)56833_storage)" + "type": "t_mapping(t_bytes32,t_struct(RoleData)51441_storage)" }, { - "astId": 57152, + "astId": 51760, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "_roleMembers", "offset": 0, "slot": "115", - "type": "t_mapping(t_bytes32,t_struct(AddressSet)63336_storage)" + "type": "t_mapping(t_bytes32,t_struct(AddressSet)58416_storage)" }, { - "astId": 113073, + "astId": 127839, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "wrappedNativeToken", "offset": 0, "slot": "116", - "type": "t_contract(IWETH)108470" + "type": "t_contract(IWETH)123002" }, { - "astId": 113076, + "astId": 127842, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "roninChainId", "offset": 0, @@ -2929,7 +579,7 @@ "type": "t_uint256" }, { - "astId": 113079, + "astId": 127845, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "depositCount", "offset": 0, @@ -2937,7 +587,7 @@ "type": "t_uint256" }, { - "astId": 113082, + "astId": 127848, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "_domainSeparator", "offset": 0, @@ -2945,15 +595,15 @@ "type": "t_bytes32" }, { - "astId": 113088, + "astId": 127854, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "_roninToken", "offset": 0, "slot": "120", - "type": "t_mapping(t_address,t_struct(MappedToken)109160_storage)" + "type": "t_mapping(t_address,t_struct(MappedToken)123717_storage)" }, { - "astId": 113093, + "astId": 127859, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "withdrawalHash", "offset": 0, @@ -2961,7 +611,7 @@ "type": "t_mapping(t_uint256,t_bytes32)" }, { - "astId": 113098, + "astId": 127864, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "withdrawalLocked", "offset": 0, @@ -2969,7 +619,7 @@ "type": "t_mapping(t_uint256,t_bool)" }, { - "astId": 113101, + "astId": 127867, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "______deprecatedBridgeOperatorAddedBlock", "offset": 0, @@ -2977,7 +627,7 @@ "type": "t_uint256" }, { - "astId": 113104, + "astId": 127870, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "______deprecatedBridgeOperators", "offset": 0, @@ -2985,7 +635,7 @@ "type": "t_uint256" }, { - "astId": 113106, + "astId": 127872, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "_totalOperatorWeight", "offset": 0, @@ -2993,7 +643,7 @@ "type": "t_uint96" }, { - "astId": 113110, + "astId": 127876, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "_operatorWeight", "offset": 0, @@ -3001,12 +651,12 @@ "type": "t_mapping(t_address,t_uint96)" }, { - "astId": 113113, + "astId": 127879, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", - "label": "wethUnwrapper", + "label": "______deprecatedWethUnwrapper", "offset": 0, "slot": "127", - "type": "t_contract(WethUnwrapper)102672" + "type": "t_uint256" } ], "types": { @@ -3043,17 +693,12 @@ "label": "bytes32", "numberOfBytes": "32" }, - "t_contract(IWETH)108470": { + "t_contract(IWETH)123002": { "encoding": "inplace", "label": "contract IWETH", "numberOfBytes": "20" }, - "t_contract(WethUnwrapper)102672": { - "encoding": "inplace", - "label": "contract WethUnwrapper", - "numberOfBytes": "20" - }, - "t_enum(TokenStandard)110645": { + "t_enum(TokenStandard)125329": { "encoding": "inplace", "label": "enum TokenStandard", "numberOfBytes": "1" @@ -3065,12 +710,12 @@ "numberOfBytes": "32", "value": "t_bool" }, - "t_mapping(t_address,t_struct(MappedToken)109160_storage)": { + "t_mapping(t_address,t_struct(MappedToken)123717_storage)": { "encoding": "mapping", "key": "t_address", "label": "mapping(address => struct MappedTokenConsumer.MappedToken)", "numberOfBytes": "32", - "value": "t_struct(MappedToken)109160_storage" + "value": "t_struct(MappedToken)123717_storage" }, "t_mapping(t_address,t_uint256)": { "encoding": "mapping", @@ -3086,19 +731,19 @@ "numberOfBytes": "32", "value": "t_uint96" }, - "t_mapping(t_bytes32,t_struct(AddressSet)63336_storage)": { + "t_mapping(t_bytes32,t_struct(AddressSet)58416_storage)": { "encoding": "mapping", "key": "t_bytes32", "label": "mapping(bytes32 => struct EnumerableSet.AddressSet)", "numberOfBytes": "32", - "value": "t_struct(AddressSet)63336_storage" + "value": "t_struct(AddressSet)58416_storage" }, - "t_mapping(t_bytes32,t_struct(RoleData)56833_storage)": { + "t_mapping(t_bytes32,t_struct(RoleData)51441_storage)": { "encoding": "mapping", "key": "t_bytes32", "label": "mapping(bytes32 => struct AccessControl.RoleData)", "numberOfBytes": "32", - "value": "t_struct(RoleData)56833_storage" + "value": "t_struct(RoleData)51441_storage" }, "t_mapping(t_bytes32,t_uint256)": { "encoding": "mapping", @@ -3121,36 +766,36 @@ "numberOfBytes": "32", "value": "t_bytes32" }, - "t_struct(AddressSet)63336_storage": { + "t_struct(AddressSet)58416_storage": { "encoding": "inplace", "label": "struct EnumerableSet.AddressSet", "numberOfBytes": "64", "members": [ { - "astId": 63335, + "astId": 58415, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "_inner", "offset": 0, "slot": "0", - "type": "t_struct(Set)63035_storage" + "type": "t_struct(Set)58115_storage" } ] }, - "t_struct(MappedToken)109160_storage": { + "t_struct(MappedToken)123717_storage": { "encoding": "inplace", "label": "struct MappedTokenConsumer.MappedToken", "numberOfBytes": "32", "members": [ { - "astId": 109157, + "astId": 123714, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "erc", "offset": 0, "slot": "0", - "type": "t_enum(TokenStandard)110645" + "type": "t_enum(TokenStandard)125329" }, { - "astId": 109159, + "astId": 123716, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "tokenAddr", "offset": 1, @@ -3159,13 +804,13 @@ } ] }, - "t_struct(RoleData)56833_storage": { + "t_struct(RoleData)51441_storage": { "encoding": "inplace", "label": "struct AccessControl.RoleData", "numberOfBytes": "64", "members": [ { - "astId": 56830, + "astId": 51438, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "members", "offset": 0, @@ -3173,7 +818,7 @@ "type": "t_mapping(t_address,t_bool)" }, { - "astId": 56832, + "astId": 51440, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "adminRole", "offset": 0, @@ -3182,13 +827,13 @@ } ] }, - "t_struct(Set)63035_storage": { + "t_struct(Set)58115_storage": { "encoding": "inplace", "label": "struct EnumerableSet.Set", "numberOfBytes": "64", "members": [ { - "astId": 63030, + "astId": 58110, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "_values", "offset": 0, @@ -3196,7 +841,7 @@ "type": "t_array(t_bytes32)dyn_storage" }, { - "astId": 63034, + "astId": 58114, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "_indexes", "offset": 0, @@ -3222,7 +867,7 @@ } } }, - "timestamp": 1718814660, + "timestamp": 1724668692, "userdoc": { "version": 1, "kind": "user", From 69aa82d60d84d6683e5cade85c6ddaba9fbce755 Mon Sep 17 00:00:00 2001 From: nxqbao Date: Tue, 27 Aug 2024 17:20:06 +0700 Subject: [PATCH 68/74] chore: add artifact of mainchain gw --- .../1/run-1724753858.json | 60 +++++++ .../ethereum/MainchainGatewayV3Logic.json | 166 ++++++++++-------- ...0240807-ir-deploy-mainchain-gw-logic.s.sol | 11 ++ 3 files changed, 160 insertions(+), 77 deletions(-) create mode 100644 broadcast/20240807-ir-deploy-mainchain-gw-logic.s.sol/1/run-1724753858.json create mode 100644 script/20240807-ir-recover/20240807-ir-deploy-mainchain-gw-logic.s.sol diff --git a/broadcast/20240807-ir-deploy-mainchain-gw-logic.s.sol/1/run-1724753858.json b/broadcast/20240807-ir-deploy-mainchain-gw-logic.s.sol/1/run-1724753858.json new file mode 100644 index 00000000..b7722486 --- /dev/null +++ b/broadcast/20240807-ir-deploy-mainchain-gw-logic.s.sol/1/run-1724753858.json @@ -0,0 +1,60 @@ +{ + "transactions": [ + { + "hash": "0xb46649f3454e21905c10985faaa39a90f7f2301a00580fe1339855502f66133e", + "transactionType": "CREATE", + "contractName": "MainchainGatewayV3", + "contractAddress": "0xd6c4986bbe09f2ddb262b4611b0ba06891be605e", + "function": null, + "arguments": null, + "transaction": { + "from": "0xf35f15c6d41e391bacb71f60b45f4e785cfe6da7", + "gas": "0x93f382", + "value": "0x0", + "input": "0x608060405234801562000010575f80fd5b505f805460ff19169055620000246200002a565b620000ec565b607154610100900460ff1615620000975760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60715460ff9081161015620000ea576071805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b61561480620000fa5f395ff3fe60806040526004361061038f575f3560e01c80638f34e347116101db578063b9c3620911610101578063d55ed1031161009f578063dff525e11161006e578063dff525e114610a99578063e400327c14610ab8578063e75235b814610ad7578063f23a6e6114610aee5761039e565b8063d55ed10314610a11578063d64af2a614610a3c578063dafae40814610a5b578063de981f1b14610a7a5761039e565b8063ca15c873116100db578063ca15c87314610991578063cdb67444146109b0578063d19773d2146109c7578063d547741f146109f25761039e565b8063b9c3620914610928578063bc197c8114610947578063c48549de146109725761039e565b8063a217fddf11610179578063affed0e011610148578063affed0e01461089d578063b1a2567e146108b2578063b1d08a03146108d1578063b2975794146108fc5761039e565b8063a217fddf14610840578063a3912ec81461039c578063ab79656614610853578063ac78dfe81461087e5761039e565b80639157921c116101b55780639157921c146107af57806391d14854146107ce57806393c5678f146107ed5780639dcc4da31461080c5761039e565b80638f34e347146107315780638f851d8a146107645780639010d07c146107905761039e565b806336568abe116102c0578063504af48c1161025e5780636c1ce6701161022d5780636c1ce670146106cb5780637de5dedd146106ea5780638456cb59146106fe578063865e6fd3146107125761039e565b8063504af48c1461064c57806359122f6b1461065f5780635c975abb1461068a5780636932be98146106a05761039e565b80633f4ba83a1161029a5780633f4ba83a146105d85780634b14557e146105ec5780634d0d6673146105ff5780634d493f4e1461061e5761039e565b806336568abe1461058657806338e454b1146105a55780633e70838b146105b95761039e565b80631d4a72101161032d5780632dfdf0b5116103075780632dfdf0b5146105285780632f2ff15d1461053d578063302d12db1461055c5780633644e515146105725761039e565b80631d4a7210146104b0578063248a9ca3146104db57806329b6eca9146105095761039e565b806317ce2dd41161036957806317ce2dd41461043057806317fcb39b146104535780631a8e55b0146104725780631b6e7594146104915761039e565b806301ffc9a7146103a6578063065b3adf146103da578063110a8308146104115761039e565b3661039e5761039c610b19565b005b61039c610b19565b3480156103b1575f80fd5b506103c56103c03660046142cf565b610b37565b60405190151581526020015b60405180910390f35b3480156103e5575f80fd5b506005546103f9906001600160a01b031681565b6040516001600160a01b0390911681526020016103d1565b34801561041c575f80fd5b5061039c61042b36600461430a565b610b7c565b34801561043b575f80fd5b5061044560755481565b6040519081526020016103d1565b34801561045e575f80fd5b506074546103f9906001600160a01b031681565b34801561047d575f80fd5b5061039c61048c366004614365565b610c04565b34801561049c575f80fd5b5061039c6104ab3660046143cb565b610c3f565b3480156104bb575f80fd5b506104456104ca36600461430a565b603e6020525f908152604090205481565b3480156104e6575f80fd5b506104456104f5366004614468565b5f9081526072602052604090206001015490565b348015610514575f80fd5b5061039c61052336600461430a565b610c7e565b348015610533575f80fd5b5061044560765481565b348015610548575f80fd5b5061039c61055736600461447f565b610d06565b348015610567575f80fd5b50610445620f424081565b34801561057d575f80fd5b50607754610445565b348015610591575f80fd5b5061039c6105a036600461447f565b610d2f565b3480156105b0575f80fd5b5061039c610dad565b3480156105c4575f80fd5b5061039c6105d336600461430a565b610f7f565b3480156105e3575f80fd5b5061039c610fa9565b61039c6105fa3660046144ad565b610fb9565b34801561060a575f80fd5b506103c56106193660046144d4565b610fdc565b348015610629575f80fd5b506103c5610638366004614468565b607a6020525f908152604090205460ff1681565b61039c61065a366004614575565b61104a565b34801561066a575f80fd5b5061044561067936600461430a565b603a6020525f908152604090205481565b348015610695575f80fd5b505f5460ff166103c5565b3480156106ab575f80fd5b506104456106ba366004614468565b60796020525f908152604090205481565b3480156106d6575f80fd5b506103c56106e5366004614646565b61130b565b3480156106f5575f80fd5b50610445611316565b348015610709575f80fd5b5061039c61132c565b34801561071d575f80fd5b5061039c61072c36600461467e565b61133c565b34801561073c575f80fd5b506104457f5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e481565b34801561076f575f80fd5b5061078361077e366004614743565b611357565b6040516103d19190614831565b34801561079b575f80fd5b506103f96107aa366004614846565b6114d3565b3480156107ba575f80fd5b5061039c6107c9366004614866565b6114ea565b3480156107d9575f80fd5b506103c56107e836600461447f565b611765565b3480156107f8575f80fd5b5061039c610807366004614365565b61178f565b348015610817575f80fd5b5061082b610826366004614846565b6117c4565b604080519283526020830191909152016103d1565b34801561084b575f80fd5b506104455f81565b34801561085e575f80fd5b5061044561086d36600461430a565b603c6020525f908152604090205481565b348015610889575f80fd5b506103c5610898366004614468565b6117ec565b3480156108a8575f80fd5b5061044560045481565b3480156108bd575f80fd5b5061039c6108cc366004614365565b611817565b3480156108dc575f80fd5b506104456108eb36600461430a565b60396020525f908152604090205481565b348015610907575f80fd5b5061091b61091636600461430a565b61184c565b6040516103d191906148a9565b348015610933575f80fd5b5061039c610942366004614846565b6118ed565b348015610952575f80fd5b506107836109613660046149a4565b63bc197c8160e01b95945050505050565b34801561097d575f80fd5b5061078361098c366004614365565b611907565b34801561099c575f80fd5b506104456109ab366004614468565b611a93565b3480156109bb575f80fd5b5060375460385461082b565b3480156109d2575f80fd5b506104456109e136600461430a565b603b6020525f908152604090205481565b3480156109fd575f80fd5b5061039c610a0c36600461447f565b611aa9565b348015610a1c575f80fd5b50610445610a2b36600461430a565b603d6020525f908152604090205481565b348015610a47575f80fd5b5061039c610a5636600461430a565b611acd565b348015610a66575f80fd5b506103c5610a75366004614468565b611ade565b348015610a85575f80fd5b506103f9610a94366004614a4a565b611b01565b348015610aa4575f80fd5b5061039c610ab3366004614a63565b611b74565b348015610ac3575f80fd5b5061039c610ad2366004614365565b611be7565b348015610ae2575f80fd5b5060015460025461082b565b348015610af9575f80fd5b50610783610b08366004614b17565b63f23a6e6160e01b95945050505050565b6074546001600160a01b03163303610b2d57565b610b35611c1c565b565b5f6001600160e01b03198216631f3673bb60e01b1480610b6757506001600160e01b031982166312c0151560e21b145b80610b765750610b7682611c46565b92915050565b607154600490610100900460ff16158015610b9e575060715460ff8083169116105b610bc35760405162461bcd60e51b8152600401610bba90614b7a565b60405180910390fd5b6071805461ffff191660ff83169081176101001761ff0019169091556040519081525f805160206155bf833981519152906020015b60405180910390a15050565b610c0c611c6a565b5f839003610c2d576040516316ee9d3b60e11b815260040160405180910390fd5b610c3984848484611cc3565b50505050565b610c47611c6a565b5f859003610c68576040516316ee9d3b60e11b815260040160405180910390fd5b610c76868686868686611d94565b505050505050565b607154600290610100900460ff16158015610ca0575060715460ff8083169116105b610cbc5760405162461bcd60e51b8152600401610bba90614b7a565b6071805461ffff191660ff831617610100179055610cdb600b83611f36565b6071805461ff001916905560405160ff821681525f805160206155bf83398151915290602001610bf8565b5f82815260726020526040902060010154610d2081611fd7565b610d2a8383611fe1565b505050565b6001600160a01b0381163314610d9f5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610bba565b610da98282612002565b5050565b607154600390610100900460ff16158015610dcf575060715460ff8083169116105b610deb5760405162461bcd60e51b8152600401610bba90614b7a565b6071805461ffff191660ff8316176101001790555f610e0a600b611b01565b90505f80826001600160a01b031663c441c4a86040518163ffffffff1660e01b81526004015f60405180830381865afa158015610e49573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610e709190810190614c41565b92509250505f805b8351811015610f2957828181518110610e9357610e93614d1f565b6020026020010151607e5f868481518110610eb057610eb0614d1f565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f205f6101000a8154816001600160601b0302191690836001600160601b03160217905550828181518110610f0c57610f0c614d1f565b602002602001015182610f1f9190614d47565b9150600101610e78565b50607d80546001600160601b0319166001600160601b039290921691909117905550506071805461ff00191690555060405160ff821681525f805160206155bf833981519152906020015b60405180910390a150565b610f87611c6a565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b610fb1612023565b610b35612091565b610fc16120e2565b610fd9610fd336839003830183614db4565b33612127565b50565b5f610fe56120e2565b611040848484808060200260200160405190810160405280939291908181526020015f905b828210156110365761102760608302860136819003810190614e05565b8152602001906001019061100a565b505050505061236e565b90505b9392505050565b607154610100900460ff161580801561106a5750607154600160ff909116105b806110845750303b158015611084575060715460ff166001145b6110a05760405162461bcd60e51b8152600401610bba90614b7a565b6071805460ff1916600117905580156110c3576071805461ff0019166101001790555b6110cd5f8c6127fa565b60758990556110db8a612804565b6111666040517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81527f159f52c1e3a2b6a6aad3950adf713516211484e0516dad685ea662a094b7c43b60208201527fad7c5bef027816a800da1736444fb58a807ef4c9603b7848673f7e3a68eb14a5604082015246606082015230608082015260a0812060775550565b6111708887612852565b61117a87876128f3565b505061118461299a565b5f61118f8680614e4c565b9050111561124f576111b86111a48680614e4c565b6111b16020890189614e4c565b8787611d94565b6111dd6111c58680614e4c565b865f5b6020028101906111d89190614e4c565b6129e6565b6112036111ea8680614e4c565b8660015b6020028101906111fe9190614e4c565b611cc3565b6112296112108680614e4c565b8660025b6020028101906112249190614e4c565b612ab7565b61124f6112368680614e4c565b8660035b60200281019061124a9190614e4c565b612bc4565b5f5b61125e6040870187614e4c565b90508110156112ca576112c27f5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e46112986040890189614e4c565b848181106112a8576112a8614d1f565b90506020020160208101906112bd919061430a565b611fe1565b600101611251565b5080156112fe576071805461ff0019169055604051600181525f805160206155bf8339815191529060200160405180910390a15b5050505050505050505050565b5f6110438383612c95565b5f611327611322612d59565b612d96565b905090565b611334612023565b610b35612dfa565b611344611c6a565b61134d81612e36565b610da98282611f36565b5f600b61136381612e6b565b82518690811415806113755750808514155b156113a0575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b805f036113b757506347c28ec560e11b91506114c9565b5f5b818110156114bc578481815181106113d3576113d3614d1f565b6020026020010151156114b4578686828181106113f2576113f2614d1f565b90506020020160208101906114079190614e91565b607d80546001600160601b031981166001600160601b03918216939093011691909117905586868281811061143e5761143e614d1f565b90506020020160208101906114539190614e91565b607e5f8b8b8581811061146857611468614d1f565b905060200201602081019061147d919061430a565b6001600160a01b0316815260208101919091526040015f2080546001600160601b0319166001600160601b03929092169190911790555b6001016113b9565b506347c28ec560e11b9250505b5095945050505050565b5f8281526073602052604081206110439083612eb6565b7f5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e461151481611fd7565b5f61152c61152736859003850185614f06565b612ec1565b905061154061152736859003850185614f06565b83355f908152607960205260409020541461156e5760405163f4b8742f60e01b815260040160405180910390fd5b82355f908152607a602052604090205460ff1661159e5760405163147bfe0760e01b815260040160405180910390fd5b82355f908152607a602052604090819020805460ff19169055517fd639511b37b3b002cca6cfe6bca0d833945a5af5a045578a0627fc43b79b2630906115e79083908690614fd7565b60405180910390a15f611600608085016060860161430a565b90505f6116156101208601610100870161505c565b600281111561162657611626614881565b036116ea575f61163f3686900386016101008701615075565b6001600160a01b0383165f908152603b602052604090205490915061166a9061014087013590612f88565b60408201525f6116833687900387016101008801615075565b604083015190915061169a9061014088013561508f565b60408201526074546116ba908390339086906001600160a01b0316612fa1565b6116e36116cd606088016040890161430a565b60745483919086906001600160a01b0316612fa1565b5050611726565b6117266116fd606086016040870161430a565b60745483906001600160a01b031661171e3689900389016101008a01615075565b929190612fa1565b7f21e88e956aa3e086f6388e899965cef814688f99ad8bb29b08d396571016372d8285604051611757929190614fd7565b60405180910390a150505050565b5f9182526072602090815260408084206001600160a01b0393909316845291905290205460ff1690565b611797611c6a565b5f8390036117b8576040516316ee9d3b60e11b815260040160405180910390fd5b610c39848484846129e6565b5f806117ce611c6a565b6117d884846128f3565b90925090506117e561299a565b9250929050565b5f6117f5612d59565b60375461180291906150a2565b60385461180f90846150a2565b101592915050565b61181f611c6a565b5f839003611840576040516316ee9d3b60e11b815260040160405180910390fd5b610c3984848484612ab7565b604080518082019091525f80825260208201526001600160a01b0382165f908152607860205260409081902081518083019092528054829060ff16600281111561189857611898614881565b60028111156118a9576118a9614881565b815290546001600160a01b03610100909104811660209283015290820151919250166118e857604051631b79f53b60e21b815260040160405180910390fd5b919050565b6118f5611c6a565b6118ff8282612852565b610da961299a565b5f600b61191381612e6b565b84838114611941575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b805f036119585750636242a4ef60e11b9150611a8a565b5f805b82811015611a3b5786868281811061197557611975614d1f565b905060200201602081019061198a91906150b9565b15611a3357607e5f8a8a848181106119a4576119a4614d1f565b90506020020160208101906119b9919061430a565b6001600160a01b0316815260208101919091526040015f908120546001600160601b03169290920191607e908a8a848181106119f7576119f7614d1f565b9050602002016020810190611a0c919061430a565b6001600160a01b0316815260208101919091526040015f2080546001600160601b03191690555b60010161195b565b50607d80548291905f90611a599084906001600160601b03166150d4565b92506101000a8154816001600160601b0302191690836001600160601b0316021790555063c48549de60e01b935050505b50949350505050565b5f818152607360205260408120610b76906131ca565b5f82815260726020526040902060010154611ac381611fd7565b610d2a8383612002565b611ad5611c6a565b610fd981612804565b5f611ae7612d59565b600154611af491906150a2565b60025461180f90846150a2565b5f7fdea3103d22025c269050bea94c0c84688877f12fa22b7e6d2d5d78a9a49aa1cb5f83600f811115611b3657611b36614881565b60ff16815260208101919091526040015f20546001600160a01b03169050806118e8578160405163409140df60e11b8152600401610bba9190615104565b611b7c611c6a565b5f869003611b9d576040516316ee9d3b60e11b815260040160405180910390fd5b611bab878787878787611d94565b611bb78787835f6111c8565b611bc487878360016111ee565b611bd18787836002611214565b611bde878783600361123a565b50505050505050565b611bef611c6a565b5f839003611c10576040516316ee9d3b60e11b815260040160405180910390fd5b610c3984848484612bc4565b611c246120e2565b611c2c614292565b338152604080820151349101528051610fd9908290612127565b5f6001600160e01b03198216630271189760e51b1480610b765750610b76826131d3565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103546001600160a01b03163314610b35575f356001600160e01b0319166001604051620f948f60ea1b8152600401610bba929190615112565b828114611cf0575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b83811015611d5e57828282818110611d0c57611d0c614d1f565b90506020020135603a5f878785818110611d2857611d28614d1f565b9050602002016020810190611d3d919061430a565b6001600160a01b0316815260208101919091526040015f2055600101611cf2565b507f64557254143204d91ba2d95acb9fda1e5fea55f77efd028685765bc1e94dd4b5848484846040516117579493929190615187565b8483148015611da257508481145b611dcc575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b85811015611eec57848482818110611de857611de8614d1f565b9050602002016020810190611dfd919061430a565b60785f898985818110611e1257611e12614d1f565b9050602002016020810190611e27919061430a565b6001600160a01b03908116825260208201929092526040015f208054610100600160a81b0319166101009390921692909202179055828282818110611e6e57611e6e614d1f565b9050602002016020810190611e83919061505c565b60785f898985818110611e9857611e98614d1f565b9050602002016020810190611ead919061430a565b6001600160a01b0316815260208101919091526040015f20805460ff19166001836002811115611edf57611edf614881565b0217905550600101611dce565b507fa4f03cc9c0e0aeb5b71b4ec800702753f65748c2cf3064695ba8e8b46be70444868686868686604051611f26969594939291906151d1565b60405180910390a1505050505050565b807fdea3103d22025c269050bea94c0c84688877f12fa22b7e6d2d5d78a9a49aa1cb5f84600f811115611f6b57611f6b614881565b60ff16815260208101919091526040015f2080546001600160a01b0319166001600160a01b03928316179055811682600f811115611fab57611fab614881565b6040517f865d1c228a8ea13709cfe61f346f7ff67f1bbd4a18ff31ad3e7147350d317c59905f90a35050565b610fd981336131f7565b611feb828261325b565b5f828152607360205260409020610d2a90826132e0565b61200c82826132f4565b5f828152607360205260409020610d2a908261335a565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103546001600160a01b031633148061206557506005546001600160a01b031633145b610b35575f356001600160e01b0319166001604051620f948f60ea1b8152600401610bba929190615112565b61209961336e565b5f805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b5f5460ff1615610b355760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610bba565b6040805180820182525f80825260208201526074549184015190916001600160a01b031690612155906133b6565b60208401516001600160a01b03166121f657348460400151604001511461218f5760405163129c2ce160e31b815260040160405180910390fd5b6121988161184c565b60408501515190925060028111156121b2576121b2614881565b825160028111156121c5576121c5614881565b146121e25760405162035e2b60ea1b815260040160405180910390fd5b6001600160a01b03811660208501526122fd565b34156122155760405163129c2ce160e31b815260040160405180910390fd5b612222846020015161184c565b604085015151909250600281111561223c5761223c614881565b8251600281111561224f5761224f614881565b1461226c5760405162035e2b60ea1b815260040160405180910390fd5b602084015160408501516122819185906133fa565b83602001516001600160a01b0316816001600160a01b0316036122fd576040848101518101519051632e1a7d4d60e01b815260048101919091526001600160a01b03821690632e1a7d4d906024015f604051808303815f87803b1580156122e6575f80fd5b505af11580156122f8573d5f803e3d5ffd5b505050505b607680545f918261230d83615240565b9190505590505f612333858386602001516075548a61356e90949392919063ffffffff16565b90507fd7b25068d9dc8d00765254cfb7f5070f98d263c8d68931d937c7362fa738048b61235f82612ec1565b82604051611f26929190615278565b5f823561014084013582612388608087016060880161430a565b90506123a56123a03688900388016101008901615075565b6133b6565b60016123b76040880160208901615313565b60018111156123c8576123c8614881565b146123e65760405163182f3d8760e11b815260040160405180910390fd5b608086013546146124275760405163092048d160e11b81525f356001600160e01b031916600482015260808701356024820152466044820152606401610bba565b5f61243b6109166080890160608a0161430a565b905061244f6101208801610100890161505c565b600281111561246057612460614881565b8151600281111561247357612473614881565b1480156124a4575061248b60e0880160c0890161430a565b6001600160a01b031681602001516001600160a01b0316145b80156124b5575060755460e0880135145b6124d25760405163f4b8742f60e01b815260040160405180910390fd5b5f84815260796020526040902054156124fe57604051634f13df6160e01b815260040160405180910390fd5b600161251261012089016101008a0161505c565b600281111561252357612523614881565b148061253657506125348284612c95565b155b6125535760405163c51297b760e01b815260040160405180910390fd5b5f612566611527368a90038a018a614f06565b90505f61257560775483613641565b90505f61259461258d6101208c016101008d0161505c565b8688613681565b604080516060810182525f80825260208201819052918101829052919a50919250819081905f805b8e518110156126d4578e81815181106125d7576125d7614d1f565b602002602001015192506125f888845f015185602001518660400151613702565b9450846001600160a01b0316846001600160a01b031610612639575f356001600160e01b031916604051635d3dcd3160e01b8152600401610bba9190614831565b6001600160a01b0385165f908152607e60205260408120548695506001600160601b0316908190036126ae5760408051634e97700760e01b81526001600160a01b038816600482015260248101839052855160ff1660448201526020860151606482015290850151608482015260a401610bba565b6126b8818461532c565b92508783106126cb5760019650506126d4565b506001016125bc565b50846126f357604051639e8f5f6360e01b815260040160405180910390fd5b5050505f8981526079602052604090208590555050871561276c575f878152607a602052604090819020805460ff19166001179055517f89e52969465b1f1866fc5d46fd62de953962e9cb33552443cd999eba05bd20dc906127589085908d90614fd7565b60405180910390a150505050505050610b76565b612776858761372a565b6127b461278960608c0160408d0161430a565b8660745f9054906101000a90046001600160a01b03168d6101000180360381019061171e9190615075565b7f21e88e956aa3e086f6388e899965cef814688f99ad8bb29b08d396571016372d838b6040516127e5929190614fd7565b60405180910390a15050505050505092915050565b610da98282611fe1565b607480546001600160a01b0319166001600160a01b0383169081179091556040519081527f9d2334c23be647e994f27a72c5eee42a43d5bdcfe15bb88e939103c2b114cbaf90602001610f74565b8082118061285e575080155b80612867575081155b15612892575f356001600160e01b0319166040516387f6f09560e01b8152600401610bba9190614831565b6001805460028054858455908490556004805493840190556040805183815260208101839052929391928592879290917f976f8a9c5bdf8248dec172376d6e2b80a8e3df2f0328e381c6db8e1cf138c0f8910160405180910390a450505050565b5f8082841180612901575083155b8061290a575082155b15612935575f356001600160e01b0319166040516387f6f09560e01b8152600401610bba9190614831565b5050603780546038805492859055839055600480546001810190915560408051838152602081018590529293928592879290917f31312c97b89cc751b832d98fd459b967a2c3eef3b49757d1cf5ebaa12bb6eee1910160405180910390a49250929050565b6002546037546129aa91906150a2565b6038546001546129ba91906150a2565b1115610b35575f356001600160e01b0319166040516387f6f09560e01b8152600401610bba9190614831565b828114612a13575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b83811015612a8157828282818110612a2f57612a2f614d1f565b9050602002013560395f878785818110612a4b57612a4b614d1f565b9050602002016020810190612a60919061430a565b6001600160a01b0316815260208101919091526040015f2055600101612a15565b507f80bc635c452ae67f12f9b6f12ad4daa6dbbc04eeb9ebb87d354ce10c0e210dc0848484846040516117579493929190615187565b828114612ae4575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b83811015612b8e57620f4240838383818110612b0457612b04614d1f565b905060200201351115612b2a5760405163572d3bd360e11b815260040160405180910390fd5b828282818110612b3c57612b3c614d1f565b90506020020135603b5f878785818110612b5857612b58614d1f565b9050602002016020810190612b6d919061430a565b6001600160a01b0316815260208101919091526040015f2055600101612ae6565b507fb05f5de88ae0294ebb6f67c5af2fcbbd593cc6bdfe543e2869794a4c8ce3ea50848484846040516117579493929190615187565b828114612bf1575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b83811015612c5f57828282818110612c0d57612c0d614d1f565b90506020020135603c5f878785818110612c2957612c29614d1f565b9050602002016020810190612c3e919061430a565b6001600160a01b0316815260208101919091526040015f2055600101612bf3565b507fb5d2963614d72181b4df1f993d45b83edf42fa19710f0204217ba1b3e183bb73848484846040516117579493929190615187565b6001600160a01b0382165f908152603a60205260408120548210612cba57505f610b76565b5f612cc8620151804261533f565b6001600160a01b0385165f908152603e6020526040902054909150811115612d0c5750506001600160a01b0382165f908152603c6020526040902054811015610b76565b6001600160a01b0384165f908152603d6020526040902054612d2f90849061532c565b6001600160a01b0385165f908152603c602052604090205411159150610b769050565b5092915050565b607d546001600160601b03165f819003612d93575f356001600160e01b031916604051631103b51560e31b8152600401610bba9190614831565b90565b5f600254600160025484600154612dad91906150a2565b612db7919061532c565b612dc1919061508f565b612dcb919061533f565b9050805f036118e8575f356001600160e01b03191660405163267b1b9160e01b8152600401610bba9190614831565b612e026120e2565b5f805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586120c53390565b806001600160a01b03163b5f03610fd957604051630bfc64a360e21b81526001600160a01b0382166004820152602401610bba565b612e7481611b01565b6001600160a01b0316336001600160a01b031614610fd9575f356001600160e01b03191681336040516320e0f98d60e21b8152600401610bba9392919061535e565b5f61104383836137b6565b5f80612ed083604001516137dc565b90505f612ee084606001516137dc565b90505f612f338560800151604080517f1e2b74b2a792d5c0f0b6e59b037fa9d43d84fbb759337f0112fcc15ca414fc8d815282516020808301919091528301518183015291015160608201526080902090565b604080517fb9d1fe7c9deeec5dc90a2f47ff1684239519f2545b2228d3d91fb27df3189eea815287516020808301919091529097015190870152606086019390935250608084015260a08301525060c0902090565b5f620f4240612f9783856150a2565b611043919061533f565b806001600160a01b0316826001600160a01b0316036130495760408085015190516001600160a01b0385169180156108fc02915f818181858888f1935050505061304457806001600160a01b031663d0e30db085604001516040518263ffffffff1660e01b81526004015f604051808303818588803b158015613022575f80fd5b505af1158015613034573d5f803e3d5ffd5b5050505050613044848484613824565b610c39565b5f8451600281111561305d5761305d614881565b03613120576040516370a0823160e01b81523060048201525f906001600160a01b038416906370a0823190602401602060405180830381865afa1580156130a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130ca9190615395565b9050846040015181101561310f576130f283308388604001516130ed919061508f565b6138a2565b61310f57604051632f739fff60e11b815260040160405180910390fd5b61311a858585613824565b50610c39565b60018451600281111561313557613135614881565b036131665761314982848660200151613942565b6130445760405163c8e3a09f60e01b815260040160405180910390fd5b60028451600281111561317b5761317b614881565b036131b157613194828486602001518760400151613968565b613044576040516334b471a760e21b815260040160405180910390fd5b6040516361e411a760e11b815260040160405180910390fd5b5f610b76825490565b5f6001600160e01b03198216635a05180f60e01b1480610b765750610b7682613990565b6132018282611765565b610da957613219816001600160a01b031660146139c4565b6132248360206139c4565b6040516020016132359291906153ce565b60408051601f198184030181529082905262461bcd60e51b8252610bba9160040161546d565b6132658282611765565b610da9575f8281526072602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561329c3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b5f611043836001600160a01b038416613b59565b6132fe8282611765565b15610da9575f8281526072602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b5f611043836001600160a01b038416613ba5565b5f5460ff16610b355760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610bba565b6133bf81613c88565b806133ce57506133ce81613cbd565b806133dd57506133dd81613ce4565b610fd95760405163034992a760e51b815260040160405180910390fd5b5f6060818551600281111561341157613411614881565b036134e85760408581015181516001600160a01b03878116602483015230604483015260648083019390935283518083039093018352608490910183526020820180516001600160e01b03166323b872dd60e01b179052915191851691613478919061547f565b5f604051808303815f865af19150503d805f81146134b1576040519150601f19603f3d011682016040523d82523d5f602084013e6134b6565b606091505b5090925090508180156134e15750805115806134e15750808060200190518101906134e1919061549a565b9150613541565b6001855160028111156134fd576134fd614881565b03613512576134e18385308860200151613d0c565b60028551600281111561352757613527614881565b036131b1576134e183853088602001518960400151613db5565b816135675784843085604051639d2e4c6760e01b8152600401610bba94939291906154b5565b5050505050565b6135dd6040805160a0810182525f8082526020808301829052835160608082018652838252818301849052818601849052848601919091528451808201865283815280830184905280860184905281850152845190810185528281529081018290529283015290608082015290565b8381525f6020820181905250604080820180516001600160a01b039788169052602080890151825190891690820152905146908301528751606084018051918916909152805195909716940193909352935182015292909201516080820152919050565b6040805161190160f01b60208083019190915260228201859052604280830185905283518084039091018152606290920190925280519101205f90611043565b5f805f61368c612d59565b905061369781612d96565b92505f8660028111156136ac576136ac614881565b036136f9576001600160a01b0385165f9081526039602052604090205484106136db576136d881613e64565b92505b6001600160a01b0385165f908152603a602052604090205484101591505b50935093915050565b5f805f61371187878787613ec8565b9150915061371e81613fad565b5090505b949350505050565b5f613738620151804261533f565b6001600160a01b0384165f908152603e6020526040902054909150811115613785576001600160a01b03929092165f908152603e6020908152604080832094909455603d90529190912055565b6001600160a01b0383165f908152603d6020526040812080548492906137ac90849061532c565b9091555050505050565b5f825f0182815481106137cb576137cb614d1f565b905f5260205f200154905092915050565b604080517f353bdd8d69b9e3185b3972e08b03845c0c14a21a390215302776a7a34b0e8764815282516020808301919091528301518183015291015160608201526080902090565b5f808451600281111561383957613839614881565b036138545761384d82848660400151614162565b905061387e565b60018451600281111561386957613869614881565b036131b15761384d8230858760200151613d0c565b80610c39578383836040516341bd7d9160e11b8152600401610bba939291906154eb565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b03166340c10f1960e01b17905291515f928616916138f99161547f565b5f604051808303815f865af19150503d805f8114613932576040519150601f19603f3d011682016040523d82523d5f602084013e613937565b606091505b509095945050505050565b5f61394f84308585613d0c565b905080611043576139618484846138a2565b9050611043565b5f6139768530868686613db5565b9050806137225761398985858585614230565b9050613722565b5f6001600160e01b03198216637965db0b60e01b1480610b7657506301ffc9a760e01b6001600160e01b0319831614610b76565b60605f6139d28360026150a2565b6139dd90600261532c565b6001600160401b038111156139f4576139f46146a8565b6040519080825280601f01601f191660200182016040528015613a1e576020820181803683370190505b509050600360fc1b815f81518110613a3857613a38614d1f565b60200101906001600160f81b03191690815f1a905350600f60fb1b81600181518110613a6657613a66614d1f565b60200101906001600160f81b03191690815f1a9053505f613a888460026150a2565b613a9390600161532c565b90505b6001811115613b0a576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110613ac757613ac7614d1f565b1a60f81b828281518110613add57613add614d1f565b60200101906001600160f81b03191690815f1a90535060049490941c93613b038161551b565b9050613a96565b5083156110435760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610bba565b5f818152600183016020526040812054613b9e57508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610b76565b505f610b76565b5f8181526001830160205260408120548015613c7f575f613bc760018361508f565b85549091505f90613bda9060019061508f565b9050818114613c39575f865f018281548110613bf857613bf8614d1f565b905f5260205f200154905080875f018481548110613c1857613c18614d1f565b5f918252602080832090910192909255918252600188019052604090208390555b8554869080613c4a57613c4a615530565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f905560019350505050610b76565b5f915050610b76565b5f8082516002811115613c9d57613c9d614881565b148015613cad57505f8260400151115b8015610b76575050602001511590565b5f600182516002811115613cd357613cd3614881565b148015610b76575050604001511590565b5f600282516002811115613cfa57613cfa614881565b148015610b7657505060400151151590565b604080516001600160a01b0385811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180516001600160e01b03166323b872dd60e01b17905291515f92871691613d6b9161547f565b5f604051808303815f865af19150503d805f8114613da4576040519150601f19603f3d011682016040523d82523d5f602084013e613da9565b606091505b50909695505050505050565b604080515f808252602082019092526001600160a01b03871690613de490879087908790879060448101615544565b60408051601f198184030181529181526020820180516001600160e01b0316637921219560e11b17905251613e19919061547f565b5f604051808303815f865af19150503d805f8114613e52576040519150601f19603f3d011682016040523d82523d5f602084013e613e57565b606091505b5090979650505050505050565b5f603854600160385484603754613e7b91906150a2565b613e85919061532c565b613e8f919061508f565b613e99919061533f565b9050805f036118e8575f356001600160e01b031916604051639b974b0f60e01b8152600401610bba9190614831565b5f807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115613efd57505f90506003613fa4565b8460ff16601b14158015613f1557508460ff16601c14155b15613f2557505f90506004613fa4565b604080515f8082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015613f76573d5f803e3d5ffd5b5050604051601f1901519150506001600160a01b038116613f9e575f60019250925050613fa4565b91505f90505b94509492505050565b5f816004811115613fc057613fc0614881565b03613fc85750565b6001816004811115613fdc57613fdc614881565b036140295760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610bba565b600281600481111561403d5761403d614881565b0361408a5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610bba565b600381600481111561409e5761409e614881565b036140f65760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610bba565b600481600481111561410a5761410a614881565b03610fd95760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610bba565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663a9059cbb60e01b17905291515f92606092908716916141be919061547f565b5f604051808303815f865af19150503d805f81146141f7576040519150601f19603f3d011682016040523d82523d5f602084013e6141fc565b606091505b509092509050818015614227575080511580614227575080806020019051810190614227919061549a565b95945050505050565b604080515f808252602082019092526001600160a01b0386169061425d9086908690869060448101615588565b60408051601f198184030181529181526020820180516001600160e01b031663731133e960e01b17905251613d6b919061547f565b604080516060810182525f80825260208201529081016142ca6040805160608101909152805f81526020015f81526020015f81525090565b905290565b5f602082840312156142df575f80fd5b81356001600160e01b031981168114611043575f80fd5b6001600160a01b0381168114610fd9575f80fd5b5f6020828403121561431a575f80fd5b8135611043816142f6565b5f8083601f840112614335575f80fd5b5081356001600160401b0381111561434b575f80fd5b6020830191508360208260051b85010111156117e5575f80fd5b5f805f8060408587031215614378575f80fd5b84356001600160401b038082111561438e575f80fd5b61439a88838901614325565b909650945060208701359150808211156143b2575f80fd5b506143bf87828801614325565b95989497509550505050565b5f805f805f80606087890312156143e0575f80fd5b86356001600160401b03808211156143f6575f80fd5b6144028a838b01614325565b9098509650602089013591508082111561441a575f80fd5b6144268a838b01614325565b9096509450604089013591508082111561443e575f80fd5b5061444b89828a01614325565b979a9699509497509295939492505050565b80356118e8816142f6565b5f60208284031215614478575f80fd5b5035919050565b5f8060408385031215614490575f80fd5b8235915060208301356144a2816142f6565b809150509250929050565b5f60a082840312156144bd575f80fd5b50919050565b5f61016082840312156144bd575f80fd5b5f805f61018084860312156144e7575f80fd5b6144f185856144c3565b92506101608401356001600160401b038082111561450d575f80fd5b818601915086601f830112614520575f80fd5b81358181111561452e575f80fd5b876020606083028501011115614542575f80fd5b6020830194508093505050509250925092565b8060608101831015610b76575f80fd5b8060808101831015610b76575f80fd5b5f805f805f805f805f806101208b8d03121561458f575f80fd5b6145988b61445d565b99506145a660208c0161445d565b985060408b0135975060608b0135965060808b0135955060a08b0135945060c08b01356001600160401b03808211156145dd575f80fd5b6145e98e838f01614555565b955060e08d01359150808211156145fe575f80fd5b61460a8e838f01614565565b94506101008d0135915080821115614620575f80fd5b5061462d8d828e01614325565b915080935050809150509295989b9194979a5092959850565b5f8060408385031215614657575f80fd5b8235614662816142f6565b946020939093013593505050565b8035601081106118e8575f80fd5b5f806040838503121561468f575f80fd5b61469883614670565b915060208301356144a2816142f6565b634e487b7160e01b5f52604160045260245ffd5b604051606081016001600160401b03811182821017156146de576146de6146a8565b60405290565b604051601f8201601f191681016001600160401b038111828210171561470c5761470c6146a8565b604052919050565b5f6001600160401b0382111561472c5761472c6146a8565b5060051b60200190565b8015158114610fd9575f80fd5b5f805f805f60608688031215614757575f80fd5b85356001600160401b038082111561476d575f80fd5b61477989838a01614325565b9097509550602091508782013581811115614792575f80fd5b61479e8a828b01614325565b9096509450506040880135818111156147b5575f80fd5b88019050601f810189136147c7575f80fd5b80356147da6147d582614714565b6146e4565b81815260059190911b8201830190838101908b8311156147f8575f80fd5b928401925b8284101561481f57833561481081614736565b825292840192908401906147fd565b80955050505050509295509295909350565b6001600160e01b031991909116815260200190565b5f8060408385031215614857575f80fd5b50508035926020909101359150565b5f6101608284031215614877575f80fd5b61104383836144c3565b634e487b7160e01b5f52602160045260245ffd5b600381106148a5576148a5614881565b9052565b5f6040820190506148bb828451614895565b6020928301516001600160a01b0316919092015290565b5f82601f8301126148e1575f80fd5b813560206148f16147d583614714565b8083825260208201915060208460051b870101935086841115614912575f80fd5b602086015b8481101561492e5780358352918301918301614917565b509695505050505050565b5f82601f830112614948575f80fd5b81356001600160401b03811115614961576149616146a8565b614974601f8201601f19166020016146e4565b818152846020838601011115614988575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f805f60a086880312156149b8575f80fd5b85356149c3816142f6565b945060208601356149d3816142f6565b935060408601356001600160401b03808211156149ee575f80fd5b6149fa89838a016148d2565b94506060880135915080821115614a0f575f80fd5b614a1b89838a016148d2565b93506080880135915080821115614a30575f80fd5b50614a3d88828901614939565b9150509295509295909350565b5f60208284031215614a5a575f80fd5b61104382614670565b5f805f805f805f6080888a031215614a79575f80fd5b87356001600160401b0380821115614a8f575f80fd5b614a9b8b838c01614325565b909950975060208a0135915080821115614ab3575f80fd5b614abf8b838c01614325565b909750955060408a0135915080821115614ad7575f80fd5b614ae38b838c01614325565b909550935060608a0135915080821115614afb575f80fd5b50614b088a828b01614565565b91505092959891949750929550565b5f805f805f60a08688031215614b2b575f80fd5b8535614b36816142f6565b94506020860135614b46816142f6565b9350604086013592506060860135915060808601356001600160401b03811115614b6e575f80fd5b614a3d88828901614939565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b5f82601f830112614bd7575f80fd5b81516020614be76147d583614714565b8083825260208201915060208460051b870101935086841115614c08575f80fd5b602086015b8481101561492e578051614c20816142f6565b8352918301918301614c0d565b6001600160601b0381168114610fd9575f80fd5b5f805f60608486031215614c53575f80fd5b83516001600160401b0380821115614c69575f80fd5b614c7587838801614bc8565b9450602091508186015181811115614c8b575f80fd5b614c9788828901614bc8565b945050604086015181811115614cab575f80fd5b86019050601f81018713614cbd575f80fd5b8051614ccb6147d582614714565b81815260059190911b82018301908381019089831115614ce9575f80fd5b928401925b82841015614d10578351614d0181614c2d565b82529284019290840190614cee565b80955050505050509250925092565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b6001600160601b03818116838216019080821115612d5257612d52614d33565b8035600381106118e8575f80fd5b5f60608284031215614d85575f80fd5b614d8d6146bc565b9050614d9882614d67565b8152602082013560208201526040820135604082015292915050565b5f60a08284031215614dc4575f80fd5b614dcc6146bc565b8235614dd7816142f6565b81526020830135614de7816142f6565b6020820152614df98460408501614d75565b60408201529392505050565b5f60608284031215614e15575f80fd5b614e1d6146bc565b823560ff81168114614e2d575f80fd5b8152602083810135908201526040928301359281019290925250919050565b5f808335601e19843603018112614e61575f80fd5b8301803591506001600160401b03821115614e7a575f80fd5b6020019150600581901b36038213156117e5575f80fd5b5f60208284031215614ea1575f80fd5b813561104381614c2d565b8035600281106118e8575f80fd5b5f60608284031215614eca575f80fd5b614ed26146bc565b90508135614edf816142f6565b81526020820135614eef816142f6565b806020830152506040820135604082015292915050565b5f6101608284031215614f17575f80fd5b60405160a081018181106001600160401b0382111715614f3957614f396146a8565b60405282358152614f4c60208401614eac565b6020820152614f5e8460408501614eba565b6040820152614f708460a08501614eba565b6060820152614f83846101008501614d75565b60808201529392505050565b600281106148a5576148a5614881565b8035614faa816142f6565b6001600160a01b039081168352602082013590614fc6826142f6565b166020830152604090810135910152565b5f6101808201905083825282356020830152614ff560208401614eac565b6150026040840182614f8f565b506150136060830160408501614f9f565b61502360c0830160a08501614f9f565b61012061503e8184016150396101008701614d67565b614895565b61014081850135818501528085013561016085015250509392505050565b5f6020828403121561506c575f80fd5b61104382614d67565b5f60608284031215615085575f80fd5b6110438383614d75565b81810381811115610b7657610b76614d33565b8082028115828204841417610b7657610b76614d33565b5f602082840312156150c9575f80fd5b813561104381614736565b6001600160601b03828116828216039080821115612d5257612d52614d33565b601081106148a5576148a5614881565b60208101610b7682846150f4565b6001600160e01b03198316815260408101600b831061513357615133614881565b8260208301529392505050565b8183525f60208085019450825f5b8581101561517c578135615161816142f6565b6001600160a01b03168752958201959082019060010161514e565b509495945050505050565b604081525f61519a604083018688615140565b82810360208401528381526001600160fb1b038411156151b8575f80fd5b8360051b80866020840137016020019695505050505050565b606081525f6151e460608301888a615140565b602083820360208501526151f982888a615140565b84810360408601528581528692506020015f5b86811015615231576152218261503986614d67565b928201929082019060010161520c565b509a9950505050505050505050565b5f6001820161525157615251614d33565b5060010190565b615263828251614895565b60208181015190830152604090810151910152565b5f6101808201905083825282516020830152602083015161529c6040840182614f8f565b5060408381015180516001600160a01b03908116606086015260208201511660808501529081015160a084015250606083015180516001600160a01b0390811660c085015260208201511660e0840152604081015161010084015250608083015161530b610120840182615258565b509392505050565b5f60208284031215615323575f80fd5b61104382614eac565b80820180821115610b7657610b76614d33565b5f8261535957634e487b7160e01b5f52601260045260245ffd5b500490565b6001600160e01b0319841681526060810161537c60208301856150f4565b6001600160a01b03929092166040919091015292915050565b5f602082840312156153a5575f80fd5b5051919050565b5f5b838110156153c65781810151838201526020016153ae565b50505f910152565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081525f83516154058160178501602088016153ac565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516154368160288401602088016153ac565b01602801949350505050565b5f81518084526154598160208601602086016153ac565b601f01601f19169290920160200192915050565b602081525f6110436020830184615442565b5f82516154908184602087016153ac565b9190910192915050565b5f602082840312156154aa575f80fd5b815161104381614736565b60c081016154c38287615258565b6001600160a01b0394851660608301529284166080820152921660a090920191909152919050565b60a081016154f98286615258565b6001600160a01b03938416606083015291909216608090920191909152919050565b5f8161552957615529614d33565b505f190190565b634e487b7160e01b5f52603160045260245ffd5b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190525f9061557d90830184615442565b979650505050505050565b60018060a01b0385168152836020820152826040820152608060608201525f6155b46080830184615442565b969550505050505056fe7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498a2646970667358221220827c27eb9c0e782e11cbede65a649bc4e28189cba6c89b3275f6ddb6d70f18bc64736f6c63430008170033", + "nonce": "0x1", + "chainId": "0x1" + }, + "additionalContracts": [], + "isFixedGasLimit": false + } + ], + "receipts": [ + { + "status": "0x1", + "cumulativeGasUsed": "0x10f2cb9", + "logs": [ + { + "address": "0xd6c4986bbe09f2ddb262b4611b0ba06891be605e", + "topics": [ + "0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000ff", + "blockHash": "0x9b7b65bf54e125a298f199c8d1e278844cd3408b94e03c99afec8d8571e2c8b2", + "blockNumber": "0x13aa003", + "transactionHash": "0xb46649f3454e21905c10985faaa39a90f7f2301a00580fe1339855502f66133e", + "transactionIndex": "0x6c", + "logIndex": "0x16a", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000004000000000000000080000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "type": "0x2", + "transactionHash": "0xb46649f3454e21905c10985faaa39a90f7f2301a00580fe1339855502f66133e", + "transactionIndex": "0x6c", + "blockHash": "0x9b7b65bf54e125a298f199c8d1e278844cd3408b94e03c99afec8d8571e2c8b2", + "blockNumber": "0x13aa003", + "gasUsed": "0x49f9c1", + "effectiveGasPrice": "0x41f51fcc", + "from": "0xf35f15c6d41e391bacb71f60b45f4e785cfe6da7", + "to": null, + "contractAddress": "0xd6c4986bbe09f2ddb262b4611b0ba06891be605e" + } + ], + "libraries": [], + "pending": [], + "returns": {}, + "timestamp": 1724753858, + "chain": 1, + "commit": "06042a6" +} \ No newline at end of file diff --git a/deployments/ethereum/MainchainGatewayV3Logic.json b/deployments/ethereum/MainchainGatewayV3Logic.json index e3459d29..ac1b71c7 100644 --- a/deployments/ethereum/MainchainGatewayV3Logic.json +++ b/deployments/ethereum/MainchainGatewayV3Logic.json @@ -1,22 +1,22 @@ { - "abi": "[{\"type\":\"constructor\",\"inputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"fallback\",\"stateMutability\":\"payable\"},{\"type\":\"receive\",\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"DEFAULT_ADMIN_ROLE\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"DOMAIN_SEPARATOR\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"WITHDRAWAL_UNLOCKER_ROLE\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"_MAX_PERCENTAGE\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"checkHighTierVoteWeightThreshold\",\"inputs\":[{\"name\":\"_voteWeight\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"checkThreshold\",\"inputs\":[{\"name\":\"_voteWeight\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"dailyWithdrawalLimit\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"depositCount\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"emergencyPauser\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getContract\",\"inputs\":[{\"name\":\"contractType\",\"type\":\"uint8\",\"internalType\":\"enum ContractType\"}],\"outputs\":[{\"name\":\"contract_\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getHighTierVoteWeightThreshold\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getRoleAdmin\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getRoleMember\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"index\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getRoleMemberCount\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getRoninToken\",\"inputs\":[{\"name\":\"mainchainToken\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"token\",\"type\":\"tuple\",\"internalType\":\"struct MappedTokenConsumer.MappedToken\",\"components\":[{\"name\":\"erc\",\"type\":\"uint8\",\"internalType\":\"enum TokenStandard\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"}]}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getThreshold\",\"inputs\":[],\"outputs\":[{\"name\":\"num_\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"denom_\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"grantRole\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"hasRole\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"highTierThreshold\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"initialize\",\"inputs\":[{\"name\":\"_roleSetter\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_wrappedToken\",\"type\":\"address\",\"internalType\":\"contract IWETH\"},{\"name\":\"_roninChainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_numerator\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_highTierVWNumerator\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_denominator\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_addresses\",\"type\":\"address[][3]\",\"internalType\":\"address[][3]\"},{\"name\":\"_thresholds\",\"type\":\"uint256[][4]\",\"internalType\":\"uint256[][4]\"},{\"name\":\"_standards\",\"type\":\"uint8[]\",\"internalType\":\"enum TokenStandard[]\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"initializeV2\",\"inputs\":[{\"name\":\"bridgeManagerContract\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"initializeV3\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"initializeV4\",\"inputs\":[{\"name\":\"wethUnwrapper_\",\"type\":\"address\",\"internalType\":\"address payable\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"lastDateSynced\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"lastSyncedWithdrawal\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"lockedThreshold\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"mapTokens\",\"inputs\":[{\"name\":\"_mainchainTokens\",\"type\":\"address[]\",\"internalType\":\"address[]\"},{\"name\":\"_roninTokens\",\"type\":\"address[]\",\"internalType\":\"address[]\"},{\"name\":\"_standards\",\"type\":\"uint8[]\",\"internalType\":\"enum TokenStandard[]\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"mapTokensAndThresholds\",\"inputs\":[{\"name\":\"_mainchainTokens\",\"type\":\"address[]\",\"internalType\":\"address[]\"},{\"name\":\"_roninTokens\",\"type\":\"address[]\",\"internalType\":\"address[]\"},{\"name\":\"_standards\",\"type\":\"uint8[]\",\"internalType\":\"enum TokenStandard[]\"},{\"name\":\"_thresholds\",\"type\":\"uint256[][4]\",\"internalType\":\"uint256[][4]\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"minimumVoteWeight\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"nonce\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"onBridgeOperatorsAdded\",\"inputs\":[{\"name\":\"operators\",\"type\":\"address[]\",\"internalType\":\"address[]\"},{\"name\":\"weights\",\"type\":\"uint96[]\",\"internalType\":\"uint96[]\"},{\"name\":\"addeds\",\"type\":\"bool[]\",\"internalType\":\"bool[]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onBridgeOperatorsRemoved\",\"inputs\":[{\"name\":\"operators\",\"type\":\"address[]\",\"internalType\":\"address[]\"},{\"name\":\"removeds\",\"type\":\"bool[]\",\"internalType\":\"bool[]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onERC1155BatchReceived\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"},{\"name\":\"\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"},{\"name\":\"\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onERC1155Received\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"pause\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"paused\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"reachedWithdrawalLimit\",\"inputs\":[{\"name\":\"_token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_quantity\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"receiveEther\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"renounceRole\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"requestDepositFor\",\"inputs\":[{\"name\":\"_request\",\"type\":\"tuple\",\"internalType\":\"struct Transfer.Request\",\"components\":[{\"name\":\"recipientAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"info\",\"type\":\"tuple\",\"internalType\":\"struct TokenInfo\",\"components\":[{\"name\":\"erc\",\"type\":\"uint8\",\"internalType\":\"enum TokenStandard\"},{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"quantity\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}]}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"requestDepositForBatch\",\"inputs\":[{\"name\":\"_requests\",\"type\":\"tuple[]\",\"internalType\":\"struct Transfer.Request[]\",\"components\":[{\"name\":\"recipientAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"info\",\"type\":\"tuple\",\"internalType\":\"struct TokenInfo\",\"components\":[{\"name\":\"erc\",\"type\":\"uint8\",\"internalType\":\"enum TokenStandard\"},{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"quantity\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}]}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"revokeRole\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"roninChainId\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"setContract\",\"inputs\":[{\"name\":\"contractType\",\"type\":\"uint8\",\"internalType\":\"enum ContractType\"},{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setDailyWithdrawalLimits\",\"inputs\":[{\"name\":\"_tokens\",\"type\":\"address[]\",\"internalType\":\"address[]\"},{\"name\":\"_limits\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setEmergencyPauser\",\"inputs\":[{\"name\":\"_addr\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setHighTierThresholds\",\"inputs\":[{\"name\":\"_tokens\",\"type\":\"address[]\",\"internalType\":\"address[]\"},{\"name\":\"_thresholds\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setHighTierVoteWeightThreshold\",\"inputs\":[{\"name\":\"_numerator\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_denominator\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"_previousNum\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_previousDenom\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setLockedThresholds\",\"inputs\":[{\"name\":\"_tokens\",\"type\":\"address[]\",\"internalType\":\"address[]\"},{\"name\":\"_thresholds\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setThreshold\",\"inputs\":[{\"name\":\"num\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"denom\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setUnlockFeePercentages\",\"inputs\":[{\"name\":\"_tokens\",\"type\":\"address[]\",\"internalType\":\"address[]\"},{\"name\":\"_percentages\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setWrappedNativeTokenContract\",\"inputs\":[{\"name\":\"_wrappedToken\",\"type\":\"address\",\"internalType\":\"contract IWETH\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"submitWithdrawal\",\"inputs\":[{\"name\":\"_receipt\",\"type\":\"tuple\",\"internalType\":\"struct Transfer.Receipt\",\"components\":[{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"kind\",\"type\":\"uint8\",\"internalType\":\"enum Transfer.Kind\"},{\"name\":\"mainchain\",\"type\":\"tuple\",\"internalType\":\"struct TokenOwner\",\"components\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"ronin\",\"type\":\"tuple\",\"internalType\":\"struct TokenOwner\",\"components\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"info\",\"type\":\"tuple\",\"internalType\":\"struct TokenInfo\",\"components\":[{\"name\":\"erc\",\"type\":\"uint8\",\"internalType\":\"enum TokenStandard\"},{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"quantity\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}]},{\"name\":\"_signatures\",\"type\":\"tuple[]\",\"internalType\":\"struct SignatureConsumer.Signature[]\",\"components\":[{\"name\":\"v\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"r\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"s\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]}],\"outputs\":[{\"name\":\"_locked\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"supportsInterface\",\"inputs\":[{\"name\":\"interfaceId\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"unlockFeePercentages\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"unlockWithdrawal\",\"inputs\":[{\"name\":\"receipt\",\"type\":\"tuple\",\"internalType\":\"struct Transfer.Receipt\",\"components\":[{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"kind\",\"type\":\"uint8\",\"internalType\":\"enum Transfer.Kind\"},{\"name\":\"mainchain\",\"type\":\"tuple\",\"internalType\":\"struct TokenOwner\",\"components\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"ronin\",\"type\":\"tuple\",\"internalType\":\"struct TokenOwner\",\"components\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"info\",\"type\":\"tuple\",\"internalType\":\"struct TokenInfo\",\"components\":[{\"name\":\"erc\",\"type\":\"uint8\",\"internalType\":\"enum TokenStandard\"},{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"quantity\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}]}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"unpause\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"wethUnwrapper\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contract WethUnwrapper\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"withdrawalHash\",\"inputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"withdrawalLocked\",\"inputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"wrappedNativeToken\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contract IWETH\"}],\"stateMutability\":\"view\"},{\"type\":\"event\",\"name\":\"ContractUpdated\",\"inputs\":[{\"name\":\"contractType\",\"type\":\"uint8\",\"indexed\":true,\"internalType\":\"enum ContractType\"},{\"name\":\"addr\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"DailyWithdrawalLimitsUpdated\",\"inputs\":[{\"name\":\"tokens\",\"type\":\"address[]\",\"indexed\":false,\"internalType\":\"address[]\"},{\"name\":\"limits\",\"type\":\"uint256[]\",\"indexed\":false,\"internalType\":\"uint256[]\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"DepositRequested\",\"inputs\":[{\"name\":\"receiptHash\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"},{\"name\":\"receipt\",\"type\":\"tuple\",\"indexed\":false,\"internalType\":\"struct Transfer.Receipt\",\"components\":[{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"kind\",\"type\":\"uint8\",\"internalType\":\"enum Transfer.Kind\"},{\"name\":\"mainchain\",\"type\":\"tuple\",\"internalType\":\"struct TokenOwner\",\"components\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"ronin\",\"type\":\"tuple\",\"internalType\":\"struct TokenOwner\",\"components\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"info\",\"type\":\"tuple\",\"internalType\":\"struct TokenInfo\",\"components\":[{\"name\":\"erc\",\"type\":\"uint8\",\"internalType\":\"enum TokenStandard\"},{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"quantity\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}]}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"HighTierThresholdsUpdated\",\"inputs\":[{\"name\":\"tokens\",\"type\":\"address[]\",\"indexed\":false,\"internalType\":\"address[]\"},{\"name\":\"thresholds\",\"type\":\"uint256[]\",\"indexed\":false,\"internalType\":\"uint256[]\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"HighTierVoteWeightThresholdUpdated\",\"inputs\":[{\"name\":\"nonce\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"numerator\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"denominator\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"previousNumerator\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"previousDenominator\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Initialized\",\"inputs\":[{\"name\":\"version\",\"type\":\"uint8\",\"indexed\":false,\"internalType\":\"uint8\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"LockedThresholdsUpdated\",\"inputs\":[{\"name\":\"tokens\",\"type\":\"address[]\",\"indexed\":false,\"internalType\":\"address[]\"},{\"name\":\"thresholds\",\"type\":\"uint256[]\",\"indexed\":false,\"internalType\":\"uint256[]\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Paused\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"RoleAdminChanged\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"previousAdminRole\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"newAdminRole\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"RoleGranted\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"sender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"RoleRevoked\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"sender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ThresholdUpdated\",\"inputs\":[{\"name\":\"nonce\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"numerator\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"denominator\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"previousNumerator\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"previousDenominator\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"TokenMapped\",\"inputs\":[{\"name\":\"mainchainTokens\",\"type\":\"address[]\",\"indexed\":false,\"internalType\":\"address[]\"},{\"name\":\"roninTokens\",\"type\":\"address[]\",\"indexed\":false,\"internalType\":\"address[]\"},{\"name\":\"standards\",\"type\":\"uint8[]\",\"indexed\":false,\"internalType\":\"enum TokenStandard[]\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"UnlockFeePercentagesUpdated\",\"inputs\":[{\"name\":\"tokens\",\"type\":\"address[]\",\"indexed\":false,\"internalType\":\"address[]\"},{\"name\":\"percentages\",\"type\":\"uint256[]\",\"indexed\":false,\"internalType\":\"uint256[]\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Unpaused\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"WithdrawalLocked\",\"inputs\":[{\"name\":\"receiptHash\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"},{\"name\":\"receipt\",\"type\":\"tuple\",\"indexed\":false,\"internalType\":\"struct Transfer.Receipt\",\"components\":[{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"kind\",\"type\":\"uint8\",\"internalType\":\"enum Transfer.Kind\"},{\"name\":\"mainchain\",\"type\":\"tuple\",\"internalType\":\"struct TokenOwner\",\"components\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"ronin\",\"type\":\"tuple\",\"internalType\":\"struct TokenOwner\",\"components\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"info\",\"type\":\"tuple\",\"internalType\":\"struct TokenInfo\",\"components\":[{\"name\":\"erc\",\"type\":\"uint8\",\"internalType\":\"enum TokenStandard\"},{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"quantity\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}]}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"WithdrawalUnlocked\",\"inputs\":[{\"name\":\"receiptHash\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"},{\"name\":\"receipt\",\"type\":\"tuple\",\"indexed\":false,\"internalType\":\"struct Transfer.Receipt\",\"components\":[{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"kind\",\"type\":\"uint8\",\"internalType\":\"enum Transfer.Kind\"},{\"name\":\"mainchain\",\"type\":\"tuple\",\"internalType\":\"struct TokenOwner\",\"components\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"ronin\",\"type\":\"tuple\",\"internalType\":\"struct TokenOwner\",\"components\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"info\",\"type\":\"tuple\",\"internalType\":\"struct TokenInfo\",\"components\":[{\"name\":\"erc\",\"type\":\"uint8\",\"internalType\":\"enum TokenStandard\"},{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"quantity\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}]}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Withdrew\",\"inputs\":[{\"name\":\"receiptHash\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"},{\"name\":\"receipt\",\"type\":\"tuple\",\"indexed\":false,\"internalType\":\"struct Transfer.Receipt\",\"components\":[{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"kind\",\"type\":\"uint8\",\"internalType\":\"enum Transfer.Kind\"},{\"name\":\"mainchain\",\"type\":\"tuple\",\"internalType\":\"struct TokenOwner\",\"components\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"ronin\",\"type\":\"tuple\",\"internalType\":\"struct TokenOwner\",\"components\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"info\",\"type\":\"tuple\",\"internalType\":\"struct TokenInfo\",\"components\":[{\"name\":\"erc\",\"type\":\"uint8\",\"internalType\":\"enum TokenStandard\"},{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"quantity\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}]}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"WrappedNativeTokenContractUpdated\",\"inputs\":[{\"name\":\"weth\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"contract IWETH\"}],\"anonymous\":false},{\"type\":\"error\",\"name\":\"ErrContractTypeNotFound\",\"inputs\":[{\"name\":\"contractType\",\"type\":\"uint8\",\"internalType\":\"enum ContractType\"}]},{\"type\":\"error\",\"name\":\"ErrERC1155MintingFailed\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrERC20MintingFailed\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrERC721MintingFailed\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrEmptyArray\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrInvalidChainId\",\"inputs\":[{\"name\":\"msgSig\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"},{\"name\":\"actual\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"expected\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"ErrInvalidInfo\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrInvalidOrder\",\"inputs\":[{\"name\":\"msgSig\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}]},{\"type\":\"error\",\"name\":\"ErrInvalidPercentage\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrInvalidReceipt\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrInvalidReceiptKind\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrInvalidRequest\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrInvalidThreshold\",\"inputs\":[{\"name\":\"msgSig\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}]},{\"type\":\"error\",\"name\":\"ErrInvalidTokenStandard\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrLengthMismatch\",\"inputs\":[{\"name\":\"msgSig\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}]},{\"type\":\"error\",\"name\":\"ErrQueryForApprovedWithdrawal\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrQueryForInsufficientVoteWeight\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrQueryForProcessedWithdrawal\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrReachedDailyWithdrawalLimit\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrTokenCouldNotTransfer\",\"inputs\":[{\"name\":\"tokenInfo\",\"type\":\"tuple\",\"internalType\":\"struct TokenInfo\",\"components\":[{\"name\":\"erc\",\"type\":\"uint8\",\"internalType\":\"enum TokenStandard\"},{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"quantity\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ErrTokenCouldNotTransferFrom\",\"inputs\":[{\"name\":\"tokenInfo\",\"type\":\"tuple\",\"internalType\":\"struct TokenInfo\",\"components\":[{\"name\":\"erc\",\"type\":\"uint8\",\"internalType\":\"enum TokenStandard\"},{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"quantity\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ErrUnauthorized\",\"inputs\":[{\"name\":\"msgSig\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"},{\"name\":\"expectedRole\",\"type\":\"uint8\",\"internalType\":\"enum RoleAccess\"}]},{\"type\":\"error\",\"name\":\"ErrUnexpectedInternalCall\",\"inputs\":[{\"name\":\"msgSig\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"},{\"name\":\"expectedContractType\",\"type\":\"uint8\",\"internalType\":\"enum ContractType\"},{\"name\":\"actual\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ErrUnsupportedStandard\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrUnsupportedToken\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrZeroCodeContract\",\"inputs\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"}]}]", + "abi": "[{\"type\":\"constructor\",\"inputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"fallback\",\"stateMutability\":\"payable\"},{\"type\":\"receive\",\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"DEFAULT_ADMIN_ROLE\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"DOMAIN_SEPARATOR\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"WITHDRAWAL_UNLOCKER_ROLE\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"_MAX_PERCENTAGE\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"checkHighTierVoteWeightThreshold\",\"inputs\":[{\"name\":\"_voteWeight\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"checkThreshold\",\"inputs\":[{\"name\":\"_voteWeight\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"dailyWithdrawalLimit\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"depositCount\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"emergencyPauser\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getContract\",\"inputs\":[{\"name\":\"contractType\",\"type\":\"uint8\",\"internalType\":\"enum ContractType\"}],\"outputs\":[{\"name\":\"contract_\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getHighTierVoteWeightThreshold\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getRoleAdmin\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getRoleMember\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"index\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getRoleMemberCount\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getRoninToken\",\"inputs\":[{\"name\":\"mainchainToken\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"token\",\"type\":\"tuple\",\"internalType\":\"struct MappedTokenConsumer.MappedToken\",\"components\":[{\"name\":\"erc\",\"type\":\"uint8\",\"internalType\":\"enum TokenStandard\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"}]}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getThreshold\",\"inputs\":[],\"outputs\":[{\"name\":\"num_\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"denom_\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"grantRole\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"hasRole\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"highTierThreshold\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"initialize\",\"inputs\":[{\"name\":\"_roleSetter\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_wrappedToken\",\"type\":\"address\",\"internalType\":\"contract IWETH\"},{\"name\":\"_roninChainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_numerator\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_highTierVWNumerator\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_denominator\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_addresses\",\"type\":\"address[][3]\",\"internalType\":\"address[][3]\"},{\"name\":\"_thresholds\",\"type\":\"uint256[][4]\",\"internalType\":\"uint256[][4]\"},{\"name\":\"_standards\",\"type\":\"uint8[]\",\"internalType\":\"enum TokenStandard[]\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"initializeV2\",\"inputs\":[{\"name\":\"bridgeManagerContract\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"initializeV3\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"initializeV4\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address payable\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"lastDateSynced\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"lastSyncedWithdrawal\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"lockedThreshold\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"mapTokens\",\"inputs\":[{\"name\":\"_mainchainTokens\",\"type\":\"address[]\",\"internalType\":\"address[]\"},{\"name\":\"_roninTokens\",\"type\":\"address[]\",\"internalType\":\"address[]\"},{\"name\":\"_standards\",\"type\":\"uint8[]\",\"internalType\":\"enum TokenStandard[]\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"mapTokensAndThresholds\",\"inputs\":[{\"name\":\"_mainchainTokens\",\"type\":\"address[]\",\"internalType\":\"address[]\"},{\"name\":\"_roninTokens\",\"type\":\"address[]\",\"internalType\":\"address[]\"},{\"name\":\"_standards\",\"type\":\"uint8[]\",\"internalType\":\"enum TokenStandard[]\"},{\"name\":\"_thresholds\",\"type\":\"uint256[][4]\",\"internalType\":\"uint256[][4]\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"minimumVoteWeight\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"nonce\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"onBridgeOperatorsAdded\",\"inputs\":[{\"name\":\"operators\",\"type\":\"address[]\",\"internalType\":\"address[]\"},{\"name\":\"weights\",\"type\":\"uint96[]\",\"internalType\":\"uint96[]\"},{\"name\":\"addeds\",\"type\":\"bool[]\",\"internalType\":\"bool[]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onBridgeOperatorsRemoved\",\"inputs\":[{\"name\":\"operators\",\"type\":\"address[]\",\"internalType\":\"address[]\"},{\"name\":\"removeds\",\"type\":\"bool[]\",\"internalType\":\"bool[]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onERC1155BatchReceived\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"},{\"name\":\"\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"},{\"name\":\"\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onERC1155Received\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"pause\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"paused\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"reachedWithdrawalLimit\",\"inputs\":[{\"name\":\"_token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_quantity\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"receiveEther\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"renounceRole\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"requestDepositFor\",\"inputs\":[{\"name\":\"_request\",\"type\":\"tuple\",\"internalType\":\"struct Transfer.Request\",\"components\":[{\"name\":\"recipientAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"info\",\"type\":\"tuple\",\"internalType\":\"struct TokenInfo\",\"components\":[{\"name\":\"erc\",\"type\":\"uint8\",\"internalType\":\"enum TokenStandard\"},{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"quantity\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}]}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"revokeRole\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"roninChainId\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"setContract\",\"inputs\":[{\"name\":\"contractType\",\"type\":\"uint8\",\"internalType\":\"enum ContractType\"},{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setDailyWithdrawalLimits\",\"inputs\":[{\"name\":\"_tokens\",\"type\":\"address[]\",\"internalType\":\"address[]\"},{\"name\":\"_limits\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setEmergencyPauser\",\"inputs\":[{\"name\":\"_addr\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setHighTierThresholds\",\"inputs\":[{\"name\":\"_tokens\",\"type\":\"address[]\",\"internalType\":\"address[]\"},{\"name\":\"_thresholds\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setHighTierVoteWeightThreshold\",\"inputs\":[{\"name\":\"_numerator\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_denominator\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"_previousNum\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_previousDenom\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setLockedThresholds\",\"inputs\":[{\"name\":\"_tokens\",\"type\":\"address[]\",\"internalType\":\"address[]\"},{\"name\":\"_thresholds\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setThreshold\",\"inputs\":[{\"name\":\"num\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"denom\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setUnlockFeePercentages\",\"inputs\":[{\"name\":\"_tokens\",\"type\":\"address[]\",\"internalType\":\"address[]\"},{\"name\":\"_percentages\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setWrappedNativeTokenContract\",\"inputs\":[{\"name\":\"_wrappedToken\",\"type\":\"address\",\"internalType\":\"contract IWETH\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"submitWithdrawal\",\"inputs\":[{\"name\":\"_receipt\",\"type\":\"tuple\",\"internalType\":\"struct Transfer.Receipt\",\"components\":[{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"kind\",\"type\":\"uint8\",\"internalType\":\"enum Transfer.Kind\"},{\"name\":\"mainchain\",\"type\":\"tuple\",\"internalType\":\"struct TokenOwner\",\"components\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"ronin\",\"type\":\"tuple\",\"internalType\":\"struct TokenOwner\",\"components\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"info\",\"type\":\"tuple\",\"internalType\":\"struct TokenInfo\",\"components\":[{\"name\":\"erc\",\"type\":\"uint8\",\"internalType\":\"enum TokenStandard\"},{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"quantity\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}]},{\"name\":\"_signatures\",\"type\":\"tuple[]\",\"internalType\":\"struct SignatureConsumer.Signature[]\",\"components\":[{\"name\":\"v\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"r\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"s\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]}],\"outputs\":[{\"name\":\"_locked\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"supportsInterface\",\"inputs\":[{\"name\":\"interfaceId\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"unlockFeePercentages\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"unlockWithdrawal\",\"inputs\":[{\"name\":\"receipt\",\"type\":\"tuple\",\"internalType\":\"struct Transfer.Receipt\",\"components\":[{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"kind\",\"type\":\"uint8\",\"internalType\":\"enum Transfer.Kind\"},{\"name\":\"mainchain\",\"type\":\"tuple\",\"internalType\":\"struct TokenOwner\",\"components\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"ronin\",\"type\":\"tuple\",\"internalType\":\"struct TokenOwner\",\"components\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"info\",\"type\":\"tuple\",\"internalType\":\"struct TokenInfo\",\"components\":[{\"name\":\"erc\",\"type\":\"uint8\",\"internalType\":\"enum TokenStandard\"},{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"quantity\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}]}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"unpause\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"withdrawalHash\",\"inputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"withdrawalLocked\",\"inputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"wrappedNativeToken\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contract IWETH\"}],\"stateMutability\":\"view\"},{\"type\":\"event\",\"name\":\"ContractUpdated\",\"inputs\":[{\"name\":\"contractType\",\"type\":\"uint8\",\"indexed\":true,\"internalType\":\"enum ContractType\"},{\"name\":\"addr\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"DailyWithdrawalLimitsUpdated\",\"inputs\":[{\"name\":\"tokens\",\"type\":\"address[]\",\"indexed\":false,\"internalType\":\"address[]\"},{\"name\":\"limits\",\"type\":\"uint256[]\",\"indexed\":false,\"internalType\":\"uint256[]\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"DepositRequested\",\"inputs\":[{\"name\":\"receiptHash\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"},{\"name\":\"receipt\",\"type\":\"tuple\",\"indexed\":false,\"internalType\":\"struct Transfer.Receipt\",\"components\":[{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"kind\",\"type\":\"uint8\",\"internalType\":\"enum Transfer.Kind\"},{\"name\":\"mainchain\",\"type\":\"tuple\",\"internalType\":\"struct TokenOwner\",\"components\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"ronin\",\"type\":\"tuple\",\"internalType\":\"struct TokenOwner\",\"components\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"info\",\"type\":\"tuple\",\"internalType\":\"struct TokenInfo\",\"components\":[{\"name\":\"erc\",\"type\":\"uint8\",\"internalType\":\"enum TokenStandard\"},{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"quantity\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}]}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"HighTierThresholdsUpdated\",\"inputs\":[{\"name\":\"tokens\",\"type\":\"address[]\",\"indexed\":false,\"internalType\":\"address[]\"},{\"name\":\"thresholds\",\"type\":\"uint256[]\",\"indexed\":false,\"internalType\":\"uint256[]\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"HighTierVoteWeightThresholdUpdated\",\"inputs\":[{\"name\":\"nonce\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"numerator\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"denominator\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"previousNumerator\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"previousDenominator\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Initialized\",\"inputs\":[{\"name\":\"version\",\"type\":\"uint8\",\"indexed\":false,\"internalType\":\"uint8\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"LockedThresholdsUpdated\",\"inputs\":[{\"name\":\"tokens\",\"type\":\"address[]\",\"indexed\":false,\"internalType\":\"address[]\"},{\"name\":\"thresholds\",\"type\":\"uint256[]\",\"indexed\":false,\"internalType\":\"uint256[]\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Paused\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"RoleAdminChanged\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"previousAdminRole\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"newAdminRole\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"RoleGranted\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"sender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"RoleRevoked\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"sender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ThresholdUpdated\",\"inputs\":[{\"name\":\"nonce\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"numerator\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"denominator\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"previousNumerator\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"previousDenominator\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"TokenMapped\",\"inputs\":[{\"name\":\"mainchainTokens\",\"type\":\"address[]\",\"indexed\":false,\"internalType\":\"address[]\"},{\"name\":\"roninTokens\",\"type\":\"address[]\",\"indexed\":false,\"internalType\":\"address[]\"},{\"name\":\"standards\",\"type\":\"uint8[]\",\"indexed\":false,\"internalType\":\"enum TokenStandard[]\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"UnlockFeePercentagesUpdated\",\"inputs\":[{\"name\":\"tokens\",\"type\":\"address[]\",\"indexed\":false,\"internalType\":\"address[]\"},{\"name\":\"percentages\",\"type\":\"uint256[]\",\"indexed\":false,\"internalType\":\"uint256[]\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Unpaused\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"WithdrawalLocked\",\"inputs\":[{\"name\":\"receiptHash\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"},{\"name\":\"receipt\",\"type\":\"tuple\",\"indexed\":false,\"internalType\":\"struct Transfer.Receipt\",\"components\":[{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"kind\",\"type\":\"uint8\",\"internalType\":\"enum Transfer.Kind\"},{\"name\":\"mainchain\",\"type\":\"tuple\",\"internalType\":\"struct TokenOwner\",\"components\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"ronin\",\"type\":\"tuple\",\"internalType\":\"struct TokenOwner\",\"components\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"info\",\"type\":\"tuple\",\"internalType\":\"struct TokenInfo\",\"components\":[{\"name\":\"erc\",\"type\":\"uint8\",\"internalType\":\"enum TokenStandard\"},{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"quantity\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}]}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"WithdrawalUnlocked\",\"inputs\":[{\"name\":\"receiptHash\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"},{\"name\":\"receipt\",\"type\":\"tuple\",\"indexed\":false,\"internalType\":\"struct Transfer.Receipt\",\"components\":[{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"kind\",\"type\":\"uint8\",\"internalType\":\"enum Transfer.Kind\"},{\"name\":\"mainchain\",\"type\":\"tuple\",\"internalType\":\"struct TokenOwner\",\"components\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"ronin\",\"type\":\"tuple\",\"internalType\":\"struct TokenOwner\",\"components\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"info\",\"type\":\"tuple\",\"internalType\":\"struct TokenInfo\",\"components\":[{\"name\":\"erc\",\"type\":\"uint8\",\"internalType\":\"enum TokenStandard\"},{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"quantity\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}]}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Withdrew\",\"inputs\":[{\"name\":\"receiptHash\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"},{\"name\":\"receipt\",\"type\":\"tuple\",\"indexed\":false,\"internalType\":\"struct Transfer.Receipt\",\"components\":[{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"kind\",\"type\":\"uint8\",\"internalType\":\"enum Transfer.Kind\"},{\"name\":\"mainchain\",\"type\":\"tuple\",\"internalType\":\"struct TokenOwner\",\"components\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"ronin\",\"type\":\"tuple\",\"internalType\":\"struct TokenOwner\",\"components\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"info\",\"type\":\"tuple\",\"internalType\":\"struct TokenInfo\",\"components\":[{\"name\":\"erc\",\"type\":\"uint8\",\"internalType\":\"enum TokenStandard\"},{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"quantity\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}]}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"WrappedNativeTokenContractUpdated\",\"inputs\":[{\"name\":\"weth\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"contract IWETH\"}],\"anonymous\":false},{\"type\":\"error\",\"name\":\"ErrContractTypeNotFound\",\"inputs\":[{\"name\":\"contractType\",\"type\":\"uint8\",\"internalType\":\"enum ContractType\"}]},{\"type\":\"error\",\"name\":\"ErrERC1155MintingFailed\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrERC20MintingFailed\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrERC721MintingFailed\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrEmptyArray\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrInvalidChainId\",\"inputs\":[{\"name\":\"msgSig\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"},{\"name\":\"actual\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"expected\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"ErrInvalidInfo\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrInvalidOrder\",\"inputs\":[{\"name\":\"msgSig\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}]},{\"type\":\"error\",\"name\":\"ErrInvalidPercentage\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrInvalidReceipt\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrInvalidReceiptKind\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrInvalidRequest\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrInvalidSigner\",\"inputs\":[{\"name\":\"signer\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"weight\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"sig\",\"type\":\"tuple\",\"internalType\":\"struct SignatureConsumer.Signature\",\"components\":[{\"name\":\"v\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"r\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"s\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]}]},{\"type\":\"error\",\"name\":\"ErrInvalidThreshold\",\"inputs\":[{\"name\":\"msgSig\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}]},{\"type\":\"error\",\"name\":\"ErrInvalidTokenStandard\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrLengthMismatch\",\"inputs\":[{\"name\":\"msgSig\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}]},{\"type\":\"error\",\"name\":\"ErrNullHighTierVoteWeightProvided\",\"inputs\":[{\"name\":\"msgSig\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}]},{\"type\":\"error\",\"name\":\"ErrNullMinVoteWeightProvided\",\"inputs\":[{\"name\":\"msgSig\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}]},{\"type\":\"error\",\"name\":\"ErrNullTotalWeightProvided\",\"inputs\":[{\"name\":\"msgSig\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}]},{\"type\":\"error\",\"name\":\"ErrQueryForApprovedWithdrawal\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrQueryForInsufficientVoteWeight\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrQueryForProcessedWithdrawal\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrReachedDailyWithdrawalLimit\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrTokenCouldNotTransfer\",\"inputs\":[{\"name\":\"tokenInfo\",\"type\":\"tuple\",\"internalType\":\"struct TokenInfo\",\"components\":[{\"name\":\"erc\",\"type\":\"uint8\",\"internalType\":\"enum TokenStandard\"},{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"quantity\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ErrTokenCouldNotTransferFrom\",\"inputs\":[{\"name\":\"tokenInfo\",\"type\":\"tuple\",\"internalType\":\"struct TokenInfo\",\"components\":[{\"name\":\"erc\",\"type\":\"uint8\",\"internalType\":\"enum TokenStandard\"},{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"quantity\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ErrUnauthorized\",\"inputs\":[{\"name\":\"msgSig\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"},{\"name\":\"expectedRole\",\"type\":\"uint8\",\"internalType\":\"enum RoleAccess\"}]},{\"type\":\"error\",\"name\":\"ErrUnexpectedInternalCall\",\"inputs\":[{\"name\":\"msgSig\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"},{\"name\":\"expectedContractType\",\"type\":\"uint8\",\"internalType\":\"enum ContractType\"},{\"name\":\"actual\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ErrUnsupportedStandard\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrUnsupportedToken\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ErrZeroCodeContract\",\"inputs\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"}]}]", "absolutePath": "MainchainGatewayV3.sol", - "address": "0xfc274EC92bBb1A1472884558d1B5CaaC6F8220Ee", + "address": "0xD6c4986bbe09f2dDb262B4611b0BA06891be605e", "ast": "", - "blockNumber": 20425324, - "bytecode": "\"0x60806040523480156200001157600080fd5b506000805460ff19169055620000266200002c565b620000ee565b607154610100900460ff1615620000995760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60715460ff9081161015620000ec576071805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b61563b80620000fe6000396000f3fe6080604052600436106103a65760003560e01c80638f34e347116101e7578063b9c362091161010d578063d64af2a6116100a0578063e400327c1161006f578063e400327c14610b2f578063e6a4561814610b4f578063e75235b814610b62578063f23a6e6114610b7a576103b5565b8063d64af2a614610aaf578063dafae40814610acf578063de981f1b14610aef578063dff525e114610b0f576103b5565b8063cdb67444116100dc578063cdb6744414610a1d578063d19773d214610a35578063d547741f14610a62578063d55ed10314610a82576103b5565b8063b9c3620914610991578063bc197c81146109b1578063c48549de146109dd578063ca15c873146109fd576103b5565b8063a217fddf11610185578063affed0e011610154578063affed0e014610901578063b1a2567e14610917578063b1d08a0314610937578063b297579414610964576103b5565b8063a217fddf1461089f578063a3912ec8146103b3578063ab796566146108b4578063ac78dfe8146108e1576103b5565b80639157921c116101c15780639157921c1461080a57806391d148541461082a57806393c5678f1461084a5780639dcc4da31461086a576103b5565b80638f34e347146107895780638f851d8a146107bd5780639010d07c146107ea576103b5565b806338e454b1116102cc578063504af48c1161026a5780636c1ce670116102395780636c1ce6701461071f5780637de5dedd1461073f5780638456cb5914610754578063865e6fd314610769576103b5565b8063504af48c1461069a57806359122f6b146106ad5780635c975abb146106da5780636932be98146106f2576103b5565b80634b14557e116102a65780634b14557e146106175780634d0d66731461062a5780634d493f4e1461064a5780634f4247a11461067a576103b5565b806338e454b1146105cd5780633e70838b146105e25780633f4ba83a14610602576103b5565b80631d4a7210116103445780632f2ff15d116103135780632f2ff15d14610561578063302d12db146105815780633644e5151461059857806336568abe146105ad576103b5565b80631d4a7210146104ce578063248a9ca3146104fb57806329b6eca91461052b5780632dfdf0b51461054b576103b5565b806317ce2dd41161038057806317ce2dd41461044a57806317fcb39b1461046e5780631a8e55b01461048e5780631b6e7594146104ae576103b5565b806301ffc9a7146103bd578063065b3adf146103f2578063110a83081461042a576103b5565b366103b5576103b3610ba6565b005b6103b3610ba6565b3480156103c957600080fd5b506103dd6103d83660046141d4565b610bda565b60405190151581526020015b60405180910390f35b3480156103fe57600080fd5b50600554610412906001600160a01b031681565b6040516001600160a01b0390911681526020016103e9565b34801561043657600080fd5b506103b3610445366004614213565b610c20565b34801561045657600080fd5b5061046060755481565b6040519081526020016103e9565b34801561047a57600080fd5b50607454610412906001600160a01b031681565b34801561049a57600080fd5b506103b36104a9366004614274565b610cc5565b3480156104ba57600080fd5b506103b36104c93660046142df565b610d01565b3480156104da57600080fd5b506104606104e9366004614213565b603e6020526000908152604090205481565b34801561050757600080fd5b50610460610516366004614383565b60009081526072602052604090206001015490565b34801561053757600080fd5b506103b3610546366004614213565b610d41565b34801561055757600080fd5b5061046060765481565b34801561056d57600080fd5b506103b361057c36600461439c565b610dca565b34801561058d57600080fd5b50610460620f424081565b3480156105a457600080fd5b50607754610460565b3480156105b957600080fd5b506103b36105c836600461439c565b610df4565b3480156105d957600080fd5b506103b3610e72565b3480156105ee57600080fd5b506103b36105fd366004614213565b61104f565b34801561060e57600080fd5b506103b3611079565b6103b36106253660046143cc565b611089565b34801561063657600080fd5b506103dd6106453660046143f7565b6110ac565b34801561065657600080fd5b506103dd610665366004614383565b607a6020526000908152604090205460ff1681565b34801561068657600080fd5b50607f54610412906001600160a01b031681565b6103b36106a83660046144a1565b61111c565b3480156106b957600080fd5b506104606106c8366004614213565b603a6020526000908152604090205481565b3480156106e657600080fd5b5060005460ff166103dd565b3480156106fe57600080fd5b5061046061070d366004614383565b60796020526000908152604090205481565b34801561072b57600080fd5b506103dd61073a36600461457b565b6113e2565b34801561074b57600080fd5b506104606113ee565b34801561076057600080fd5b506103b361140f565b34801561077557600080fd5b506103b36107843660046145b6565b61141f565b34801561079557600080fd5b506104607f5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e481565b3480156107c957600080fd5b506107dd6107d8366004614681565b61143a565b6040516103e99190614778565b3480156107f657600080fd5b5061041261080536600461478d565b6115bc565b34801561081657600080fd5b506103b36108253660046147af565b6115d4565b34801561083657600080fd5b506103dd61084536600461439c565b611858565b34801561085657600080fd5b506103b3610865366004614274565b611883565b34801561087657600080fd5b5061088a61088536600461478d565b6118b9565b604080519283526020830191909152016103e9565b3480156108ab57600080fd5b50610460600081565b3480156108c057600080fd5b506104606108cf366004614213565b603c6020526000908152604090205481565b3480156108ed57600080fd5b506103dd6108fc366004614383565b6118e2565b34801561090d57600080fd5b5061046060045481565b34801561092357600080fd5b506103b3610932366004614274565b611918565b34801561094357600080fd5b50610460610952366004614213565b60396020526000908152604090205481565b34801561097057600080fd5b5061098461097f366004614213565b61194e565b6040516103e991906147f6565b34801561099d57600080fd5b506103b36109ac36600461478d565b6119f1565b3480156109bd57600080fd5b506107dd6109cc3660046148f9565b63bc197c8160e01b95945050505050565b3480156109e957600080fd5b506107dd6109f8366004614274565b611a0b565b348015610a0957600080fd5b50610460610a18366004614383565b611b9f565b348015610a2957600080fd5b5060375460385461088a565b348015610a4157600080fd5b50610460610a50366004614213565b603b6020526000908152604090205481565b348015610a6e57600080fd5b506103b3610a7d36600461439c565b611bb6565b348015610a8e57600080fd5b50610460610a9d366004614213565b603d6020526000908152604090205481565b348015610abb57600080fd5b506103b3610aca366004614213565b611bdb565b348015610adb57600080fd5b506103dd610aea366004614383565b611bec565b348015610afb57600080fd5b50610412610b0a3660046149a6565b611c1a565b348015610b1b57600080fd5b506103b3610b2a3660046149c1565b611c90565b348015610b3b57600080fd5b506103b3610b4a366004614274565b611d05565b6103b3610b5d366004614a7e565b611d3b565b348015610b6e57600080fd5b5060015460025461088a565b348015610b8657600080fd5b506107dd610b95366004614af2565b63f23a6e6160e01b95945050505050565b6074546001600160a01b0316331480610bc95750607f546001600160a01b031633145b15610bd057565b610bd8611d82565b565b60006001600160e01b03198216631dcdd2c760e31b1480610c0b57506001600160e01b031982166312c0151560e21b145b80610c1a5750610c1a82611dac565b92915050565b607154600490610100900460ff16158015610c42575060715460ff8083169116105b610c675760405162461bcd60e51b8152600401610c5e90614b5a565b60405180910390fd5b60718054607f80546001600160a01b0319166001600160a01b03861617905561ff001961010060ff851661ffff19909316831717169091556040519081526000805160206155e6833981519152906020015b60405180910390a15050565b610ccd611dd1565b6000839003610cef576040516316ee9d3b60e11b815260040160405180910390fd5b610cfb84848484611e2b565b50505050565b610d09611dd1565b6000859003610d2b576040516316ee9d3b60e11b815260040160405180910390fd5b610d39868686868686611f00565b505050505050565b607154600290610100900460ff16158015610d63575060715460ff8083169116105b610d7f5760405162461bcd60e51b8152600401610c5e90614b5a565b6071805461ffff191660ff831617610100179055610d9e600b836120a8565b6071805461ff001916905560405160ff821681526000805160206155e683398151915290602001610cb9565b600082815260726020526040902060010154610de58161214c565b610def8383612156565b505050565b6001600160a01b0381163314610e645760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610c5e565b610e6e8282612178565b5050565b607154600390610100900460ff16158015610e94575060715460ff8083169116105b610eb05760405162461bcd60e51b8152600401610c5e90614b5a565b6071805461ffff191660ff8316176101001790556000610ed0600b611c1a565b9050600080826001600160a01b031663c441c4a86040518163ffffffff1660e01b8152600401600060405180830381865afa158015610f13573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f3b9190810190614c25565b92509250506000805b8351811015610ff857828181518110610f5f57610f5f614d0b565b6020026020010151607e6000868481518110610f7d57610f7d614d0b565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a8154816001600160601b0302191690836001600160601b03160217905550828181518110610fdb57610fdb614d0b565b602002602001015182610fee9190614d37565b9150600101610f44565b50607d80546001600160601b0319166001600160601b039290921691909117905550506071805461ff00191690555060405160ff821681526000805160206155e6833981519152906020015b60405180910390a150565b611057611dd1565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b61108161219a565b610bd8612209565b61109161225b565b6110a96110a336839003830183614da7565b336122a1565b50565b60006110b661225b565b611112848484808060200260200160405190810160405280939291908181526020016000905b82821015611108576110f960608302860136819003810190614dfa565b815260200190600101906110dc565b505050505061257c565b90505b9392505050565b607154610100900460ff161580801561113c5750607154600160ff909116105b806111565750303b158015611156575060715460ff166001145b6111725760405162461bcd60e51b8152600401610c5e90614b5a565b6071805460ff191660011790558015611195576071805461ff0019166101001790555b6111a060008c612a10565b60758990556111ae8a612a1a565b6112396040517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81527f159f52c1e3a2b6a6aad3950adf713516211484e0516dad685ea662a094b7c43b60208201527fad7c5bef027816a800da1736444fb58a807ef4c9603b7848673f7e3a68eb14a5604082015246606082015230608082015260a0812060775550565b6112438887612a68565b61124d8787612af8565b5050611257612b8f565b60006112638680614e44565b905011156113245761128c6112788680614e44565b6112856020890189614e44565b8787611f00565b6112b26112998680614e44565b8660005b6020028101906112ad9190614e44565b612bdc565b6112d86112bf8680614e44565b8660015b6020028101906112d39190614e44565b611e2b565b6112fe6112e58680614e44565b8660025b6020028101906112f99190614e44565b612cb1565b61132461130b8680614e44565b8660035b60200281019061131f9190614e44565b612dc2565b60005b6113346040870187614e44565b90508110156113a0576113987f5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e461136e6040890189614e44565b8481811061137e5761137e614d0b565b90506020020160208101906113939190614213565b612156565b600101611327565b5080156113d5576071805461ff0019169055604051600181526000805160206155e68339815191529060200160405180910390a15b5050505050505050505050565b60006111158383612e97565b600061140a611405607d546001600160601b031690565b612f62565b905090565b61141761219a565b610bd8612f98565b611427611dd1565b61143081612fd5565b610e6e82826120a8565b6000600b6114478161300b565b82518690811415806114595750808514155b15611485576000356001600160e01b0319166040516306b5667560e21b8152600401610c5e9190614778565b8060000361149d57506347c28ec560e11b91506115b2565b60005b818110156115a5578481815181106114ba576114ba614d0b565b60200260200101511561159d578686828181106114d9576114d9614d0b565b90506020020160208101906114ee9190614e8d565b607d80546001600160601b031981166001600160601b03918216939093011691909117905586868281811061152557611525614d0b565b905060200201602081019061153a9190614e8d565b607e60008b8b8581811061155057611550614d0b565b90506020020160208101906115659190614213565b6001600160a01b03168152602081019190915260400160002080546001600160601b0319166001600160601b03929092169190911790555b6001016114a0565b506347c28ec560e11b9250505b5095945050505050565b60008281526073602052604081206111159083613057565b7f5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e46115fe8161214c565b600061161761161236859003850185614f07565b613063565b905061162b61161236859003850185614f07565b83356000908152607960205260409020541461165a5760405163f4b8742f60e01b815260040160405180910390fd5b82356000908152607a602052604090205460ff1661168b5760405163147bfe0760e01b815260040160405180910390fd5b82356000908152607a602052604090819020805460ff19169055517fd639511b37b3b002cca6cfe6bca0d833945a5af5a045578a0627fc43b79b2630906116d59083908690614fda565b60405180910390a160006116ef6080850160608601614213565b9050600061170561012086016101008701615060565b6002811115611716576117166147cc565b036117dd576000611730368690038601610100870161507b565b6001600160a01b0383166000908152603b602052604090205490915061175c906101408701359061312d565b60408201526000611776368790038701610100880161507b565b604083015190915061178d90610140880135615097565b60408201526074546117ad908390339086906001600160a01b0316613147565b6117d66117c06060880160408901614213565b60745483919086906001600160a01b0316613147565b5050611819565b6118196117f06060860160408701614213565b60745483906001600160a01b03166118113689900389016101008a0161507b565b929190613147565b7f21e88e956aa3e086f6388e899965cef814688f99ad8bb29b08d396571016372d828560405161184a929190614fda565b60405180910390a150505050565b60009182526072602090815260408084206001600160a01b0393909316845291905290205460ff1690565b61188b611dd1565b60008390036118ad576040516316ee9d3b60e11b815260040160405180910390fd5b610cfb84848484612bdc565b6000806118c4611dd1565b6118ce8484612af8565b90925090506118db612b8f565b9250929050565b60006118f6607d546001600160601b031690565b60375461190391906150aa565b60385461191090846150aa565b101592915050565b611920611dd1565b6000839003611942576040516316ee9d3b60e11b815260040160405180910390fd5b610cfb84848484612cb1565b60408051808201909152600080825260208201526001600160a01b0382166000908152607860205260409081902081518083019092528054829060ff16600281111561199c5761199c6147cc565b60028111156119ad576119ad6147cc565b815290546001600160a01b03610100909104811660209283015290820151919250166119ec57604051631b79f53b60e21b815260040160405180910390fd5b919050565b6119f9611dd1565b611a038282612a68565b610e6e612b8f565b6000600b611a188161300b565b84838114611a47576000356001600160e01b0319166040516306b5667560e21b8152600401610c5e9190614778565b80600003611a5f5750636242a4ef60e11b9150611b96565b6000805b82811015611b4657868682818110611a7d57611a7d614d0b565b9050602002016020810190611a9291906150c1565b15611b3e57607e60008a8a84818110611aad57611aad614d0b565b9050602002016020810190611ac29190614213565b6001600160a01b0316815260208101919091526040016000908120546001600160601b03169290920191607e908a8a84818110611b0157611b01614d0b565b9050602002016020810190611b169190614213565b6001600160a01b03168152602081019190915260400160002080546001600160601b03191690555b600101611a63565b50607d8054829190600090611b659084906001600160601b03166150de565b92506101000a8154816001600160601b0302191690836001600160601b0316021790555063c48549de60e01b935050505b50949350505050565b6000818152607360205260408120610c1a90613379565b600082815260726020526040902060010154611bd18161214c565b610def8383612178565b611be3611dd1565b6110a981612a1a565b6000611c00607d546001600160601b031690565b600154611c0d91906150aa565b60025461191090846150aa565b60007fdea3103d22025c269050bea94c0c84688877f12fa22b7e6d2d5d78a9a49aa1cb600083600f811115611c5157611c516147cc565b60ff1681526020810191909152604001600020546001600160a01b03169050806119ec578160405163409140df60e11b8152600401610c5e919061510e565b611c98611dd1565b6000869003611cba576040516316ee9d3b60e11b815260040160405180910390fd5b611cc8878787878787611f00565b611cd5878783600061129d565b611ce287878360016112c3565b611cef87878360026112e9565b611cfc878783600361130f565b50505050505050565b611d0d611dd1565b6000839003611d2f576040516316ee9d3b60e11b815260040160405180910390fd5b610cfb84848484612dc2565b611d4361225b565b8060005b81811015610cfb57611d7a848483818110611d6457611d64614d0b565b905060a002018036038101906110a39190614da7565b600101611d47565b611d8a61225b565b611d92614193565b3381526040808201513491015280516110a99082906122a1565b60006001600160e01b03198216630271189760e51b1480610c1a5750610c1a82613383565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103546001600160a01b03163314610bd8576000356001600160e01b0319166001604051620f948f60ea1b8152600401610c5e92919061511c565b828114611e59576000356001600160e01b0319166040516306b5667560e21b8152600401610c5e9190614778565b60005b83811015611eca57828282818110611e7657611e76614d0b565b90506020020135603a6000878785818110611e9357611e93614d0b565b9050602002016020810190611ea89190614213565b6001600160a01b03168152602081019190915260400160002055600101611e5c565b507f64557254143204d91ba2d95acb9fda1e5fea55f77efd028685765bc1e94dd4b58484848460405161184a9493929190615193565b8483148015611f0e57508481145b611f39576000356001600160e01b0319166040516306b5667560e21b8152600401610c5e9190614778565b60005b8581101561205e57848482818110611f5657611f56614d0b565b9050602002016020810190611f6b9190614213565b60786000898985818110611f8157611f81614d0b565b9050602002016020810190611f969190614213565b6001600160a01b03908116825260208201929092526040016000208054610100600160a81b0319166101009390921692909202179055828282818110611fde57611fde614d0b565b9050602002016020810190611ff39190615060565b6078600089898581811061200957612009614d0b565b905060200201602081019061201e9190614213565b6001600160a01b031681526020810191909152604001600020805460ff19166001836002811115612051576120516147cc565b0217905550600101611f3c565b507fa4f03cc9c0e0aeb5b71b4ec800702753f65748c2cf3064695ba8e8b46be70444868686868686604051612098969594939291906151df565b60405180910390a1505050505050565b807fdea3103d22025c269050bea94c0c84688877f12fa22b7e6d2d5d78a9a49aa1cb600084600f8111156120de576120de6147cc565b60ff168152602081019190915260400160002080546001600160a01b0319166001600160a01b03928316179055811682600f81111561211f5761211f6147cc565b6040517f865d1c228a8ea13709cfe61f346f7ff67f1bbd4a18ff31ad3e7147350d317c5990600090a35050565b6110a981336133a8565b612160828261340c565b6000828152607360205260409020610def9082613492565b61218282826134a7565b6000828152607360205260409020610def908261350e565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103546001600160a01b03163314806121dc57506005546001600160a01b031633145b610bd8576000356001600160e01b0319166001604051620f948f60ea1b8152600401610c5e92919061511c565b612211613523565b6000805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60005460ff1615610bd85760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610c5e565b604080518082018252600080825260208201526074549184015190916001600160a01b0316906122d09061356c565b60208401516001600160a01b031661237157348460400151604001511461230a5760405163129c2ce160e31b815260040160405180910390fd5b6123138161194e565b604085015151909250600281111561232d5761232d6147cc565b82516002811115612340576123406147cc565b1461235d5760405162035e2b60ea1b815260040160405180910390fd5b6001600160a01b0381166020850152612509565b34156123905760405163129c2ce160e31b815260040160405180910390fd5b61239d846020015161194e565b60408501515190925060028111156123b7576123b76147cc565b825160028111156123ca576123ca6147cc565b146123e75760405162035e2b60ea1b815260040160405180910390fd5b602084015160408501516123fc9185906135b0565b83602001516001600160a01b0316816001600160a01b03160361250957607454607f54604086810151810151905163095ea7b360e01b81526001600160a01b039283166004820152602481019190915291169063095ea7b3906044016020604051808303816000875af1158015612477573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061249b9190615250565b50607f546040808601518101519051636f074d1f60e11b81526001600160a01b039092169163de0e9a3e916124d69160040190815260200190565b600060405180830381600087803b1580156124f057600080fd5b505af1158015612504573d6000803e3d6000fd5b505050505b607680546000918261251a8361526d565b9190505590506000612541858386602001516075548a61372990949392919063ffffffff16565b90507fd7b25068d9dc8d00765254cfb7f5070f98d263c8d68931d937c7362fa738048b61256d82613063565b826040516120989291906152a6565b60008235610140840135826125976080870160608801614213565b90506125b46125af368890038801610100890161507b565b61356c565b60016125c66040880160208901615342565b60018111156125d7576125d76147cc565b146125f55760405163182f3d8760e11b815260040160405180910390fd5b608086013546146126375760405163092048d160e11b81526000356001600160e01b031916600482015260808701356024820152466044820152606401610c5e565b600061264c61097f6080890160608a01614213565b905061266061012088016101008901615060565b6002811115612671576126716147cc565b81516002811115612684576126846147cc565b1480156126b5575061269c60e0880160c08901614213565b6001600160a01b031681602001516001600160a01b0316145b80156126c6575060755460e0880135145b6126e35760405163f4b8742f60e01b815260040160405180910390fd5b6000848152607960205260409020541561271057604051634f13df6160e01b815260040160405180910390fd5b600161272461012089016101008a01615060565b6002811115612735576127356147cc565b148061274857506127468284612e97565b155b6127655760405163c51297b760e01b815260040160405180910390fd5b6000612779611612368a90038a018a614f07565b90506000612789607754836137fe565b905060006127a96127a26101208c016101008d01615060565b868861383f565b60408051606081018252600080825260208201819052918101829052919a50919250819081906000805b8e518110156128e7578e81815181106127ee576127ee614d0b565b6020908102919091018101518051818301516040808401518151600081529586018083528e905260ff9093169085015260608401526080830152935060019060a0016020604051602081039080840390855afa158015612852573d6000803e3d6000fd5b505050602060405103519450846001600160a01b0316846001600160a01b03161061289e576000356001600160e01b031916604051635d3dcd3160e01b8152600401610c5e9190614778565b6001600160a01b0385166000908152607e60205260409020548594506001600160601b03166128cd908361535d565b91508682106128df57600195506128e7565b6001016127d3565b508461290657604051639e8f5f6360e01b815260040160405180910390fd5b505050600089815260796020526040902085905550508715612981576000878152607a602052604090819020805460ff19166001179055517f89e52969465b1f1866fc5d46fd62de953962e9cb33552443cd999eba05bd20dc9061296d9085908d90614fda565b60405180910390a150505050505050610c1a565b61298b85876138cf565b6129ca61299e60608c0160408d01614213565b86607460009054906101000a90046001600160a01b03168d61010001803603810190611811919061507b565b7f21e88e956aa3e086f6388e899965cef814688f99ad8bb29b08d396571016372d838b6040516129fb929190614fda565b60405180910390a15050505050505092915050565b610e6e8282612156565b607480546001600160a01b0319166001600160a01b0383169081179091556040519081527f9d2334c23be647e994f27a72c5eee42a43d5bdcfe15bb88e939103c2b114cbaf90602001611044565b80821115612a97576000356001600160e01b0319166040516387f6f09560e01b8152600401610c5e9190614778565b6001805460028054858455908490556004805493840190556040805183815260208101839052929391928592879290917f976f8a9c5bdf8248dec172376d6e2b80a8e3df2f0328e381c6db8e1cf138c0f8910160405180910390a450505050565b60008082841115612b2a576000356001600160e01b0319166040516387f6f09560e01b8152600401610c5e9190614778565b5050603780546038805492859055839055600480546001810190915560408051838152602081018590529293928592879290917f31312c97b89cc751b832d98fd459b967a2c3eef3b49757d1cf5ebaa12bb6eee1910160405180910390a49250929050565b600254603754612b9f91906150aa565b603854600154612baf91906150aa565b1115610bd8576000356001600160e01b0319166040516387f6f09560e01b8152600401610c5e9190614778565b828114612c0a576000356001600160e01b0319166040516306b5667560e21b8152600401610c5e9190614778565b60005b83811015612c7b57828282818110612c2757612c27614d0b565b9050602002013560396000878785818110612c4457612c44614d0b565b9050602002016020810190612c599190614213565b6001600160a01b03168152602081019190915260400160002055600101612c0d565b507f80bc635c452ae67f12f9b6f12ad4daa6dbbc04eeb9ebb87d354ce10c0e210dc08484848460405161184a9493929190615193565b828114612cdf576000356001600160e01b0319166040516306b5667560e21b8152600401610c5e9190614778565b60005b83811015612d8c57620f4240838383818110612d0057612d00614d0b565b905060200201351115612d265760405163572d3bd360e11b815260040160405180910390fd5b828282818110612d3857612d38614d0b565b90506020020135603b6000878785818110612d5557612d55614d0b565b9050602002016020810190612d6a9190614213565b6001600160a01b03168152602081019190915260400160002055600101612ce2565b507fb05f5de88ae0294ebb6f67c5af2fcbbd593cc6bdfe543e2869794a4c8ce3ea508484848460405161184a9493929190615193565b828114612df0576000356001600160e01b0319166040516306b5667560e21b8152600401610c5e9190614778565b60005b83811015612e6157828282818110612e0d57612e0d614d0b565b90506020020135603c6000878785818110612e2a57612e2a614d0b565b9050602002016020810190612e3f9190614213565b6001600160a01b03168152602081019190915260400160002055600101612df3565b507fb5d2963614d72181b4df1f993d45b83edf42fa19710f0204217ba1b3e183bb738484848460405161184a9493929190615193565b6001600160a01b0382166000908152603a60205260408120548210612ebe57506000610c1a565b6000612ecd6201518042615370565b6001600160a01b0385166000908152603e6020526040902054909150811115612f135750506001600160a01b0382166000908152603c6020526040902054811015610c1a565b6001600160a01b0384166000908152603d6020526040902054612f3790849061535d565b6001600160a01b0385166000908152603c602052604090205411159150610c1a9050565b5092915050565b6000600254600160025484600154612f7a91906150aa565b612f84919061535d565b612f8e9190615097565b610c1a9190615370565b612fa061225b565b6000805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861223e3390565b806001600160a01b03163b6000036110a957604051630bfc64a360e21b81526001600160a01b0382166004820152602401610c5e565b61301481611c1a565b6001600160a01b0316336001600160a01b0316146110a9576000356001600160e01b03191681336040516320e0f98d60e21b8152600401610c5e93929190615392565b6000611115838361395f565b6000806130738360400151613989565b905060006130848460600151613989565b905060006130d88560800151604080517f1e2b74b2a792d5c0f0b6e59b037fa9d43d84fbb759337f0112fcc15ca414fc8d815282516020808301919091528301518183015291015160608201526080902090565b604080517fb9d1fe7c9deeec5dc90a2f47ff1684239519f2545b2228d3d91fb27df3189eea815287516020808301919091529097015190870152606086019390935250608084015260a08301525060c0902090565b6000620f424061313d83856150aa565b6111159190615370565b806001600160a01b0316826001600160a01b0316036131f45760408085015190516001600160a01b0385169180156108fc02916000818181858888f193505050506131ef57806001600160a01b031663d0e30db085604001516040518263ffffffff1660e01b81526004016000604051808303818588803b1580156131cb57600080fd5b505af11580156131df573d6000803e3d6000fd5b50505050506131ef8484846139d1565b610cfb565b600084516002811115613209576132096147cc565b036132cf576040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa158015613255573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061327991906153c9565b905084604001518110156132be576132a1833083886040015161329c9190615097565b613a50565b6132be57604051632f739fff60e11b815260040160405180910390fd5b6132c98585856139d1565b50610cfb565b6001845160028111156132e4576132e46147cc565b03613315576132f882848660200151613af5565b6131ef5760405163c8e3a09f60e01b815260040160405180910390fd5b60028451600281111561332a5761332a6147cc565b0361336057613343828486602001518760400151613b1c565b6131ef576040516334b471a760e21b815260040160405180910390fd5b6040516361e411a760e11b815260040160405180910390fd5b6000610c1a825490565b60006001600160e01b03198216635a05180f60e01b1480610c1a5750610c1a82613b49565b6133b28282611858565b610e6e576133ca816001600160a01b03166014613b7e565b6133d5836020613b7e565b6040516020016133e6929190615406565b60408051601f198184030181529082905262461bcd60e51b8252610c5e916004016154a7565b6134168282611858565b610e6e5760008281526072602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561344e3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000611115836001600160a01b038416613d19565b6134b18282611858565b15610e6e5760008281526072602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000611115836001600160a01b038416613d68565b60005460ff16610bd85760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610c5e565b61357581613e5b565b80613584575061358481613e92565b80613593575061359381613eba565b6110a95760405163034992a760e51b815260040160405180910390fd5b6000606081855160028111156135c8576135c86147cc565b036136a35760408581015181516001600160a01b03878116602483015230604483015260648083019390935283518083039093018352608490910183526020820180516001600160e01b03166323b872dd60e01b17905291519185169161362f91906154ba565b6000604051808303816000865af19150503d806000811461366c576040519150601f19603f3d011682016040523d82523d6000602084013e613671565b606091505b50909250905081801561369c57508051158061369c57508080602001905181019061369c9190615250565b91506136fc565b6001855160028111156136b8576136b86147cc565b036136cd5761369c8385308860200151613ee3565b6002855160028111156136e2576136e26147cc565b036133605761369c83853088602001518960400151613f91565b816137225784843085604051639d2e4c6760e01b8152600401610c5e94939291906154d6565b5050505050565b6137996040805160a08101825260008082526020808301829052835160608082018652838252818301849052818601849052848601919091528451808201865283815280830184905280860184905281850152845190810185528281529081018290529283015290608082015290565b83815260006020820181905250604080820180516001600160a01b039788169052602080890151825190891690820152905146908301528751606084018051918916909152805195909716940193909352935182015292909201516080820152919050565b6040805161190160f01b6020808301919091526022820185905260428083018590528351808403909101815260629092019092528051910120600090611115565b6000806000613856607d546001600160601b031690565b905061386181612f62565b92506000866002811115613877576138776147cc565b036138c6576001600160a01b03851660009081526039602052604090205484106138a7576138a481614045565b92505b6001600160a01b0385166000908152603a602052604090205484101591505b50935093915050565b60006138de6201518042615370565b6001600160a01b0384166000908152603e602052604090205490915081111561392d576001600160a01b03929092166000908152603e6020908152604080832094909455603d90529190912055565b6001600160a01b0383166000908152603d60205260408120805484929061395590849061535d565b9091555050505050565b600082600001828154811061397657613976614d0b565b9060005260206000200154905092915050565b604080517f353bdd8d69b9e3185b3972e08b03845c0c14a21a390215302776a7a34b0e8764815282516020808301919091528301518183015291015160608201526080902090565b600080845160028111156139e7576139e76147cc565b03613a02576139fb8284866040015161405d565b9050613a2c565b600184516002811115613a1757613a176147cc565b03613360576139fb8230858760200151613ee3565b80610cfb578383836040516341bd7d9160e11b8152600401610c5e9392919061550c565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b03166340c10f1960e01b1790529151600092861691613aa8916154ba565b6000604051808303816000865af19150503d8060008114613ae5576040519150601f19603f3d011682016040523d82523d6000602084013e613aea565b606091505b509095945050505050565b6000613b0384308585613ee3565b90508061111557613b15848484613a50565b9050611115565b6000613b2b8530868686613f91565b905080613b4157613b3e85858585614130565b90505b949350505050565b60006001600160e01b03198216637965db0b60e01b1480610c1a57506301ffc9a760e01b6001600160e01b0319831614610c1a565b60606000613b8d8360026150aa565b613b9890600261535d565b6001600160401b03811115613baf57613baf6145e2565b6040519080825280601f01601f191660200182016040528015613bd9576020820181803683370190505b509050600360fc1b81600081518110613bf457613bf4614d0b565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110613c2357613c23614d0b565b60200101906001600160f81b031916908160001a9053506000613c478460026150aa565b613c5290600161535d565b90505b6001811115613cca576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110613c8657613c86614d0b565b1a60f81b828281518110613c9c57613c9c614d0b565b60200101906001600160f81b031916908160001a90535060049490941c93613cc38161553c565b9050613c55565b5083156111155760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610c5e565b6000818152600183016020526040812054613d6057508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610c1a565b506000610c1a565b60008181526001830160205260408120548015613e51576000613d8c600183615097565b8554909150600090613da090600190615097565b9050818114613e05576000866000018281548110613dc057613dc0614d0b565b9060005260206000200154905080876000018481548110613de357613de3614d0b565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080613e1657613e16615553565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610c1a565b6000915050610c1a565b60008082516002811115613e7157613e716147cc565b148015613e82575060008260400151115b8015610c1a575050602001511590565b6000600182516002811115613ea957613ea96147cc565b148015610c1a575050604001511590565b6000600282516002811115613ed157613ed16147cc565b148015610c1a57505060400151151590565b604080516001600160a01b0385811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180516001600160e01b03166323b872dd60e01b1790529151600092871691613f43916154ba565b6000604051808303816000865af19150503d8060008114613f80576040519150601f19603f3d011682016040523d82523d6000602084013e613f85565b606091505b50909695505050505050565b604080516000808252602082019092526001600160a01b03871690613fc190879087908790879060448101615569565b60408051601f198184030181529181526020820180516001600160e01b0316637921219560e11b17905251613ff691906154ba565b6000604051808303816000865af19150503d8060008114614033576040519150601f19603f3d011682016040523d82523d6000602084013e614038565b606091505b5090979650505050505050565b6000603854600160385484603754612f7a91906150aa565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663a9059cbb60e01b1790529151600092606092908716916140ba91906154ba565b6000604051808303816000865af19150503d80600081146140f7576040519150601f19603f3d011682016040523d82523d6000602084013e6140fc565b606091505b5090925090508180156141275750805115806141275750808060200190518101906141279190615250565b95945050505050565b604080516000808252602082019092526001600160a01b0386169061415e90869086908690604481016155ae565b60408051601f198184030181529181526020820180516001600160e01b031663731133e960e01b17905251613f4391906154ba565b60408051606081018252600080825260208201529081016141cf6040805160608101909152806000815260200160008152602001600081525090565b905290565b6000602082840312156141e657600080fd5b81356001600160e01b03198116811461111557600080fd5b6001600160a01b03811681146110a957600080fd5b60006020828403121561422557600080fd5b8135611115816141fe565b60008083601f84011261424257600080fd5b5081356001600160401b0381111561425957600080fd5b6020830191508360208260051b85010111156118db57600080fd5b6000806000806040858703121561428a57600080fd5b84356001600160401b03808211156142a157600080fd5b6142ad88838901614230565b909650945060208701359150808211156142c657600080fd5b506142d387828801614230565b95989497509550505050565b600080600080600080606087890312156142f857600080fd5b86356001600160401b038082111561430f57600080fd5b61431b8a838b01614230565b9098509650602089013591508082111561433457600080fd5b6143408a838b01614230565b9096509450604089013591508082111561435957600080fd5b5061436689828a01614230565b979a9699509497509295939492505050565b80356119ec816141fe565b60006020828403121561439557600080fd5b5035919050565b600080604083850312156143af57600080fd5b8235915060208301356143c1816141fe565b809150509250929050565b600060a082840312156143de57600080fd5b50919050565b600061016082840312156143de57600080fd5b6000806000610180848603121561440d57600080fd5b61441785856143e4565b92506101608401356001600160401b038082111561443457600080fd5b818601915086601f83011261444857600080fd5b81358181111561445757600080fd5b87602060608302850101111561446c57600080fd5b6020830194508093505050509250925092565b8060608101831015610c1a57600080fd5b8060808101831015610c1a57600080fd5b6000806000806000806000806000806101208b8d0312156144c157600080fd5b6144ca8b614378565b99506144d860208c01614378565b985060408b0135975060608b0135965060808b0135955060a08b0135945060c08b01356001600160401b038082111561451057600080fd5b61451c8e838f0161447f565b955060e08d013591508082111561453257600080fd5b61453e8e838f01614490565b94506101008d013591508082111561455557600080fd5b506145628d828e01614230565b915080935050809150509295989b9194979a5092959850565b6000806040838503121561458e57600080fd5b8235614599816141fe565b946020939093013593505050565b8035601081106119ec57600080fd5b600080604083850312156145c957600080fd5b6145d2836145a7565b915060208301356143c1816141fe565b634e487b7160e01b600052604160045260246000fd5b604051606081016001600160401b038111828210171561461a5761461a6145e2565b60405290565b604051601f8201601f191681016001600160401b0381118282101715614648576146486145e2565b604052919050565b60006001600160401b03821115614669576146696145e2565b5060051b60200190565b80151581146110a957600080fd5b60008060008060006060868803121561469957600080fd5b85356001600160401b03808211156146b057600080fd5b6146bc89838a01614230565b90975095506020915087820135818111156146d657600080fd5b6146e28a828b01614230565b9096509450506040880135818111156146fa57600080fd5b88019050601f8101891361470d57600080fd5b803561472061471b82614650565b614620565b81815260059190911b8201830190838101908b83111561473f57600080fd5b928401925b8284101561476657833561475781614673565b82529284019290840190614744565b80955050505050509295509295909350565b6001600160e01b031991909116815260200190565b600080604083850312156147a057600080fd5b50508035926020909101359150565b600061016082840312156147c257600080fd5b61111583836143e4565b634e487b7160e01b600052602160045260246000fd5b600381106147f2576147f26147cc565b9052565b60006040820190506148098284516147e2565b6020928301516001600160a01b0316919092015290565b600082601f83011261483157600080fd5b8135602061484161471b83614650565b8083825260208201915060208460051b87010193508684111561486357600080fd5b602086015b8481101561487f5780358352918301918301614868565b509695505050505050565b600082601f83011261489b57600080fd5b81356001600160401b038111156148b4576148b46145e2565b6148c7601f8201601f1916602001614620565b8181528460208386010111156148dc57600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a0868803121561491157600080fd5b853561491c816141fe565b9450602086013561492c816141fe565b935060408601356001600160401b038082111561494857600080fd5b61495489838a01614820565b9450606088013591508082111561496a57600080fd5b61497689838a01614820565b9350608088013591508082111561498c57600080fd5b506149998882890161488a565b9150509295509295909350565b6000602082840312156149b857600080fd5b611115826145a7565b60008060008060008060006080888a0312156149dc57600080fd5b87356001600160401b03808211156149f357600080fd5b6149ff8b838c01614230565b909950975060208a0135915080821115614a1857600080fd5b614a248b838c01614230565b909750955060408a0135915080821115614a3d57600080fd5b614a498b838c01614230565b909550935060608a0135915080821115614a6257600080fd5b50614a6f8a828b01614490565b91505092959891949750929550565b60008060208385031215614a9157600080fd5b82356001600160401b0380821115614aa857600080fd5b818501915085601f830112614abc57600080fd5b813581811115614acb57600080fd5b86602060a083028501011115614ae057600080fd5b60209290920196919550909350505050565b600080600080600060a08688031215614b0a57600080fd5b8535614b15816141fe565b94506020860135614b25816141fe565b9350604086013592506060860135915060808601356001600160401b03811115614b4e57600080fd5b6149998882890161488a565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b600082601f830112614bb957600080fd5b81516020614bc961471b83614650565b8083825260208201915060208460051b870101935086841115614beb57600080fd5b602086015b8481101561487f578051614c03816141fe565b8352918301918301614bf0565b6001600160601b03811681146110a957600080fd5b600080600060608486031215614c3a57600080fd5b83516001600160401b0380821115614c5157600080fd5b614c5d87838801614ba8565b9450602091508186015181811115614c7457600080fd5b614c8088828901614ba8565b945050604086015181811115614c9557600080fd5b86019050601f81018713614ca857600080fd5b8051614cb661471b82614650565b81815260059190911b82018301908381019089831115614cd557600080fd5b928401925b82841015614cfc578351614ced81614c10565b82529284019290840190614cda565b80955050505050509250925092565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6001600160601b03818116838216019080821115612f5b57612f5b614d21565b8035600381106119ec57600080fd5b600060608284031215614d7857600080fd5b614d806145f8565b9050614d8b82614d57565b8152602082013560208201526040820135604082015292915050565b600060a08284031215614db957600080fd5b614dc16145f8565b8235614dcc816141fe565b81526020830135614ddc816141fe565b6020820152614dee8460408501614d66565b60408201529392505050565b600060608284031215614e0c57600080fd5b614e146145f8565b823560ff81168114614e2557600080fd5b8152602083810135908201526040928301359281019290925250919050565b6000808335601e19843603018112614e5b57600080fd5b8301803591506001600160401b03821115614e7557600080fd5b6020019150600581901b36038213156118db57600080fd5b600060208284031215614e9f57600080fd5b813561111581614c10565b8035600281106119ec57600080fd5b600060608284031215614ecb57600080fd5b614ed36145f8565b90508135614ee0816141fe565b81526020820135614ef0816141fe565b806020830152506040820135604082015292915050565b60006101608284031215614f1a57600080fd5b60405160a081018181106001600160401b0382111715614f3c57614f3c6145e2565b60405282358152614f4f60208401614eaa565b6020820152614f618460408501614eb9565b6040820152614f738460a08501614eb9565b6060820152614f86846101008501614d66565b60808201529392505050565b600281106147f2576147f26147cc565b8035614fad816141fe565b6001600160a01b039081168352602082013590614fc9826141fe565b166020830152604090810135910152565b60006101808201905083825282356020830152614ff960208401614eaa565b6150066040840182614f92565b506150176060830160408501614fa2565b61502760c0830160a08501614fa2565b61012061504281840161503d6101008701614d57565b6147e2565b61014081850135818501528085013561016085015250509392505050565b60006020828403121561507257600080fd5b61111582614d57565b60006060828403121561508d57600080fd5b6111158383614d66565b81810381811115610c1a57610c1a614d21565b8082028115828204841417610c1a57610c1a614d21565b6000602082840312156150d357600080fd5b813561111581614673565b6001600160601b03828116828216039080821115612f5b57612f5b614d21565b601081106147f2576147f26147cc565b60208101610c1a82846150fe565b6001600160e01b03198316815260408101600b831061513d5761513d6147cc565b8260208301529392505050565b8183526000602080850194508260005b8581101561518857813561516d816141fe565b6001600160a01b03168752958201959082019060010161515a565b509495945050505050565b6040815260006151a760408301868861514a565b82810360208401528381526001600160fb1b038411156151c657600080fd5b8360051b80866020840137016020019695505050505050565b6060815260006151f360608301888a61514a565b6020838203602085015261520882888a61514a565b848103604086015285815286925060200160005b86811015615241576152318261503d86614d57565b928201929082019060010161521c565b509a9950505050505050505050565b60006020828403121561526257600080fd5b815161111581614673565b60006001820161527f5761527f614d21565b5060010190565b6152918282516147e2565b60208181015190830152604090810151910152565b6000610180820190508382528251602083015260208301516152cb6040840182614f92565b5060408381015180516001600160a01b03908116606086015260208201511660808501529081015160a084015250606083015180516001600160a01b0390811660c085015260208201511660e0840152604081015161010084015250608083015161533a610120840182615286565b509392505050565b60006020828403121561535457600080fd5b61111582614eaa565b80820180821115610c1a57610c1a614d21565b60008261538d57634e487b7160e01b600052601260045260246000fd5b500490565b6001600160e01b031984168152606081016153b060208301856150fe565b6001600160a01b03929092166040919091015292915050565b6000602082840312156153db57600080fd5b5051919050565b60005b838110156153fd5781810151838201526020016153e5565b50506000910152565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161543e8160178501602088016153e2565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161546f8160288401602088016153e2565b01602801949350505050565b600081518084526154938160208601602086016153e2565b601f01601f19169290920160200192915050565b602081526000611115602083018461547b565b600082516154cc8184602087016153e2565b9190910192915050565b60c081016154e48287615286565b6001600160a01b0394851660608301529284166080820152921660a090920191909152919050565b60a0810161551a8286615286565b6001600160a01b03938416606083015291909216608090920191909152919050565b60008161554b5761554b614d21565b506000190190565b634e487b7160e01b600052603160045260246000fd5b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190526000906155a39083018461547b565b979650505050505050565b60018060a01b03851681528360208201528260408201526080606082015260006155db608083018461547b565b969550505050505056fe7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498a2646970667358221220adc544fca693cfd23fbe440435aafb94a2ad08c9840546710b0fb29a782fcc0e64736f6c63430008170033\"", + "blockNumber": 20619264, + "bytecode": "\"0x608060405234801562000010575f80fd5b505f805460ff19169055620000246200002a565b620000ec565b607154610100900460ff1615620000975760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60715460ff9081161015620000ea576071805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b61561480620000fa5f395ff3fe60806040526004361061038f575f3560e01c80638f34e347116101db578063b9c3620911610101578063d55ed1031161009f578063dff525e11161006e578063dff525e114610a99578063e400327c14610ab8578063e75235b814610ad7578063f23a6e6114610aee5761039e565b8063d55ed10314610a11578063d64af2a614610a3c578063dafae40814610a5b578063de981f1b14610a7a5761039e565b8063ca15c873116100db578063ca15c87314610991578063cdb67444146109b0578063d19773d2146109c7578063d547741f146109f25761039e565b8063b9c3620914610928578063bc197c8114610947578063c48549de146109725761039e565b8063a217fddf11610179578063affed0e011610148578063affed0e01461089d578063b1a2567e146108b2578063b1d08a03146108d1578063b2975794146108fc5761039e565b8063a217fddf14610840578063a3912ec81461039c578063ab79656614610853578063ac78dfe81461087e5761039e565b80639157921c116101b55780639157921c146107af57806391d14854146107ce57806393c5678f146107ed5780639dcc4da31461080c5761039e565b80638f34e347146107315780638f851d8a146107645780639010d07c146107905761039e565b806336568abe116102c0578063504af48c1161025e5780636c1ce6701161022d5780636c1ce670146106cb5780637de5dedd146106ea5780638456cb59146106fe578063865e6fd3146107125761039e565b8063504af48c1461064c57806359122f6b1461065f5780635c975abb1461068a5780636932be98146106a05761039e565b80633f4ba83a1161029a5780633f4ba83a146105d85780634b14557e146105ec5780634d0d6673146105ff5780634d493f4e1461061e5761039e565b806336568abe1461058657806338e454b1146105a55780633e70838b146105b95761039e565b80631d4a72101161032d5780632dfdf0b5116103075780632dfdf0b5146105285780632f2ff15d1461053d578063302d12db1461055c5780633644e515146105725761039e565b80631d4a7210146104b0578063248a9ca3146104db57806329b6eca9146105095761039e565b806317ce2dd41161036957806317ce2dd41461043057806317fcb39b146104535780631a8e55b0146104725780631b6e7594146104915761039e565b806301ffc9a7146103a6578063065b3adf146103da578063110a8308146104115761039e565b3661039e5761039c610b19565b005b61039c610b19565b3480156103b1575f80fd5b506103c56103c03660046142cf565b610b37565b60405190151581526020015b60405180910390f35b3480156103e5575f80fd5b506005546103f9906001600160a01b031681565b6040516001600160a01b0390911681526020016103d1565b34801561041c575f80fd5b5061039c61042b36600461430a565b610b7c565b34801561043b575f80fd5b5061044560755481565b6040519081526020016103d1565b34801561045e575f80fd5b506074546103f9906001600160a01b031681565b34801561047d575f80fd5b5061039c61048c366004614365565b610c04565b34801561049c575f80fd5b5061039c6104ab3660046143cb565b610c3f565b3480156104bb575f80fd5b506104456104ca36600461430a565b603e6020525f908152604090205481565b3480156104e6575f80fd5b506104456104f5366004614468565b5f9081526072602052604090206001015490565b348015610514575f80fd5b5061039c61052336600461430a565b610c7e565b348015610533575f80fd5b5061044560765481565b348015610548575f80fd5b5061039c61055736600461447f565b610d06565b348015610567575f80fd5b50610445620f424081565b34801561057d575f80fd5b50607754610445565b348015610591575f80fd5b5061039c6105a036600461447f565b610d2f565b3480156105b0575f80fd5b5061039c610dad565b3480156105c4575f80fd5b5061039c6105d336600461430a565b610f7f565b3480156105e3575f80fd5b5061039c610fa9565b61039c6105fa3660046144ad565b610fb9565b34801561060a575f80fd5b506103c56106193660046144d4565b610fdc565b348015610629575f80fd5b506103c5610638366004614468565b607a6020525f908152604090205460ff1681565b61039c61065a366004614575565b61104a565b34801561066a575f80fd5b5061044561067936600461430a565b603a6020525f908152604090205481565b348015610695575f80fd5b505f5460ff166103c5565b3480156106ab575f80fd5b506104456106ba366004614468565b60796020525f908152604090205481565b3480156106d6575f80fd5b506103c56106e5366004614646565b61130b565b3480156106f5575f80fd5b50610445611316565b348015610709575f80fd5b5061039c61132c565b34801561071d575f80fd5b5061039c61072c36600461467e565b61133c565b34801561073c575f80fd5b506104457f5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e481565b34801561076f575f80fd5b5061078361077e366004614743565b611357565b6040516103d19190614831565b34801561079b575f80fd5b506103f96107aa366004614846565b6114d3565b3480156107ba575f80fd5b5061039c6107c9366004614866565b6114ea565b3480156107d9575f80fd5b506103c56107e836600461447f565b611765565b3480156107f8575f80fd5b5061039c610807366004614365565b61178f565b348015610817575f80fd5b5061082b610826366004614846565b6117c4565b604080519283526020830191909152016103d1565b34801561084b575f80fd5b506104455f81565b34801561085e575f80fd5b5061044561086d36600461430a565b603c6020525f908152604090205481565b348015610889575f80fd5b506103c5610898366004614468565b6117ec565b3480156108a8575f80fd5b5061044560045481565b3480156108bd575f80fd5b5061039c6108cc366004614365565b611817565b3480156108dc575f80fd5b506104456108eb36600461430a565b60396020525f908152604090205481565b348015610907575f80fd5b5061091b61091636600461430a565b61184c565b6040516103d191906148a9565b348015610933575f80fd5b5061039c610942366004614846565b6118ed565b348015610952575f80fd5b506107836109613660046149a4565b63bc197c8160e01b95945050505050565b34801561097d575f80fd5b5061078361098c366004614365565b611907565b34801561099c575f80fd5b506104456109ab366004614468565b611a93565b3480156109bb575f80fd5b5060375460385461082b565b3480156109d2575f80fd5b506104456109e136600461430a565b603b6020525f908152604090205481565b3480156109fd575f80fd5b5061039c610a0c36600461447f565b611aa9565b348015610a1c575f80fd5b50610445610a2b36600461430a565b603d6020525f908152604090205481565b348015610a47575f80fd5b5061039c610a5636600461430a565b611acd565b348015610a66575f80fd5b506103c5610a75366004614468565b611ade565b348015610a85575f80fd5b506103f9610a94366004614a4a565b611b01565b348015610aa4575f80fd5b5061039c610ab3366004614a63565b611b74565b348015610ac3575f80fd5b5061039c610ad2366004614365565b611be7565b348015610ae2575f80fd5b5060015460025461082b565b348015610af9575f80fd5b50610783610b08366004614b17565b63f23a6e6160e01b95945050505050565b6074546001600160a01b03163303610b2d57565b610b35611c1c565b565b5f6001600160e01b03198216631f3673bb60e01b1480610b6757506001600160e01b031982166312c0151560e21b145b80610b765750610b7682611c46565b92915050565b607154600490610100900460ff16158015610b9e575060715460ff8083169116105b610bc35760405162461bcd60e51b8152600401610bba90614b7a565b60405180910390fd5b6071805461ffff191660ff83169081176101001761ff0019169091556040519081525f805160206155bf833981519152906020015b60405180910390a15050565b610c0c611c6a565b5f839003610c2d576040516316ee9d3b60e11b815260040160405180910390fd5b610c3984848484611cc3565b50505050565b610c47611c6a565b5f859003610c68576040516316ee9d3b60e11b815260040160405180910390fd5b610c76868686868686611d94565b505050505050565b607154600290610100900460ff16158015610ca0575060715460ff8083169116105b610cbc5760405162461bcd60e51b8152600401610bba90614b7a565b6071805461ffff191660ff831617610100179055610cdb600b83611f36565b6071805461ff001916905560405160ff821681525f805160206155bf83398151915290602001610bf8565b5f82815260726020526040902060010154610d2081611fd7565b610d2a8383611fe1565b505050565b6001600160a01b0381163314610d9f5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610bba565b610da98282612002565b5050565b607154600390610100900460ff16158015610dcf575060715460ff8083169116105b610deb5760405162461bcd60e51b8152600401610bba90614b7a565b6071805461ffff191660ff8316176101001790555f610e0a600b611b01565b90505f80826001600160a01b031663c441c4a86040518163ffffffff1660e01b81526004015f60405180830381865afa158015610e49573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610e709190810190614c41565b92509250505f805b8351811015610f2957828181518110610e9357610e93614d1f565b6020026020010151607e5f868481518110610eb057610eb0614d1f565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f205f6101000a8154816001600160601b0302191690836001600160601b03160217905550828181518110610f0c57610f0c614d1f565b602002602001015182610f1f9190614d47565b9150600101610e78565b50607d80546001600160601b0319166001600160601b039290921691909117905550506071805461ff00191690555060405160ff821681525f805160206155bf833981519152906020015b60405180910390a150565b610f87611c6a565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b610fb1612023565b610b35612091565b610fc16120e2565b610fd9610fd336839003830183614db4565b33612127565b50565b5f610fe56120e2565b611040848484808060200260200160405190810160405280939291908181526020015f905b828210156110365761102760608302860136819003810190614e05565b8152602001906001019061100a565b505050505061236e565b90505b9392505050565b607154610100900460ff161580801561106a5750607154600160ff909116105b806110845750303b158015611084575060715460ff166001145b6110a05760405162461bcd60e51b8152600401610bba90614b7a565b6071805460ff1916600117905580156110c3576071805461ff0019166101001790555b6110cd5f8c6127fa565b60758990556110db8a612804565b6111666040517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81527f159f52c1e3a2b6a6aad3950adf713516211484e0516dad685ea662a094b7c43b60208201527fad7c5bef027816a800da1736444fb58a807ef4c9603b7848673f7e3a68eb14a5604082015246606082015230608082015260a0812060775550565b6111708887612852565b61117a87876128f3565b505061118461299a565b5f61118f8680614e4c565b9050111561124f576111b86111a48680614e4c565b6111b16020890189614e4c565b8787611d94565b6111dd6111c58680614e4c565b865f5b6020028101906111d89190614e4c565b6129e6565b6112036111ea8680614e4c565b8660015b6020028101906111fe9190614e4c565b611cc3565b6112296112108680614e4c565b8660025b6020028101906112249190614e4c565b612ab7565b61124f6112368680614e4c565b8660035b60200281019061124a9190614e4c565b612bc4565b5f5b61125e6040870187614e4c565b90508110156112ca576112c27f5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e46112986040890189614e4c565b848181106112a8576112a8614d1f565b90506020020160208101906112bd919061430a565b611fe1565b600101611251565b5080156112fe576071805461ff0019169055604051600181525f805160206155bf8339815191529060200160405180910390a15b5050505050505050505050565b5f6110438383612c95565b5f611327611322612d59565b612d96565b905090565b611334612023565b610b35612dfa565b611344611c6a565b61134d81612e36565b610da98282611f36565b5f600b61136381612e6b565b82518690811415806113755750808514155b156113a0575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b805f036113b757506347c28ec560e11b91506114c9565b5f5b818110156114bc578481815181106113d3576113d3614d1f565b6020026020010151156114b4578686828181106113f2576113f2614d1f565b90506020020160208101906114079190614e91565b607d80546001600160601b031981166001600160601b03918216939093011691909117905586868281811061143e5761143e614d1f565b90506020020160208101906114539190614e91565b607e5f8b8b8581811061146857611468614d1f565b905060200201602081019061147d919061430a565b6001600160a01b0316815260208101919091526040015f2080546001600160601b0319166001600160601b03929092169190911790555b6001016113b9565b506347c28ec560e11b9250505b5095945050505050565b5f8281526073602052604081206110439083612eb6565b7f5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e461151481611fd7565b5f61152c61152736859003850185614f06565b612ec1565b905061154061152736859003850185614f06565b83355f908152607960205260409020541461156e5760405163f4b8742f60e01b815260040160405180910390fd5b82355f908152607a602052604090205460ff1661159e5760405163147bfe0760e01b815260040160405180910390fd5b82355f908152607a602052604090819020805460ff19169055517fd639511b37b3b002cca6cfe6bca0d833945a5af5a045578a0627fc43b79b2630906115e79083908690614fd7565b60405180910390a15f611600608085016060860161430a565b90505f6116156101208601610100870161505c565b600281111561162657611626614881565b036116ea575f61163f3686900386016101008701615075565b6001600160a01b0383165f908152603b602052604090205490915061166a9061014087013590612f88565b60408201525f6116833687900387016101008801615075565b604083015190915061169a9061014088013561508f565b60408201526074546116ba908390339086906001600160a01b0316612fa1565b6116e36116cd606088016040890161430a565b60745483919086906001600160a01b0316612fa1565b5050611726565b6117266116fd606086016040870161430a565b60745483906001600160a01b031661171e3689900389016101008a01615075565b929190612fa1565b7f21e88e956aa3e086f6388e899965cef814688f99ad8bb29b08d396571016372d8285604051611757929190614fd7565b60405180910390a150505050565b5f9182526072602090815260408084206001600160a01b0393909316845291905290205460ff1690565b611797611c6a565b5f8390036117b8576040516316ee9d3b60e11b815260040160405180910390fd5b610c39848484846129e6565b5f806117ce611c6a565b6117d884846128f3565b90925090506117e561299a565b9250929050565b5f6117f5612d59565b60375461180291906150a2565b60385461180f90846150a2565b101592915050565b61181f611c6a565b5f839003611840576040516316ee9d3b60e11b815260040160405180910390fd5b610c3984848484612ab7565b604080518082019091525f80825260208201526001600160a01b0382165f908152607860205260409081902081518083019092528054829060ff16600281111561189857611898614881565b60028111156118a9576118a9614881565b815290546001600160a01b03610100909104811660209283015290820151919250166118e857604051631b79f53b60e21b815260040160405180910390fd5b919050565b6118f5611c6a565b6118ff8282612852565b610da961299a565b5f600b61191381612e6b565b84838114611941575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b805f036119585750636242a4ef60e11b9150611a8a565b5f805b82811015611a3b5786868281811061197557611975614d1f565b905060200201602081019061198a91906150b9565b15611a3357607e5f8a8a848181106119a4576119a4614d1f565b90506020020160208101906119b9919061430a565b6001600160a01b0316815260208101919091526040015f908120546001600160601b03169290920191607e908a8a848181106119f7576119f7614d1f565b9050602002016020810190611a0c919061430a565b6001600160a01b0316815260208101919091526040015f2080546001600160601b03191690555b60010161195b565b50607d80548291905f90611a599084906001600160601b03166150d4565b92506101000a8154816001600160601b0302191690836001600160601b0316021790555063c48549de60e01b935050505b50949350505050565b5f818152607360205260408120610b76906131ca565b5f82815260726020526040902060010154611ac381611fd7565b610d2a8383612002565b611ad5611c6a565b610fd981612804565b5f611ae7612d59565b600154611af491906150a2565b60025461180f90846150a2565b5f7fdea3103d22025c269050bea94c0c84688877f12fa22b7e6d2d5d78a9a49aa1cb5f83600f811115611b3657611b36614881565b60ff16815260208101919091526040015f20546001600160a01b03169050806118e8578160405163409140df60e11b8152600401610bba9190615104565b611b7c611c6a565b5f869003611b9d576040516316ee9d3b60e11b815260040160405180910390fd5b611bab878787878787611d94565b611bb78787835f6111c8565b611bc487878360016111ee565b611bd18787836002611214565b611bde878783600361123a565b50505050505050565b611bef611c6a565b5f839003611c10576040516316ee9d3b60e11b815260040160405180910390fd5b610c3984848484612bc4565b611c246120e2565b611c2c614292565b338152604080820151349101528051610fd9908290612127565b5f6001600160e01b03198216630271189760e51b1480610b765750610b76826131d3565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103546001600160a01b03163314610b35575f356001600160e01b0319166001604051620f948f60ea1b8152600401610bba929190615112565b828114611cf0575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b83811015611d5e57828282818110611d0c57611d0c614d1f565b90506020020135603a5f878785818110611d2857611d28614d1f565b9050602002016020810190611d3d919061430a565b6001600160a01b0316815260208101919091526040015f2055600101611cf2565b507f64557254143204d91ba2d95acb9fda1e5fea55f77efd028685765bc1e94dd4b5848484846040516117579493929190615187565b8483148015611da257508481145b611dcc575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b85811015611eec57848482818110611de857611de8614d1f565b9050602002016020810190611dfd919061430a565b60785f898985818110611e1257611e12614d1f565b9050602002016020810190611e27919061430a565b6001600160a01b03908116825260208201929092526040015f208054610100600160a81b0319166101009390921692909202179055828282818110611e6e57611e6e614d1f565b9050602002016020810190611e83919061505c565b60785f898985818110611e9857611e98614d1f565b9050602002016020810190611ead919061430a565b6001600160a01b0316815260208101919091526040015f20805460ff19166001836002811115611edf57611edf614881565b0217905550600101611dce565b507fa4f03cc9c0e0aeb5b71b4ec800702753f65748c2cf3064695ba8e8b46be70444868686868686604051611f26969594939291906151d1565b60405180910390a1505050505050565b807fdea3103d22025c269050bea94c0c84688877f12fa22b7e6d2d5d78a9a49aa1cb5f84600f811115611f6b57611f6b614881565b60ff16815260208101919091526040015f2080546001600160a01b0319166001600160a01b03928316179055811682600f811115611fab57611fab614881565b6040517f865d1c228a8ea13709cfe61f346f7ff67f1bbd4a18ff31ad3e7147350d317c59905f90a35050565b610fd981336131f7565b611feb828261325b565b5f828152607360205260409020610d2a90826132e0565b61200c82826132f4565b5f828152607360205260409020610d2a908261335a565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103546001600160a01b031633148061206557506005546001600160a01b031633145b610b35575f356001600160e01b0319166001604051620f948f60ea1b8152600401610bba929190615112565b61209961336e565b5f805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b5f5460ff1615610b355760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610bba565b6040805180820182525f80825260208201526074549184015190916001600160a01b031690612155906133b6565b60208401516001600160a01b03166121f657348460400151604001511461218f5760405163129c2ce160e31b815260040160405180910390fd5b6121988161184c565b60408501515190925060028111156121b2576121b2614881565b825160028111156121c5576121c5614881565b146121e25760405162035e2b60ea1b815260040160405180910390fd5b6001600160a01b03811660208501526122fd565b34156122155760405163129c2ce160e31b815260040160405180910390fd5b612222846020015161184c565b604085015151909250600281111561223c5761223c614881565b8251600281111561224f5761224f614881565b1461226c5760405162035e2b60ea1b815260040160405180910390fd5b602084015160408501516122819185906133fa565b83602001516001600160a01b0316816001600160a01b0316036122fd576040848101518101519051632e1a7d4d60e01b815260048101919091526001600160a01b03821690632e1a7d4d906024015f604051808303815f87803b1580156122e6575f80fd5b505af11580156122f8573d5f803e3d5ffd5b505050505b607680545f918261230d83615240565b9190505590505f612333858386602001516075548a61356e90949392919063ffffffff16565b90507fd7b25068d9dc8d00765254cfb7f5070f98d263c8d68931d937c7362fa738048b61235f82612ec1565b82604051611f26929190615278565b5f823561014084013582612388608087016060880161430a565b90506123a56123a03688900388016101008901615075565b6133b6565b60016123b76040880160208901615313565b60018111156123c8576123c8614881565b146123e65760405163182f3d8760e11b815260040160405180910390fd5b608086013546146124275760405163092048d160e11b81525f356001600160e01b031916600482015260808701356024820152466044820152606401610bba565b5f61243b6109166080890160608a0161430a565b905061244f6101208801610100890161505c565b600281111561246057612460614881565b8151600281111561247357612473614881565b1480156124a4575061248b60e0880160c0890161430a565b6001600160a01b031681602001516001600160a01b0316145b80156124b5575060755460e0880135145b6124d25760405163f4b8742f60e01b815260040160405180910390fd5b5f84815260796020526040902054156124fe57604051634f13df6160e01b815260040160405180910390fd5b600161251261012089016101008a0161505c565b600281111561252357612523614881565b148061253657506125348284612c95565b155b6125535760405163c51297b760e01b815260040160405180910390fd5b5f612566611527368a90038a018a614f06565b90505f61257560775483613641565b90505f61259461258d6101208c016101008d0161505c565b8688613681565b604080516060810182525f80825260208201819052918101829052919a50919250819081905f805b8e518110156126d4578e81815181106125d7576125d7614d1f565b602002602001015192506125f888845f015185602001518660400151613702565b9450846001600160a01b0316846001600160a01b031610612639575f356001600160e01b031916604051635d3dcd3160e01b8152600401610bba9190614831565b6001600160a01b0385165f908152607e60205260408120548695506001600160601b0316908190036126ae5760408051634e97700760e01b81526001600160a01b038816600482015260248101839052855160ff1660448201526020860151606482015290850151608482015260a401610bba565b6126b8818461532c565b92508783106126cb5760019650506126d4565b506001016125bc565b50846126f357604051639e8f5f6360e01b815260040160405180910390fd5b5050505f8981526079602052604090208590555050871561276c575f878152607a602052604090819020805460ff19166001179055517f89e52969465b1f1866fc5d46fd62de953962e9cb33552443cd999eba05bd20dc906127589085908d90614fd7565b60405180910390a150505050505050610b76565b612776858761372a565b6127b461278960608c0160408d0161430a565b8660745f9054906101000a90046001600160a01b03168d6101000180360381019061171e9190615075565b7f21e88e956aa3e086f6388e899965cef814688f99ad8bb29b08d396571016372d838b6040516127e5929190614fd7565b60405180910390a15050505050505092915050565b610da98282611fe1565b607480546001600160a01b0319166001600160a01b0383169081179091556040519081527f9d2334c23be647e994f27a72c5eee42a43d5bdcfe15bb88e939103c2b114cbaf90602001610f74565b8082118061285e575080155b80612867575081155b15612892575f356001600160e01b0319166040516387f6f09560e01b8152600401610bba9190614831565b6001805460028054858455908490556004805493840190556040805183815260208101839052929391928592879290917f976f8a9c5bdf8248dec172376d6e2b80a8e3df2f0328e381c6db8e1cf138c0f8910160405180910390a450505050565b5f8082841180612901575083155b8061290a575082155b15612935575f356001600160e01b0319166040516387f6f09560e01b8152600401610bba9190614831565b5050603780546038805492859055839055600480546001810190915560408051838152602081018590529293928592879290917f31312c97b89cc751b832d98fd459b967a2c3eef3b49757d1cf5ebaa12bb6eee1910160405180910390a49250929050565b6002546037546129aa91906150a2565b6038546001546129ba91906150a2565b1115610b35575f356001600160e01b0319166040516387f6f09560e01b8152600401610bba9190614831565b828114612a13575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b83811015612a8157828282818110612a2f57612a2f614d1f565b9050602002013560395f878785818110612a4b57612a4b614d1f565b9050602002016020810190612a60919061430a565b6001600160a01b0316815260208101919091526040015f2055600101612a15565b507f80bc635c452ae67f12f9b6f12ad4daa6dbbc04eeb9ebb87d354ce10c0e210dc0848484846040516117579493929190615187565b828114612ae4575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b83811015612b8e57620f4240838383818110612b0457612b04614d1f565b905060200201351115612b2a5760405163572d3bd360e11b815260040160405180910390fd5b828282818110612b3c57612b3c614d1f565b90506020020135603b5f878785818110612b5857612b58614d1f565b9050602002016020810190612b6d919061430a565b6001600160a01b0316815260208101919091526040015f2055600101612ae6565b507fb05f5de88ae0294ebb6f67c5af2fcbbd593cc6bdfe543e2869794a4c8ce3ea50848484846040516117579493929190615187565b828114612bf1575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b83811015612c5f57828282818110612c0d57612c0d614d1f565b90506020020135603c5f878785818110612c2957612c29614d1f565b9050602002016020810190612c3e919061430a565b6001600160a01b0316815260208101919091526040015f2055600101612bf3565b507fb5d2963614d72181b4df1f993d45b83edf42fa19710f0204217ba1b3e183bb73848484846040516117579493929190615187565b6001600160a01b0382165f908152603a60205260408120548210612cba57505f610b76565b5f612cc8620151804261533f565b6001600160a01b0385165f908152603e6020526040902054909150811115612d0c5750506001600160a01b0382165f908152603c6020526040902054811015610b76565b6001600160a01b0384165f908152603d6020526040902054612d2f90849061532c565b6001600160a01b0385165f908152603c602052604090205411159150610b769050565b5092915050565b607d546001600160601b03165f819003612d93575f356001600160e01b031916604051631103b51560e31b8152600401610bba9190614831565b90565b5f600254600160025484600154612dad91906150a2565b612db7919061532c565b612dc1919061508f565b612dcb919061533f565b9050805f036118e8575f356001600160e01b03191660405163267b1b9160e01b8152600401610bba9190614831565b612e026120e2565b5f805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586120c53390565b806001600160a01b03163b5f03610fd957604051630bfc64a360e21b81526001600160a01b0382166004820152602401610bba565b612e7481611b01565b6001600160a01b0316336001600160a01b031614610fd9575f356001600160e01b03191681336040516320e0f98d60e21b8152600401610bba9392919061535e565b5f61104383836137b6565b5f80612ed083604001516137dc565b90505f612ee084606001516137dc565b90505f612f338560800151604080517f1e2b74b2a792d5c0f0b6e59b037fa9d43d84fbb759337f0112fcc15ca414fc8d815282516020808301919091528301518183015291015160608201526080902090565b604080517fb9d1fe7c9deeec5dc90a2f47ff1684239519f2545b2228d3d91fb27df3189eea815287516020808301919091529097015190870152606086019390935250608084015260a08301525060c0902090565b5f620f4240612f9783856150a2565b611043919061533f565b806001600160a01b0316826001600160a01b0316036130495760408085015190516001600160a01b0385169180156108fc02915f818181858888f1935050505061304457806001600160a01b031663d0e30db085604001516040518263ffffffff1660e01b81526004015f604051808303818588803b158015613022575f80fd5b505af1158015613034573d5f803e3d5ffd5b5050505050613044848484613824565b610c39565b5f8451600281111561305d5761305d614881565b03613120576040516370a0823160e01b81523060048201525f906001600160a01b038416906370a0823190602401602060405180830381865afa1580156130a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130ca9190615395565b9050846040015181101561310f576130f283308388604001516130ed919061508f565b6138a2565b61310f57604051632f739fff60e11b815260040160405180910390fd5b61311a858585613824565b50610c39565b60018451600281111561313557613135614881565b036131665761314982848660200151613942565b6130445760405163c8e3a09f60e01b815260040160405180910390fd5b60028451600281111561317b5761317b614881565b036131b157613194828486602001518760400151613968565b613044576040516334b471a760e21b815260040160405180910390fd5b6040516361e411a760e11b815260040160405180910390fd5b5f610b76825490565b5f6001600160e01b03198216635a05180f60e01b1480610b765750610b7682613990565b6132018282611765565b610da957613219816001600160a01b031660146139c4565b6132248360206139c4565b6040516020016132359291906153ce565b60408051601f198184030181529082905262461bcd60e51b8252610bba9160040161546d565b6132658282611765565b610da9575f8281526072602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561329c3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b5f611043836001600160a01b038416613b59565b6132fe8282611765565b15610da9575f8281526072602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b5f611043836001600160a01b038416613ba5565b5f5460ff16610b355760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610bba565b6133bf81613c88565b806133ce57506133ce81613cbd565b806133dd57506133dd81613ce4565b610fd95760405163034992a760e51b815260040160405180910390fd5b5f6060818551600281111561341157613411614881565b036134e85760408581015181516001600160a01b03878116602483015230604483015260648083019390935283518083039093018352608490910183526020820180516001600160e01b03166323b872dd60e01b179052915191851691613478919061547f565b5f604051808303815f865af19150503d805f81146134b1576040519150601f19603f3d011682016040523d82523d5f602084013e6134b6565b606091505b5090925090508180156134e15750805115806134e15750808060200190518101906134e1919061549a565b9150613541565b6001855160028111156134fd576134fd614881565b03613512576134e18385308860200151613d0c565b60028551600281111561352757613527614881565b036131b1576134e183853088602001518960400151613db5565b816135675784843085604051639d2e4c6760e01b8152600401610bba94939291906154b5565b5050505050565b6135dd6040805160a0810182525f8082526020808301829052835160608082018652838252818301849052818601849052848601919091528451808201865283815280830184905280860184905281850152845190810185528281529081018290529283015290608082015290565b8381525f6020820181905250604080820180516001600160a01b039788169052602080890151825190891690820152905146908301528751606084018051918916909152805195909716940193909352935182015292909201516080820152919050565b6040805161190160f01b60208083019190915260228201859052604280830185905283518084039091018152606290920190925280519101205f90611043565b5f805f61368c612d59565b905061369781612d96565b92505f8660028111156136ac576136ac614881565b036136f9576001600160a01b0385165f9081526039602052604090205484106136db576136d881613e64565b92505b6001600160a01b0385165f908152603a602052604090205484101591505b50935093915050565b5f805f61371187878787613ec8565b9150915061371e81613fad565b5090505b949350505050565b5f613738620151804261533f565b6001600160a01b0384165f908152603e6020526040902054909150811115613785576001600160a01b03929092165f908152603e6020908152604080832094909455603d90529190912055565b6001600160a01b0383165f908152603d6020526040812080548492906137ac90849061532c565b9091555050505050565b5f825f0182815481106137cb576137cb614d1f565b905f5260205f200154905092915050565b604080517f353bdd8d69b9e3185b3972e08b03845c0c14a21a390215302776a7a34b0e8764815282516020808301919091528301518183015291015160608201526080902090565b5f808451600281111561383957613839614881565b036138545761384d82848660400151614162565b905061387e565b60018451600281111561386957613869614881565b036131b15761384d8230858760200151613d0c565b80610c39578383836040516341bd7d9160e11b8152600401610bba939291906154eb565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b03166340c10f1960e01b17905291515f928616916138f99161547f565b5f604051808303815f865af19150503d805f8114613932576040519150601f19603f3d011682016040523d82523d5f602084013e613937565b606091505b509095945050505050565b5f61394f84308585613d0c565b905080611043576139618484846138a2565b9050611043565b5f6139768530868686613db5565b9050806137225761398985858585614230565b9050613722565b5f6001600160e01b03198216637965db0b60e01b1480610b7657506301ffc9a760e01b6001600160e01b0319831614610b76565b60605f6139d28360026150a2565b6139dd90600261532c565b6001600160401b038111156139f4576139f46146a8565b6040519080825280601f01601f191660200182016040528015613a1e576020820181803683370190505b509050600360fc1b815f81518110613a3857613a38614d1f565b60200101906001600160f81b03191690815f1a905350600f60fb1b81600181518110613a6657613a66614d1f565b60200101906001600160f81b03191690815f1a9053505f613a888460026150a2565b613a9390600161532c565b90505b6001811115613b0a576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110613ac757613ac7614d1f565b1a60f81b828281518110613add57613add614d1f565b60200101906001600160f81b03191690815f1a90535060049490941c93613b038161551b565b9050613a96565b5083156110435760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610bba565b5f818152600183016020526040812054613b9e57508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610b76565b505f610b76565b5f8181526001830160205260408120548015613c7f575f613bc760018361508f565b85549091505f90613bda9060019061508f565b9050818114613c39575f865f018281548110613bf857613bf8614d1f565b905f5260205f200154905080875f018481548110613c1857613c18614d1f565b5f918252602080832090910192909255918252600188019052604090208390555b8554869080613c4a57613c4a615530565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f905560019350505050610b76565b5f915050610b76565b5f8082516002811115613c9d57613c9d614881565b148015613cad57505f8260400151115b8015610b76575050602001511590565b5f600182516002811115613cd357613cd3614881565b148015610b76575050604001511590565b5f600282516002811115613cfa57613cfa614881565b148015610b7657505060400151151590565b604080516001600160a01b0385811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180516001600160e01b03166323b872dd60e01b17905291515f92871691613d6b9161547f565b5f604051808303815f865af19150503d805f8114613da4576040519150601f19603f3d011682016040523d82523d5f602084013e613da9565b606091505b50909695505050505050565b604080515f808252602082019092526001600160a01b03871690613de490879087908790879060448101615544565b60408051601f198184030181529181526020820180516001600160e01b0316637921219560e11b17905251613e19919061547f565b5f604051808303815f865af19150503d805f8114613e52576040519150601f19603f3d011682016040523d82523d5f602084013e613e57565b606091505b5090979650505050505050565b5f603854600160385484603754613e7b91906150a2565b613e85919061532c565b613e8f919061508f565b613e99919061533f565b9050805f036118e8575f356001600160e01b031916604051639b974b0f60e01b8152600401610bba9190614831565b5f807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115613efd57505f90506003613fa4565b8460ff16601b14158015613f1557508460ff16601c14155b15613f2557505f90506004613fa4565b604080515f8082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015613f76573d5f803e3d5ffd5b5050604051601f1901519150506001600160a01b038116613f9e575f60019250925050613fa4565b91505f90505b94509492505050565b5f816004811115613fc057613fc0614881565b03613fc85750565b6001816004811115613fdc57613fdc614881565b036140295760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610bba565b600281600481111561403d5761403d614881565b0361408a5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610bba565b600381600481111561409e5761409e614881565b036140f65760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610bba565b600481600481111561410a5761410a614881565b03610fd95760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610bba565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663a9059cbb60e01b17905291515f92606092908716916141be919061547f565b5f604051808303815f865af19150503d805f81146141f7576040519150601f19603f3d011682016040523d82523d5f602084013e6141fc565b606091505b509092509050818015614227575080511580614227575080806020019051810190614227919061549a565b95945050505050565b604080515f808252602082019092526001600160a01b0386169061425d9086908690869060448101615588565b60408051601f198184030181529181526020820180516001600160e01b031663731133e960e01b17905251613d6b919061547f565b604080516060810182525f80825260208201529081016142ca6040805160608101909152805f81526020015f81526020015f81525090565b905290565b5f602082840312156142df575f80fd5b81356001600160e01b031981168114611043575f80fd5b6001600160a01b0381168114610fd9575f80fd5b5f6020828403121561431a575f80fd5b8135611043816142f6565b5f8083601f840112614335575f80fd5b5081356001600160401b0381111561434b575f80fd5b6020830191508360208260051b85010111156117e5575f80fd5b5f805f8060408587031215614378575f80fd5b84356001600160401b038082111561438e575f80fd5b61439a88838901614325565b909650945060208701359150808211156143b2575f80fd5b506143bf87828801614325565b95989497509550505050565b5f805f805f80606087890312156143e0575f80fd5b86356001600160401b03808211156143f6575f80fd5b6144028a838b01614325565b9098509650602089013591508082111561441a575f80fd5b6144268a838b01614325565b9096509450604089013591508082111561443e575f80fd5b5061444b89828a01614325565b979a9699509497509295939492505050565b80356118e8816142f6565b5f60208284031215614478575f80fd5b5035919050565b5f8060408385031215614490575f80fd5b8235915060208301356144a2816142f6565b809150509250929050565b5f60a082840312156144bd575f80fd5b50919050565b5f61016082840312156144bd575f80fd5b5f805f61018084860312156144e7575f80fd5b6144f185856144c3565b92506101608401356001600160401b038082111561450d575f80fd5b818601915086601f830112614520575f80fd5b81358181111561452e575f80fd5b876020606083028501011115614542575f80fd5b6020830194508093505050509250925092565b8060608101831015610b76575f80fd5b8060808101831015610b76575f80fd5b5f805f805f805f805f806101208b8d03121561458f575f80fd5b6145988b61445d565b99506145a660208c0161445d565b985060408b0135975060608b0135965060808b0135955060a08b0135945060c08b01356001600160401b03808211156145dd575f80fd5b6145e98e838f01614555565b955060e08d01359150808211156145fe575f80fd5b61460a8e838f01614565565b94506101008d0135915080821115614620575f80fd5b5061462d8d828e01614325565b915080935050809150509295989b9194979a5092959850565b5f8060408385031215614657575f80fd5b8235614662816142f6565b946020939093013593505050565b8035601081106118e8575f80fd5b5f806040838503121561468f575f80fd5b61469883614670565b915060208301356144a2816142f6565b634e487b7160e01b5f52604160045260245ffd5b604051606081016001600160401b03811182821017156146de576146de6146a8565b60405290565b604051601f8201601f191681016001600160401b038111828210171561470c5761470c6146a8565b604052919050565b5f6001600160401b0382111561472c5761472c6146a8565b5060051b60200190565b8015158114610fd9575f80fd5b5f805f805f60608688031215614757575f80fd5b85356001600160401b038082111561476d575f80fd5b61477989838a01614325565b9097509550602091508782013581811115614792575f80fd5b61479e8a828b01614325565b9096509450506040880135818111156147b5575f80fd5b88019050601f810189136147c7575f80fd5b80356147da6147d582614714565b6146e4565b81815260059190911b8201830190838101908b8311156147f8575f80fd5b928401925b8284101561481f57833561481081614736565b825292840192908401906147fd565b80955050505050509295509295909350565b6001600160e01b031991909116815260200190565b5f8060408385031215614857575f80fd5b50508035926020909101359150565b5f6101608284031215614877575f80fd5b61104383836144c3565b634e487b7160e01b5f52602160045260245ffd5b600381106148a5576148a5614881565b9052565b5f6040820190506148bb828451614895565b6020928301516001600160a01b0316919092015290565b5f82601f8301126148e1575f80fd5b813560206148f16147d583614714565b8083825260208201915060208460051b870101935086841115614912575f80fd5b602086015b8481101561492e5780358352918301918301614917565b509695505050505050565b5f82601f830112614948575f80fd5b81356001600160401b03811115614961576149616146a8565b614974601f8201601f19166020016146e4565b818152846020838601011115614988575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f805f60a086880312156149b8575f80fd5b85356149c3816142f6565b945060208601356149d3816142f6565b935060408601356001600160401b03808211156149ee575f80fd5b6149fa89838a016148d2565b94506060880135915080821115614a0f575f80fd5b614a1b89838a016148d2565b93506080880135915080821115614a30575f80fd5b50614a3d88828901614939565b9150509295509295909350565b5f60208284031215614a5a575f80fd5b61104382614670565b5f805f805f805f6080888a031215614a79575f80fd5b87356001600160401b0380821115614a8f575f80fd5b614a9b8b838c01614325565b909950975060208a0135915080821115614ab3575f80fd5b614abf8b838c01614325565b909750955060408a0135915080821115614ad7575f80fd5b614ae38b838c01614325565b909550935060608a0135915080821115614afb575f80fd5b50614b088a828b01614565565b91505092959891949750929550565b5f805f805f60a08688031215614b2b575f80fd5b8535614b36816142f6565b94506020860135614b46816142f6565b9350604086013592506060860135915060808601356001600160401b03811115614b6e575f80fd5b614a3d88828901614939565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b5f82601f830112614bd7575f80fd5b81516020614be76147d583614714565b8083825260208201915060208460051b870101935086841115614c08575f80fd5b602086015b8481101561492e578051614c20816142f6565b8352918301918301614c0d565b6001600160601b0381168114610fd9575f80fd5b5f805f60608486031215614c53575f80fd5b83516001600160401b0380821115614c69575f80fd5b614c7587838801614bc8565b9450602091508186015181811115614c8b575f80fd5b614c9788828901614bc8565b945050604086015181811115614cab575f80fd5b86019050601f81018713614cbd575f80fd5b8051614ccb6147d582614714565b81815260059190911b82018301908381019089831115614ce9575f80fd5b928401925b82841015614d10578351614d0181614c2d565b82529284019290840190614cee565b80955050505050509250925092565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b6001600160601b03818116838216019080821115612d5257612d52614d33565b8035600381106118e8575f80fd5b5f60608284031215614d85575f80fd5b614d8d6146bc565b9050614d9882614d67565b8152602082013560208201526040820135604082015292915050565b5f60a08284031215614dc4575f80fd5b614dcc6146bc565b8235614dd7816142f6565b81526020830135614de7816142f6565b6020820152614df98460408501614d75565b60408201529392505050565b5f60608284031215614e15575f80fd5b614e1d6146bc565b823560ff81168114614e2d575f80fd5b8152602083810135908201526040928301359281019290925250919050565b5f808335601e19843603018112614e61575f80fd5b8301803591506001600160401b03821115614e7a575f80fd5b6020019150600581901b36038213156117e5575f80fd5b5f60208284031215614ea1575f80fd5b813561104381614c2d565b8035600281106118e8575f80fd5b5f60608284031215614eca575f80fd5b614ed26146bc565b90508135614edf816142f6565b81526020820135614eef816142f6565b806020830152506040820135604082015292915050565b5f6101608284031215614f17575f80fd5b60405160a081018181106001600160401b0382111715614f3957614f396146a8565b60405282358152614f4c60208401614eac565b6020820152614f5e8460408501614eba565b6040820152614f708460a08501614eba565b6060820152614f83846101008501614d75565b60808201529392505050565b600281106148a5576148a5614881565b8035614faa816142f6565b6001600160a01b039081168352602082013590614fc6826142f6565b166020830152604090810135910152565b5f6101808201905083825282356020830152614ff560208401614eac565b6150026040840182614f8f565b506150136060830160408501614f9f565b61502360c0830160a08501614f9f565b61012061503e8184016150396101008701614d67565b614895565b61014081850135818501528085013561016085015250509392505050565b5f6020828403121561506c575f80fd5b61104382614d67565b5f60608284031215615085575f80fd5b6110438383614d75565b81810381811115610b7657610b76614d33565b8082028115828204841417610b7657610b76614d33565b5f602082840312156150c9575f80fd5b813561104381614736565b6001600160601b03828116828216039080821115612d5257612d52614d33565b601081106148a5576148a5614881565b60208101610b7682846150f4565b6001600160e01b03198316815260408101600b831061513357615133614881565b8260208301529392505050565b8183525f60208085019450825f5b8581101561517c578135615161816142f6565b6001600160a01b03168752958201959082019060010161514e565b509495945050505050565b604081525f61519a604083018688615140565b82810360208401528381526001600160fb1b038411156151b8575f80fd5b8360051b80866020840137016020019695505050505050565b606081525f6151e460608301888a615140565b602083820360208501526151f982888a615140565b84810360408601528581528692506020015f5b86811015615231576152218261503986614d67565b928201929082019060010161520c565b509a9950505050505050505050565b5f6001820161525157615251614d33565b5060010190565b615263828251614895565b60208181015190830152604090810151910152565b5f6101808201905083825282516020830152602083015161529c6040840182614f8f565b5060408381015180516001600160a01b03908116606086015260208201511660808501529081015160a084015250606083015180516001600160a01b0390811660c085015260208201511660e0840152604081015161010084015250608083015161530b610120840182615258565b509392505050565b5f60208284031215615323575f80fd5b61104382614eac565b80820180821115610b7657610b76614d33565b5f8261535957634e487b7160e01b5f52601260045260245ffd5b500490565b6001600160e01b0319841681526060810161537c60208301856150f4565b6001600160a01b03929092166040919091015292915050565b5f602082840312156153a5575f80fd5b5051919050565b5f5b838110156153c65781810151838201526020016153ae565b50505f910152565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081525f83516154058160178501602088016153ac565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516154368160288401602088016153ac565b01602801949350505050565b5f81518084526154598160208601602086016153ac565b601f01601f19169290920160200192915050565b602081525f6110436020830184615442565b5f82516154908184602087016153ac565b9190910192915050565b5f602082840312156154aa575f80fd5b815161104381614736565b60c081016154c38287615258565b6001600160a01b0394851660608301529284166080820152921660a090920191909152919050565b60a081016154f98286615258565b6001600160a01b03938416606083015291909216608090920191909152919050565b5f8161552957615529614d33565b505f190190565b634e487b7160e01b5f52603160045260245ffd5b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190525f9061557d90830184615442565b979650505050505050565b60018060a01b0385168152836020820152826040820152608060608201525f6155b46080830184615442565b969550505050505056fe7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498a2646970667358221220827c27eb9c0e782e11cbede65a649bc4e28189cba6c89b3275f6ddb6d70f18bc64736f6c63430008170033\"", "callValue": 0, "chainId": 1, "constructorArgs": "0x", "contractName": "MainchainGatewayV3", - "deployedBytecode": "\"0x6080604052600436106103a65760003560e01c80638f34e347116101e7578063b9c362091161010d578063d64af2a6116100a0578063e400327c1161006f578063e400327c14610b2f578063e6a4561814610b4f578063e75235b814610b62578063f23a6e6114610b7a576103b5565b8063d64af2a614610aaf578063dafae40814610acf578063de981f1b14610aef578063dff525e114610b0f576103b5565b8063cdb67444116100dc578063cdb6744414610a1d578063d19773d214610a35578063d547741f14610a62578063d55ed10314610a82576103b5565b8063b9c3620914610991578063bc197c81146109b1578063c48549de146109dd578063ca15c873146109fd576103b5565b8063a217fddf11610185578063affed0e011610154578063affed0e014610901578063b1a2567e14610917578063b1d08a0314610937578063b297579414610964576103b5565b8063a217fddf1461089f578063a3912ec8146103b3578063ab796566146108b4578063ac78dfe8146108e1576103b5565b80639157921c116101c15780639157921c1461080a57806391d148541461082a57806393c5678f1461084a5780639dcc4da31461086a576103b5565b80638f34e347146107895780638f851d8a146107bd5780639010d07c146107ea576103b5565b806338e454b1116102cc578063504af48c1161026a5780636c1ce670116102395780636c1ce6701461071f5780637de5dedd1461073f5780638456cb5914610754578063865e6fd314610769576103b5565b8063504af48c1461069a57806359122f6b146106ad5780635c975abb146106da5780636932be98146106f2576103b5565b80634b14557e116102a65780634b14557e146106175780634d0d66731461062a5780634d493f4e1461064a5780634f4247a11461067a576103b5565b806338e454b1146105cd5780633e70838b146105e25780633f4ba83a14610602576103b5565b80631d4a7210116103445780632f2ff15d116103135780632f2ff15d14610561578063302d12db146105815780633644e5151461059857806336568abe146105ad576103b5565b80631d4a7210146104ce578063248a9ca3146104fb57806329b6eca91461052b5780632dfdf0b51461054b576103b5565b806317ce2dd41161038057806317ce2dd41461044a57806317fcb39b1461046e5780631a8e55b01461048e5780631b6e7594146104ae576103b5565b806301ffc9a7146103bd578063065b3adf146103f2578063110a83081461042a576103b5565b366103b5576103b3610ba6565b005b6103b3610ba6565b3480156103c957600080fd5b506103dd6103d83660046141d4565b610bda565b60405190151581526020015b60405180910390f35b3480156103fe57600080fd5b50600554610412906001600160a01b031681565b6040516001600160a01b0390911681526020016103e9565b34801561043657600080fd5b506103b3610445366004614213565b610c20565b34801561045657600080fd5b5061046060755481565b6040519081526020016103e9565b34801561047a57600080fd5b50607454610412906001600160a01b031681565b34801561049a57600080fd5b506103b36104a9366004614274565b610cc5565b3480156104ba57600080fd5b506103b36104c93660046142df565b610d01565b3480156104da57600080fd5b506104606104e9366004614213565b603e6020526000908152604090205481565b34801561050757600080fd5b50610460610516366004614383565b60009081526072602052604090206001015490565b34801561053757600080fd5b506103b3610546366004614213565b610d41565b34801561055757600080fd5b5061046060765481565b34801561056d57600080fd5b506103b361057c36600461439c565b610dca565b34801561058d57600080fd5b50610460620f424081565b3480156105a457600080fd5b50607754610460565b3480156105b957600080fd5b506103b36105c836600461439c565b610df4565b3480156105d957600080fd5b506103b3610e72565b3480156105ee57600080fd5b506103b36105fd366004614213565b61104f565b34801561060e57600080fd5b506103b3611079565b6103b36106253660046143cc565b611089565b34801561063657600080fd5b506103dd6106453660046143f7565b6110ac565b34801561065657600080fd5b506103dd610665366004614383565b607a6020526000908152604090205460ff1681565b34801561068657600080fd5b50607f54610412906001600160a01b031681565b6103b36106a83660046144a1565b61111c565b3480156106b957600080fd5b506104606106c8366004614213565b603a6020526000908152604090205481565b3480156106e657600080fd5b5060005460ff166103dd565b3480156106fe57600080fd5b5061046061070d366004614383565b60796020526000908152604090205481565b34801561072b57600080fd5b506103dd61073a36600461457b565b6113e2565b34801561074b57600080fd5b506104606113ee565b34801561076057600080fd5b506103b361140f565b34801561077557600080fd5b506103b36107843660046145b6565b61141f565b34801561079557600080fd5b506104607f5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e481565b3480156107c957600080fd5b506107dd6107d8366004614681565b61143a565b6040516103e99190614778565b3480156107f657600080fd5b5061041261080536600461478d565b6115bc565b34801561081657600080fd5b506103b36108253660046147af565b6115d4565b34801561083657600080fd5b506103dd61084536600461439c565b611858565b34801561085657600080fd5b506103b3610865366004614274565b611883565b34801561087657600080fd5b5061088a61088536600461478d565b6118b9565b604080519283526020830191909152016103e9565b3480156108ab57600080fd5b50610460600081565b3480156108c057600080fd5b506104606108cf366004614213565b603c6020526000908152604090205481565b3480156108ed57600080fd5b506103dd6108fc366004614383565b6118e2565b34801561090d57600080fd5b5061046060045481565b34801561092357600080fd5b506103b3610932366004614274565b611918565b34801561094357600080fd5b50610460610952366004614213565b60396020526000908152604090205481565b34801561097057600080fd5b5061098461097f366004614213565b61194e565b6040516103e991906147f6565b34801561099d57600080fd5b506103b36109ac36600461478d565b6119f1565b3480156109bd57600080fd5b506107dd6109cc3660046148f9565b63bc197c8160e01b95945050505050565b3480156109e957600080fd5b506107dd6109f8366004614274565b611a0b565b348015610a0957600080fd5b50610460610a18366004614383565b611b9f565b348015610a2957600080fd5b5060375460385461088a565b348015610a4157600080fd5b50610460610a50366004614213565b603b6020526000908152604090205481565b348015610a6e57600080fd5b506103b3610a7d36600461439c565b611bb6565b348015610a8e57600080fd5b50610460610a9d366004614213565b603d6020526000908152604090205481565b348015610abb57600080fd5b506103b3610aca366004614213565b611bdb565b348015610adb57600080fd5b506103dd610aea366004614383565b611bec565b348015610afb57600080fd5b50610412610b0a3660046149a6565b611c1a565b348015610b1b57600080fd5b506103b3610b2a3660046149c1565b611c90565b348015610b3b57600080fd5b506103b3610b4a366004614274565b611d05565b6103b3610b5d366004614a7e565b611d3b565b348015610b6e57600080fd5b5060015460025461088a565b348015610b8657600080fd5b506107dd610b95366004614af2565b63f23a6e6160e01b95945050505050565b6074546001600160a01b0316331480610bc95750607f546001600160a01b031633145b15610bd057565b610bd8611d82565b565b60006001600160e01b03198216631dcdd2c760e31b1480610c0b57506001600160e01b031982166312c0151560e21b145b80610c1a5750610c1a82611dac565b92915050565b607154600490610100900460ff16158015610c42575060715460ff8083169116105b610c675760405162461bcd60e51b8152600401610c5e90614b5a565b60405180910390fd5b60718054607f80546001600160a01b0319166001600160a01b03861617905561ff001961010060ff851661ffff19909316831717169091556040519081526000805160206155e6833981519152906020015b60405180910390a15050565b610ccd611dd1565b6000839003610cef576040516316ee9d3b60e11b815260040160405180910390fd5b610cfb84848484611e2b565b50505050565b610d09611dd1565b6000859003610d2b576040516316ee9d3b60e11b815260040160405180910390fd5b610d39868686868686611f00565b505050505050565b607154600290610100900460ff16158015610d63575060715460ff8083169116105b610d7f5760405162461bcd60e51b8152600401610c5e90614b5a565b6071805461ffff191660ff831617610100179055610d9e600b836120a8565b6071805461ff001916905560405160ff821681526000805160206155e683398151915290602001610cb9565b600082815260726020526040902060010154610de58161214c565b610def8383612156565b505050565b6001600160a01b0381163314610e645760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610c5e565b610e6e8282612178565b5050565b607154600390610100900460ff16158015610e94575060715460ff8083169116105b610eb05760405162461bcd60e51b8152600401610c5e90614b5a565b6071805461ffff191660ff8316176101001790556000610ed0600b611c1a565b9050600080826001600160a01b031663c441c4a86040518163ffffffff1660e01b8152600401600060405180830381865afa158015610f13573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f3b9190810190614c25565b92509250506000805b8351811015610ff857828181518110610f5f57610f5f614d0b565b6020026020010151607e6000868481518110610f7d57610f7d614d0b565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a8154816001600160601b0302191690836001600160601b03160217905550828181518110610fdb57610fdb614d0b565b602002602001015182610fee9190614d37565b9150600101610f44565b50607d80546001600160601b0319166001600160601b039290921691909117905550506071805461ff00191690555060405160ff821681526000805160206155e6833981519152906020015b60405180910390a150565b611057611dd1565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b61108161219a565b610bd8612209565b61109161225b565b6110a96110a336839003830183614da7565b336122a1565b50565b60006110b661225b565b611112848484808060200260200160405190810160405280939291908181526020016000905b82821015611108576110f960608302860136819003810190614dfa565b815260200190600101906110dc565b505050505061257c565b90505b9392505050565b607154610100900460ff161580801561113c5750607154600160ff909116105b806111565750303b158015611156575060715460ff166001145b6111725760405162461bcd60e51b8152600401610c5e90614b5a565b6071805460ff191660011790558015611195576071805461ff0019166101001790555b6111a060008c612a10565b60758990556111ae8a612a1a565b6112396040517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81527f159f52c1e3a2b6a6aad3950adf713516211484e0516dad685ea662a094b7c43b60208201527fad7c5bef027816a800da1736444fb58a807ef4c9603b7848673f7e3a68eb14a5604082015246606082015230608082015260a0812060775550565b6112438887612a68565b61124d8787612af8565b5050611257612b8f565b60006112638680614e44565b905011156113245761128c6112788680614e44565b6112856020890189614e44565b8787611f00565b6112b26112998680614e44565b8660005b6020028101906112ad9190614e44565b612bdc565b6112d86112bf8680614e44565b8660015b6020028101906112d39190614e44565b611e2b565b6112fe6112e58680614e44565b8660025b6020028101906112f99190614e44565b612cb1565b61132461130b8680614e44565b8660035b60200281019061131f9190614e44565b612dc2565b60005b6113346040870187614e44565b90508110156113a0576113987f5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e461136e6040890189614e44565b8481811061137e5761137e614d0b565b90506020020160208101906113939190614213565b612156565b600101611327565b5080156113d5576071805461ff0019169055604051600181526000805160206155e68339815191529060200160405180910390a15b5050505050505050505050565b60006111158383612e97565b600061140a611405607d546001600160601b031690565b612f62565b905090565b61141761219a565b610bd8612f98565b611427611dd1565b61143081612fd5565b610e6e82826120a8565b6000600b6114478161300b565b82518690811415806114595750808514155b15611485576000356001600160e01b0319166040516306b5667560e21b8152600401610c5e9190614778565b8060000361149d57506347c28ec560e11b91506115b2565b60005b818110156115a5578481815181106114ba576114ba614d0b565b60200260200101511561159d578686828181106114d9576114d9614d0b565b90506020020160208101906114ee9190614e8d565b607d80546001600160601b031981166001600160601b03918216939093011691909117905586868281811061152557611525614d0b565b905060200201602081019061153a9190614e8d565b607e60008b8b8581811061155057611550614d0b565b90506020020160208101906115659190614213565b6001600160a01b03168152602081019190915260400160002080546001600160601b0319166001600160601b03929092169190911790555b6001016114a0565b506347c28ec560e11b9250505b5095945050505050565b60008281526073602052604081206111159083613057565b7f5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e46115fe8161214c565b600061161761161236859003850185614f07565b613063565b905061162b61161236859003850185614f07565b83356000908152607960205260409020541461165a5760405163f4b8742f60e01b815260040160405180910390fd5b82356000908152607a602052604090205460ff1661168b5760405163147bfe0760e01b815260040160405180910390fd5b82356000908152607a602052604090819020805460ff19169055517fd639511b37b3b002cca6cfe6bca0d833945a5af5a045578a0627fc43b79b2630906116d59083908690614fda565b60405180910390a160006116ef6080850160608601614213565b9050600061170561012086016101008701615060565b6002811115611716576117166147cc565b036117dd576000611730368690038601610100870161507b565b6001600160a01b0383166000908152603b602052604090205490915061175c906101408701359061312d565b60408201526000611776368790038701610100880161507b565b604083015190915061178d90610140880135615097565b60408201526074546117ad908390339086906001600160a01b0316613147565b6117d66117c06060880160408901614213565b60745483919086906001600160a01b0316613147565b5050611819565b6118196117f06060860160408701614213565b60745483906001600160a01b03166118113689900389016101008a0161507b565b929190613147565b7f21e88e956aa3e086f6388e899965cef814688f99ad8bb29b08d396571016372d828560405161184a929190614fda565b60405180910390a150505050565b60009182526072602090815260408084206001600160a01b0393909316845291905290205460ff1690565b61188b611dd1565b60008390036118ad576040516316ee9d3b60e11b815260040160405180910390fd5b610cfb84848484612bdc565b6000806118c4611dd1565b6118ce8484612af8565b90925090506118db612b8f565b9250929050565b60006118f6607d546001600160601b031690565b60375461190391906150aa565b60385461191090846150aa565b101592915050565b611920611dd1565b6000839003611942576040516316ee9d3b60e11b815260040160405180910390fd5b610cfb84848484612cb1565b60408051808201909152600080825260208201526001600160a01b0382166000908152607860205260409081902081518083019092528054829060ff16600281111561199c5761199c6147cc565b60028111156119ad576119ad6147cc565b815290546001600160a01b03610100909104811660209283015290820151919250166119ec57604051631b79f53b60e21b815260040160405180910390fd5b919050565b6119f9611dd1565b611a038282612a68565b610e6e612b8f565b6000600b611a188161300b565b84838114611a47576000356001600160e01b0319166040516306b5667560e21b8152600401610c5e9190614778565b80600003611a5f5750636242a4ef60e11b9150611b96565b6000805b82811015611b4657868682818110611a7d57611a7d614d0b565b9050602002016020810190611a9291906150c1565b15611b3e57607e60008a8a84818110611aad57611aad614d0b565b9050602002016020810190611ac29190614213565b6001600160a01b0316815260208101919091526040016000908120546001600160601b03169290920191607e908a8a84818110611b0157611b01614d0b565b9050602002016020810190611b169190614213565b6001600160a01b03168152602081019190915260400160002080546001600160601b03191690555b600101611a63565b50607d8054829190600090611b659084906001600160601b03166150de565b92506101000a8154816001600160601b0302191690836001600160601b0316021790555063c48549de60e01b935050505b50949350505050565b6000818152607360205260408120610c1a90613379565b600082815260726020526040902060010154611bd18161214c565b610def8383612178565b611be3611dd1565b6110a981612a1a565b6000611c00607d546001600160601b031690565b600154611c0d91906150aa565b60025461191090846150aa565b60007fdea3103d22025c269050bea94c0c84688877f12fa22b7e6d2d5d78a9a49aa1cb600083600f811115611c5157611c516147cc565b60ff1681526020810191909152604001600020546001600160a01b03169050806119ec578160405163409140df60e11b8152600401610c5e919061510e565b611c98611dd1565b6000869003611cba576040516316ee9d3b60e11b815260040160405180910390fd5b611cc8878787878787611f00565b611cd5878783600061129d565b611ce287878360016112c3565b611cef87878360026112e9565b611cfc878783600361130f565b50505050505050565b611d0d611dd1565b6000839003611d2f576040516316ee9d3b60e11b815260040160405180910390fd5b610cfb84848484612dc2565b611d4361225b565b8060005b81811015610cfb57611d7a848483818110611d6457611d64614d0b565b905060a002018036038101906110a39190614da7565b600101611d47565b611d8a61225b565b611d92614193565b3381526040808201513491015280516110a99082906122a1565b60006001600160e01b03198216630271189760e51b1480610c1a5750610c1a82613383565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103546001600160a01b03163314610bd8576000356001600160e01b0319166001604051620f948f60ea1b8152600401610c5e92919061511c565b828114611e59576000356001600160e01b0319166040516306b5667560e21b8152600401610c5e9190614778565b60005b83811015611eca57828282818110611e7657611e76614d0b565b90506020020135603a6000878785818110611e9357611e93614d0b565b9050602002016020810190611ea89190614213565b6001600160a01b03168152602081019190915260400160002055600101611e5c565b507f64557254143204d91ba2d95acb9fda1e5fea55f77efd028685765bc1e94dd4b58484848460405161184a9493929190615193565b8483148015611f0e57508481145b611f39576000356001600160e01b0319166040516306b5667560e21b8152600401610c5e9190614778565b60005b8581101561205e57848482818110611f5657611f56614d0b565b9050602002016020810190611f6b9190614213565b60786000898985818110611f8157611f81614d0b565b9050602002016020810190611f969190614213565b6001600160a01b03908116825260208201929092526040016000208054610100600160a81b0319166101009390921692909202179055828282818110611fde57611fde614d0b565b9050602002016020810190611ff39190615060565b6078600089898581811061200957612009614d0b565b905060200201602081019061201e9190614213565b6001600160a01b031681526020810191909152604001600020805460ff19166001836002811115612051576120516147cc565b0217905550600101611f3c565b507fa4f03cc9c0e0aeb5b71b4ec800702753f65748c2cf3064695ba8e8b46be70444868686868686604051612098969594939291906151df565b60405180910390a1505050505050565b807fdea3103d22025c269050bea94c0c84688877f12fa22b7e6d2d5d78a9a49aa1cb600084600f8111156120de576120de6147cc565b60ff168152602081019190915260400160002080546001600160a01b0319166001600160a01b03928316179055811682600f81111561211f5761211f6147cc565b6040517f865d1c228a8ea13709cfe61f346f7ff67f1bbd4a18ff31ad3e7147350d317c5990600090a35050565b6110a981336133a8565b612160828261340c565b6000828152607360205260409020610def9082613492565b61218282826134a7565b6000828152607360205260409020610def908261350e565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103546001600160a01b03163314806121dc57506005546001600160a01b031633145b610bd8576000356001600160e01b0319166001604051620f948f60ea1b8152600401610c5e92919061511c565b612211613523565b6000805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60005460ff1615610bd85760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610c5e565b604080518082018252600080825260208201526074549184015190916001600160a01b0316906122d09061356c565b60208401516001600160a01b031661237157348460400151604001511461230a5760405163129c2ce160e31b815260040160405180910390fd5b6123138161194e565b604085015151909250600281111561232d5761232d6147cc565b82516002811115612340576123406147cc565b1461235d5760405162035e2b60ea1b815260040160405180910390fd5b6001600160a01b0381166020850152612509565b34156123905760405163129c2ce160e31b815260040160405180910390fd5b61239d846020015161194e565b60408501515190925060028111156123b7576123b76147cc565b825160028111156123ca576123ca6147cc565b146123e75760405162035e2b60ea1b815260040160405180910390fd5b602084015160408501516123fc9185906135b0565b83602001516001600160a01b0316816001600160a01b03160361250957607454607f54604086810151810151905163095ea7b360e01b81526001600160a01b039283166004820152602481019190915291169063095ea7b3906044016020604051808303816000875af1158015612477573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061249b9190615250565b50607f546040808601518101519051636f074d1f60e11b81526001600160a01b039092169163de0e9a3e916124d69160040190815260200190565b600060405180830381600087803b1580156124f057600080fd5b505af1158015612504573d6000803e3d6000fd5b505050505b607680546000918261251a8361526d565b9190505590506000612541858386602001516075548a61372990949392919063ffffffff16565b90507fd7b25068d9dc8d00765254cfb7f5070f98d263c8d68931d937c7362fa738048b61256d82613063565b826040516120989291906152a6565b60008235610140840135826125976080870160608801614213565b90506125b46125af368890038801610100890161507b565b61356c565b60016125c66040880160208901615342565b60018111156125d7576125d76147cc565b146125f55760405163182f3d8760e11b815260040160405180910390fd5b608086013546146126375760405163092048d160e11b81526000356001600160e01b031916600482015260808701356024820152466044820152606401610c5e565b600061264c61097f6080890160608a01614213565b905061266061012088016101008901615060565b6002811115612671576126716147cc565b81516002811115612684576126846147cc565b1480156126b5575061269c60e0880160c08901614213565b6001600160a01b031681602001516001600160a01b0316145b80156126c6575060755460e0880135145b6126e35760405163f4b8742f60e01b815260040160405180910390fd5b6000848152607960205260409020541561271057604051634f13df6160e01b815260040160405180910390fd5b600161272461012089016101008a01615060565b6002811115612735576127356147cc565b148061274857506127468284612e97565b155b6127655760405163c51297b760e01b815260040160405180910390fd5b6000612779611612368a90038a018a614f07565b90506000612789607754836137fe565b905060006127a96127a26101208c016101008d01615060565b868861383f565b60408051606081018252600080825260208201819052918101829052919a50919250819081906000805b8e518110156128e7578e81815181106127ee576127ee614d0b565b6020908102919091018101518051818301516040808401518151600081529586018083528e905260ff9093169085015260608401526080830152935060019060a0016020604051602081039080840390855afa158015612852573d6000803e3d6000fd5b505050602060405103519450846001600160a01b0316846001600160a01b03161061289e576000356001600160e01b031916604051635d3dcd3160e01b8152600401610c5e9190614778565b6001600160a01b0385166000908152607e60205260409020548594506001600160601b03166128cd908361535d565b91508682106128df57600195506128e7565b6001016127d3565b508461290657604051639e8f5f6360e01b815260040160405180910390fd5b505050600089815260796020526040902085905550508715612981576000878152607a602052604090819020805460ff19166001179055517f89e52969465b1f1866fc5d46fd62de953962e9cb33552443cd999eba05bd20dc9061296d9085908d90614fda565b60405180910390a150505050505050610c1a565b61298b85876138cf565b6129ca61299e60608c0160408d01614213565b86607460009054906101000a90046001600160a01b03168d61010001803603810190611811919061507b565b7f21e88e956aa3e086f6388e899965cef814688f99ad8bb29b08d396571016372d838b6040516129fb929190614fda565b60405180910390a15050505050505092915050565b610e6e8282612156565b607480546001600160a01b0319166001600160a01b0383169081179091556040519081527f9d2334c23be647e994f27a72c5eee42a43d5bdcfe15bb88e939103c2b114cbaf90602001611044565b80821115612a97576000356001600160e01b0319166040516387f6f09560e01b8152600401610c5e9190614778565b6001805460028054858455908490556004805493840190556040805183815260208101839052929391928592879290917f976f8a9c5bdf8248dec172376d6e2b80a8e3df2f0328e381c6db8e1cf138c0f8910160405180910390a450505050565b60008082841115612b2a576000356001600160e01b0319166040516387f6f09560e01b8152600401610c5e9190614778565b5050603780546038805492859055839055600480546001810190915560408051838152602081018590529293928592879290917f31312c97b89cc751b832d98fd459b967a2c3eef3b49757d1cf5ebaa12bb6eee1910160405180910390a49250929050565b600254603754612b9f91906150aa565b603854600154612baf91906150aa565b1115610bd8576000356001600160e01b0319166040516387f6f09560e01b8152600401610c5e9190614778565b828114612c0a576000356001600160e01b0319166040516306b5667560e21b8152600401610c5e9190614778565b60005b83811015612c7b57828282818110612c2757612c27614d0b565b9050602002013560396000878785818110612c4457612c44614d0b565b9050602002016020810190612c599190614213565b6001600160a01b03168152602081019190915260400160002055600101612c0d565b507f80bc635c452ae67f12f9b6f12ad4daa6dbbc04eeb9ebb87d354ce10c0e210dc08484848460405161184a9493929190615193565b828114612cdf576000356001600160e01b0319166040516306b5667560e21b8152600401610c5e9190614778565b60005b83811015612d8c57620f4240838383818110612d0057612d00614d0b565b905060200201351115612d265760405163572d3bd360e11b815260040160405180910390fd5b828282818110612d3857612d38614d0b565b90506020020135603b6000878785818110612d5557612d55614d0b565b9050602002016020810190612d6a9190614213565b6001600160a01b03168152602081019190915260400160002055600101612ce2565b507fb05f5de88ae0294ebb6f67c5af2fcbbd593cc6bdfe543e2869794a4c8ce3ea508484848460405161184a9493929190615193565b828114612df0576000356001600160e01b0319166040516306b5667560e21b8152600401610c5e9190614778565b60005b83811015612e6157828282818110612e0d57612e0d614d0b565b90506020020135603c6000878785818110612e2a57612e2a614d0b565b9050602002016020810190612e3f9190614213565b6001600160a01b03168152602081019190915260400160002055600101612df3565b507fb5d2963614d72181b4df1f993d45b83edf42fa19710f0204217ba1b3e183bb738484848460405161184a9493929190615193565b6001600160a01b0382166000908152603a60205260408120548210612ebe57506000610c1a565b6000612ecd6201518042615370565b6001600160a01b0385166000908152603e6020526040902054909150811115612f135750506001600160a01b0382166000908152603c6020526040902054811015610c1a565b6001600160a01b0384166000908152603d6020526040902054612f3790849061535d565b6001600160a01b0385166000908152603c602052604090205411159150610c1a9050565b5092915050565b6000600254600160025484600154612f7a91906150aa565b612f84919061535d565b612f8e9190615097565b610c1a9190615370565b612fa061225b565b6000805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861223e3390565b806001600160a01b03163b6000036110a957604051630bfc64a360e21b81526001600160a01b0382166004820152602401610c5e565b61301481611c1a565b6001600160a01b0316336001600160a01b0316146110a9576000356001600160e01b03191681336040516320e0f98d60e21b8152600401610c5e93929190615392565b6000611115838361395f565b6000806130738360400151613989565b905060006130848460600151613989565b905060006130d88560800151604080517f1e2b74b2a792d5c0f0b6e59b037fa9d43d84fbb759337f0112fcc15ca414fc8d815282516020808301919091528301518183015291015160608201526080902090565b604080517fb9d1fe7c9deeec5dc90a2f47ff1684239519f2545b2228d3d91fb27df3189eea815287516020808301919091529097015190870152606086019390935250608084015260a08301525060c0902090565b6000620f424061313d83856150aa565b6111159190615370565b806001600160a01b0316826001600160a01b0316036131f45760408085015190516001600160a01b0385169180156108fc02916000818181858888f193505050506131ef57806001600160a01b031663d0e30db085604001516040518263ffffffff1660e01b81526004016000604051808303818588803b1580156131cb57600080fd5b505af11580156131df573d6000803e3d6000fd5b50505050506131ef8484846139d1565b610cfb565b600084516002811115613209576132096147cc565b036132cf576040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa158015613255573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061327991906153c9565b905084604001518110156132be576132a1833083886040015161329c9190615097565b613a50565b6132be57604051632f739fff60e11b815260040160405180910390fd5b6132c98585856139d1565b50610cfb565b6001845160028111156132e4576132e46147cc565b03613315576132f882848660200151613af5565b6131ef5760405163c8e3a09f60e01b815260040160405180910390fd5b60028451600281111561332a5761332a6147cc565b0361336057613343828486602001518760400151613b1c565b6131ef576040516334b471a760e21b815260040160405180910390fd5b6040516361e411a760e11b815260040160405180910390fd5b6000610c1a825490565b60006001600160e01b03198216635a05180f60e01b1480610c1a5750610c1a82613b49565b6133b28282611858565b610e6e576133ca816001600160a01b03166014613b7e565b6133d5836020613b7e565b6040516020016133e6929190615406565b60408051601f198184030181529082905262461bcd60e51b8252610c5e916004016154a7565b6134168282611858565b610e6e5760008281526072602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561344e3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000611115836001600160a01b038416613d19565b6134b18282611858565b15610e6e5760008281526072602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000611115836001600160a01b038416613d68565b60005460ff16610bd85760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610c5e565b61357581613e5b565b80613584575061358481613e92565b80613593575061359381613eba565b6110a95760405163034992a760e51b815260040160405180910390fd5b6000606081855160028111156135c8576135c86147cc565b036136a35760408581015181516001600160a01b03878116602483015230604483015260648083019390935283518083039093018352608490910183526020820180516001600160e01b03166323b872dd60e01b17905291519185169161362f91906154ba565b6000604051808303816000865af19150503d806000811461366c576040519150601f19603f3d011682016040523d82523d6000602084013e613671565b606091505b50909250905081801561369c57508051158061369c57508080602001905181019061369c9190615250565b91506136fc565b6001855160028111156136b8576136b86147cc565b036136cd5761369c8385308860200151613ee3565b6002855160028111156136e2576136e26147cc565b036133605761369c83853088602001518960400151613f91565b816137225784843085604051639d2e4c6760e01b8152600401610c5e94939291906154d6565b5050505050565b6137996040805160a08101825260008082526020808301829052835160608082018652838252818301849052818601849052848601919091528451808201865283815280830184905280860184905281850152845190810185528281529081018290529283015290608082015290565b83815260006020820181905250604080820180516001600160a01b039788169052602080890151825190891690820152905146908301528751606084018051918916909152805195909716940193909352935182015292909201516080820152919050565b6040805161190160f01b6020808301919091526022820185905260428083018590528351808403909101815260629092019092528051910120600090611115565b6000806000613856607d546001600160601b031690565b905061386181612f62565b92506000866002811115613877576138776147cc565b036138c6576001600160a01b03851660009081526039602052604090205484106138a7576138a481614045565b92505b6001600160a01b0385166000908152603a602052604090205484101591505b50935093915050565b60006138de6201518042615370565b6001600160a01b0384166000908152603e602052604090205490915081111561392d576001600160a01b03929092166000908152603e6020908152604080832094909455603d90529190912055565b6001600160a01b0383166000908152603d60205260408120805484929061395590849061535d565b9091555050505050565b600082600001828154811061397657613976614d0b565b9060005260206000200154905092915050565b604080517f353bdd8d69b9e3185b3972e08b03845c0c14a21a390215302776a7a34b0e8764815282516020808301919091528301518183015291015160608201526080902090565b600080845160028111156139e7576139e76147cc565b03613a02576139fb8284866040015161405d565b9050613a2c565b600184516002811115613a1757613a176147cc565b03613360576139fb8230858760200151613ee3565b80610cfb578383836040516341bd7d9160e11b8152600401610c5e9392919061550c565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b03166340c10f1960e01b1790529151600092861691613aa8916154ba565b6000604051808303816000865af19150503d8060008114613ae5576040519150601f19603f3d011682016040523d82523d6000602084013e613aea565b606091505b509095945050505050565b6000613b0384308585613ee3565b90508061111557613b15848484613a50565b9050611115565b6000613b2b8530868686613f91565b905080613b4157613b3e85858585614130565b90505b949350505050565b60006001600160e01b03198216637965db0b60e01b1480610c1a57506301ffc9a760e01b6001600160e01b0319831614610c1a565b60606000613b8d8360026150aa565b613b9890600261535d565b6001600160401b03811115613baf57613baf6145e2565b6040519080825280601f01601f191660200182016040528015613bd9576020820181803683370190505b509050600360fc1b81600081518110613bf457613bf4614d0b565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110613c2357613c23614d0b565b60200101906001600160f81b031916908160001a9053506000613c478460026150aa565b613c5290600161535d565b90505b6001811115613cca576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110613c8657613c86614d0b565b1a60f81b828281518110613c9c57613c9c614d0b565b60200101906001600160f81b031916908160001a90535060049490941c93613cc38161553c565b9050613c55565b5083156111155760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610c5e565b6000818152600183016020526040812054613d6057508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610c1a565b506000610c1a565b60008181526001830160205260408120548015613e51576000613d8c600183615097565b8554909150600090613da090600190615097565b9050818114613e05576000866000018281548110613dc057613dc0614d0b565b9060005260206000200154905080876000018481548110613de357613de3614d0b565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080613e1657613e16615553565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610c1a565b6000915050610c1a565b60008082516002811115613e7157613e716147cc565b148015613e82575060008260400151115b8015610c1a575050602001511590565b6000600182516002811115613ea957613ea96147cc565b148015610c1a575050604001511590565b6000600282516002811115613ed157613ed16147cc565b148015610c1a57505060400151151590565b604080516001600160a01b0385811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180516001600160e01b03166323b872dd60e01b1790529151600092871691613f43916154ba565b6000604051808303816000865af19150503d8060008114613f80576040519150601f19603f3d011682016040523d82523d6000602084013e613f85565b606091505b50909695505050505050565b604080516000808252602082019092526001600160a01b03871690613fc190879087908790879060448101615569565b60408051601f198184030181529181526020820180516001600160e01b0316637921219560e11b17905251613ff691906154ba565b6000604051808303816000865af19150503d8060008114614033576040519150601f19603f3d011682016040523d82523d6000602084013e614038565b606091505b5090979650505050505050565b6000603854600160385484603754612f7a91906150aa565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663a9059cbb60e01b1790529151600092606092908716916140ba91906154ba565b6000604051808303816000865af19150503d80600081146140f7576040519150601f19603f3d011682016040523d82523d6000602084013e6140fc565b606091505b5090925090508180156141275750805115806141275750808060200190518101906141279190615250565b95945050505050565b604080516000808252602082019092526001600160a01b0386169061415e90869086908690604481016155ae565b60408051601f198184030181529181526020820180516001600160e01b031663731133e960e01b17905251613f4391906154ba565b60408051606081018252600080825260208201529081016141cf6040805160608101909152806000815260200160008152602001600081525090565b905290565b6000602082840312156141e657600080fd5b81356001600160e01b03198116811461111557600080fd5b6001600160a01b03811681146110a957600080fd5b60006020828403121561422557600080fd5b8135611115816141fe565b60008083601f84011261424257600080fd5b5081356001600160401b0381111561425957600080fd5b6020830191508360208260051b85010111156118db57600080fd5b6000806000806040858703121561428a57600080fd5b84356001600160401b03808211156142a157600080fd5b6142ad88838901614230565b909650945060208701359150808211156142c657600080fd5b506142d387828801614230565b95989497509550505050565b600080600080600080606087890312156142f857600080fd5b86356001600160401b038082111561430f57600080fd5b61431b8a838b01614230565b9098509650602089013591508082111561433457600080fd5b6143408a838b01614230565b9096509450604089013591508082111561435957600080fd5b5061436689828a01614230565b979a9699509497509295939492505050565b80356119ec816141fe565b60006020828403121561439557600080fd5b5035919050565b600080604083850312156143af57600080fd5b8235915060208301356143c1816141fe565b809150509250929050565b600060a082840312156143de57600080fd5b50919050565b600061016082840312156143de57600080fd5b6000806000610180848603121561440d57600080fd5b61441785856143e4565b92506101608401356001600160401b038082111561443457600080fd5b818601915086601f83011261444857600080fd5b81358181111561445757600080fd5b87602060608302850101111561446c57600080fd5b6020830194508093505050509250925092565b8060608101831015610c1a57600080fd5b8060808101831015610c1a57600080fd5b6000806000806000806000806000806101208b8d0312156144c157600080fd5b6144ca8b614378565b99506144d860208c01614378565b985060408b0135975060608b0135965060808b0135955060a08b0135945060c08b01356001600160401b038082111561451057600080fd5b61451c8e838f0161447f565b955060e08d013591508082111561453257600080fd5b61453e8e838f01614490565b94506101008d013591508082111561455557600080fd5b506145628d828e01614230565b915080935050809150509295989b9194979a5092959850565b6000806040838503121561458e57600080fd5b8235614599816141fe565b946020939093013593505050565b8035601081106119ec57600080fd5b600080604083850312156145c957600080fd5b6145d2836145a7565b915060208301356143c1816141fe565b634e487b7160e01b600052604160045260246000fd5b604051606081016001600160401b038111828210171561461a5761461a6145e2565b60405290565b604051601f8201601f191681016001600160401b0381118282101715614648576146486145e2565b604052919050565b60006001600160401b03821115614669576146696145e2565b5060051b60200190565b80151581146110a957600080fd5b60008060008060006060868803121561469957600080fd5b85356001600160401b03808211156146b057600080fd5b6146bc89838a01614230565b90975095506020915087820135818111156146d657600080fd5b6146e28a828b01614230565b9096509450506040880135818111156146fa57600080fd5b88019050601f8101891361470d57600080fd5b803561472061471b82614650565b614620565b81815260059190911b8201830190838101908b83111561473f57600080fd5b928401925b8284101561476657833561475781614673565b82529284019290840190614744565b80955050505050509295509295909350565b6001600160e01b031991909116815260200190565b600080604083850312156147a057600080fd5b50508035926020909101359150565b600061016082840312156147c257600080fd5b61111583836143e4565b634e487b7160e01b600052602160045260246000fd5b600381106147f2576147f26147cc565b9052565b60006040820190506148098284516147e2565b6020928301516001600160a01b0316919092015290565b600082601f83011261483157600080fd5b8135602061484161471b83614650565b8083825260208201915060208460051b87010193508684111561486357600080fd5b602086015b8481101561487f5780358352918301918301614868565b509695505050505050565b600082601f83011261489b57600080fd5b81356001600160401b038111156148b4576148b46145e2565b6148c7601f8201601f1916602001614620565b8181528460208386010111156148dc57600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a0868803121561491157600080fd5b853561491c816141fe565b9450602086013561492c816141fe565b935060408601356001600160401b038082111561494857600080fd5b61495489838a01614820565b9450606088013591508082111561496a57600080fd5b61497689838a01614820565b9350608088013591508082111561498c57600080fd5b506149998882890161488a565b9150509295509295909350565b6000602082840312156149b857600080fd5b611115826145a7565b60008060008060008060006080888a0312156149dc57600080fd5b87356001600160401b03808211156149f357600080fd5b6149ff8b838c01614230565b909950975060208a0135915080821115614a1857600080fd5b614a248b838c01614230565b909750955060408a0135915080821115614a3d57600080fd5b614a498b838c01614230565b909550935060608a0135915080821115614a6257600080fd5b50614a6f8a828b01614490565b91505092959891949750929550565b60008060208385031215614a9157600080fd5b82356001600160401b0380821115614aa857600080fd5b818501915085601f830112614abc57600080fd5b813581811115614acb57600080fd5b86602060a083028501011115614ae057600080fd5b60209290920196919550909350505050565b600080600080600060a08688031215614b0a57600080fd5b8535614b15816141fe565b94506020860135614b25816141fe565b9350604086013592506060860135915060808601356001600160401b03811115614b4e57600080fd5b6149998882890161488a565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b600082601f830112614bb957600080fd5b81516020614bc961471b83614650565b8083825260208201915060208460051b870101935086841115614beb57600080fd5b602086015b8481101561487f578051614c03816141fe565b8352918301918301614bf0565b6001600160601b03811681146110a957600080fd5b600080600060608486031215614c3a57600080fd5b83516001600160401b0380821115614c5157600080fd5b614c5d87838801614ba8565b9450602091508186015181811115614c7457600080fd5b614c8088828901614ba8565b945050604086015181811115614c9557600080fd5b86019050601f81018713614ca857600080fd5b8051614cb661471b82614650565b81815260059190911b82018301908381019089831115614cd557600080fd5b928401925b82841015614cfc578351614ced81614c10565b82529284019290840190614cda565b80955050505050509250925092565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6001600160601b03818116838216019080821115612f5b57612f5b614d21565b8035600381106119ec57600080fd5b600060608284031215614d7857600080fd5b614d806145f8565b9050614d8b82614d57565b8152602082013560208201526040820135604082015292915050565b600060a08284031215614db957600080fd5b614dc16145f8565b8235614dcc816141fe565b81526020830135614ddc816141fe565b6020820152614dee8460408501614d66565b60408201529392505050565b600060608284031215614e0c57600080fd5b614e146145f8565b823560ff81168114614e2557600080fd5b8152602083810135908201526040928301359281019290925250919050565b6000808335601e19843603018112614e5b57600080fd5b8301803591506001600160401b03821115614e7557600080fd5b6020019150600581901b36038213156118db57600080fd5b600060208284031215614e9f57600080fd5b813561111581614c10565b8035600281106119ec57600080fd5b600060608284031215614ecb57600080fd5b614ed36145f8565b90508135614ee0816141fe565b81526020820135614ef0816141fe565b806020830152506040820135604082015292915050565b60006101608284031215614f1a57600080fd5b60405160a081018181106001600160401b0382111715614f3c57614f3c6145e2565b60405282358152614f4f60208401614eaa565b6020820152614f618460408501614eb9565b6040820152614f738460a08501614eb9565b6060820152614f86846101008501614d66565b60808201529392505050565b600281106147f2576147f26147cc565b8035614fad816141fe565b6001600160a01b039081168352602082013590614fc9826141fe565b166020830152604090810135910152565b60006101808201905083825282356020830152614ff960208401614eaa565b6150066040840182614f92565b506150176060830160408501614fa2565b61502760c0830160a08501614fa2565b61012061504281840161503d6101008701614d57565b6147e2565b61014081850135818501528085013561016085015250509392505050565b60006020828403121561507257600080fd5b61111582614d57565b60006060828403121561508d57600080fd5b6111158383614d66565b81810381811115610c1a57610c1a614d21565b8082028115828204841417610c1a57610c1a614d21565b6000602082840312156150d357600080fd5b813561111581614673565b6001600160601b03828116828216039080821115612f5b57612f5b614d21565b601081106147f2576147f26147cc565b60208101610c1a82846150fe565b6001600160e01b03198316815260408101600b831061513d5761513d6147cc565b8260208301529392505050565b8183526000602080850194508260005b8581101561518857813561516d816141fe565b6001600160a01b03168752958201959082019060010161515a565b509495945050505050565b6040815260006151a760408301868861514a565b82810360208401528381526001600160fb1b038411156151c657600080fd5b8360051b80866020840137016020019695505050505050565b6060815260006151f360608301888a61514a565b6020838203602085015261520882888a61514a565b848103604086015285815286925060200160005b86811015615241576152318261503d86614d57565b928201929082019060010161521c565b509a9950505050505050505050565b60006020828403121561526257600080fd5b815161111581614673565b60006001820161527f5761527f614d21565b5060010190565b6152918282516147e2565b60208181015190830152604090810151910152565b6000610180820190508382528251602083015260208301516152cb6040840182614f92565b5060408381015180516001600160a01b03908116606086015260208201511660808501529081015160a084015250606083015180516001600160a01b0390811660c085015260208201511660e0840152604081015161010084015250608083015161533a610120840182615286565b509392505050565b60006020828403121561535457600080fd5b61111582614eaa565b80820180821115610c1a57610c1a614d21565b60008261538d57634e487b7160e01b600052601260045260246000fd5b500490565b6001600160e01b031984168152606081016153b060208301856150fe565b6001600160a01b03929092166040919091015292915050565b6000602082840312156153db57600080fd5b5051919050565b60005b838110156153fd5781810151838201526020016153e5565b50506000910152565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161543e8160178501602088016153e2565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161546f8160288401602088016153e2565b01602801949350505050565b600081518084526154938160208601602086016153e2565b601f01601f19169290920160200192915050565b602081526000611115602083018461547b565b600082516154cc8184602087016153e2565b9190910192915050565b60c081016154e48287615286565b6001600160a01b0394851660608301529284166080820152921660a090920191909152919050565b60a0810161551a8286615286565b6001600160a01b03938416606083015291909216608090920191909152919050565b60008161554b5761554b614d21565b506000190190565b634e487b7160e01b600052603160045260246000fd5b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190526000906155a39083018461547b565b979650505050505050565b60018060a01b03851681528360208201528260408201526080606082015260006155db608083018461547b565b969550505050505056fe7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498a2646970667358221220adc544fca693cfd23fbe440435aafb94a2ad08c9840546710b0fb29a782fcc0e64736f6c63430008170033\"", - "deployer": "0xA62DddCC58E769bCFd2f9A7A61CDF331f18c2650", + "deployedBytecode": "\"0x60806040526004361061038f575f3560e01c80638f34e347116101db578063b9c3620911610101578063d55ed1031161009f578063dff525e11161006e578063dff525e114610a99578063e400327c14610ab8578063e75235b814610ad7578063f23a6e6114610aee5761039e565b8063d55ed10314610a11578063d64af2a614610a3c578063dafae40814610a5b578063de981f1b14610a7a5761039e565b8063ca15c873116100db578063ca15c87314610991578063cdb67444146109b0578063d19773d2146109c7578063d547741f146109f25761039e565b8063b9c3620914610928578063bc197c8114610947578063c48549de146109725761039e565b8063a217fddf11610179578063affed0e011610148578063affed0e01461089d578063b1a2567e146108b2578063b1d08a03146108d1578063b2975794146108fc5761039e565b8063a217fddf14610840578063a3912ec81461039c578063ab79656614610853578063ac78dfe81461087e5761039e565b80639157921c116101b55780639157921c146107af57806391d14854146107ce57806393c5678f146107ed5780639dcc4da31461080c5761039e565b80638f34e347146107315780638f851d8a146107645780639010d07c146107905761039e565b806336568abe116102c0578063504af48c1161025e5780636c1ce6701161022d5780636c1ce670146106cb5780637de5dedd146106ea5780638456cb59146106fe578063865e6fd3146107125761039e565b8063504af48c1461064c57806359122f6b1461065f5780635c975abb1461068a5780636932be98146106a05761039e565b80633f4ba83a1161029a5780633f4ba83a146105d85780634b14557e146105ec5780634d0d6673146105ff5780634d493f4e1461061e5761039e565b806336568abe1461058657806338e454b1146105a55780633e70838b146105b95761039e565b80631d4a72101161032d5780632dfdf0b5116103075780632dfdf0b5146105285780632f2ff15d1461053d578063302d12db1461055c5780633644e515146105725761039e565b80631d4a7210146104b0578063248a9ca3146104db57806329b6eca9146105095761039e565b806317ce2dd41161036957806317ce2dd41461043057806317fcb39b146104535780631a8e55b0146104725780631b6e7594146104915761039e565b806301ffc9a7146103a6578063065b3adf146103da578063110a8308146104115761039e565b3661039e5761039c610b19565b005b61039c610b19565b3480156103b1575f80fd5b506103c56103c03660046142cf565b610b37565b60405190151581526020015b60405180910390f35b3480156103e5575f80fd5b506005546103f9906001600160a01b031681565b6040516001600160a01b0390911681526020016103d1565b34801561041c575f80fd5b5061039c61042b36600461430a565b610b7c565b34801561043b575f80fd5b5061044560755481565b6040519081526020016103d1565b34801561045e575f80fd5b506074546103f9906001600160a01b031681565b34801561047d575f80fd5b5061039c61048c366004614365565b610c04565b34801561049c575f80fd5b5061039c6104ab3660046143cb565b610c3f565b3480156104bb575f80fd5b506104456104ca36600461430a565b603e6020525f908152604090205481565b3480156104e6575f80fd5b506104456104f5366004614468565b5f9081526072602052604090206001015490565b348015610514575f80fd5b5061039c61052336600461430a565b610c7e565b348015610533575f80fd5b5061044560765481565b348015610548575f80fd5b5061039c61055736600461447f565b610d06565b348015610567575f80fd5b50610445620f424081565b34801561057d575f80fd5b50607754610445565b348015610591575f80fd5b5061039c6105a036600461447f565b610d2f565b3480156105b0575f80fd5b5061039c610dad565b3480156105c4575f80fd5b5061039c6105d336600461430a565b610f7f565b3480156105e3575f80fd5b5061039c610fa9565b61039c6105fa3660046144ad565b610fb9565b34801561060a575f80fd5b506103c56106193660046144d4565b610fdc565b348015610629575f80fd5b506103c5610638366004614468565b607a6020525f908152604090205460ff1681565b61039c61065a366004614575565b61104a565b34801561066a575f80fd5b5061044561067936600461430a565b603a6020525f908152604090205481565b348015610695575f80fd5b505f5460ff166103c5565b3480156106ab575f80fd5b506104456106ba366004614468565b60796020525f908152604090205481565b3480156106d6575f80fd5b506103c56106e5366004614646565b61130b565b3480156106f5575f80fd5b50610445611316565b348015610709575f80fd5b5061039c61132c565b34801561071d575f80fd5b5061039c61072c36600461467e565b61133c565b34801561073c575f80fd5b506104457f5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e481565b34801561076f575f80fd5b5061078361077e366004614743565b611357565b6040516103d19190614831565b34801561079b575f80fd5b506103f96107aa366004614846565b6114d3565b3480156107ba575f80fd5b5061039c6107c9366004614866565b6114ea565b3480156107d9575f80fd5b506103c56107e836600461447f565b611765565b3480156107f8575f80fd5b5061039c610807366004614365565b61178f565b348015610817575f80fd5b5061082b610826366004614846565b6117c4565b604080519283526020830191909152016103d1565b34801561084b575f80fd5b506104455f81565b34801561085e575f80fd5b5061044561086d36600461430a565b603c6020525f908152604090205481565b348015610889575f80fd5b506103c5610898366004614468565b6117ec565b3480156108a8575f80fd5b5061044560045481565b3480156108bd575f80fd5b5061039c6108cc366004614365565b611817565b3480156108dc575f80fd5b506104456108eb36600461430a565b60396020525f908152604090205481565b348015610907575f80fd5b5061091b61091636600461430a565b61184c565b6040516103d191906148a9565b348015610933575f80fd5b5061039c610942366004614846565b6118ed565b348015610952575f80fd5b506107836109613660046149a4565b63bc197c8160e01b95945050505050565b34801561097d575f80fd5b5061078361098c366004614365565b611907565b34801561099c575f80fd5b506104456109ab366004614468565b611a93565b3480156109bb575f80fd5b5060375460385461082b565b3480156109d2575f80fd5b506104456109e136600461430a565b603b6020525f908152604090205481565b3480156109fd575f80fd5b5061039c610a0c36600461447f565b611aa9565b348015610a1c575f80fd5b50610445610a2b36600461430a565b603d6020525f908152604090205481565b348015610a47575f80fd5b5061039c610a5636600461430a565b611acd565b348015610a66575f80fd5b506103c5610a75366004614468565b611ade565b348015610a85575f80fd5b506103f9610a94366004614a4a565b611b01565b348015610aa4575f80fd5b5061039c610ab3366004614a63565b611b74565b348015610ac3575f80fd5b5061039c610ad2366004614365565b611be7565b348015610ae2575f80fd5b5060015460025461082b565b348015610af9575f80fd5b50610783610b08366004614b17565b63f23a6e6160e01b95945050505050565b6074546001600160a01b03163303610b2d57565b610b35611c1c565b565b5f6001600160e01b03198216631f3673bb60e01b1480610b6757506001600160e01b031982166312c0151560e21b145b80610b765750610b7682611c46565b92915050565b607154600490610100900460ff16158015610b9e575060715460ff8083169116105b610bc35760405162461bcd60e51b8152600401610bba90614b7a565b60405180910390fd5b6071805461ffff191660ff83169081176101001761ff0019169091556040519081525f805160206155bf833981519152906020015b60405180910390a15050565b610c0c611c6a565b5f839003610c2d576040516316ee9d3b60e11b815260040160405180910390fd5b610c3984848484611cc3565b50505050565b610c47611c6a565b5f859003610c68576040516316ee9d3b60e11b815260040160405180910390fd5b610c76868686868686611d94565b505050505050565b607154600290610100900460ff16158015610ca0575060715460ff8083169116105b610cbc5760405162461bcd60e51b8152600401610bba90614b7a565b6071805461ffff191660ff831617610100179055610cdb600b83611f36565b6071805461ff001916905560405160ff821681525f805160206155bf83398151915290602001610bf8565b5f82815260726020526040902060010154610d2081611fd7565b610d2a8383611fe1565b505050565b6001600160a01b0381163314610d9f5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610bba565b610da98282612002565b5050565b607154600390610100900460ff16158015610dcf575060715460ff8083169116105b610deb5760405162461bcd60e51b8152600401610bba90614b7a565b6071805461ffff191660ff8316176101001790555f610e0a600b611b01565b90505f80826001600160a01b031663c441c4a86040518163ffffffff1660e01b81526004015f60405180830381865afa158015610e49573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610e709190810190614c41565b92509250505f805b8351811015610f2957828181518110610e9357610e93614d1f565b6020026020010151607e5f868481518110610eb057610eb0614d1f565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f205f6101000a8154816001600160601b0302191690836001600160601b03160217905550828181518110610f0c57610f0c614d1f565b602002602001015182610f1f9190614d47565b9150600101610e78565b50607d80546001600160601b0319166001600160601b039290921691909117905550506071805461ff00191690555060405160ff821681525f805160206155bf833981519152906020015b60405180910390a150565b610f87611c6a565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b610fb1612023565b610b35612091565b610fc16120e2565b610fd9610fd336839003830183614db4565b33612127565b50565b5f610fe56120e2565b611040848484808060200260200160405190810160405280939291908181526020015f905b828210156110365761102760608302860136819003810190614e05565b8152602001906001019061100a565b505050505061236e565b90505b9392505050565b607154610100900460ff161580801561106a5750607154600160ff909116105b806110845750303b158015611084575060715460ff166001145b6110a05760405162461bcd60e51b8152600401610bba90614b7a565b6071805460ff1916600117905580156110c3576071805461ff0019166101001790555b6110cd5f8c6127fa565b60758990556110db8a612804565b6111666040517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81527f159f52c1e3a2b6a6aad3950adf713516211484e0516dad685ea662a094b7c43b60208201527fad7c5bef027816a800da1736444fb58a807ef4c9603b7848673f7e3a68eb14a5604082015246606082015230608082015260a0812060775550565b6111708887612852565b61117a87876128f3565b505061118461299a565b5f61118f8680614e4c565b9050111561124f576111b86111a48680614e4c565b6111b16020890189614e4c565b8787611d94565b6111dd6111c58680614e4c565b865f5b6020028101906111d89190614e4c565b6129e6565b6112036111ea8680614e4c565b8660015b6020028101906111fe9190614e4c565b611cc3565b6112296112108680614e4c565b8660025b6020028101906112249190614e4c565b612ab7565b61124f6112368680614e4c565b8660035b60200281019061124a9190614e4c565b612bc4565b5f5b61125e6040870187614e4c565b90508110156112ca576112c27f5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e46112986040890189614e4c565b848181106112a8576112a8614d1f565b90506020020160208101906112bd919061430a565b611fe1565b600101611251565b5080156112fe576071805461ff0019169055604051600181525f805160206155bf8339815191529060200160405180910390a15b5050505050505050505050565b5f6110438383612c95565b5f611327611322612d59565b612d96565b905090565b611334612023565b610b35612dfa565b611344611c6a565b61134d81612e36565b610da98282611f36565b5f600b61136381612e6b565b82518690811415806113755750808514155b156113a0575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b805f036113b757506347c28ec560e11b91506114c9565b5f5b818110156114bc578481815181106113d3576113d3614d1f565b6020026020010151156114b4578686828181106113f2576113f2614d1f565b90506020020160208101906114079190614e91565b607d80546001600160601b031981166001600160601b03918216939093011691909117905586868281811061143e5761143e614d1f565b90506020020160208101906114539190614e91565b607e5f8b8b8581811061146857611468614d1f565b905060200201602081019061147d919061430a565b6001600160a01b0316815260208101919091526040015f2080546001600160601b0319166001600160601b03929092169190911790555b6001016113b9565b506347c28ec560e11b9250505b5095945050505050565b5f8281526073602052604081206110439083612eb6565b7f5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e461151481611fd7565b5f61152c61152736859003850185614f06565b612ec1565b905061154061152736859003850185614f06565b83355f908152607960205260409020541461156e5760405163f4b8742f60e01b815260040160405180910390fd5b82355f908152607a602052604090205460ff1661159e5760405163147bfe0760e01b815260040160405180910390fd5b82355f908152607a602052604090819020805460ff19169055517fd639511b37b3b002cca6cfe6bca0d833945a5af5a045578a0627fc43b79b2630906115e79083908690614fd7565b60405180910390a15f611600608085016060860161430a565b90505f6116156101208601610100870161505c565b600281111561162657611626614881565b036116ea575f61163f3686900386016101008701615075565b6001600160a01b0383165f908152603b602052604090205490915061166a9061014087013590612f88565b60408201525f6116833687900387016101008801615075565b604083015190915061169a9061014088013561508f565b60408201526074546116ba908390339086906001600160a01b0316612fa1565b6116e36116cd606088016040890161430a565b60745483919086906001600160a01b0316612fa1565b5050611726565b6117266116fd606086016040870161430a565b60745483906001600160a01b031661171e3689900389016101008a01615075565b929190612fa1565b7f21e88e956aa3e086f6388e899965cef814688f99ad8bb29b08d396571016372d8285604051611757929190614fd7565b60405180910390a150505050565b5f9182526072602090815260408084206001600160a01b0393909316845291905290205460ff1690565b611797611c6a565b5f8390036117b8576040516316ee9d3b60e11b815260040160405180910390fd5b610c39848484846129e6565b5f806117ce611c6a565b6117d884846128f3565b90925090506117e561299a565b9250929050565b5f6117f5612d59565b60375461180291906150a2565b60385461180f90846150a2565b101592915050565b61181f611c6a565b5f839003611840576040516316ee9d3b60e11b815260040160405180910390fd5b610c3984848484612ab7565b604080518082019091525f80825260208201526001600160a01b0382165f908152607860205260409081902081518083019092528054829060ff16600281111561189857611898614881565b60028111156118a9576118a9614881565b815290546001600160a01b03610100909104811660209283015290820151919250166118e857604051631b79f53b60e21b815260040160405180910390fd5b919050565b6118f5611c6a565b6118ff8282612852565b610da961299a565b5f600b61191381612e6b565b84838114611941575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b805f036119585750636242a4ef60e11b9150611a8a565b5f805b82811015611a3b5786868281811061197557611975614d1f565b905060200201602081019061198a91906150b9565b15611a3357607e5f8a8a848181106119a4576119a4614d1f565b90506020020160208101906119b9919061430a565b6001600160a01b0316815260208101919091526040015f908120546001600160601b03169290920191607e908a8a848181106119f7576119f7614d1f565b9050602002016020810190611a0c919061430a565b6001600160a01b0316815260208101919091526040015f2080546001600160601b03191690555b60010161195b565b50607d80548291905f90611a599084906001600160601b03166150d4565b92506101000a8154816001600160601b0302191690836001600160601b0316021790555063c48549de60e01b935050505b50949350505050565b5f818152607360205260408120610b76906131ca565b5f82815260726020526040902060010154611ac381611fd7565b610d2a8383612002565b611ad5611c6a565b610fd981612804565b5f611ae7612d59565b600154611af491906150a2565b60025461180f90846150a2565b5f7fdea3103d22025c269050bea94c0c84688877f12fa22b7e6d2d5d78a9a49aa1cb5f83600f811115611b3657611b36614881565b60ff16815260208101919091526040015f20546001600160a01b03169050806118e8578160405163409140df60e11b8152600401610bba9190615104565b611b7c611c6a565b5f869003611b9d576040516316ee9d3b60e11b815260040160405180910390fd5b611bab878787878787611d94565b611bb78787835f6111c8565b611bc487878360016111ee565b611bd18787836002611214565b611bde878783600361123a565b50505050505050565b611bef611c6a565b5f839003611c10576040516316ee9d3b60e11b815260040160405180910390fd5b610c3984848484612bc4565b611c246120e2565b611c2c614292565b338152604080820151349101528051610fd9908290612127565b5f6001600160e01b03198216630271189760e51b1480610b765750610b76826131d3565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103546001600160a01b03163314610b35575f356001600160e01b0319166001604051620f948f60ea1b8152600401610bba929190615112565b828114611cf0575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b83811015611d5e57828282818110611d0c57611d0c614d1f565b90506020020135603a5f878785818110611d2857611d28614d1f565b9050602002016020810190611d3d919061430a565b6001600160a01b0316815260208101919091526040015f2055600101611cf2565b507f64557254143204d91ba2d95acb9fda1e5fea55f77efd028685765bc1e94dd4b5848484846040516117579493929190615187565b8483148015611da257508481145b611dcc575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b85811015611eec57848482818110611de857611de8614d1f565b9050602002016020810190611dfd919061430a565b60785f898985818110611e1257611e12614d1f565b9050602002016020810190611e27919061430a565b6001600160a01b03908116825260208201929092526040015f208054610100600160a81b0319166101009390921692909202179055828282818110611e6e57611e6e614d1f565b9050602002016020810190611e83919061505c565b60785f898985818110611e9857611e98614d1f565b9050602002016020810190611ead919061430a565b6001600160a01b0316815260208101919091526040015f20805460ff19166001836002811115611edf57611edf614881565b0217905550600101611dce565b507fa4f03cc9c0e0aeb5b71b4ec800702753f65748c2cf3064695ba8e8b46be70444868686868686604051611f26969594939291906151d1565b60405180910390a1505050505050565b807fdea3103d22025c269050bea94c0c84688877f12fa22b7e6d2d5d78a9a49aa1cb5f84600f811115611f6b57611f6b614881565b60ff16815260208101919091526040015f2080546001600160a01b0319166001600160a01b03928316179055811682600f811115611fab57611fab614881565b6040517f865d1c228a8ea13709cfe61f346f7ff67f1bbd4a18ff31ad3e7147350d317c59905f90a35050565b610fd981336131f7565b611feb828261325b565b5f828152607360205260409020610d2a90826132e0565b61200c82826132f4565b5f828152607360205260409020610d2a908261335a565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103546001600160a01b031633148061206557506005546001600160a01b031633145b610b35575f356001600160e01b0319166001604051620f948f60ea1b8152600401610bba929190615112565b61209961336e565b5f805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b5f5460ff1615610b355760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610bba565b6040805180820182525f80825260208201526074549184015190916001600160a01b031690612155906133b6565b60208401516001600160a01b03166121f657348460400151604001511461218f5760405163129c2ce160e31b815260040160405180910390fd5b6121988161184c565b60408501515190925060028111156121b2576121b2614881565b825160028111156121c5576121c5614881565b146121e25760405162035e2b60ea1b815260040160405180910390fd5b6001600160a01b03811660208501526122fd565b34156122155760405163129c2ce160e31b815260040160405180910390fd5b612222846020015161184c565b604085015151909250600281111561223c5761223c614881565b8251600281111561224f5761224f614881565b1461226c5760405162035e2b60ea1b815260040160405180910390fd5b602084015160408501516122819185906133fa565b83602001516001600160a01b0316816001600160a01b0316036122fd576040848101518101519051632e1a7d4d60e01b815260048101919091526001600160a01b03821690632e1a7d4d906024015f604051808303815f87803b1580156122e6575f80fd5b505af11580156122f8573d5f803e3d5ffd5b505050505b607680545f918261230d83615240565b9190505590505f612333858386602001516075548a61356e90949392919063ffffffff16565b90507fd7b25068d9dc8d00765254cfb7f5070f98d263c8d68931d937c7362fa738048b61235f82612ec1565b82604051611f26929190615278565b5f823561014084013582612388608087016060880161430a565b90506123a56123a03688900388016101008901615075565b6133b6565b60016123b76040880160208901615313565b60018111156123c8576123c8614881565b146123e65760405163182f3d8760e11b815260040160405180910390fd5b608086013546146124275760405163092048d160e11b81525f356001600160e01b031916600482015260808701356024820152466044820152606401610bba565b5f61243b6109166080890160608a0161430a565b905061244f6101208801610100890161505c565b600281111561246057612460614881565b8151600281111561247357612473614881565b1480156124a4575061248b60e0880160c0890161430a565b6001600160a01b031681602001516001600160a01b0316145b80156124b5575060755460e0880135145b6124d25760405163f4b8742f60e01b815260040160405180910390fd5b5f84815260796020526040902054156124fe57604051634f13df6160e01b815260040160405180910390fd5b600161251261012089016101008a0161505c565b600281111561252357612523614881565b148061253657506125348284612c95565b155b6125535760405163c51297b760e01b815260040160405180910390fd5b5f612566611527368a90038a018a614f06565b90505f61257560775483613641565b90505f61259461258d6101208c016101008d0161505c565b8688613681565b604080516060810182525f80825260208201819052918101829052919a50919250819081905f805b8e518110156126d4578e81815181106125d7576125d7614d1f565b602002602001015192506125f888845f015185602001518660400151613702565b9450846001600160a01b0316846001600160a01b031610612639575f356001600160e01b031916604051635d3dcd3160e01b8152600401610bba9190614831565b6001600160a01b0385165f908152607e60205260408120548695506001600160601b0316908190036126ae5760408051634e97700760e01b81526001600160a01b038816600482015260248101839052855160ff1660448201526020860151606482015290850151608482015260a401610bba565b6126b8818461532c565b92508783106126cb5760019650506126d4565b506001016125bc565b50846126f357604051639e8f5f6360e01b815260040160405180910390fd5b5050505f8981526079602052604090208590555050871561276c575f878152607a602052604090819020805460ff19166001179055517f89e52969465b1f1866fc5d46fd62de953962e9cb33552443cd999eba05bd20dc906127589085908d90614fd7565b60405180910390a150505050505050610b76565b612776858761372a565b6127b461278960608c0160408d0161430a565b8660745f9054906101000a90046001600160a01b03168d6101000180360381019061171e9190615075565b7f21e88e956aa3e086f6388e899965cef814688f99ad8bb29b08d396571016372d838b6040516127e5929190614fd7565b60405180910390a15050505050505092915050565b610da98282611fe1565b607480546001600160a01b0319166001600160a01b0383169081179091556040519081527f9d2334c23be647e994f27a72c5eee42a43d5bdcfe15bb88e939103c2b114cbaf90602001610f74565b8082118061285e575080155b80612867575081155b15612892575f356001600160e01b0319166040516387f6f09560e01b8152600401610bba9190614831565b6001805460028054858455908490556004805493840190556040805183815260208101839052929391928592879290917f976f8a9c5bdf8248dec172376d6e2b80a8e3df2f0328e381c6db8e1cf138c0f8910160405180910390a450505050565b5f8082841180612901575083155b8061290a575082155b15612935575f356001600160e01b0319166040516387f6f09560e01b8152600401610bba9190614831565b5050603780546038805492859055839055600480546001810190915560408051838152602081018590529293928592879290917f31312c97b89cc751b832d98fd459b967a2c3eef3b49757d1cf5ebaa12bb6eee1910160405180910390a49250929050565b6002546037546129aa91906150a2565b6038546001546129ba91906150a2565b1115610b35575f356001600160e01b0319166040516387f6f09560e01b8152600401610bba9190614831565b828114612a13575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b83811015612a8157828282818110612a2f57612a2f614d1f565b9050602002013560395f878785818110612a4b57612a4b614d1f565b9050602002016020810190612a60919061430a565b6001600160a01b0316815260208101919091526040015f2055600101612a15565b507f80bc635c452ae67f12f9b6f12ad4daa6dbbc04eeb9ebb87d354ce10c0e210dc0848484846040516117579493929190615187565b828114612ae4575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b83811015612b8e57620f4240838383818110612b0457612b04614d1f565b905060200201351115612b2a5760405163572d3bd360e11b815260040160405180910390fd5b828282818110612b3c57612b3c614d1f565b90506020020135603b5f878785818110612b5857612b58614d1f565b9050602002016020810190612b6d919061430a565b6001600160a01b0316815260208101919091526040015f2055600101612ae6565b507fb05f5de88ae0294ebb6f67c5af2fcbbd593cc6bdfe543e2869794a4c8ce3ea50848484846040516117579493929190615187565b828114612bf1575f356001600160e01b0319166040516306b5667560e21b8152600401610bba9190614831565b5f5b83811015612c5f57828282818110612c0d57612c0d614d1f565b90506020020135603c5f878785818110612c2957612c29614d1f565b9050602002016020810190612c3e919061430a565b6001600160a01b0316815260208101919091526040015f2055600101612bf3565b507fb5d2963614d72181b4df1f993d45b83edf42fa19710f0204217ba1b3e183bb73848484846040516117579493929190615187565b6001600160a01b0382165f908152603a60205260408120548210612cba57505f610b76565b5f612cc8620151804261533f565b6001600160a01b0385165f908152603e6020526040902054909150811115612d0c5750506001600160a01b0382165f908152603c6020526040902054811015610b76565b6001600160a01b0384165f908152603d6020526040902054612d2f90849061532c565b6001600160a01b0385165f908152603c602052604090205411159150610b769050565b5092915050565b607d546001600160601b03165f819003612d93575f356001600160e01b031916604051631103b51560e31b8152600401610bba9190614831565b90565b5f600254600160025484600154612dad91906150a2565b612db7919061532c565b612dc1919061508f565b612dcb919061533f565b9050805f036118e8575f356001600160e01b03191660405163267b1b9160e01b8152600401610bba9190614831565b612e026120e2565b5f805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586120c53390565b806001600160a01b03163b5f03610fd957604051630bfc64a360e21b81526001600160a01b0382166004820152602401610bba565b612e7481611b01565b6001600160a01b0316336001600160a01b031614610fd9575f356001600160e01b03191681336040516320e0f98d60e21b8152600401610bba9392919061535e565b5f61104383836137b6565b5f80612ed083604001516137dc565b90505f612ee084606001516137dc565b90505f612f338560800151604080517f1e2b74b2a792d5c0f0b6e59b037fa9d43d84fbb759337f0112fcc15ca414fc8d815282516020808301919091528301518183015291015160608201526080902090565b604080517fb9d1fe7c9deeec5dc90a2f47ff1684239519f2545b2228d3d91fb27df3189eea815287516020808301919091529097015190870152606086019390935250608084015260a08301525060c0902090565b5f620f4240612f9783856150a2565b611043919061533f565b806001600160a01b0316826001600160a01b0316036130495760408085015190516001600160a01b0385169180156108fc02915f818181858888f1935050505061304457806001600160a01b031663d0e30db085604001516040518263ffffffff1660e01b81526004015f604051808303818588803b158015613022575f80fd5b505af1158015613034573d5f803e3d5ffd5b5050505050613044848484613824565b610c39565b5f8451600281111561305d5761305d614881565b03613120576040516370a0823160e01b81523060048201525f906001600160a01b038416906370a0823190602401602060405180830381865afa1580156130a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130ca9190615395565b9050846040015181101561310f576130f283308388604001516130ed919061508f565b6138a2565b61310f57604051632f739fff60e11b815260040160405180910390fd5b61311a858585613824565b50610c39565b60018451600281111561313557613135614881565b036131665761314982848660200151613942565b6130445760405163c8e3a09f60e01b815260040160405180910390fd5b60028451600281111561317b5761317b614881565b036131b157613194828486602001518760400151613968565b613044576040516334b471a760e21b815260040160405180910390fd5b6040516361e411a760e11b815260040160405180910390fd5b5f610b76825490565b5f6001600160e01b03198216635a05180f60e01b1480610b765750610b7682613990565b6132018282611765565b610da957613219816001600160a01b031660146139c4565b6132248360206139c4565b6040516020016132359291906153ce565b60408051601f198184030181529082905262461bcd60e51b8252610bba9160040161546d565b6132658282611765565b610da9575f8281526072602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561329c3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b5f611043836001600160a01b038416613b59565b6132fe8282611765565b15610da9575f8281526072602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b5f611043836001600160a01b038416613ba5565b5f5460ff16610b355760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610bba565b6133bf81613c88565b806133ce57506133ce81613cbd565b806133dd57506133dd81613ce4565b610fd95760405163034992a760e51b815260040160405180910390fd5b5f6060818551600281111561341157613411614881565b036134e85760408581015181516001600160a01b03878116602483015230604483015260648083019390935283518083039093018352608490910183526020820180516001600160e01b03166323b872dd60e01b179052915191851691613478919061547f565b5f604051808303815f865af19150503d805f81146134b1576040519150601f19603f3d011682016040523d82523d5f602084013e6134b6565b606091505b5090925090508180156134e15750805115806134e15750808060200190518101906134e1919061549a565b9150613541565b6001855160028111156134fd576134fd614881565b03613512576134e18385308860200151613d0c565b60028551600281111561352757613527614881565b036131b1576134e183853088602001518960400151613db5565b816135675784843085604051639d2e4c6760e01b8152600401610bba94939291906154b5565b5050505050565b6135dd6040805160a0810182525f8082526020808301829052835160608082018652838252818301849052818601849052848601919091528451808201865283815280830184905280860184905281850152845190810185528281529081018290529283015290608082015290565b8381525f6020820181905250604080820180516001600160a01b039788169052602080890151825190891690820152905146908301528751606084018051918916909152805195909716940193909352935182015292909201516080820152919050565b6040805161190160f01b60208083019190915260228201859052604280830185905283518084039091018152606290920190925280519101205f90611043565b5f805f61368c612d59565b905061369781612d96565b92505f8660028111156136ac576136ac614881565b036136f9576001600160a01b0385165f9081526039602052604090205484106136db576136d881613e64565b92505b6001600160a01b0385165f908152603a602052604090205484101591505b50935093915050565b5f805f61371187878787613ec8565b9150915061371e81613fad565b5090505b949350505050565b5f613738620151804261533f565b6001600160a01b0384165f908152603e6020526040902054909150811115613785576001600160a01b03929092165f908152603e6020908152604080832094909455603d90529190912055565b6001600160a01b0383165f908152603d6020526040812080548492906137ac90849061532c565b9091555050505050565b5f825f0182815481106137cb576137cb614d1f565b905f5260205f200154905092915050565b604080517f353bdd8d69b9e3185b3972e08b03845c0c14a21a390215302776a7a34b0e8764815282516020808301919091528301518183015291015160608201526080902090565b5f808451600281111561383957613839614881565b036138545761384d82848660400151614162565b905061387e565b60018451600281111561386957613869614881565b036131b15761384d8230858760200151613d0c565b80610c39578383836040516341bd7d9160e11b8152600401610bba939291906154eb565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b03166340c10f1960e01b17905291515f928616916138f99161547f565b5f604051808303815f865af19150503d805f8114613932576040519150601f19603f3d011682016040523d82523d5f602084013e613937565b606091505b509095945050505050565b5f61394f84308585613d0c565b905080611043576139618484846138a2565b9050611043565b5f6139768530868686613db5565b9050806137225761398985858585614230565b9050613722565b5f6001600160e01b03198216637965db0b60e01b1480610b7657506301ffc9a760e01b6001600160e01b0319831614610b76565b60605f6139d28360026150a2565b6139dd90600261532c565b6001600160401b038111156139f4576139f46146a8565b6040519080825280601f01601f191660200182016040528015613a1e576020820181803683370190505b509050600360fc1b815f81518110613a3857613a38614d1f565b60200101906001600160f81b03191690815f1a905350600f60fb1b81600181518110613a6657613a66614d1f565b60200101906001600160f81b03191690815f1a9053505f613a888460026150a2565b613a9390600161532c565b90505b6001811115613b0a576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110613ac757613ac7614d1f565b1a60f81b828281518110613add57613add614d1f565b60200101906001600160f81b03191690815f1a90535060049490941c93613b038161551b565b9050613a96565b5083156110435760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610bba565b5f818152600183016020526040812054613b9e57508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610b76565b505f610b76565b5f8181526001830160205260408120548015613c7f575f613bc760018361508f565b85549091505f90613bda9060019061508f565b9050818114613c39575f865f018281548110613bf857613bf8614d1f565b905f5260205f200154905080875f018481548110613c1857613c18614d1f565b5f918252602080832090910192909255918252600188019052604090208390555b8554869080613c4a57613c4a615530565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f905560019350505050610b76565b5f915050610b76565b5f8082516002811115613c9d57613c9d614881565b148015613cad57505f8260400151115b8015610b76575050602001511590565b5f600182516002811115613cd357613cd3614881565b148015610b76575050604001511590565b5f600282516002811115613cfa57613cfa614881565b148015610b7657505060400151151590565b604080516001600160a01b0385811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180516001600160e01b03166323b872dd60e01b17905291515f92871691613d6b9161547f565b5f604051808303815f865af19150503d805f8114613da4576040519150601f19603f3d011682016040523d82523d5f602084013e613da9565b606091505b50909695505050505050565b604080515f808252602082019092526001600160a01b03871690613de490879087908790879060448101615544565b60408051601f198184030181529181526020820180516001600160e01b0316637921219560e11b17905251613e19919061547f565b5f604051808303815f865af19150503d805f8114613e52576040519150601f19603f3d011682016040523d82523d5f602084013e613e57565b606091505b5090979650505050505050565b5f603854600160385484603754613e7b91906150a2565b613e85919061532c565b613e8f919061508f565b613e99919061533f565b9050805f036118e8575f356001600160e01b031916604051639b974b0f60e01b8152600401610bba9190614831565b5f807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115613efd57505f90506003613fa4565b8460ff16601b14158015613f1557508460ff16601c14155b15613f2557505f90506004613fa4565b604080515f8082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015613f76573d5f803e3d5ffd5b5050604051601f1901519150506001600160a01b038116613f9e575f60019250925050613fa4565b91505f90505b94509492505050565b5f816004811115613fc057613fc0614881565b03613fc85750565b6001816004811115613fdc57613fdc614881565b036140295760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610bba565b600281600481111561403d5761403d614881565b0361408a5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610bba565b600381600481111561409e5761409e614881565b036140f65760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610bba565b600481600481111561410a5761410a614881565b03610fd95760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610bba565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663a9059cbb60e01b17905291515f92606092908716916141be919061547f565b5f604051808303815f865af19150503d805f81146141f7576040519150601f19603f3d011682016040523d82523d5f602084013e6141fc565b606091505b509092509050818015614227575080511580614227575080806020019051810190614227919061549a565b95945050505050565b604080515f808252602082019092526001600160a01b0386169061425d9086908690869060448101615588565b60408051601f198184030181529181526020820180516001600160e01b031663731133e960e01b17905251613d6b919061547f565b604080516060810182525f80825260208201529081016142ca6040805160608101909152805f81526020015f81526020015f81525090565b905290565b5f602082840312156142df575f80fd5b81356001600160e01b031981168114611043575f80fd5b6001600160a01b0381168114610fd9575f80fd5b5f6020828403121561431a575f80fd5b8135611043816142f6565b5f8083601f840112614335575f80fd5b5081356001600160401b0381111561434b575f80fd5b6020830191508360208260051b85010111156117e5575f80fd5b5f805f8060408587031215614378575f80fd5b84356001600160401b038082111561438e575f80fd5b61439a88838901614325565b909650945060208701359150808211156143b2575f80fd5b506143bf87828801614325565b95989497509550505050565b5f805f805f80606087890312156143e0575f80fd5b86356001600160401b03808211156143f6575f80fd5b6144028a838b01614325565b9098509650602089013591508082111561441a575f80fd5b6144268a838b01614325565b9096509450604089013591508082111561443e575f80fd5b5061444b89828a01614325565b979a9699509497509295939492505050565b80356118e8816142f6565b5f60208284031215614478575f80fd5b5035919050565b5f8060408385031215614490575f80fd5b8235915060208301356144a2816142f6565b809150509250929050565b5f60a082840312156144bd575f80fd5b50919050565b5f61016082840312156144bd575f80fd5b5f805f61018084860312156144e7575f80fd5b6144f185856144c3565b92506101608401356001600160401b038082111561450d575f80fd5b818601915086601f830112614520575f80fd5b81358181111561452e575f80fd5b876020606083028501011115614542575f80fd5b6020830194508093505050509250925092565b8060608101831015610b76575f80fd5b8060808101831015610b76575f80fd5b5f805f805f805f805f806101208b8d03121561458f575f80fd5b6145988b61445d565b99506145a660208c0161445d565b985060408b0135975060608b0135965060808b0135955060a08b0135945060c08b01356001600160401b03808211156145dd575f80fd5b6145e98e838f01614555565b955060e08d01359150808211156145fe575f80fd5b61460a8e838f01614565565b94506101008d0135915080821115614620575f80fd5b5061462d8d828e01614325565b915080935050809150509295989b9194979a5092959850565b5f8060408385031215614657575f80fd5b8235614662816142f6565b946020939093013593505050565b8035601081106118e8575f80fd5b5f806040838503121561468f575f80fd5b61469883614670565b915060208301356144a2816142f6565b634e487b7160e01b5f52604160045260245ffd5b604051606081016001600160401b03811182821017156146de576146de6146a8565b60405290565b604051601f8201601f191681016001600160401b038111828210171561470c5761470c6146a8565b604052919050565b5f6001600160401b0382111561472c5761472c6146a8565b5060051b60200190565b8015158114610fd9575f80fd5b5f805f805f60608688031215614757575f80fd5b85356001600160401b038082111561476d575f80fd5b61477989838a01614325565b9097509550602091508782013581811115614792575f80fd5b61479e8a828b01614325565b9096509450506040880135818111156147b5575f80fd5b88019050601f810189136147c7575f80fd5b80356147da6147d582614714565b6146e4565b81815260059190911b8201830190838101908b8311156147f8575f80fd5b928401925b8284101561481f57833561481081614736565b825292840192908401906147fd565b80955050505050509295509295909350565b6001600160e01b031991909116815260200190565b5f8060408385031215614857575f80fd5b50508035926020909101359150565b5f6101608284031215614877575f80fd5b61104383836144c3565b634e487b7160e01b5f52602160045260245ffd5b600381106148a5576148a5614881565b9052565b5f6040820190506148bb828451614895565b6020928301516001600160a01b0316919092015290565b5f82601f8301126148e1575f80fd5b813560206148f16147d583614714565b8083825260208201915060208460051b870101935086841115614912575f80fd5b602086015b8481101561492e5780358352918301918301614917565b509695505050505050565b5f82601f830112614948575f80fd5b81356001600160401b03811115614961576149616146a8565b614974601f8201601f19166020016146e4565b818152846020838601011115614988575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f805f60a086880312156149b8575f80fd5b85356149c3816142f6565b945060208601356149d3816142f6565b935060408601356001600160401b03808211156149ee575f80fd5b6149fa89838a016148d2565b94506060880135915080821115614a0f575f80fd5b614a1b89838a016148d2565b93506080880135915080821115614a30575f80fd5b50614a3d88828901614939565b9150509295509295909350565b5f60208284031215614a5a575f80fd5b61104382614670565b5f805f805f805f6080888a031215614a79575f80fd5b87356001600160401b0380821115614a8f575f80fd5b614a9b8b838c01614325565b909950975060208a0135915080821115614ab3575f80fd5b614abf8b838c01614325565b909750955060408a0135915080821115614ad7575f80fd5b614ae38b838c01614325565b909550935060608a0135915080821115614afb575f80fd5b50614b088a828b01614565565b91505092959891949750929550565b5f805f805f60a08688031215614b2b575f80fd5b8535614b36816142f6565b94506020860135614b46816142f6565b9350604086013592506060860135915060808601356001600160401b03811115614b6e575f80fd5b614a3d88828901614939565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b5f82601f830112614bd7575f80fd5b81516020614be76147d583614714565b8083825260208201915060208460051b870101935086841115614c08575f80fd5b602086015b8481101561492e578051614c20816142f6565b8352918301918301614c0d565b6001600160601b0381168114610fd9575f80fd5b5f805f60608486031215614c53575f80fd5b83516001600160401b0380821115614c69575f80fd5b614c7587838801614bc8565b9450602091508186015181811115614c8b575f80fd5b614c9788828901614bc8565b945050604086015181811115614cab575f80fd5b86019050601f81018713614cbd575f80fd5b8051614ccb6147d582614714565b81815260059190911b82018301908381019089831115614ce9575f80fd5b928401925b82841015614d10578351614d0181614c2d565b82529284019290840190614cee565b80955050505050509250925092565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b6001600160601b03818116838216019080821115612d5257612d52614d33565b8035600381106118e8575f80fd5b5f60608284031215614d85575f80fd5b614d8d6146bc565b9050614d9882614d67565b8152602082013560208201526040820135604082015292915050565b5f60a08284031215614dc4575f80fd5b614dcc6146bc565b8235614dd7816142f6565b81526020830135614de7816142f6565b6020820152614df98460408501614d75565b60408201529392505050565b5f60608284031215614e15575f80fd5b614e1d6146bc565b823560ff81168114614e2d575f80fd5b8152602083810135908201526040928301359281019290925250919050565b5f808335601e19843603018112614e61575f80fd5b8301803591506001600160401b03821115614e7a575f80fd5b6020019150600581901b36038213156117e5575f80fd5b5f60208284031215614ea1575f80fd5b813561104381614c2d565b8035600281106118e8575f80fd5b5f60608284031215614eca575f80fd5b614ed26146bc565b90508135614edf816142f6565b81526020820135614eef816142f6565b806020830152506040820135604082015292915050565b5f6101608284031215614f17575f80fd5b60405160a081018181106001600160401b0382111715614f3957614f396146a8565b60405282358152614f4c60208401614eac565b6020820152614f5e8460408501614eba565b6040820152614f708460a08501614eba565b6060820152614f83846101008501614d75565b60808201529392505050565b600281106148a5576148a5614881565b8035614faa816142f6565b6001600160a01b039081168352602082013590614fc6826142f6565b166020830152604090810135910152565b5f6101808201905083825282356020830152614ff560208401614eac565b6150026040840182614f8f565b506150136060830160408501614f9f565b61502360c0830160a08501614f9f565b61012061503e8184016150396101008701614d67565b614895565b61014081850135818501528085013561016085015250509392505050565b5f6020828403121561506c575f80fd5b61104382614d67565b5f60608284031215615085575f80fd5b6110438383614d75565b81810381811115610b7657610b76614d33565b8082028115828204841417610b7657610b76614d33565b5f602082840312156150c9575f80fd5b813561104381614736565b6001600160601b03828116828216039080821115612d5257612d52614d33565b601081106148a5576148a5614881565b60208101610b7682846150f4565b6001600160e01b03198316815260408101600b831061513357615133614881565b8260208301529392505050565b8183525f60208085019450825f5b8581101561517c578135615161816142f6565b6001600160a01b03168752958201959082019060010161514e565b509495945050505050565b604081525f61519a604083018688615140565b82810360208401528381526001600160fb1b038411156151b8575f80fd5b8360051b80866020840137016020019695505050505050565b606081525f6151e460608301888a615140565b602083820360208501526151f982888a615140565b84810360408601528581528692506020015f5b86811015615231576152218261503986614d67565b928201929082019060010161520c565b509a9950505050505050505050565b5f6001820161525157615251614d33565b5060010190565b615263828251614895565b60208181015190830152604090810151910152565b5f6101808201905083825282516020830152602083015161529c6040840182614f8f565b5060408381015180516001600160a01b03908116606086015260208201511660808501529081015160a084015250606083015180516001600160a01b0390811660c085015260208201511660e0840152604081015161010084015250608083015161530b610120840182615258565b509392505050565b5f60208284031215615323575f80fd5b61104382614eac565b80820180821115610b7657610b76614d33565b5f8261535957634e487b7160e01b5f52601260045260245ffd5b500490565b6001600160e01b0319841681526060810161537c60208301856150f4565b6001600160a01b03929092166040919091015292915050565b5f602082840312156153a5575f80fd5b5051919050565b5f5b838110156153c65781810151838201526020016153ae565b50505f910152565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081525f83516154058160178501602088016153ac565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516154368160288401602088016153ac565b01602801949350505050565b5f81518084526154598160208601602086016153ac565b601f01601f19169290920160200192915050565b602081525f6110436020830184615442565b5f82516154908184602087016153ac565b9190910192915050565b5f602082840312156154aa575f80fd5b815161104381614736565b60c081016154c38287615258565b6001600160a01b0394851660608301529284166080820152921660a090920191909152919050565b60a081016154f98286615258565b6001600160a01b03938416606083015291909216608090920191909152919050565b5f8161552957615529614d33565b505f190190565b634e487b7160e01b5f52603160045260245ffd5b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190525f9061557d90830184615442565b979650505050505050565b60018060a01b0385168152836020820152826040820152608060608201525f6155b46080830184615442565b969550505050505056fe7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498a2646970667358221220827c27eb9c0e782e11cbede65a649bc4e28189cba6c89b3275f6ddb6d70f18bc64736f6c63430008170033\"", + "deployer": "0xF35F15c6d41E391bAcb71f60B45f4e785cfe6DA7", "devdoc": { "version": 1, "kind": "dev", "methods": { "DOMAIN_SEPARATOR()": { - "details": "Returns the domain seperator." + "details": "Returns the domain separator." }, "checkHighTierVoteWeightThreshold(uint256)": { "details": "Checks whether the `_voteWeight` passes the high-tier vote weight threshold." @@ -107,9 +107,6 @@ "requestDepositFor((address,address,(uint8,uint256,uint256)))": { "details": "Locks the assets and request deposit." }, - "requestDepositForBatch((address,address,(uint8,uint256,uint256))[])": { - "details": "Locks the assets and request deposit for batch." - }, "revokeRole(bytes32,address)": { "details": "Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleRevoked} event." }, @@ -282,6 +279,11 @@ "details": "Error indicating that a request is invalid." } ], + "ErrInvalidSigner(address,uint256,(uint8,bytes32,bytes32))": [ + { + "details": "Error indicating that the recovered signer from the signature has invalid vote weight." + } + ], "ErrInvalidThreshold(bytes4)": [ { "details": "Error indicating that the provided threshold is invalid for a specific function signature.", @@ -303,6 +305,21 @@ } } ], + "ErrNullHighTierVoteWeightProvided(bytes4)": [ + { + "details": "Error thrown when the high-tier vote weight threshold is `0`." + } + ], + "ErrNullMinVoteWeightProvided(bytes4)": [ + { + "details": "Error indicating that `_minimumVoteWeight` is returning 0." + } + ], + "ErrNullTotalWeightProvided(bytes4)": [ + { + "details": "Error indicating that the total weight provided is null." + } + ], "ErrQueryForApprovedWithdrawal()": [ { "details": "Error indicating that a query was made for an approved withdrawal." @@ -381,12 +398,12 @@ } }, "isFoundry": true, - "metadata": "\"{\\\"compiler\\\":{\\\"version\\\":\\\"0.8.23+commit.f704f362\\\"},\\\"language\\\":\\\"Solidity\\\",\\\"output\\\":{\\\"abi\\\":[{\\\"inputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"constructor\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"enum ContractType\\\",\\\"name\\\":\\\"contractType\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"name\\\":\\\"ErrContractTypeNotFound\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrERC1155MintingFailed\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrERC20MintingFailed\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrERC721MintingFailed\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrEmptyArray\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"msgSig\\\",\\\"type\\\":\\\"bytes4\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"actual\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"expected\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"ErrInvalidChainId\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrInvalidInfo\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"msgSig\\\",\\\"type\\\":\\\"bytes4\\\"}],\\\"name\\\":\\\"ErrInvalidOrder\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrInvalidPercentage\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrInvalidReceipt\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrInvalidReceiptKind\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrInvalidRequest\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"msgSig\\\",\\\"type\\\":\\\"bytes4\\\"}],\\\"name\\\":\\\"ErrInvalidThreshold\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrInvalidTokenStandard\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"msgSig\\\",\\\"type\\\":\\\"bytes4\\\"}],\\\"name\\\":\\\"ErrLengthMismatch\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrQueryForApprovedWithdrawal\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrQueryForInsufficientVoteWeight\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrQueryForProcessedWithdrawal\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrReachedDailyWithdrawalLimit\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[{\\\"components\\\":[{\\\"internalType\\\":\\\"enum TokenStandard\\\",\\\"name\\\":\\\"erc\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"quantity\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenInfo\\\",\\\"name\\\":\\\"tokenInfo\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"ErrTokenCouldNotTransfer\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[{\\\"components\\\":[{\\\"internalType\\\":\\\"enum TokenStandard\\\",\\\"name\\\":\\\"erc\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"quantity\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenInfo\\\",\\\"name\\\":\\\"tokenInfo\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"from\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"ErrTokenCouldNotTransferFrom\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"msgSig\\\",\\\"type\\\":\\\"bytes4\\\"},{\\\"internalType\\\":\\\"enum RoleAccess\\\",\\\"name\\\":\\\"expectedRole\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"name\\\":\\\"ErrUnauthorized\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"msgSig\\\",\\\"type\\\":\\\"bytes4\\\"},{\\\"internalType\\\":\\\"enum ContractType\\\",\\\"name\\\":\\\"expectedContractType\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"actual\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"ErrUnexpectedInternalCall\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrUnsupportedStandard\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrUnsupportedToken\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"ErrZeroCodeContract\\\",\\\"type\\\":\\\"error\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"enum ContractType\\\",\\\"name\\\":\\\"contractType\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"ContractUpdated\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"tokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256[]\\\",\\\"name\\\":\\\"limits\\\",\\\"type\\\":\\\"uint256[]\\\"}],\\\"name\\\":\\\"DailyWithdrawalLimitsUpdated\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"receiptHash\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"enum Transfer.Kind\\\",\\\"name\\\":\\\"kind\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"chainId\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenOwner\\\",\\\"name\\\":\\\"mainchain\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"chainId\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenOwner\\\",\\\"name\\\":\\\"ronin\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"enum TokenStandard\\\",\\\"name\\\":\\\"erc\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"quantity\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenInfo\\\",\\\"name\\\":\\\"info\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"indexed\\\":false,\\\"internalType\\\":\\\"struct Transfer.Receipt\\\",\\\"name\\\":\\\"receipt\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"name\\\":\\\"DepositRequested\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"tokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256[]\\\",\\\"name\\\":\\\"thresholds\\\",\\\"type\\\":\\\"uint256[]\\\"}],\\\"name\\\":\\\"HighTierThresholdsUpdated\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"nonce\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"numerator\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"denominator\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"previousNumerator\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"previousDenominator\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"HighTierVoteWeightThresholdUpdated\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"version\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"name\\\":\\\"Initialized\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"tokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256[]\\\",\\\"name\\\":\\\"thresholds\\\",\\\"type\\\":\\\"uint256[]\\\"}],\\\"name\\\":\\\"LockedThresholdsUpdated\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"Paused\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"previousAdminRole\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"newAdminRole\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"name\\\":\\\"RoleAdminChanged\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"sender\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"RoleGranted\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"sender\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"RoleRevoked\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"nonce\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"numerator\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"denominator\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"previousNumerator\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"previousDenominator\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"ThresholdUpdated\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"mainchainTokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"roninTokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"enum TokenStandard[]\\\",\\\"name\\\":\\\"standards\\\",\\\"type\\\":\\\"uint8[]\\\"}],\\\"name\\\":\\\"TokenMapped\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"tokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256[]\\\",\\\"name\\\":\\\"percentages\\\",\\\"type\\\":\\\"uint256[]\\\"}],\\\"name\\\":\\\"UnlockFeePercentagesUpdated\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"Unpaused\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"receiptHash\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"enum Transfer.Kind\\\",\\\"name\\\":\\\"kind\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"chainId\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenOwner\\\",\\\"name\\\":\\\"mainchain\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"chainId\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenOwner\\\",\\\"name\\\":\\\"ronin\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"enum TokenStandard\\\",\\\"name\\\":\\\"erc\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"quantity\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenInfo\\\",\\\"name\\\":\\\"info\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"indexed\\\":false,\\\"internalType\\\":\\\"struct Transfer.Receipt\\\",\\\"name\\\":\\\"receipt\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"name\\\":\\\"WithdrawalLocked\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"receiptHash\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"enum Transfer.Kind\\\",\\\"name\\\":\\\"kind\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"chainId\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenOwner\\\",\\\"name\\\":\\\"mainchain\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"chainId\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenOwner\\\",\\\"name\\\":\\\"ronin\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"enum TokenStandard\\\",\\\"name\\\":\\\"erc\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"quantity\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenInfo\\\",\\\"name\\\":\\\"info\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"indexed\\\":false,\\\"internalType\\\":\\\"struct Transfer.Receipt\\\",\\\"name\\\":\\\"receipt\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"name\\\":\\\"WithdrawalUnlocked\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"receiptHash\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"enum Transfer.Kind\\\",\\\"name\\\":\\\"kind\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"chainId\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenOwner\\\",\\\"name\\\":\\\"mainchain\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"chainId\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenOwner\\\",\\\"name\\\":\\\"ronin\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"enum TokenStandard\\\",\\\"name\\\":\\\"erc\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"quantity\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenInfo\\\",\\\"name\\\":\\\"info\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"indexed\\\":false,\\\"internalType\\\":\\\"struct Transfer.Receipt\\\",\\\"name\\\":\\\"receipt\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"name\\\":\\\"Withdrew\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"contract IWETH\\\",\\\"name\\\":\\\"weth\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"WrappedNativeTokenContractUpdated\\\",\\\"type\\\":\\\"event\\\"},{\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"fallback\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"DEFAULT_ADMIN_ROLE\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"DOMAIN_SEPARATOR\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"WITHDRAWAL_UNLOCKER_ROLE\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"_MAX_PERCENTAGE\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_voteWeight\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"checkHighTierVoteWeightThreshold\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_voteWeight\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"checkThreshold\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"dailyWithdrawalLimit\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"depositCount\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"emergencyPauser\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"enum ContractType\\\",\\\"name\\\":\\\"contractType\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"name\\\":\\\"getContract\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"contract_\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"getHighTierVoteWeightThreshold\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"name\\\":\\\"getRoleAdmin\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"index\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"getRoleMember\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"name\\\":\\\"getRoleMemberCount\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"mainchainToken\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"getRoninToken\\\",\\\"outputs\\\":[{\\\"components\\\":[{\\\"internalType\\\":\\\"enum TokenStandard\\\",\\\"name\\\":\\\"erc\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"}],\\\"internalType\\\":\\\"struct MappedTokenConsumer.MappedToken\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"getThreshold\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"num_\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"denom_\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"grantRole\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"hasRole\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"highTierThreshold\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_roleSetter\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"contract IWETH\\\",\\\"name\\\":\\\"_wrappedToken\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_roninChainId\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_numerator\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_highTierVWNumerator\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_denominator\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"address[][3]\\\",\\\"name\\\":\\\"_addresses\\\",\\\"type\\\":\\\"address[][3]\\\"},{\\\"internalType\\\":\\\"uint256[][4]\\\",\\\"name\\\":\\\"_thresholds\\\",\\\"type\\\":\\\"uint256[][4]\\\"},{\\\"internalType\\\":\\\"enum TokenStandard[]\\\",\\\"name\\\":\\\"_standards\\\",\\\"type\\\":\\\"uint8[]\\\"}],\\\"name\\\":\\\"initialize\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"bridgeManagerContract\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"initializeV2\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"initializeV3\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address payable\\\",\\\"name\\\":\\\"wethUnwrapper_\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"initializeV4\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"lastDateSynced\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"lastSyncedWithdrawal\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"lockedThreshold\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"_mainchainTokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"_roninTokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"internalType\\\":\\\"enum TokenStandard[]\\\",\\\"name\\\":\\\"_standards\\\",\\\"type\\\":\\\"uint8[]\\\"}],\\\"name\\\":\\\"mapTokens\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"_mainchainTokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"_roninTokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"internalType\\\":\\\"enum TokenStandard[]\\\",\\\"name\\\":\\\"_standards\\\",\\\"type\\\":\\\"uint8[]\\\"},{\\\"internalType\\\":\\\"uint256[][4]\\\",\\\"name\\\":\\\"_thresholds\\\",\\\"type\\\":\\\"uint256[][4]\\\"}],\\\"name\\\":\\\"mapTokensAndThresholds\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"minimumVoteWeight\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"nonce\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"operators\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"internalType\\\":\\\"uint96[]\\\",\\\"name\\\":\\\"weights\\\",\\\"type\\\":\\\"uint96[]\\\"},{\\\"internalType\\\":\\\"bool[]\\\",\\\"name\\\":\\\"addeds\\\",\\\"type\\\":\\\"bool[]\\\"}],\\\"name\\\":\\\"onBridgeOperatorsAdded\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes4\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"operators\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"internalType\\\":\\\"bool[]\\\",\\\"name\\\":\\\"removeds\\\",\\\"type\\\":\\\"bool[]\\\"}],\\\"name\\\":\\\"onBridgeOperatorsRemoved\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes4\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256[]\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256[]\\\"},{\\\"internalType\\\":\\\"uint256[]\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256[]\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"onERC1155BatchReceived\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes4\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"onERC1155Received\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes4\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"pause\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"paused\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_token\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_quantity\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"reachedWithdrawalLimit\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"receiveEther\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"renounceRole\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"recipientAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"enum TokenStandard\\\",\\\"name\\\":\\\"erc\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"quantity\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenInfo\\\",\\\"name\\\":\\\"info\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"internalType\\\":\\\"struct Transfer.Request\\\",\\\"name\\\":\\\"_request\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"name\\\":\\\"requestDepositFor\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"recipientAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"enum TokenStandard\\\",\\\"name\\\":\\\"erc\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"quantity\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenInfo\\\",\\\"name\\\":\\\"info\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"internalType\\\":\\\"struct Transfer.Request[]\\\",\\\"name\\\":\\\"_requests\\\",\\\"type\\\":\\\"tuple[]\\\"}],\\\"name\\\":\\\"requestDepositForBatch\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"revokeRole\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"roninChainId\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"enum ContractType\\\",\\\"name\\\":\\\"contractType\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"setContract\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"_tokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"internalType\\\":\\\"uint256[]\\\",\\\"name\\\":\\\"_limits\\\",\\\"type\\\":\\\"uint256[]\\\"}],\\\"name\\\":\\\"setDailyWithdrawalLimits\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_addr\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"setEmergencyPauser\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"_tokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"internalType\\\":\\\"uint256[]\\\",\\\"name\\\":\\\"_thresholds\\\",\\\"type\\\":\\\"uint256[]\\\"}],\\\"name\\\":\\\"setHighTierThresholds\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_numerator\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_denominator\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"setHighTierVoteWeightThreshold\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_previousNum\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_previousDenom\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"_tokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"internalType\\\":\\\"uint256[]\\\",\\\"name\\\":\\\"_thresholds\\\",\\\"type\\\":\\\"uint256[]\\\"}],\\\"name\\\":\\\"setLockedThresholds\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"num\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"denom\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"setThreshold\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"_tokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"internalType\\\":\\\"uint256[]\\\",\\\"name\\\":\\\"_percentages\\\",\\\"type\\\":\\\"uint256[]\\\"}],\\\"name\\\":\\\"setUnlockFeePercentages\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"contract IWETH\\\",\\\"name\\\":\\\"_wrappedToken\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"setWrappedNativeTokenContract\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"components\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"enum Transfer.Kind\\\",\\\"name\\\":\\\"kind\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"chainId\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenOwner\\\",\\\"name\\\":\\\"mainchain\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"chainId\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenOwner\\\",\\\"name\\\":\\\"ronin\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"enum TokenStandard\\\",\\\"name\\\":\\\"erc\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"quantity\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenInfo\\\",\\\"name\\\":\\\"info\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"internalType\\\":\\\"struct Transfer.Receipt\\\",\\\"name\\\":\\\"_receipt\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"v\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"r\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"s\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"internalType\\\":\\\"struct SignatureConsumer.Signature[]\\\",\\\"name\\\":\\\"_signatures\\\",\\\"type\\\":\\\"tuple[]\\\"}],\\\"name\\\":\\\"submitWithdrawal\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"_locked\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"interfaceId\\\",\\\"type\\\":\\\"bytes4\\\"}],\\\"name\\\":\\\"supportsInterface\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"unlockFeePercentages\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"components\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"enum Transfer.Kind\\\",\\\"name\\\":\\\"kind\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"chainId\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenOwner\\\",\\\"name\\\":\\\"mainchain\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"chainId\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenOwner\\\",\\\"name\\\":\\\"ronin\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"enum TokenStandard\\\",\\\"name\\\":\\\"erc\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"quantity\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenInfo\\\",\\\"name\\\":\\\"info\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"internalType\\\":\\\"struct Transfer.Receipt\\\",\\\"name\\\":\\\"receipt\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"name\\\":\\\"unlockWithdrawal\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"unpause\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"wethUnwrapper\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"contract WethUnwrapper\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"withdrawalHash\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"withdrawalLocked\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"wrappedNativeToken\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"contract IWETH\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"receive\\\"}],\\\"devdoc\\\":{\\\"errors\\\":{\\\"ErrContractTypeNotFound(uint8)\\\":[{\\\"details\\\":\\\"Error of invalid role.\\\"}],\\\"ErrERC1155MintingFailed()\\\":[{\\\"details\\\":\\\"Error indicating that the mint of ERC1155 tokens has failed.\\\"}],\\\"ErrERC20MintingFailed()\\\":[{\\\"details\\\":\\\"Error indicating that the minting of ERC20 tokens has failed.\\\"}],\\\"ErrERC721MintingFailed()\\\":[{\\\"details\\\":\\\"Error indicating that the minting of ERC721 tokens has failed.\\\"}],\\\"ErrEmptyArray()\\\":[{\\\"details\\\":\\\"Error indicating that an array is empty when it should contain elements.\\\"}],\\\"ErrInvalidChainId(bytes4,uint256,uint256)\\\":[{\\\"details\\\":\\\"Error indicating that the chain ID is invalid.\\\",\\\"params\\\":{\\\"actual\\\":\\\"Current chain ID that executing function.\\\",\\\"expected\\\":\\\"Expected chain ID required for the tx to success.\\\",\\\"msgSig\\\":\\\"The function signature (bytes4) of the operation that encountered an invalid chain ID.\\\"}}],\\\"ErrInvalidInfo()\\\":[{\\\"details\\\":\\\"Error indicating that the provided information is invalid.\\\"}],\\\"ErrInvalidOrder(bytes4)\\\":[{\\\"details\\\":\\\"Error indicating that an order is invalid.\\\",\\\"params\\\":{\\\"msgSig\\\":\\\"The function signature (bytes4) of the operation that encountered an invalid order.\\\"}}],\\\"ErrInvalidPercentage()\\\":[{\\\"details\\\":\\\"Error of invalid percentage.\\\"}],\\\"ErrInvalidReceipt()\\\":[{\\\"details\\\":\\\"Error indicating that a receipt is invalid.\\\"}],\\\"ErrInvalidReceiptKind()\\\":[{\\\"details\\\":\\\"Error indicating that a receipt kind is invalid.\\\"}],\\\"ErrInvalidRequest()\\\":[{\\\"details\\\":\\\"Error indicating that a request is invalid.\\\"}],\\\"ErrInvalidThreshold(bytes4)\\\":[{\\\"details\\\":\\\"Error indicating that the provided threshold is invalid for a specific function signature.\\\",\\\"params\\\":{\\\"msgSig\\\":\\\"The function signature (bytes4) that the invalid threshold applies to.\\\"}}],\\\"ErrInvalidTokenStandard()\\\":[{\\\"details\\\":\\\"Error indicating that a token standard is invalid.\\\"}],\\\"ErrLengthMismatch(bytes4)\\\":[{\\\"details\\\":\\\"Error indicating a mismatch in the length of input parameters or arrays for a specific function.\\\",\\\"params\\\":{\\\"msgSig\\\":\\\"The function signature (bytes4) that has a length mismatch.\\\"}}],\\\"ErrQueryForApprovedWithdrawal()\\\":[{\\\"details\\\":\\\"Error indicating that a query was made for an approved withdrawal.\\\"}],\\\"ErrQueryForInsufficientVoteWeight()\\\":[{\\\"details\\\":\\\"Error indicating that a query was made for insufficient vote weight.\\\"}],\\\"ErrQueryForProcessedWithdrawal()\\\":[{\\\"details\\\":\\\"Error indicating that a query was made for a processed withdrawal.\\\"}],\\\"ErrReachedDailyWithdrawalLimit()\\\":[{\\\"details\\\":\\\"Error indicating that the daily withdrawal limit has been reached.\\\"}],\\\"ErrTokenCouldNotTransfer((uint8,uint256,uint256),address,address)\\\":[{\\\"details\\\":\\\"Error indicating that the `transfer` has failed.\\\",\\\"params\\\":{\\\"to\\\":\\\"Receiver of the token value.\\\",\\\"token\\\":\\\"Address of the token.\\\",\\\"tokenInfo\\\":\\\"Info of the token including ERC standard, id or quantity.\\\"}}],\\\"ErrTokenCouldNotTransferFrom((uint8,uint256,uint256),address,address,address)\\\":[{\\\"details\\\":\\\"Error indicating that the `handleAssetIn` has failed.\\\",\\\"params\\\":{\\\"from\\\":\\\"Owner of the token value.\\\",\\\"to\\\":\\\"Receiver of the token value.\\\",\\\"token\\\":\\\"Address of the token.\\\",\\\"tokenInfo\\\":\\\"Info of the token including ERC standard, id or quantity.\\\"}}],\\\"ErrUnauthorized(bytes4,uint8)\\\":[{\\\"details\\\":\\\"Error indicating that the caller is unauthorized to perform a specific function.\\\",\\\"params\\\":{\\\"expectedRole\\\":\\\"The role required to perform the function.\\\",\\\"msgSig\\\":\\\"The function signature (bytes4) that the caller is unauthorized to perform.\\\"}}],\\\"ErrUnexpectedInternalCall(bytes4,uint8,address)\\\":[{\\\"details\\\":\\\"Error indicating that the caller is unauthorized to perform a specific function.\\\",\\\"params\\\":{\\\"actual\\\":\\\"The actual address that called to the function.\\\",\\\"expectedContractType\\\":\\\"The contract type required to perform the function.\\\",\\\"msgSig\\\":\\\"The function signature (bytes4).\\\"}}],\\\"ErrUnsupportedStandard()\\\":[{\\\"details\\\":\\\"Error indicating that an unsupported standard is encountered.\\\"}],\\\"ErrUnsupportedToken()\\\":[{\\\"details\\\":\\\"Error indicating that a token is not supported.\\\"}],\\\"ErrZeroCodeContract(address)\\\":[{\\\"details\\\":\\\"Error of set to non-contract.\\\"}]},\\\"events\\\":{\\\"ContractUpdated(uint8,address)\\\":{\\\"details\\\":\\\"Emitted when a contract is updated.\\\"},\\\"DailyWithdrawalLimitsUpdated(address[],uint256[])\\\":{\\\"details\\\":\\\"Emitted when the daily limit thresholds are updated\\\"},\\\"DepositRequested(bytes32,(uint256,uint8,(address,address,uint256),(address,address,uint256),(uint8,uint256,uint256)))\\\":{\\\"details\\\":\\\"Emitted when the deposit is requested\\\"},\\\"HighTierThresholdsUpdated(address[],uint256[])\\\":{\\\"details\\\":\\\"Emitted when the thresholds for high-tier withdrawals that requires high-tier vote weights are updated\\\"},\\\"HighTierVoteWeightThresholdUpdated(uint256,uint256,uint256,uint256,uint256)\\\":{\\\"details\\\":\\\"Emitted when the high-tier vote weight threshold is updated\\\"},\\\"Initialized(uint8)\\\":{\\\"details\\\":\\\"Triggered when the contract has been initialized or reinitialized.\\\"},\\\"LockedThresholdsUpdated(address[],uint256[])\\\":{\\\"details\\\":\\\"Emitted when the thresholds for locked withdrawals are updated\\\"},\\\"Paused(address)\\\":{\\\"details\\\":\\\"Emitted when the pause is triggered by `account`.\\\"},\\\"RoleAdminChanged(bytes32,bytes32,bytes32)\\\":{\\\"details\\\":\\\"Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite {RoleAdminChanged} not being emitted signaling this. _Available since v3.1._\\\"},\\\"RoleGranted(bytes32,address,address)\\\":{\\\"details\\\":\\\"Emitted when `account` is granted `role`. `sender` is the account that originated the contract call, an admin role bearer except when using {AccessControl-_setupRole}.\\\"},\\\"RoleRevoked(bytes32,address,address)\\\":{\\\"details\\\":\\\"Emitted when `account` is revoked `role`. `sender` is the account that originated the contract call: - if using `revokeRole`, it is the admin role bearer - if using `renounceRole`, it is the role bearer (i.e. `account`)\\\"},\\\"ThresholdUpdated(uint256,uint256,uint256,uint256,uint256)\\\":{\\\"details\\\":\\\"Emitted when the threshold is updated\\\"},\\\"TokenMapped(address[],address[],uint8[])\\\":{\\\"details\\\":\\\"Emitted when the tokens are mapped\\\"},\\\"UnlockFeePercentagesUpdated(address[],uint256[])\\\":{\\\"details\\\":\\\"Emitted when the fee percentages to unlock withdraw are updated\\\"},\\\"Unpaused(address)\\\":{\\\"details\\\":\\\"Emitted when the pause is lifted by `account`.\\\"},\\\"WithdrawalLocked(bytes32,(uint256,uint8,(address,address,uint256),(address,address,uint256),(uint8,uint256,uint256)))\\\":{\\\"details\\\":\\\"Emitted when the withdrawal is locked\\\"},\\\"WithdrawalUnlocked(bytes32,(uint256,uint8,(address,address,uint256),(address,address,uint256),(uint8,uint256,uint256)))\\\":{\\\"details\\\":\\\"Emitted when the withdrawal is unlocked\\\"},\\\"Withdrew(bytes32,(uint256,uint8,(address,address,uint256),(address,address,uint256),(uint8,uint256,uint256)))\\\":{\\\"details\\\":\\\"Emitted when the assets are withdrawn\\\"},\\\"WrappedNativeTokenContractUpdated(address)\\\":{\\\"details\\\":\\\"Emitted when the wrapped native token contract is updated\\\"}},\\\"kind\\\":\\\"dev\\\",\\\"methods\\\":{\\\"DOMAIN_SEPARATOR()\\\":{\\\"details\\\":\\\"Returns the domain seperator.\\\"},\\\"checkHighTierVoteWeightThreshold(uint256)\\\":{\\\"details\\\":\\\"Checks whether the `_voteWeight` passes the high-tier vote weight threshold.\\\"},\\\"checkThreshold(uint256)\\\":{\\\"details\\\":\\\"Checks whether the `_voteWeight` passes the threshold.\\\"},\\\"getContract(uint8)\\\":{\\\"details\\\":\\\"Returns the address of a contract with a specific role. Throws an error if no contract is set for the specified role.\\\",\\\"params\\\":{\\\"contractType\\\":\\\"The role of the contract to retrieve.\\\"},\\\"returns\\\":{\\\"contract_\\\":\\\"The address of the contract with the specified role.\\\"}},\\\"getHighTierVoteWeightThreshold()\\\":{\\\"details\\\":\\\"Returns the high-tier vote weight threshold.\\\"},\\\"getRoleAdmin(bytes32)\\\":{\\\"details\\\":\\\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\\\"},\\\"getRoleMember(bytes32,uint256)\\\":{\\\"details\\\":\\\"Returns one of the accounts that have `role`. `index` must be a value between 0 and {getRoleMemberCount}, non-inclusive. Role bearers are not sorted in any particular way, and their ordering may change at any point. WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure you perform all queries on the same block. See the following https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] for more information.\\\"},\\\"getRoleMemberCount(bytes32)\\\":{\\\"details\\\":\\\"Returns the number of accounts that have `role`. Can be used together with {getRoleMember} to enumerate all bearers of a role.\\\"},\\\"getRoninToken(address)\\\":{\\\"details\\\":\\\"Returns token address on Ronin network. Note: Reverts for unsupported token.\\\"},\\\"getThreshold()\\\":{\\\"details\\\":\\\"Returns the threshold.\\\"},\\\"grantRole(bytes32,address)\\\":{\\\"details\\\":\\\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleGranted} event.\\\"},\\\"hasRole(bytes32,address)\\\":{\\\"details\\\":\\\"Returns `true` if `account` has been granted `role`.\\\"},\\\"initialize(address,address,uint256,uint256,uint256,uint256,address[][3],uint256[][4],uint8[])\\\":{\\\"details\\\":\\\"Initializes contract storage.\\\"},\\\"mapTokens(address[],address[],uint8[])\\\":{\\\"details\\\":\\\"Maps mainchain tokens to Ronin network. Requirement: - The method caller is admin. - The arrays have the same length and its length larger than 0. Emits the `TokenMapped` event.\\\"},\\\"mapTokensAndThresholds(address[],address[],uint8[],uint256[][4])\\\":{\\\"details\\\":\\\"Maps mainchain tokens to Ronin network and sets thresholds. Requirement: - The method caller is admin. - The arrays have the same length and its length larger than 0. Emits the `TokenMapped` event.\\\"},\\\"minimumVoteWeight()\\\":{\\\"details\\\":\\\"Returns the minimum vote weight to pass the threshold.\\\"},\\\"onBridgeOperatorsAdded(address[],uint96[],bool[])\\\":{\\\"details\\\":\\\"Handles the event when bridge operators are added.\\\",\\\"params\\\":{\\\"addeds\\\":\\\"The corresponding boolean values indicating whether the operators were added or not.\\\",\\\"bridgeOperators\\\":\\\"The addresses of the bridge operators.\\\"},\\\"returns\\\":{\\\"_0\\\":\\\"The selector of the function being called.\\\"}},\\\"onBridgeOperatorsRemoved(address[],bool[])\\\":{\\\"details\\\":\\\"Handles the event when bridge operators are removed.\\\",\\\"params\\\":{\\\"bridgeOperators\\\":\\\"The addresses of the bridge operators.\\\",\\\"removeds\\\":\\\"The corresponding boolean values indicating whether the operators were removed or not.\\\"},\\\"returns\\\":{\\\"_0\\\":\\\"The selector of the function being called.\\\"}},\\\"pause()\\\":{\\\"details\\\":\\\"Triggers paused state.\\\"},\\\"paused()\\\":{\\\"details\\\":\\\"Returns true if the contract is paused, and false otherwise.\\\"},\\\"reachedWithdrawalLimit(address,uint256)\\\":{\\\"details\\\":\\\"Checks whether the withdrawal reaches the limitation.\\\"},\\\"receiveEther()\\\":{\\\"details\\\":\\\"Receives ether without doing anything. Use this function to topup native token.\\\"},\\\"renounceRole(bytes32,address)\\\":{\\\"details\\\":\\\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`. May emit a {RoleRevoked} event.\\\"},\\\"requestDepositFor((address,address,(uint8,uint256,uint256)))\\\":{\\\"details\\\":\\\"Locks the assets and request deposit.\\\"},\\\"requestDepositForBatch((address,address,(uint8,uint256,uint256))[])\\\":{\\\"details\\\":\\\"Locks the assets and request deposit for batch.\\\"},\\\"revokeRole(bytes32,address)\\\":{\\\"details\\\":\\\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleRevoked} event.\\\"},\\\"setContract(uint8,address)\\\":{\\\"details\\\":\\\"Sets the address of a contract with a specific role. Emits the event {ContractUpdated}.\\\",\\\"params\\\":{\\\"addr\\\":\\\"The address of the contract to set.\\\",\\\"contractType\\\":\\\"The role of the contract to set.\\\"}},\\\"setDailyWithdrawalLimits(address[],uint256[])\\\":{\\\"details\\\":\\\"Sets daily limit amounts for the withdrawals. Requirements: - The method caller is admin. - The arrays have the same length and its length larger than 0. Emits the `DailyWithdrawalLimitsUpdated` event.\\\"},\\\"setEmergencyPauser(address)\\\":{\\\"details\\\":\\\"Grant emergency pauser role for `_addr`.\\\"},\\\"setHighTierThresholds(address[],uint256[])\\\":{\\\"details\\\":\\\"Sets the thresholds for high-tier withdrawals that requires high-tier vote weights. Requirements: - The method caller is admin. - The arrays have the same length and its length larger than 0. Emits the `HighTierThresholdsUpdated` event.\\\"},\\\"setHighTierVoteWeightThreshold(uint256,uint256)\\\":{\\\"details\\\":\\\"Sets high-tier vote weight threshold and returns the old one. Requirements: - The method caller is admin. - The high-tier vote weight threshold must equal to or larger than the normal threshold. Emits the `HighTierVoteWeightThresholdUpdated` event.\\\"},\\\"setLockedThresholds(address[],uint256[])\\\":{\\\"details\\\":\\\"Sets the amount thresholds to lock withdrawal. Requirements: - The method caller is admin. - The arrays have the same length and its length larger than 0. Emits the `LockedThresholdsUpdated` event.\\\"},\\\"setThreshold(uint256,uint256)\\\":{\\\"details\\\":\\\"Override `GatewayV3-setThreshold`. Requirements: - The high-tier vote weight threshold must equal to or larger than the normal threshold.\\\"},\\\"setUnlockFeePercentages(address[],uint256[])\\\":{\\\"details\\\":\\\"Sets fee percentages to unlock withdrawal. Requirements: - The method caller is admin. - The arrays have the same length and its length larger than 0. Emits the `UnlockFeePercentagesUpdated` event.\\\"},\\\"setWrappedNativeTokenContract(address)\\\":{\\\"details\\\":\\\"Sets the wrapped native token contract. Requirements: - The method caller is admin. Emits the `WrappedNativeTokenContractUpdated` event.\\\"},\\\"submitWithdrawal((uint256,uint8,(address,address,uint256),(address,address,uint256),(uint8,uint256,uint256)),(uint8,bytes32,bytes32)[])\\\":{\\\"details\\\":\\\"Withdraws based on the receipt and the validator signatures. Returns whether the withdrawal is locked. Emits the `Withdrew` once the assets are released.\\\"},\\\"unlockWithdrawal((uint256,uint8,(address,address,uint256),(address,address,uint256),(uint8,uint256,uint256)))\\\":{\\\"details\\\":\\\"Approves a specific withdrawal. Requirements: - The method caller is a validator. Emits the `Withdrew` once the assets are released.\\\"},\\\"unpause()\\\":{\\\"details\\\":\\\"Triggers unpaused state.\\\"}},\\\"stateVariables\\\":{\\\"WITHDRAWAL_UNLOCKER_ROLE\\\":{\\\"details\\\":\\\"Withdrawal unlocker role hash\\\"},\\\"______deprecatedBridgeOperatorAddedBlock\\\":{\\\"custom:deprecated\\\":\\\"Previously `_bridgeOperatorAddedBlock` (mapping(address => uint256))\\\"},\\\"______deprecatedBridgeOperators\\\":{\\\"custom:deprecated\\\":\\\"Previously `_bridgeOperators` (uint256[])\\\"},\\\"_domainSeparator\\\":{\\\"details\\\":\\\"Domain separator\\\"},\\\"_roninToken\\\":{\\\"details\\\":\\\"Mapping from mainchain token => token address on Ronin network\\\"},\\\"depositCount\\\":{\\\"details\\\":\\\"Total deposit\\\"},\\\"roninChainId\\\":{\\\"details\\\":\\\"Ronin network id\\\"},\\\"withdrawalHash\\\":{\\\"details\\\":\\\"Mapping from withdrawal id => withdrawal hash\\\"},\\\"withdrawalLocked\\\":{\\\"details\\\":\\\"Mapping from withdrawal id => locked\\\"},\\\"wrappedNativeToken\\\":{\\\"details\\\":\\\"Wrapped native token address\\\"}},\\\"version\\\":1},\\\"userdoc\\\":{\\\"kind\\\":\\\"user\\\",\\\"methods\\\":{\\\"unlockFeePercentages(address)\\\":{\\\"notice\\\":\\\"Values 0-1,000,000 map to 0%-100%\\\"}},\\\"version\\\":1}},\\\"settings\\\":{\\\"compilationTarget\\\":{\\\"src/mainchain/MainchainGatewayV3.sol\\\":\\\"MainchainGatewayV3\\\"},\\\"evmVersion\\\":\\\"istanbul\\\",\\\"libraries\\\":{},\\\"metadata\\\":{\\\"bytecodeHash\\\":\\\"ipfs\\\",\\\"useLiteralContent\\\":true},\\\"optimizer\\\":{\\\"enabled\\\":true,\\\"runs\\\":200},\\\"remappings\\\":[\\\":@fdk-0.3.1-beta/=dependencies/@fdk-0.3.1-beta/\\\",\\\":@fdk/=dependencies/@fdk-0.3.1-beta/script/\\\",\\\":@openzeppelin/=lib/openzeppelin-contracts/\\\",\\\":@prb/math/=lib/prb-math/\\\",\\\":@prb/test/=lib/prb-test/src/\\\",\\\":@ronin/contracts/=src/\\\",\\\":@ronin/script/=script/\\\",\\\":@ronin/test/=test/\\\",\\\":ds-test/=lib/prb-math/lib/forge-std/lib/ds-test/src/\\\",\\\":forge-std/=dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/\\\",\\\":hardhat/=node_modules/hardhat/\\\",\\\":openzeppelin-contracts/=lib/openzeppelin-contracts/\\\",\\\":prb-math/=lib/prb-math/src/\\\",\\\":prb-test/=lib/prb-test/src/\\\",\\\":sample-projects/=node_modules/hardhat/sample-projects/\\\",\\\":solady/=dependencies/@fdk-0.3.1-beta/dependencies/@solady-0.0.228/src/\\\"]},\\\"sources\\\":{\\\"lib/openzeppelin-contracts/contracts/access/AccessControl.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (access/AccessControl.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./IAccessControl.sol\\\\\\\";\\\\nimport \\\\\\\"../utils/Context.sol\\\\\\\";\\\\nimport \\\\\\\"../utils/Strings.sol\\\\\\\";\\\\nimport \\\\\\\"../utils/introspection/ERC165.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Contract module that allows children to implement role-based access\\\\n * control mechanisms. This is a lightweight version that doesn't allow enumerating role\\\\n * members except through off-chain means by accessing the contract event logs. Some\\\\n * applications may benefit from on-chain enumerability, for those cases see\\\\n * {AccessControlEnumerable}.\\\\n *\\\\n * Roles are referred to by their `bytes32` identifier. These should be exposed\\\\n * in the external API and be unique. The best way to achieve this is by\\\\n * using `public constant` hash digests:\\\\n *\\\\n * ```\\\\n * bytes32 public constant MY_ROLE = keccak256(\\\\\\\"MY_ROLE\\\\\\\");\\\\n * ```\\\\n *\\\\n * Roles can be used to represent a set of permissions. To restrict access to a\\\\n * function call, use {hasRole}:\\\\n *\\\\n * ```\\\\n * function foo() public {\\\\n * require(hasRole(MY_ROLE, msg.sender));\\\\n * ...\\\\n * }\\\\n * ```\\\\n *\\\\n * Roles can be granted and revoked dynamically via the {grantRole} and\\\\n * {revokeRole} functions. Each role has an associated admin role, and only\\\\n * accounts that have a role's admin role can call {grantRole} and {revokeRole}.\\\\n *\\\\n * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means\\\\n * that only accounts with this role will be able to grant or revoke other\\\\n * roles. More complex role relationships can be created by using\\\\n * {_setRoleAdmin}.\\\\n *\\\\n * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to\\\\n * grant and revoke this role. Extra precautions should be taken to secure\\\\n * accounts that have been granted it.\\\\n */\\\\nabstract contract AccessControl is Context, IAccessControl, ERC165 {\\\\n struct RoleData {\\\\n mapping(address => bool) members;\\\\n bytes32 adminRole;\\\\n }\\\\n\\\\n mapping(bytes32 => RoleData) private _roles;\\\\n\\\\n bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;\\\\n\\\\n /**\\\\n * @dev Modifier that checks that an account has a specific role. Reverts\\\\n * with a standardized message including the required role.\\\\n *\\\\n * The format of the revert reason is given by the following regular expression:\\\\n *\\\\n * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/\\\\n *\\\\n * _Available since v4.1._\\\\n */\\\\n modifier onlyRole(bytes32 role) {\\\\n _checkRole(role);\\\\n _;\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC165-supportsInterface}.\\\\n */\\\\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\\\\n return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns `true` if `account` has been granted `role`.\\\\n */\\\\n function hasRole(bytes32 role, address account) public view virtual override returns (bool) {\\\\n return _roles[role].members[account];\\\\n }\\\\n\\\\n /**\\\\n * @dev Revert with a standard message if `_msgSender()` is missing `role`.\\\\n * Overriding this function changes the behavior of the {onlyRole} modifier.\\\\n *\\\\n * Format of the revert message is described in {_checkRole}.\\\\n *\\\\n * _Available since v4.6._\\\\n */\\\\n function _checkRole(bytes32 role) internal view virtual {\\\\n _checkRole(role, _msgSender());\\\\n }\\\\n\\\\n /**\\\\n * @dev Revert with a standard message if `account` is missing `role`.\\\\n *\\\\n * The format of the revert reason is given by the following regular expression:\\\\n *\\\\n * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/\\\\n */\\\\n function _checkRole(bytes32 role, address account) internal view virtual {\\\\n if (!hasRole(role, account)) {\\\\n revert(\\\\n string(\\\\n abi.encodePacked(\\\\n \\\\\\\"AccessControl: account \\\\\\\",\\\\n Strings.toHexString(uint160(account), 20),\\\\n \\\\\\\" is missing role \\\\\\\",\\\\n Strings.toHexString(uint256(role), 32)\\\\n )\\\\n )\\\\n );\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the admin role that controls `role`. See {grantRole} and\\\\n * {revokeRole}.\\\\n *\\\\n * To change a role's admin, use {_setRoleAdmin}.\\\\n */\\\\n function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {\\\\n return _roles[role].adminRole;\\\\n }\\\\n\\\\n /**\\\\n * @dev Grants `role` to `account`.\\\\n *\\\\n * If `account` had not been already granted `role`, emits a {RoleGranted}\\\\n * event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the caller must have ``role``'s admin role.\\\\n *\\\\n * May emit a {RoleGranted} event.\\\\n */\\\\n function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {\\\\n _grantRole(role, account);\\\\n }\\\\n\\\\n /**\\\\n * @dev Revokes `role` from `account`.\\\\n *\\\\n * If `account` had been granted `role`, emits a {RoleRevoked} event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the caller must have ``role``'s admin role.\\\\n *\\\\n * May emit a {RoleRevoked} event.\\\\n */\\\\n function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {\\\\n _revokeRole(role, account);\\\\n }\\\\n\\\\n /**\\\\n * @dev Revokes `role` from the calling account.\\\\n *\\\\n * Roles are often managed via {grantRole} and {revokeRole}: this function's\\\\n * purpose is to provide a mechanism for accounts to lose their privileges\\\\n * if they are compromised (such as when a trusted device is misplaced).\\\\n *\\\\n * If the calling account had been revoked `role`, emits a {RoleRevoked}\\\\n * event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the caller must be `account`.\\\\n *\\\\n * May emit a {RoleRevoked} event.\\\\n */\\\\n function renounceRole(bytes32 role, address account) public virtual override {\\\\n require(account == _msgSender(), \\\\\\\"AccessControl: can only renounce roles for self\\\\\\\");\\\\n\\\\n _revokeRole(role, account);\\\\n }\\\\n\\\\n /**\\\\n * @dev Grants `role` to `account`.\\\\n *\\\\n * If `account` had not been already granted `role`, emits a {RoleGranted}\\\\n * event. Note that unlike {grantRole}, this function doesn't perform any\\\\n * checks on the calling account.\\\\n *\\\\n * May emit a {RoleGranted} event.\\\\n *\\\\n * [WARNING]\\\\n * ====\\\\n * This function should only be called from the constructor when setting\\\\n * up the initial roles for the system.\\\\n *\\\\n * Using this function in any other way is effectively circumventing the admin\\\\n * system imposed by {AccessControl}.\\\\n * ====\\\\n *\\\\n * NOTE: This function is deprecated in favor of {_grantRole}.\\\\n */\\\\n function _setupRole(bytes32 role, address account) internal virtual {\\\\n _grantRole(role, account);\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets `adminRole` as ``role``'s admin role.\\\\n *\\\\n * Emits a {RoleAdminChanged} event.\\\\n */\\\\n function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {\\\\n bytes32 previousAdminRole = getRoleAdmin(role);\\\\n _roles[role].adminRole = adminRole;\\\\n emit RoleAdminChanged(role, previousAdminRole, adminRole);\\\\n }\\\\n\\\\n /**\\\\n * @dev Grants `role` to `account`.\\\\n *\\\\n * Internal function without access restriction.\\\\n *\\\\n * May emit a {RoleGranted} event.\\\\n */\\\\n function _grantRole(bytes32 role, address account) internal virtual {\\\\n if (!hasRole(role, account)) {\\\\n _roles[role].members[account] = true;\\\\n emit RoleGranted(role, account, _msgSender());\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Revokes `role` from `account`.\\\\n *\\\\n * Internal function without access restriction.\\\\n *\\\\n * May emit a {RoleRevoked} event.\\\\n */\\\\n function _revokeRole(bytes32 role, address account) internal virtual {\\\\n if (hasRole(role, account)) {\\\\n _roles[role].members[account] = false;\\\\n emit RoleRevoked(role, account, _msgSender());\\\\n }\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x5b35d8e68aeaccc685239bd9dd79b9ba01a0357930f8a3307ab85511733d9724\\\",\\\"license\\\":\\\"MIT\\\"},\\\"lib/openzeppelin-contracts/contracts/access/AccessControlEnumerable.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControlEnumerable.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./IAccessControlEnumerable.sol\\\\\\\";\\\\nimport \\\\\\\"./AccessControl.sol\\\\\\\";\\\\nimport \\\\\\\"../utils/structs/EnumerableSet.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Extension of {AccessControl} that allows enumerating the members of each role.\\\\n */\\\\nabstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl {\\\\n using EnumerableSet for EnumerableSet.AddressSet;\\\\n\\\\n mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers;\\\\n\\\\n /**\\\\n * @dev See {IERC165-supportsInterface}.\\\\n */\\\\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\\\\n return interfaceId == type(IAccessControlEnumerable).interfaceId || super.supportsInterface(interfaceId);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns one of the accounts that have `role`. `index` must be a\\\\n * value between 0 and {getRoleMemberCount}, non-inclusive.\\\\n *\\\\n * Role bearers are not sorted in any particular way, and their ordering may\\\\n * change at any point.\\\\n *\\\\n * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure\\\\n * you perform all queries on the same block. See the following\\\\n * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]\\\\n * for more information.\\\\n */\\\\n function getRoleMember(bytes32 role, uint256 index) public view virtual override returns (address) {\\\\n return _roleMembers[role].at(index);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the number of accounts that have `role`. Can be used\\\\n * together with {getRoleMember} to enumerate all bearers of a role.\\\\n */\\\\n function getRoleMemberCount(bytes32 role) public view virtual override returns (uint256) {\\\\n return _roleMembers[role].length();\\\\n }\\\\n\\\\n /**\\\\n * @dev Overload {_grantRole} to track enumerable memberships\\\\n */\\\\n function _grantRole(bytes32 role, address account) internal virtual override {\\\\n super._grantRole(role, account);\\\\n _roleMembers[role].add(account);\\\\n }\\\\n\\\\n /**\\\\n * @dev Overload {_revokeRole} to track enumerable memberships\\\\n */\\\\n function _revokeRole(bytes32 role, address account) internal virtual override {\\\\n super._revokeRole(role, account);\\\\n _roleMembers[role].remove(account);\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x13f5e15f2a0650c0b6aaee2ef19e89eaf4870d6e79662d572a393334c1397247\\\",\\\"license\\\":\\\"MIT\\\"},\\\"lib/openzeppelin-contracts/contracts/access/IAccessControl.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev External interface of AccessControl declared to support ERC165 detection.\\\\n */\\\\ninterface IAccessControl {\\\\n /**\\\\n * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`\\\\n *\\\\n * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite\\\\n * {RoleAdminChanged} not being emitted signaling this.\\\\n *\\\\n * _Available since v3.1._\\\\n */\\\\n event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);\\\\n\\\\n /**\\\\n * @dev Emitted when `account` is granted `role`.\\\\n *\\\\n * `sender` is the account that originated the contract call, an admin role\\\\n * bearer except when using {AccessControl-_setupRole}.\\\\n */\\\\n event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);\\\\n\\\\n /**\\\\n * @dev Emitted when `account` is revoked `role`.\\\\n *\\\\n * `sender` is the account that originated the contract call:\\\\n * - if using `revokeRole`, it is the admin role bearer\\\\n * - if using `renounceRole`, it is the role bearer (i.e. `account`)\\\\n */\\\\n event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);\\\\n\\\\n /**\\\\n * @dev Returns `true` if `account` has been granted `role`.\\\\n */\\\\n function hasRole(bytes32 role, address account) external view returns (bool);\\\\n\\\\n /**\\\\n * @dev Returns the admin role that controls `role`. See {grantRole} and\\\\n * {revokeRole}.\\\\n *\\\\n * To change a role's admin, use {AccessControl-_setRoleAdmin}.\\\\n */\\\\n function getRoleAdmin(bytes32 role) external view returns (bytes32);\\\\n\\\\n /**\\\\n * @dev Grants `role` to `account`.\\\\n *\\\\n * If `account` had not been already granted `role`, emits a {RoleGranted}\\\\n * event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the caller must have ``role``'s admin role.\\\\n */\\\\n function grantRole(bytes32 role, address account) external;\\\\n\\\\n /**\\\\n * @dev Revokes `role` from `account`.\\\\n *\\\\n * If `account` had been granted `role`, emits a {RoleRevoked} event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the caller must have ``role``'s admin role.\\\\n */\\\\n function revokeRole(bytes32 role, address account) external;\\\\n\\\\n /**\\\\n * @dev Revokes `role` from the calling account.\\\\n *\\\\n * Roles are often managed via {grantRole} and {revokeRole}: this function's\\\\n * purpose is to provide a mechanism for accounts to lose their privileges\\\\n * if they are compromised (such as when a trusted device is misplaced).\\\\n *\\\\n * If the calling account had been granted `role`, emits a {RoleRevoked}\\\\n * event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the caller must be `account`.\\\\n */\\\\n function renounceRole(bytes32 role, address account) external;\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\\\",\\\"license\\\":\\\"MIT\\\"},\\\"lib/openzeppelin-contracts/contracts/access/IAccessControlEnumerable.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (access/IAccessControlEnumerable.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./IAccessControl.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.\\\\n */\\\\ninterface IAccessControlEnumerable is IAccessControl {\\\\n /**\\\\n * @dev Returns one of the accounts that have `role`. `index` must be a\\\\n * value between 0 and {getRoleMemberCount}, non-inclusive.\\\\n *\\\\n * Role bearers are not sorted in any particular way, and their ordering may\\\\n * change at any point.\\\\n *\\\\n * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure\\\\n * you perform all queries on the same block. See the following\\\\n * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]\\\\n * for more information.\\\\n */\\\\n function getRoleMember(bytes32 role, uint256 index) external view returns (address);\\\\n\\\\n /**\\\\n * @dev Returns the number of accounts that have `role`. Can be used\\\\n * together with {getRoleMember} to enumerate all bearers of a role.\\\\n */\\\\n function getRoleMemberCount(bytes32 role) external view returns (uint256);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xba4459ab871dfa300f5212c6c30178b63898c03533a1ede28436f11546626676\\\",\\\"license\\\":\\\"MIT\\\"},\\\"lib/openzeppelin-contracts/contracts/interfaces/draft-IERC1822.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.5.0) (interfaces/draft-IERC1822.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified\\\\n * proxy whose upgrades are fully controlled by the current implementation.\\\\n */\\\\ninterface IERC1822Proxiable {\\\\n /**\\\\n * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation\\\\n * address.\\\\n *\\\\n * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\\\\n * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\\\\n * function revert if invoked through a proxy.\\\\n */\\\\n function proxiableUUID() external view returns (bytes32);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x1d4afe6cb24200cc4545eed814ecf5847277dfe5d613a1707aad5fceecebcfff\\\",\\\"license\\\":\\\"MIT\\\"},\\\"lib/openzeppelin-contracts/contracts/proxy/ERC1967/ERC1967Proxy.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (proxy/ERC1967/ERC1967Proxy.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../Proxy.sol\\\\\\\";\\\\nimport \\\\\\\"./ERC1967Upgrade.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev This contract implements an upgradeable proxy. It is upgradeable because calls are delegated to an\\\\n * implementation address that can be changed. This address is stored in storage in the location specified by\\\\n * https://eips.ethereum.org/EIPS/eip-1967[EIP1967], so that it doesn't conflict with the storage layout of the\\\\n * implementation behind the proxy.\\\\n */\\\\ncontract ERC1967Proxy is Proxy, ERC1967Upgrade {\\\\n /**\\\\n * @dev Initializes the upgradeable proxy with an initial implementation specified by `_logic`.\\\\n *\\\\n * If `_data` is nonempty, it's used as data in a delegate call to `_logic`. This will typically be an encoded\\\\n * function call, and allows initializing the storage of the proxy like a Solidity constructor.\\\\n */\\\\n constructor(address _logic, bytes memory _data) payable {\\\\n _upgradeToAndCall(_logic, _data, false);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the current implementation address.\\\\n */\\\\n function _implementation() internal view virtual override returns (address impl) {\\\\n return ERC1967Upgrade._getImplementation();\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xa2b22da3032e50b55f95ec1d13336102d675f341167aa76db571ef7f8bb7975d\\\",\\\"license\\\":\\\"MIT\\\"},\\\"lib/openzeppelin-contracts/contracts/proxy/ERC1967/ERC1967Upgrade.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.5.0) (proxy/ERC1967/ERC1967Upgrade.sol)\\\\n\\\\npragma solidity ^0.8.2;\\\\n\\\\nimport \\\\\\\"../beacon/IBeacon.sol\\\\\\\";\\\\nimport \\\\\\\"../../interfaces/draft-IERC1822.sol\\\\\\\";\\\\nimport \\\\\\\"../../utils/Address.sol\\\\\\\";\\\\nimport \\\\\\\"../../utils/StorageSlot.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev This abstract contract provides getters and event emitting update functions for\\\\n * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.\\\\n *\\\\n * _Available since v4.1._\\\\n *\\\\n * @custom:oz-upgrades-unsafe-allow delegatecall\\\\n */\\\\nabstract contract ERC1967Upgrade {\\\\n // This is the keccak-256 hash of \\\\\\\"eip1967.proxy.rollback\\\\\\\" subtracted by 1\\\\n bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143;\\\\n\\\\n /**\\\\n * @dev Storage slot with the address of the current implementation.\\\\n * This is the keccak-256 hash of \\\\\\\"eip1967.proxy.implementation\\\\\\\" subtracted by 1, and is\\\\n * validated in the constructor.\\\\n */\\\\n bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\\\\n\\\\n /**\\\\n * @dev Emitted when the implementation is upgraded.\\\\n */\\\\n event Upgraded(address indexed implementation);\\\\n\\\\n /**\\\\n * @dev Returns the current implementation address.\\\\n */\\\\n function _getImplementation() internal view returns (address) {\\\\n return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\\\\n }\\\\n\\\\n /**\\\\n * @dev Stores a new address in the EIP1967 implementation slot.\\\\n */\\\\n function _setImplementation(address newImplementation) private {\\\\n require(Address.isContract(newImplementation), \\\\\\\"ERC1967: new implementation is not a contract\\\\\\\");\\\\n StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\\\\n }\\\\n\\\\n /**\\\\n * @dev Perform implementation upgrade\\\\n *\\\\n * Emits an {Upgraded} event.\\\\n */\\\\n function _upgradeTo(address newImplementation) internal {\\\\n _setImplementation(newImplementation);\\\\n emit Upgraded(newImplementation);\\\\n }\\\\n\\\\n /**\\\\n * @dev Perform implementation upgrade with additional setup call.\\\\n *\\\\n * Emits an {Upgraded} event.\\\\n */\\\\n function _upgradeToAndCall(\\\\n address newImplementation,\\\\n bytes memory data,\\\\n bool forceCall\\\\n ) internal {\\\\n _upgradeTo(newImplementation);\\\\n if (data.length > 0 || forceCall) {\\\\n Address.functionDelegateCall(newImplementation, data);\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call.\\\\n *\\\\n * Emits an {Upgraded} event.\\\\n */\\\\n function _upgradeToAndCallUUPS(\\\\n address newImplementation,\\\\n bytes memory data,\\\\n bool forceCall\\\\n ) internal {\\\\n // Upgrades from old implementations will perform a rollback test. This test requires the new\\\\n // implementation to upgrade back to the old, non-ERC1822 compliant, implementation. Removing\\\\n // this special case will break upgrade paths from old UUPS implementation to new ones.\\\\n if (StorageSlot.getBooleanSlot(_ROLLBACK_SLOT).value) {\\\\n _setImplementation(newImplementation);\\\\n } else {\\\\n try IERC1822Proxiable(newImplementation).proxiableUUID() returns (bytes32 slot) {\\\\n require(slot == _IMPLEMENTATION_SLOT, \\\\\\\"ERC1967Upgrade: unsupported proxiableUUID\\\\\\\");\\\\n } catch {\\\\n revert(\\\\\\\"ERC1967Upgrade: new implementation is not UUPS\\\\\\\");\\\\n }\\\\n _upgradeToAndCall(newImplementation, data, forceCall);\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Storage slot with the admin of the contract.\\\\n * This is the keccak-256 hash of \\\\\\\"eip1967.proxy.admin\\\\\\\" subtracted by 1, and is\\\\n * validated in the constructor.\\\\n */\\\\n bytes32 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;\\\\n\\\\n /**\\\\n * @dev Emitted when the admin account has changed.\\\\n */\\\\n event AdminChanged(address previousAdmin, address newAdmin);\\\\n\\\\n /**\\\\n * @dev Returns the current admin.\\\\n */\\\\n function _getAdmin() internal view returns (address) {\\\\n return StorageSlot.getAddressSlot(_ADMIN_SLOT).value;\\\\n }\\\\n\\\\n /**\\\\n * @dev Stores a new address in the EIP1967 admin slot.\\\\n */\\\\n function _setAdmin(address newAdmin) private {\\\\n require(newAdmin != address(0), \\\\\\\"ERC1967: new admin is the zero address\\\\\\\");\\\\n StorageSlot.getAddressSlot(_ADMIN_SLOT).value = newAdmin;\\\\n }\\\\n\\\\n /**\\\\n * @dev Changes the admin of the proxy.\\\\n *\\\\n * Emits an {AdminChanged} event.\\\\n */\\\\n function _changeAdmin(address newAdmin) internal {\\\\n emit AdminChanged(_getAdmin(), newAdmin);\\\\n _setAdmin(newAdmin);\\\\n }\\\\n\\\\n /**\\\\n * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.\\\\n * This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor.\\\\n */\\\\n bytes32 internal constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;\\\\n\\\\n /**\\\\n * @dev Emitted when the beacon is upgraded.\\\\n */\\\\n event BeaconUpgraded(address indexed beacon);\\\\n\\\\n /**\\\\n * @dev Returns the current beacon.\\\\n */\\\\n function _getBeacon() internal view returns (address) {\\\\n return StorageSlot.getAddressSlot(_BEACON_SLOT).value;\\\\n }\\\\n\\\\n /**\\\\n * @dev Stores a new beacon in the EIP1967 beacon slot.\\\\n */\\\\n function _setBeacon(address newBeacon) private {\\\\n require(Address.isContract(newBeacon), \\\\\\\"ERC1967: new beacon is not a contract\\\\\\\");\\\\n require(\\\\n Address.isContract(IBeacon(newBeacon).implementation()),\\\\n \\\\\\\"ERC1967: beacon implementation is not a contract\\\\\\\"\\\\n );\\\\n StorageSlot.getAddressSlot(_BEACON_SLOT).value = newBeacon;\\\\n }\\\\n\\\\n /**\\\\n * @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does\\\\n * not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that).\\\\n *\\\\n * Emits a {BeaconUpgraded} event.\\\\n */\\\\n function _upgradeBeaconToAndCall(\\\\n address newBeacon,\\\\n bytes memory data,\\\\n bool forceCall\\\\n ) internal {\\\\n _setBeacon(newBeacon);\\\\n emit BeaconUpgraded(newBeacon);\\\\n if (data.length > 0 || forceCall) {\\\\n Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data);\\\\n }\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xabf3f59bc0e5423eae45e459dbe92e7052c6983628d39008590edc852a62f94a\\\",\\\"license\\\":\\\"MIT\\\"},\\\"lib/openzeppelin-contracts/contracts/proxy/Proxy.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.6.0) (proxy/Proxy.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM\\\\n * instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to\\\\n * be specified by overriding the virtual {_implementation} function.\\\\n *\\\\n * Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a\\\\n * different contract through the {_delegate} function.\\\\n *\\\\n * The success and return data of the delegated call will be returned back to the caller of the proxy.\\\\n */\\\\nabstract contract Proxy {\\\\n /**\\\\n * @dev Delegates the current call to `implementation`.\\\\n *\\\\n * This function does not return to its internal call site, it will return directly to the external caller.\\\\n */\\\\n function _delegate(address implementation) internal virtual {\\\\n assembly {\\\\n // Copy msg.data. We take full control of memory in this inline assembly\\\\n // block because it will not return to Solidity code. We overwrite the\\\\n // Solidity scratch pad at memory position 0.\\\\n calldatacopy(0, 0, calldatasize())\\\\n\\\\n // Call the implementation.\\\\n // out and outsize are 0 because we don't know the size yet.\\\\n let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0)\\\\n\\\\n // Copy the returned data.\\\\n returndatacopy(0, 0, returndatasize())\\\\n\\\\n switch result\\\\n // delegatecall returns 0 on error.\\\\n case 0 {\\\\n revert(0, returndatasize())\\\\n }\\\\n default {\\\\n return(0, returndatasize())\\\\n }\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev This is a virtual function that should be overridden so it returns the address to which the fallback function\\\\n * and {_fallback} should delegate.\\\\n */\\\\n function _implementation() internal view virtual returns (address);\\\\n\\\\n /**\\\\n * @dev Delegates the current call to the address returned by `_implementation()`.\\\\n *\\\\n * This function does not return to its internal call site, it will return directly to the external caller.\\\\n */\\\\n function _fallback() internal virtual {\\\\n _beforeFallback();\\\\n _delegate(_implementation());\\\\n }\\\\n\\\\n /**\\\\n * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other\\\\n * function in the contract matches the call data.\\\\n */\\\\n fallback() external payable virtual {\\\\n _fallback();\\\\n }\\\\n\\\\n /**\\\\n * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data\\\\n * is empty.\\\\n */\\\\n receive() external payable virtual {\\\\n _fallback();\\\\n }\\\\n\\\\n /**\\\\n * @dev Hook that is called before falling back to the implementation. Can happen as part of a manual `_fallback`\\\\n * call, or as part of the Solidity `fallback` or `receive` functions.\\\\n *\\\\n * If overridden should call `super._beforeFallback()`.\\\\n */\\\\n function _beforeFallback() internal virtual {}\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xc130fe33f1b2132158531a87734153293f6d07bc263ff4ac90e85da9c82c0e27\\\",\\\"license\\\":\\\"MIT\\\"},\\\"lib/openzeppelin-contracts/contracts/proxy/beacon/IBeacon.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (proxy/beacon/IBeacon.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev This is the interface that {BeaconProxy} expects of its beacon.\\\\n */\\\\ninterface IBeacon {\\\\n /**\\\\n * @dev Must return an address that can be used as a delegate call target.\\\\n *\\\\n * {BeaconProxy} will check that this address is a contract.\\\\n */\\\\n function implementation() external view returns (address);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xd50a3421ac379ccb1be435fa646d66a65c986b4924f0849839f08692f39dde61\\\",\\\"license\\\":\\\"MIT\\\"},\\\"lib/openzeppelin-contracts/contracts/proxy/transparent/TransparentUpgradeableProxy.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (proxy/transparent/TransparentUpgradeableProxy.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../ERC1967/ERC1967Proxy.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev This contract implements a proxy that is upgradeable by an admin.\\\\n *\\\\n * To avoid https://medium.com/nomic-labs-blog/malicious-backdoors-in-ethereum-proxies-62629adf3357[proxy selector\\\\n * clashing], which can potentially be used in an attack, this contract uses the\\\\n * https://blog.openzeppelin.com/the-transparent-proxy-pattern/[transparent proxy pattern]. This pattern implies two\\\\n * things that go hand in hand:\\\\n *\\\\n * 1. If any account other than the admin calls the proxy, the call will be forwarded to the implementation, even if\\\\n * that call matches one of the admin functions exposed by the proxy itself.\\\\n * 2. If the admin calls the proxy, it can access the admin functions, but its calls will never be forwarded to the\\\\n * implementation. If the admin tries to call a function on the implementation it will fail with an error that says\\\\n * \\\\\\\"admin cannot fallback to proxy target\\\\\\\".\\\\n *\\\\n * These properties mean that the admin account can only be used for admin actions like upgrading the proxy or changing\\\\n * the admin, so it's best if it's a dedicated account that is not used for anything else. This will avoid headaches due\\\\n * to sudden errors when trying to call a function from the proxy implementation.\\\\n *\\\\n * Our recommendation is for the dedicated account to be an instance of the {ProxyAdmin} contract. If set up this way,\\\\n * you should think of the `ProxyAdmin` instance as the real administrative interface of your proxy.\\\\n */\\\\ncontract TransparentUpgradeableProxy is ERC1967Proxy {\\\\n /**\\\\n * @dev Initializes an upgradeable proxy managed by `_admin`, backed by the implementation at `_logic`, and\\\\n * optionally initialized with `_data` as explained in {ERC1967Proxy-constructor}.\\\\n */\\\\n constructor(\\\\n address _logic,\\\\n address admin_,\\\\n bytes memory _data\\\\n ) payable ERC1967Proxy(_logic, _data) {\\\\n _changeAdmin(admin_);\\\\n }\\\\n\\\\n /**\\\\n * @dev Modifier used internally that will delegate the call to the implementation unless the sender is the admin.\\\\n */\\\\n modifier ifAdmin() {\\\\n if (msg.sender == _getAdmin()) {\\\\n _;\\\\n } else {\\\\n _fallback();\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the current admin.\\\\n *\\\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyAdmin}.\\\\n *\\\\n * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the\\\\n * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.\\\\n * `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`\\\\n */\\\\n function admin() external ifAdmin returns (address admin_) {\\\\n admin_ = _getAdmin();\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the current implementation.\\\\n *\\\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyImplementation}.\\\\n *\\\\n * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the\\\\n * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.\\\\n * `0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc`\\\\n */\\\\n function implementation() external ifAdmin returns (address implementation_) {\\\\n implementation_ = _implementation();\\\\n }\\\\n\\\\n /**\\\\n * @dev Changes the admin of the proxy.\\\\n *\\\\n * Emits an {AdminChanged} event.\\\\n *\\\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-changeProxyAdmin}.\\\\n */\\\\n function changeAdmin(address newAdmin) external virtual ifAdmin {\\\\n _changeAdmin(newAdmin);\\\\n }\\\\n\\\\n /**\\\\n * @dev Upgrade the implementation of the proxy.\\\\n *\\\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-upgrade}.\\\\n */\\\\n function upgradeTo(address newImplementation) external ifAdmin {\\\\n _upgradeToAndCall(newImplementation, bytes(\\\\\\\"\\\\\\\"), false);\\\\n }\\\\n\\\\n /**\\\\n * @dev Upgrade the implementation of the proxy, and then call a function from the new implementation as specified\\\\n * by `data`, which should be an encoded function call. This is useful to initialize new storage variables in the\\\\n * proxied contract.\\\\n *\\\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-upgradeAndCall}.\\\\n */\\\\n function upgradeToAndCall(address newImplementation, bytes calldata data) external payable ifAdmin {\\\\n _upgradeToAndCall(newImplementation, data, true);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the current admin.\\\\n */\\\\n function _admin() internal view virtual returns (address) {\\\\n return _getAdmin();\\\\n }\\\\n\\\\n /**\\\\n * @dev Makes sure the admin cannot access the fallback function. See {Proxy-_beforeFallback}.\\\\n */\\\\n function _beforeFallback() internal virtual override {\\\\n require(msg.sender != _getAdmin(), \\\\\\\"TransparentUpgradeableProxy: admin cannot fallback to proxy target\\\\\\\");\\\\n super._beforeFallback();\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xa6a787e7a901af6511e19aa53e1a00352db215a011d2c7a438d0582dd5da76f9\\\",\\\"license\\\":\\\"MIT\\\"},\\\"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (proxy/utils/Initializable.sol)\\\\n\\\\npragma solidity ^0.8.2;\\\\n\\\\nimport \\\\\\\"../../utils/Address.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed\\\\n * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an\\\\n * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer\\\\n * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.\\\\n *\\\\n * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be\\\\n * reused. This mechanism prevents re-execution of each \\\\\\\"step\\\\\\\" but allows the creation of new initialization steps in\\\\n * case an upgrade adds a module that needs to be initialized.\\\\n *\\\\n * For example:\\\\n *\\\\n * [.hljs-theme-light.nopadding]\\\\n * ```\\\\n * contract MyToken is ERC20Upgradeable {\\\\n * function initialize() initializer public {\\\\n * __ERC20_init(\\\\\\\"MyToken\\\\\\\", \\\\\\\"MTK\\\\\\\");\\\\n * }\\\\n * }\\\\n * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {\\\\n * function initializeV2() reinitializer(2) public {\\\\n * __ERC20Permit_init(\\\\\\\"MyToken\\\\\\\");\\\\n * }\\\\n * }\\\\n * ```\\\\n *\\\\n * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as\\\\n * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.\\\\n *\\\\n * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure\\\\n * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.\\\\n *\\\\n * [CAUTION]\\\\n * ====\\\\n * Avoid leaving a contract uninitialized.\\\\n *\\\\n * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation\\\\n * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke\\\\n * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:\\\\n *\\\\n * [.hljs-theme-light.nopadding]\\\\n * ```\\\\n * /// @custom:oz-upgrades-unsafe-allow constructor\\\\n * constructor() {\\\\n * _disableInitializers();\\\\n * }\\\\n * ```\\\\n * ====\\\\n */\\\\nabstract contract Initializable {\\\\n /**\\\\n * @dev Indicates that the contract has been initialized.\\\\n * @custom:oz-retyped-from bool\\\\n */\\\\n uint8 private _initialized;\\\\n\\\\n /**\\\\n * @dev Indicates that the contract is in the process of being initialized.\\\\n */\\\\n bool private _initializing;\\\\n\\\\n /**\\\\n * @dev Triggered when the contract has been initialized or reinitialized.\\\\n */\\\\n event Initialized(uint8 version);\\\\n\\\\n /**\\\\n * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,\\\\n * `onlyInitializing` functions can be used to initialize parent contracts. Equivalent to `reinitializer(1)`.\\\\n */\\\\n modifier initializer() {\\\\n bool isTopLevelCall = !_initializing;\\\\n require(\\\\n (isTopLevelCall && _initialized < 1) || (!Address.isContract(address(this)) && _initialized == 1),\\\\n \\\\\\\"Initializable: contract is already initialized\\\\\\\"\\\\n );\\\\n _initialized = 1;\\\\n if (isTopLevelCall) {\\\\n _initializing = true;\\\\n }\\\\n _;\\\\n if (isTopLevelCall) {\\\\n _initializing = false;\\\\n emit Initialized(1);\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the\\\\n * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be\\\\n * used to initialize parent contracts.\\\\n *\\\\n * `initializer` is equivalent to `reinitializer(1)`, so a reinitializer may be used after the original\\\\n * initialization step. This is essential to configure modules that are added through upgrades and that require\\\\n * initialization.\\\\n *\\\\n * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in\\\\n * a contract, executing them in the right order is up to the developer or operator.\\\\n */\\\\n modifier reinitializer(uint8 version) {\\\\n require(!_initializing && _initialized < version, \\\\\\\"Initializable: contract is already initialized\\\\\\\");\\\\n _initialized = version;\\\\n _initializing = true;\\\\n _;\\\\n _initializing = false;\\\\n emit Initialized(version);\\\\n }\\\\n\\\\n /**\\\\n * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the\\\\n * {initializer} and {reinitializer} modifiers, directly or indirectly.\\\\n */\\\\n modifier onlyInitializing() {\\\\n require(_initializing, \\\\\\\"Initializable: contract is not initializing\\\\\\\");\\\\n _;\\\\n }\\\\n\\\\n /**\\\\n * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.\\\\n * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized\\\\n * to any version. It is recommended to use this to lock implementation contracts that are designed to be called\\\\n * through proxies.\\\\n */\\\\n function _disableInitializers() internal virtual {\\\\n require(!_initializing, \\\\\\\"Initializable: contract is initializing\\\\\\\");\\\\n if (_initialized < type(uint8).max) {\\\\n _initialized = type(uint8).max;\\\\n emit Initialized(type(uint8).max);\\\\n }\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66\\\",\\\"license\\\":\\\"MIT\\\"},\\\"lib/openzeppelin-contracts/contracts/security/Pausable.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../utils/Context.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Contract module which allows children to implement an emergency stop\\\\n * mechanism that can be triggered by an authorized account.\\\\n *\\\\n * This module is used through inheritance. It will make available the\\\\n * modifiers `whenNotPaused` and `whenPaused`, which can be applied to\\\\n * the functions of your contract. Note that they will not be pausable by\\\\n * simply including this module, only once the modifiers are put in place.\\\\n */\\\\nabstract contract Pausable is Context {\\\\n /**\\\\n * @dev Emitted when the pause is triggered by `account`.\\\\n */\\\\n event Paused(address account);\\\\n\\\\n /**\\\\n * @dev Emitted when the pause is lifted by `account`.\\\\n */\\\\n event Unpaused(address account);\\\\n\\\\n bool private _paused;\\\\n\\\\n /**\\\\n * @dev Initializes the contract in unpaused state.\\\\n */\\\\n constructor() {\\\\n _paused = false;\\\\n }\\\\n\\\\n /**\\\\n * @dev Modifier to make a function callable only when the contract is not paused.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - The contract must not be paused.\\\\n */\\\\n modifier whenNotPaused() {\\\\n _requireNotPaused();\\\\n _;\\\\n }\\\\n\\\\n /**\\\\n * @dev Modifier to make a function callable only when the contract is paused.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - The contract must be paused.\\\\n */\\\\n modifier whenPaused() {\\\\n _requirePaused();\\\\n _;\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns true if the contract is paused, and false otherwise.\\\\n */\\\\n function paused() public view virtual returns (bool) {\\\\n return _paused;\\\\n }\\\\n\\\\n /**\\\\n * @dev Throws if the contract is paused.\\\\n */\\\\n function _requireNotPaused() internal view virtual {\\\\n require(!paused(), \\\\\\\"Pausable: paused\\\\\\\");\\\\n }\\\\n\\\\n /**\\\\n * @dev Throws if the contract is not paused.\\\\n */\\\\n function _requirePaused() internal view virtual {\\\\n require(paused(), \\\\\\\"Pausable: not paused\\\\\\\");\\\\n }\\\\n\\\\n /**\\\\n * @dev Triggers stopped state.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - The contract must not be paused.\\\\n */\\\\n function _pause() internal virtual whenNotPaused {\\\\n _paused = true;\\\\n emit Paused(_msgSender());\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns to normal state.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - The contract must be paused.\\\\n */\\\\n function _unpause() internal virtual whenPaused {\\\\n _paused = false;\\\\n emit Unpaused(_msgSender());\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x0849d93b16c9940beb286a7864ed02724b248b93e0d80ef6355af5ef15c64773\\\",\\\"license\\\":\\\"MIT\\\"},\\\"lib/openzeppelin-contracts/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\\\"},\\\"lib/openzeppelin-contracts/contracts/token/ERC1155/ERC1155.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/ERC1155.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./IERC1155.sol\\\\\\\";\\\\nimport \\\\\\\"./IERC1155Receiver.sol\\\\\\\";\\\\nimport \\\\\\\"./extensions/IERC1155MetadataURI.sol\\\\\\\";\\\\nimport \\\\\\\"../../utils/Address.sol\\\\\\\";\\\\nimport \\\\\\\"../../utils/Context.sol\\\\\\\";\\\\nimport \\\\\\\"../../utils/introspection/ERC165.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Implementation of the basic standard multi-token.\\\\n * See https://eips.ethereum.org/EIPS/eip-1155\\\\n * Originally based on code by Enjin: https://github.com/enjin/erc-1155\\\\n *\\\\n * _Available since v3.1._\\\\n */\\\\ncontract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {\\\\n using Address for address;\\\\n\\\\n // Mapping from token ID to account balances\\\\n mapping(uint256 => mapping(address => uint256)) private _balances;\\\\n\\\\n // Mapping from account to operator approvals\\\\n mapping(address => mapping(address => bool)) private _operatorApprovals;\\\\n\\\\n // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json\\\\n string private _uri;\\\\n\\\\n /**\\\\n * @dev See {_setURI}.\\\\n */\\\\n constructor(string memory uri_) {\\\\n _setURI(uri_);\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC165-supportsInterface}.\\\\n */\\\\n function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {\\\\n return\\\\n interfaceId == type(IERC1155).interfaceId ||\\\\n interfaceId == type(IERC1155MetadataURI).interfaceId ||\\\\n super.supportsInterface(interfaceId);\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC1155MetadataURI-uri}.\\\\n *\\\\n * This implementation returns the same URI for *all* token types. It relies\\\\n * on the token type ID substitution mechanism\\\\n * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].\\\\n *\\\\n * Clients calling this function must replace the `\\\\\\\\{id\\\\\\\\}` substring with the\\\\n * actual token type ID.\\\\n */\\\\n function uri(uint256) public view virtual override returns (string memory) {\\\\n return _uri;\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC1155-balanceOf}.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `account` cannot be the zero address.\\\\n */\\\\n function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {\\\\n require(account != address(0), \\\\\\\"ERC1155: address zero is not a valid owner\\\\\\\");\\\\n return _balances[id][account];\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC1155-balanceOfBatch}.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `accounts` and `ids` must have the same length.\\\\n */\\\\n function balanceOfBatch(address[] memory accounts, uint256[] memory ids)\\\\n public\\\\n view\\\\n virtual\\\\n override\\\\n returns (uint256[] memory)\\\\n {\\\\n require(accounts.length == ids.length, \\\\\\\"ERC1155: accounts and ids length mismatch\\\\\\\");\\\\n\\\\n uint256[] memory batchBalances = new uint256[](accounts.length);\\\\n\\\\n for (uint256 i = 0; i < accounts.length; ++i) {\\\\n batchBalances[i] = balanceOf(accounts[i], ids[i]);\\\\n }\\\\n\\\\n return batchBalances;\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC1155-setApprovalForAll}.\\\\n */\\\\n function setApprovalForAll(address operator, bool approved) public virtual override {\\\\n _setApprovalForAll(_msgSender(), operator, approved);\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC1155-isApprovedForAll}.\\\\n */\\\\n function isApprovedForAll(address account, address operator) public view virtual override returns (bool) {\\\\n return _operatorApprovals[account][operator];\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC1155-safeTransferFrom}.\\\\n */\\\\n function safeTransferFrom(\\\\n address from,\\\\n address to,\\\\n uint256 id,\\\\n uint256 amount,\\\\n bytes memory data\\\\n ) public virtual override {\\\\n require(\\\\n from == _msgSender() || isApprovedForAll(from, _msgSender()),\\\\n \\\\\\\"ERC1155: caller is not token owner nor approved\\\\\\\"\\\\n );\\\\n _safeTransferFrom(from, to, id, amount, data);\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC1155-safeBatchTransferFrom}.\\\\n */\\\\n function safeBatchTransferFrom(\\\\n address from,\\\\n address to,\\\\n uint256[] memory ids,\\\\n uint256[] memory amounts,\\\\n bytes memory data\\\\n ) public virtual override {\\\\n require(\\\\n from == _msgSender() || isApprovedForAll(from, _msgSender()),\\\\n \\\\\\\"ERC1155: caller is not token owner nor approved\\\\\\\"\\\\n );\\\\n _safeBatchTransferFrom(from, to, ids, amounts, data);\\\\n }\\\\n\\\\n /**\\\\n * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.\\\\n *\\\\n * Emits a {TransferSingle} event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `to` cannot be the zero address.\\\\n * - `from` must have a balance of tokens of type `id` of at least `amount`.\\\\n * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the\\\\n * acceptance magic value.\\\\n */\\\\n function _safeTransferFrom(\\\\n address from,\\\\n address to,\\\\n uint256 id,\\\\n uint256 amount,\\\\n bytes memory data\\\\n ) internal virtual {\\\\n require(to != address(0), \\\\\\\"ERC1155: transfer to the zero address\\\\\\\");\\\\n\\\\n address operator = _msgSender();\\\\n uint256[] memory ids = _asSingletonArray(id);\\\\n uint256[] memory amounts = _asSingletonArray(amount);\\\\n\\\\n _beforeTokenTransfer(operator, from, to, ids, amounts, data);\\\\n\\\\n uint256 fromBalance = _balances[id][from];\\\\n require(fromBalance >= amount, \\\\\\\"ERC1155: insufficient balance for transfer\\\\\\\");\\\\n unchecked {\\\\n _balances[id][from] = fromBalance - amount;\\\\n }\\\\n _balances[id][to] += amount;\\\\n\\\\n emit TransferSingle(operator, from, to, id, amount);\\\\n\\\\n _afterTokenTransfer(operator, from, to, ids, amounts, data);\\\\n\\\\n _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);\\\\n }\\\\n\\\\n /**\\\\n * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.\\\\n *\\\\n * Emits a {TransferBatch} event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the\\\\n * acceptance magic value.\\\\n */\\\\n function _safeBatchTransferFrom(\\\\n address from,\\\\n address to,\\\\n uint256[] memory ids,\\\\n uint256[] memory amounts,\\\\n bytes memory data\\\\n ) internal virtual {\\\\n require(ids.length == amounts.length, \\\\\\\"ERC1155: ids and amounts length mismatch\\\\\\\");\\\\n require(to != address(0), \\\\\\\"ERC1155: transfer to the zero address\\\\\\\");\\\\n\\\\n address operator = _msgSender();\\\\n\\\\n _beforeTokenTransfer(operator, from, to, ids, amounts, data);\\\\n\\\\n for (uint256 i = 0; i < ids.length; ++i) {\\\\n uint256 id = ids[i];\\\\n uint256 amount = amounts[i];\\\\n\\\\n uint256 fromBalance = _balances[id][from];\\\\n require(fromBalance >= amount, \\\\\\\"ERC1155: insufficient balance for transfer\\\\\\\");\\\\n unchecked {\\\\n _balances[id][from] = fromBalance - amount;\\\\n }\\\\n _balances[id][to] += amount;\\\\n }\\\\n\\\\n emit TransferBatch(operator, from, to, ids, amounts);\\\\n\\\\n _afterTokenTransfer(operator, from, to, ids, amounts, data);\\\\n\\\\n _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets a new URI for all token types, by relying on the token type ID\\\\n * substitution mechanism\\\\n * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].\\\\n *\\\\n * By this mechanism, any occurrence of the `\\\\\\\\{id\\\\\\\\}` substring in either the\\\\n * URI or any of the amounts in the JSON file at said URI will be replaced by\\\\n * clients with the token type ID.\\\\n *\\\\n * For example, the `https://token-cdn-domain/\\\\\\\\{id\\\\\\\\}.json` URI would be\\\\n * interpreted by clients as\\\\n * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`\\\\n * for token type ID 0x4cce0.\\\\n *\\\\n * See {uri}.\\\\n *\\\\n * Because these URIs cannot be meaningfully represented by the {URI} event,\\\\n * this function emits no events.\\\\n */\\\\n function _setURI(string memory newuri) internal virtual {\\\\n _uri = newuri;\\\\n }\\\\n\\\\n /**\\\\n * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`.\\\\n *\\\\n * Emits a {TransferSingle} event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `to` cannot be the zero address.\\\\n * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the\\\\n * acceptance magic value.\\\\n */\\\\n function _mint(\\\\n address to,\\\\n uint256 id,\\\\n uint256 amount,\\\\n bytes memory data\\\\n ) internal virtual {\\\\n require(to != address(0), \\\\\\\"ERC1155: mint to the zero address\\\\\\\");\\\\n\\\\n address operator = _msgSender();\\\\n uint256[] memory ids = _asSingletonArray(id);\\\\n uint256[] memory amounts = _asSingletonArray(amount);\\\\n\\\\n _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);\\\\n\\\\n _balances[id][to] += amount;\\\\n emit TransferSingle(operator, address(0), to, id, amount);\\\\n\\\\n _afterTokenTransfer(operator, address(0), to, ids, amounts, data);\\\\n\\\\n _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data);\\\\n }\\\\n\\\\n /**\\\\n * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.\\\\n *\\\\n * Emits a {TransferBatch} event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `ids` and `amounts` must have the same length.\\\\n * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the\\\\n * acceptance magic value.\\\\n */\\\\n function _mintBatch(\\\\n address to,\\\\n uint256[] memory ids,\\\\n uint256[] memory amounts,\\\\n bytes memory data\\\\n ) internal virtual {\\\\n require(to != address(0), \\\\\\\"ERC1155: mint to the zero address\\\\\\\");\\\\n require(ids.length == amounts.length, \\\\\\\"ERC1155: ids and amounts length mismatch\\\\\\\");\\\\n\\\\n address operator = _msgSender();\\\\n\\\\n _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);\\\\n\\\\n for (uint256 i = 0; i < ids.length; i++) {\\\\n _balances[ids[i]][to] += amounts[i];\\\\n }\\\\n\\\\n emit TransferBatch(operator, address(0), to, ids, amounts);\\\\n\\\\n _afterTokenTransfer(operator, address(0), to, ids, amounts, data);\\\\n\\\\n _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);\\\\n }\\\\n\\\\n /**\\\\n * @dev Destroys `amount` tokens of token type `id` from `from`\\\\n *\\\\n * Emits a {TransferSingle} event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `from` cannot be the zero address.\\\\n * - `from` must have at least `amount` tokens of token type `id`.\\\\n */\\\\n function _burn(\\\\n address from,\\\\n uint256 id,\\\\n uint256 amount\\\\n ) internal virtual {\\\\n require(from != address(0), \\\\\\\"ERC1155: burn from the zero address\\\\\\\");\\\\n\\\\n address operator = _msgSender();\\\\n uint256[] memory ids = _asSingletonArray(id);\\\\n uint256[] memory amounts = _asSingletonArray(amount);\\\\n\\\\n _beforeTokenTransfer(operator, from, address(0), ids, amounts, \\\\\\\"\\\\\\\");\\\\n\\\\n uint256 fromBalance = _balances[id][from];\\\\n require(fromBalance >= amount, \\\\\\\"ERC1155: burn amount exceeds balance\\\\\\\");\\\\n unchecked {\\\\n _balances[id][from] = fromBalance - amount;\\\\n }\\\\n\\\\n emit TransferSingle(operator, from, address(0), id, amount);\\\\n\\\\n _afterTokenTransfer(operator, from, address(0), ids, amounts, \\\\\\\"\\\\\\\");\\\\n }\\\\n\\\\n /**\\\\n * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.\\\\n *\\\\n * Emits a {TransferBatch} event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `ids` and `amounts` must have the same length.\\\\n */\\\\n function _burnBatch(\\\\n address from,\\\\n uint256[] memory ids,\\\\n uint256[] memory amounts\\\\n ) internal virtual {\\\\n require(from != address(0), \\\\\\\"ERC1155: burn from the zero address\\\\\\\");\\\\n require(ids.length == amounts.length, \\\\\\\"ERC1155: ids and amounts length mismatch\\\\\\\");\\\\n\\\\n address operator = _msgSender();\\\\n\\\\n _beforeTokenTransfer(operator, from, address(0), ids, amounts, \\\\\\\"\\\\\\\");\\\\n\\\\n for (uint256 i = 0; i < ids.length; i++) {\\\\n uint256 id = ids[i];\\\\n uint256 amount = amounts[i];\\\\n\\\\n uint256 fromBalance = _balances[id][from];\\\\n require(fromBalance >= amount, \\\\\\\"ERC1155: burn amount exceeds balance\\\\\\\");\\\\n unchecked {\\\\n _balances[id][from] = fromBalance - amount;\\\\n }\\\\n }\\\\n\\\\n emit TransferBatch(operator, from, address(0), ids, amounts);\\\\n\\\\n _afterTokenTransfer(operator, from, address(0), ids, amounts, \\\\\\\"\\\\\\\");\\\\n }\\\\n\\\\n /**\\\\n * @dev Approve `operator` to operate on all of `owner` tokens\\\\n *\\\\n * Emits an {ApprovalForAll} event.\\\\n */\\\\n function _setApprovalForAll(\\\\n address owner,\\\\n address operator,\\\\n bool approved\\\\n ) internal virtual {\\\\n require(owner != operator, \\\\\\\"ERC1155: setting approval status for self\\\\\\\");\\\\n _operatorApprovals[owner][operator] = approved;\\\\n emit ApprovalForAll(owner, operator, approved);\\\\n }\\\\n\\\\n /**\\\\n * @dev Hook that is called before any token transfer. This includes minting\\\\n * and burning, as well as batched variants.\\\\n *\\\\n * The same hook is called on both single and batched variants. For single\\\\n * transfers, the length of the `ids` and `amounts` arrays will be 1.\\\\n *\\\\n * Calling conditions (for each `id` and `amount` pair):\\\\n *\\\\n * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\\\n * of token type `id` will be transferred to `to`.\\\\n * - When `from` is zero, `amount` tokens of token type `id` will be minted\\\\n * for `to`.\\\\n * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`\\\\n * will be burned.\\\\n * - `from` and `to` are never both zero.\\\\n * - `ids` and `amounts` have the same, non-zero length.\\\\n *\\\\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\\\n */\\\\n function _beforeTokenTransfer(\\\\n address operator,\\\\n address from,\\\\n address to,\\\\n uint256[] memory ids,\\\\n uint256[] memory amounts,\\\\n bytes memory data\\\\n ) internal virtual {}\\\\n\\\\n /**\\\\n * @dev Hook that is called after any token transfer. This includes minting\\\\n * and burning, as well as batched variants.\\\\n *\\\\n * The same hook is called on both single and batched variants. For single\\\\n * transfers, the length of the `id` and `amount` arrays will be 1.\\\\n *\\\\n * Calling conditions (for each `id` and `amount` pair):\\\\n *\\\\n * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\\\n * of token type `id` will be transferred to `to`.\\\\n * - When `from` is zero, `amount` tokens of token type `id` will be minted\\\\n * for `to`.\\\\n * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`\\\\n * will be burned.\\\\n * - `from` and `to` are never both zero.\\\\n * - `ids` and `amounts` have the same, non-zero length.\\\\n *\\\\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\\\n */\\\\n function _afterTokenTransfer(\\\\n address operator,\\\\n address from,\\\\n address to,\\\\n uint256[] memory ids,\\\\n uint256[] memory amounts,\\\\n bytes memory data\\\\n ) internal virtual {}\\\\n\\\\n function _doSafeTransferAcceptanceCheck(\\\\n address operator,\\\\n address from,\\\\n address to,\\\\n uint256 id,\\\\n uint256 amount,\\\\n bytes memory data\\\\n ) private {\\\\n if (to.isContract()) {\\\\n try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {\\\\n if (response != IERC1155Receiver.onERC1155Received.selector) {\\\\n revert(\\\\\\\"ERC1155: ERC1155Receiver rejected tokens\\\\\\\");\\\\n }\\\\n } catch Error(string memory reason) {\\\\n revert(reason);\\\\n } catch {\\\\n revert(\\\\\\\"ERC1155: transfer to non ERC1155Receiver implementer\\\\\\\");\\\\n }\\\\n }\\\\n }\\\\n\\\\n function _doSafeBatchTransferAcceptanceCheck(\\\\n address operator,\\\\n address from,\\\\n address to,\\\\n uint256[] memory ids,\\\\n uint256[] memory amounts,\\\\n bytes memory data\\\\n ) private {\\\\n if (to.isContract()) {\\\\n try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (\\\\n bytes4 response\\\\n ) {\\\\n if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {\\\\n revert(\\\\\\\"ERC1155: ERC1155Receiver rejected tokens\\\\\\\");\\\\n }\\\\n } catch Error(string memory reason) {\\\\n revert(reason);\\\\n } catch {\\\\n revert(\\\\\\\"ERC1155: transfer to non ERC1155Receiver implementer\\\\\\\");\\\\n }\\\\n }\\\\n }\\\\n\\\\n function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {\\\\n uint256[] memory array = new uint256[](1);\\\\n array[0] = element;\\\\n\\\\n return array;\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x447a21c87433c0f11252912313a96f3454629ef88cca7a4eefbb283b3ec409f9\\\",\\\"license\\\":\\\"MIT\\\"},\\\"lib/openzeppelin-contracts/contracts/token/ERC1155/IERC1155.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../../utils/introspection/IERC165.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Required interface of an ERC1155 compliant contract, as defined in the\\\\n * https://eips.ethereum.org/EIPS/eip-1155[EIP].\\\\n *\\\\n * _Available since v3.1._\\\\n */\\\\ninterface IERC1155 is IERC165 {\\\\n /**\\\\n * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.\\\\n */\\\\n event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);\\\\n\\\\n /**\\\\n * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all\\\\n * transfers.\\\\n */\\\\n event TransferBatch(\\\\n address indexed operator,\\\\n address indexed from,\\\\n address indexed to,\\\\n uint256[] ids,\\\\n uint256[] values\\\\n );\\\\n\\\\n /**\\\\n * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to\\\\n * `approved`.\\\\n */\\\\n event ApprovalForAll(address indexed account, address indexed operator, bool approved);\\\\n\\\\n /**\\\\n * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.\\\\n *\\\\n * If an {URI} event was emitted for `id`, the standard\\\\n * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value\\\\n * returned by {IERC1155MetadataURI-uri}.\\\\n */\\\\n event URI(string value, uint256 indexed id);\\\\n\\\\n /**\\\\n * @dev Returns the amount of tokens of token type `id` owned by `account`.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `account` cannot be the zero address.\\\\n */\\\\n function balanceOf(address account, uint256 id) external view returns (uint256);\\\\n\\\\n /**\\\\n * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `accounts` and `ids` must have the same length.\\\\n */\\\\n function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)\\\\n external\\\\n view\\\\n returns (uint256[] memory);\\\\n\\\\n /**\\\\n * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,\\\\n *\\\\n * Emits an {ApprovalForAll} event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `operator` cannot be the caller.\\\\n */\\\\n function setApprovalForAll(address operator, bool approved) external;\\\\n\\\\n /**\\\\n * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.\\\\n *\\\\n * See {setApprovalForAll}.\\\\n */\\\\n function isApprovedForAll(address account, address operator) external view returns (bool);\\\\n\\\\n /**\\\\n * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.\\\\n *\\\\n * Emits a {TransferSingle} event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `to` cannot be the zero address.\\\\n * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}.\\\\n * - `from` must have a balance of tokens of type `id` of at least `amount`.\\\\n * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the\\\\n * acceptance magic value.\\\\n */\\\\n function safeTransferFrom(\\\\n address from,\\\\n address to,\\\\n uint256 id,\\\\n uint256 amount,\\\\n bytes calldata data\\\\n ) external;\\\\n\\\\n /**\\\\n * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.\\\\n *\\\\n * Emits a {TransferBatch} event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `ids` and `amounts` must have the same length.\\\\n * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the\\\\n * acceptance magic value.\\\\n */\\\\n function safeBatchTransferFrom(\\\\n address from,\\\\n address to,\\\\n uint256[] calldata ids,\\\\n uint256[] calldata amounts,\\\\n bytes calldata data\\\\n ) external;\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x6392f2cfe3a5ee802227fe7a2dfd47096d881aec89bddd214b35c5b46d3cd941\\\",\\\"license\\\":\\\"MIT\\\"},\\\"lib/openzeppelin-contracts/contracts/token/ERC1155/IERC1155Receiver.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../../utils/introspection/IERC165.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev _Available since v3.1._\\\\n */\\\\ninterface IERC1155Receiver is IERC165 {\\\\n /**\\\\n * @dev Handles the receipt of a single ERC1155 token type. This function is\\\\n * called at the end of a `safeTransferFrom` after the balance has been updated.\\\\n *\\\\n * NOTE: To accept the transfer, this must return\\\\n * `bytes4(keccak256(\\\\\\\"onERC1155Received(address,address,uint256,uint256,bytes)\\\\\\\"))`\\\\n * (i.e. 0xf23a6e61, or its own function selector).\\\\n *\\\\n * @param operator The address which initiated the transfer (i.e. msg.sender)\\\\n * @param from The address which previously owned the token\\\\n * @param id The ID of the token being transferred\\\\n * @param value The amount of tokens being transferred\\\\n * @param data Additional data with no specified format\\\\n * @return `bytes4(keccak256(\\\\\\\"onERC1155Received(address,address,uint256,uint256,bytes)\\\\\\\"))` if transfer is allowed\\\\n */\\\\n function onERC1155Received(\\\\n address operator,\\\\n address from,\\\\n uint256 id,\\\\n uint256 value,\\\\n bytes calldata data\\\\n ) external returns (bytes4);\\\\n\\\\n /**\\\\n * @dev Handles the receipt of a multiple ERC1155 token types. This function\\\\n * is called at the end of a `safeBatchTransferFrom` after the balances have\\\\n * been updated.\\\\n *\\\\n * NOTE: To accept the transfer(s), this must return\\\\n * `bytes4(keccak256(\\\\\\\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\\\\\\\"))`\\\\n * (i.e. 0xbc197c81, or its own function selector).\\\\n *\\\\n * @param operator The address which initiated the batch transfer (i.e. msg.sender)\\\\n * @param from The address which previously owned the token\\\\n * @param ids An array containing ids of each token being transferred (order and length must match values array)\\\\n * @param values An array containing amounts of each token being transferred (order and length must match ids array)\\\\n * @param data Additional data with no specified format\\\\n * @return `bytes4(keccak256(\\\\\\\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\\\\\\\"))` if transfer is allowed\\\\n */\\\\n function onERC1155BatchReceived(\\\\n address operator,\\\\n address from,\\\\n uint256[] calldata ids,\\\\n uint256[] calldata values,\\\\n bytes calldata data\\\\n ) external returns (bytes4);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xeb373f1fdc7b755c6a750123a9b9e3a8a02c1470042fd6505d875000a80bde0b\\\",\\\"license\\\":\\\"MIT\\\"},\\\"lib/openzeppelin-contracts/contracts/token/ERC1155/extensions/ERC1155Burnable.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/extensions/ERC1155Burnable.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../ERC1155.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Extension of {ERC1155} that allows token holders to destroy both their\\\\n * own tokens and those that they have been approved to use.\\\\n *\\\\n * _Available since v3.1._\\\\n */\\\\nabstract contract ERC1155Burnable is ERC1155 {\\\\n function burn(\\\\n address account,\\\\n uint256 id,\\\\n uint256 value\\\\n ) public virtual {\\\\n require(\\\\n account == _msgSender() || isApprovedForAll(account, _msgSender()),\\\\n \\\\\\\"ERC1155: caller is not token owner nor approved\\\\\\\"\\\\n );\\\\n\\\\n _burn(account, id, value);\\\\n }\\\\n\\\\n function burnBatch(\\\\n address account,\\\\n uint256[] memory ids,\\\\n uint256[] memory values\\\\n ) public virtual {\\\\n require(\\\\n account == _msgSender() || isApprovedForAll(account, _msgSender()),\\\\n \\\\\\\"ERC1155: caller is not token owner nor approved\\\\\\\"\\\\n );\\\\n\\\\n _burnBatch(account, ids, values);\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xb11d1ade7146ac3da122e1f387ea82b0bd385d50823946c3f967dbffef3e9f4f\\\",\\\"license\\\":\\\"MIT\\\"},\\\"lib/openzeppelin-contracts/contracts/token/ERC1155/extensions/ERC1155Pausable.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/ERC1155Pausable.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../ERC1155.sol\\\\\\\";\\\\nimport \\\\\\\"../../../security/Pausable.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev ERC1155 token with pausable token transfers, minting and burning.\\\\n *\\\\n * Useful for scenarios such as preventing trades until the end of an evaluation\\\\n * period, or having an emergency switch for freezing all token transfers in the\\\\n * event of a large bug.\\\\n *\\\\n * _Available since v3.1._\\\\n */\\\\nabstract contract ERC1155Pausable is ERC1155, Pausable {\\\\n /**\\\\n * @dev See {ERC1155-_beforeTokenTransfer}.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the contract must not be paused.\\\\n */\\\\n function _beforeTokenTransfer(\\\\n address operator,\\\\n address from,\\\\n address to,\\\\n uint256[] memory ids,\\\\n uint256[] memory amounts,\\\\n bytes memory data\\\\n ) internal virtual override {\\\\n super._beforeTokenTransfer(operator, from, to, ids, amounts, data);\\\\n\\\\n require(!paused(), \\\\\\\"ERC1155Pausable: token transfer while paused\\\\\\\");\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xdad22b949de979bb2ad9001c044b2aeaacf8a25e3de09ed6f022a9469f936d5b\\\",\\\"license\\\":\\\"MIT\\\"},\\\"lib/openzeppelin-contracts/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../IERC1155.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Interface of the optional ERC1155MetadataExtension interface, as defined\\\\n * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].\\\\n *\\\\n * _Available since v3.1._\\\\n */\\\\ninterface IERC1155MetadataURI is IERC1155 {\\\\n /**\\\\n * @dev Returns the URI for token type `id`.\\\\n *\\\\n * If the `\\\\\\\\{id\\\\\\\\}` substring is present in the URI, it must be replaced by\\\\n * clients with the actual token type ID.\\\\n */\\\\n function uri(uint256 id) external view returns (string memory);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xa66d18b9a85458d28fc3304717964502ae36f7f8a2ff35bc83f6f85d74b03574\\\",\\\"license\\\":\\\"MIT\\\"},\\\"lib/openzeppelin-contracts/contracts/token/ERC1155/presets/ERC1155PresetMinterPauser.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/presets/ERC1155PresetMinterPauser.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../ERC1155.sol\\\\\\\";\\\\nimport \\\\\\\"../extensions/ERC1155Burnable.sol\\\\\\\";\\\\nimport \\\\\\\"../extensions/ERC1155Pausable.sol\\\\\\\";\\\\nimport \\\\\\\"../../../access/AccessControlEnumerable.sol\\\\\\\";\\\\nimport \\\\\\\"../../../utils/Context.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev {ERC1155} token, including:\\\\n *\\\\n * - ability for holders to burn (destroy) their tokens\\\\n * - a minter role that allows for token minting (creation)\\\\n * - a pauser role that allows to stop all token transfers\\\\n *\\\\n * This contract uses {AccessControl} to lock permissioned functions using the\\\\n * different roles - head to its documentation for details.\\\\n *\\\\n * The account that deploys the contract will be granted the minter and pauser\\\\n * roles, as well as the default admin role, which will let it grant both minter\\\\n * and pauser roles to other accounts.\\\\n *\\\\n * _Deprecated in favor of https://wizard.openzeppelin.com/[Contracts Wizard]._\\\\n */\\\\ncontract ERC1155PresetMinterPauser is Context, AccessControlEnumerable, ERC1155Burnable, ERC1155Pausable {\\\\n bytes32 public constant MINTER_ROLE = keccak256(\\\\\\\"MINTER_ROLE\\\\\\\");\\\\n bytes32 public constant PAUSER_ROLE = keccak256(\\\\\\\"PAUSER_ROLE\\\\\\\");\\\\n\\\\n /**\\\\n * @dev Grants `DEFAULT_ADMIN_ROLE`, `MINTER_ROLE`, and `PAUSER_ROLE` to the account that\\\\n * deploys the contract.\\\\n */\\\\n constructor(string memory uri) ERC1155(uri) {\\\\n _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());\\\\n\\\\n _setupRole(MINTER_ROLE, _msgSender());\\\\n _setupRole(PAUSER_ROLE, _msgSender());\\\\n }\\\\n\\\\n /**\\\\n * @dev Creates `amount` new tokens for `to`, of token type `id`.\\\\n *\\\\n * See {ERC1155-_mint}.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the caller must have the `MINTER_ROLE`.\\\\n */\\\\n function mint(\\\\n address to,\\\\n uint256 id,\\\\n uint256 amount,\\\\n bytes memory data\\\\n ) public virtual {\\\\n require(hasRole(MINTER_ROLE, _msgSender()), \\\\\\\"ERC1155PresetMinterPauser: must have minter role to mint\\\\\\\");\\\\n\\\\n _mint(to, id, amount, data);\\\\n }\\\\n\\\\n /**\\\\n * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] variant of {mint}.\\\\n */\\\\n function mintBatch(\\\\n address to,\\\\n uint256[] memory ids,\\\\n uint256[] memory amounts,\\\\n bytes memory data\\\\n ) public virtual {\\\\n require(hasRole(MINTER_ROLE, _msgSender()), \\\\\\\"ERC1155PresetMinterPauser: must have minter role to mint\\\\\\\");\\\\n\\\\n _mintBatch(to, ids, amounts, data);\\\\n }\\\\n\\\\n /**\\\\n * @dev Pauses all token transfers.\\\\n *\\\\n * See {ERC1155Pausable} and {Pausable-_pause}.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the caller must have the `PAUSER_ROLE`.\\\\n */\\\\n function pause() public virtual {\\\\n require(hasRole(PAUSER_ROLE, _msgSender()), \\\\\\\"ERC1155PresetMinterPauser: must have pauser role to pause\\\\\\\");\\\\n _pause();\\\\n }\\\\n\\\\n /**\\\\n * @dev Unpauses all token transfers.\\\\n *\\\\n * See {ERC1155Pausable} and {Pausable-_unpause}.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the caller must have the `PAUSER_ROLE`.\\\\n */\\\\n function unpause() public virtual {\\\\n require(hasRole(PAUSER_ROLE, _msgSender()), \\\\\\\"ERC1155PresetMinterPauser: must have pauser role to unpause\\\\\\\");\\\\n _unpause();\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC165-supportsInterface}.\\\\n */\\\\n function supportsInterface(bytes4 interfaceId)\\\\n public\\\\n view\\\\n virtual\\\\n override(AccessControlEnumerable, ERC1155)\\\\n returns (bool)\\\\n {\\\\n return super.supportsInterface(interfaceId);\\\\n }\\\\n\\\\n function _beforeTokenTransfer(\\\\n address operator,\\\\n address from,\\\\n address to,\\\\n uint256[] memory ids,\\\\n uint256[] memory amounts,\\\\n bytes memory data\\\\n ) internal virtual override(ERC1155, ERC1155Pausable) {\\\\n super._beforeTokenTransfer(operator, from, to, ids, amounts, data);\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x775e248004d21e0666740534a732daa9f17ceeee660ded876829e98a3a62b657\\\",\\\"license\\\":\\\"MIT\\\"},\\\"lib/openzeppelin-contracts/contracts/token/ERC1155/utils/ERC1155Holder.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/utils/ERC1155Holder.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./ERC1155Receiver.sol\\\\\\\";\\\\n\\\\n/**\\\\n * Simple implementation of `ERC1155Receiver` that will allow a contract to hold ERC1155 tokens.\\\\n *\\\\n * IMPORTANT: When inheriting this contract, you must include a way to use the received tokens, otherwise they will be\\\\n * stuck.\\\\n *\\\\n * @dev _Available since v3.1._\\\\n */\\\\ncontract ERC1155Holder is ERC1155Receiver {\\\\n function onERC1155Received(\\\\n address,\\\\n address,\\\\n uint256,\\\\n uint256,\\\\n bytes memory\\\\n ) public virtual override returns (bytes4) {\\\\n return this.onERC1155Received.selector;\\\\n }\\\\n\\\\n function onERC1155BatchReceived(\\\\n address,\\\\n address,\\\\n uint256[] memory,\\\\n uint256[] memory,\\\\n bytes memory\\\\n ) public virtual override returns (bytes4) {\\\\n return this.onERC1155BatchReceived.selector;\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x2e024ca51ce5abe16c0d34e6992a1104f356e2244eb4ccbec970435e8b3405e3\\\",\\\"license\\\":\\\"MIT\\\"},\\\"lib/openzeppelin-contracts/contracts/token/ERC1155/utils/ERC1155Receiver.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (token/ERC1155/utils/ERC1155Receiver.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../IERC1155Receiver.sol\\\\\\\";\\\\nimport \\\\\\\"../../../utils/introspection/ERC165.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev _Available since v3.1._\\\\n */\\\\nabstract contract ERC1155Receiver is ERC165, IERC1155Receiver {\\\\n /**\\\\n * @dev See {IERC165-supportsInterface}.\\\\n */\\\\n function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {\\\\n return interfaceId == type(IERC1155Receiver).interfaceId || super.supportsInterface(interfaceId);\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x3dd5e1a66a56f30302108a1da97d677a42b1daa60e503696b2bcbbf3e4c95bcb\\\",\\\"license\\\":\\\"MIT\\\"},\\\"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\\\n */\\\\ninterface IERC20 {\\\\n /**\\\\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\\\\n * another (`to`).\\\\n *\\\\n * Note that `value` may be zero.\\\\n */\\\\n event Transfer(address indexed from, address indexed to, uint256 value);\\\\n\\\\n /**\\\\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\\\n * a call to {approve}. `value` is the new allowance.\\\\n */\\\\n event Approval(address indexed owner, address indexed spender, uint256 value);\\\\n\\\\n /**\\\\n * @dev Returns the amount of tokens in existence.\\\\n */\\\\n function totalSupply() external view returns (uint256);\\\\n\\\\n /**\\\\n * @dev Returns the amount of tokens owned by `account`.\\\\n */\\\\n function balanceOf(address account) external view returns (uint256);\\\\n\\\\n /**\\\\n * @dev Moves `amount` tokens from the caller's account to `to`.\\\\n *\\\\n * Returns a boolean value indicating whether the operation succeeded.\\\\n *\\\\n * Emits a {Transfer} event.\\\\n */\\\\n function transfer(address to, uint256 amount) external returns (bool);\\\\n\\\\n /**\\\\n * @dev Returns the remaining number of tokens that `spender` will be\\\\n * allowed to spend on behalf of `owner` through {transferFrom}. This is\\\\n * zero by default.\\\\n *\\\\n * This value changes when {approve} or {transferFrom} are called.\\\\n */\\\\n function allowance(address owner, address spender) external view returns (uint256);\\\\n\\\\n /**\\\\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\\\n *\\\\n * Returns a boolean value indicating whether the operation succeeded.\\\\n *\\\\n * IMPORTANT: Beware that changing an allowance with this method brings the risk\\\\n * that someone may use both the old and the new allowance by unfortunate\\\\n * transaction ordering. One possible solution to mitigate this race\\\\n * condition is to first reduce the spender's allowance to 0 and set the\\\\n * desired value afterwards:\\\\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\\\n *\\\\n * Emits an {Approval} event.\\\\n */\\\\n function approve(address spender, uint256 amount) external returns (bool);\\\\n\\\\n /**\\\\n * @dev Moves `amount` tokens from `from` to `to` using the\\\\n * allowance mechanism. `amount` is then deducted from the caller's\\\\n * allowance.\\\\n *\\\\n * Returns a boolean value indicating whether the operation succeeded.\\\\n *\\\\n * Emits a {Transfer} event.\\\\n */\\\\n function transferFrom(\\\\n address from,\\\\n address to,\\\\n uint256 amount\\\\n ) external returns (bool);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b\\\",\\\"license\\\":\\\"MIT\\\"},\\\"lib/openzeppelin-contracts/contracts/token/ERC721/IERC721.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../../utils/introspection/IERC165.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Required interface of an ERC721 compliant contract.\\\\n */\\\\ninterface IERC721 is IERC165 {\\\\n /**\\\\n * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\\\\n */\\\\n event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\\\\n\\\\n /**\\\\n * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\\\\n */\\\\n event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\\\\n\\\\n /**\\\\n * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\\\\n */\\\\n event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\\\\n\\\\n /**\\\\n * @dev Returns the number of tokens in ``owner``'s account.\\\\n */\\\\n function balanceOf(address owner) external view returns (uint256 balance);\\\\n\\\\n /**\\\\n * @dev Returns the owner of the `tokenId` token.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `tokenId` must exist.\\\\n */\\\\n function ownerOf(uint256 tokenId) external view returns (address owner);\\\\n\\\\n /**\\\\n * @dev Safely transfers `tokenId` token from `from` to `to`.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `from` cannot be the zero address.\\\\n * - `to` cannot be the zero address.\\\\n * - `tokenId` token must exist and be owned by `from`.\\\\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\\\\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\\\\n *\\\\n * Emits a {Transfer} event.\\\\n */\\\\n function safeTransferFrom(\\\\n address from,\\\\n address to,\\\\n uint256 tokenId,\\\\n bytes calldata data\\\\n ) external;\\\\n\\\\n /**\\\\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\\\\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `from` cannot be the zero address.\\\\n * - `to` cannot be the zero address.\\\\n * - `tokenId` token must exist and be owned by `from`.\\\\n * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.\\\\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\\\\n *\\\\n * Emits a {Transfer} event.\\\\n */\\\\n function safeTransferFrom(\\\\n address from,\\\\n address to,\\\\n uint256 tokenId\\\\n ) external;\\\\n\\\\n /**\\\\n * @dev Transfers `tokenId` token from `from` to `to`.\\\\n *\\\\n * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `from` cannot be the zero address.\\\\n * - `to` cannot be the zero address.\\\\n * - `tokenId` token must be owned by `from`.\\\\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\\\\n *\\\\n * Emits a {Transfer} event.\\\\n */\\\\n function transferFrom(\\\\n address from,\\\\n address to,\\\\n uint256 tokenId\\\\n ) external;\\\\n\\\\n /**\\\\n * @dev Gives permission to `to` to transfer `tokenId` token to another account.\\\\n * The approval is cleared when the token is transferred.\\\\n *\\\\n * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - The caller must own the token or be an approved operator.\\\\n * - `tokenId` must exist.\\\\n *\\\\n * Emits an {Approval} event.\\\\n */\\\\n function approve(address to, uint256 tokenId) external;\\\\n\\\\n /**\\\\n * @dev Approve or remove `operator` as an operator for the caller.\\\\n * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - The `operator` cannot be the caller.\\\\n *\\\\n * Emits an {ApprovalForAll} event.\\\\n */\\\\n function setApprovalForAll(address operator, bool _approved) external;\\\\n\\\\n /**\\\\n * @dev Returns the account approved for `tokenId` token.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `tokenId` must exist.\\\\n */\\\\n function getApproved(uint256 tokenId) external view returns (address operator);\\\\n\\\\n /**\\\\n * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\\\\n *\\\\n * See {setApprovalForAll}\\\\n */\\\\n function isApprovedForAll(address owner, address operator) external view returns (bool);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xed6a749c5373af398105ce6ee3ac4763aa450ea7285d268c85d9eeca809cdb1f\\\",\\\"license\\\":\\\"MIT\\\"},\\\"lib/openzeppelin-contracts/contracts/utils/Address.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)\\\\n\\\\npragma solidity ^0.8.1;\\\\n\\\\n/**\\\\n * @dev Collection of functions related to the address type\\\\n */\\\\nlibrary Address {\\\\n /**\\\\n * @dev Returns true if `account` is a contract.\\\\n *\\\\n * [IMPORTANT]\\\\n * ====\\\\n * It is unsafe to assume that an address for which this function returns\\\\n * false is an externally-owned account (EOA) and not a contract.\\\\n *\\\\n * Among others, `isContract` will return false for the following\\\\n * types of addresses:\\\\n *\\\\n * - an externally-owned account\\\\n * - a contract in construction\\\\n * - an address where a contract will be created\\\\n * - an address where a contract lived, but was destroyed\\\\n * ====\\\\n *\\\\n * [IMPORTANT]\\\\n * ====\\\\n * You shouldn't rely on `isContract` to protect against flash loan attacks!\\\\n *\\\\n * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\\\n * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\\\n * constructor.\\\\n * ====\\\\n */\\\\n function isContract(address account) internal view returns (bool) {\\\\n // This method relies on extcodesize/address.code.length, which returns 0\\\\n // for contracts in construction, since the code is only stored at the end\\\\n // of the constructor execution.\\\\n\\\\n return account.code.length > 0;\\\\n }\\\\n\\\\n /**\\\\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\\\n * `recipient`, forwarding all available gas and reverting on errors.\\\\n *\\\\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\\\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\\\\n * imposed by `transfer`, making them unable to receive funds via\\\\n * `transfer`. {sendValue} removes this limitation.\\\\n *\\\\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\\\n *\\\\n * IMPORTANT: because control is transferred to `recipient`, care must be\\\\n * taken to not create reentrancy vulnerabilities. Consider using\\\\n * {ReentrancyGuard} or the\\\\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\\\n */\\\\n function sendValue(address payable recipient, uint256 amount) internal {\\\\n require(address(this).balance >= amount, \\\\\\\"Address: insufficient balance\\\\\\\");\\\\n\\\\n (bool success, ) = recipient.call{value: amount}(\\\\\\\"\\\\\\\");\\\\n require(success, \\\\\\\"Address: unable to send value, recipient may have reverted\\\\\\\");\\\\n }\\\\n\\\\n /**\\\\n * @dev Performs a Solidity function call using a low level `call`. A\\\\n * plain `call` is an unsafe replacement for a function call: use this\\\\n * function instead.\\\\n *\\\\n * If `target` reverts with a revert reason, it is bubbled up by this\\\\n * function (like regular Solidity function calls).\\\\n *\\\\n * Returns the raw returned data. To convert to the expected return value,\\\\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `target` must be a contract.\\\\n * - calling `target` with `data` must not revert.\\\\n *\\\\n * _Available since v3.1._\\\\n */\\\\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\\\n return functionCall(target, data, \\\\\\\"Address: low-level call failed\\\\\\\");\\\\n }\\\\n\\\\n /**\\\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\\\n * `errorMessage` as a fallback revert reason when `target` reverts.\\\\n *\\\\n * _Available since v3.1._\\\\n */\\\\n function functionCall(\\\\n address target,\\\\n bytes memory data,\\\\n string memory errorMessage\\\\n ) internal returns (bytes memory) {\\\\n return functionCallWithValue(target, data, 0, errorMessage);\\\\n }\\\\n\\\\n /**\\\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\\\n * but also transferring `value` wei to `target`.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the calling contract must have an ETH balance of at least `value`.\\\\n * - the called Solidity function must be `payable`.\\\\n *\\\\n * _Available since v3.1._\\\\n */\\\\n function functionCallWithValue(\\\\n address target,\\\\n bytes memory data,\\\\n uint256 value\\\\n ) internal returns (bytes memory) {\\\\n return functionCallWithValue(target, data, value, \\\\\\\"Address: low-level call with value failed\\\\\\\");\\\\n }\\\\n\\\\n /**\\\\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\\\n * with `errorMessage` as a fallback revert reason when `target` reverts.\\\\n *\\\\n * _Available since v3.1._\\\\n */\\\\n function functionCallWithValue(\\\\n address target,\\\\n bytes memory data,\\\\n uint256 value,\\\\n string memory errorMessage\\\\n ) internal returns (bytes memory) {\\\\n require(address(this).balance >= value, \\\\\\\"Address: insufficient balance for call\\\\\\\");\\\\n require(isContract(target), \\\\\\\"Address: call to non-contract\\\\\\\");\\\\n\\\\n (bool success, bytes memory returndata) = target.call{value: value}(data);\\\\n return verifyCallResult(success, returndata, errorMessage);\\\\n }\\\\n\\\\n /**\\\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\\\n * but performing a static call.\\\\n *\\\\n * _Available since v3.3._\\\\n */\\\\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\\\n return functionStaticCall(target, data, \\\\\\\"Address: low-level static call failed\\\\\\\");\\\\n }\\\\n\\\\n /**\\\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\\\n * but performing a static call.\\\\n *\\\\n * _Available since v3.3._\\\\n */\\\\n function functionStaticCall(\\\\n address target,\\\\n bytes memory data,\\\\n string memory errorMessage\\\\n ) internal view returns (bytes memory) {\\\\n require(isContract(target), \\\\\\\"Address: static call to non-contract\\\\\\\");\\\\n\\\\n (bool success, bytes memory returndata) = target.staticcall(data);\\\\n return verifyCallResult(success, returndata, errorMessage);\\\\n }\\\\n\\\\n /**\\\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\\\n * but performing a delegate call.\\\\n *\\\\n * _Available since v3.4._\\\\n */\\\\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\\\n return functionDelegateCall(target, data, \\\\\\\"Address: low-level delegate call failed\\\\\\\");\\\\n }\\\\n\\\\n /**\\\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\\\n * but performing a delegate call.\\\\n *\\\\n * _Available since v3.4._\\\\n */\\\\n function functionDelegateCall(\\\\n address target,\\\\n bytes memory data,\\\\n string memory errorMessage\\\\n ) internal returns (bytes memory) {\\\\n require(isContract(target), \\\\\\\"Address: delegate call to non-contract\\\\\\\");\\\\n\\\\n (bool success, bytes memory returndata) = target.delegatecall(data);\\\\n return verifyCallResult(success, returndata, errorMessage);\\\\n }\\\\n\\\\n /**\\\\n * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the\\\\n * revert reason using the provided one.\\\\n *\\\\n * _Available since v4.3._\\\\n */\\\\n function verifyCallResult(\\\\n bool success,\\\\n bytes memory returndata,\\\\n string memory errorMessage\\\\n ) internal pure returns (bytes memory) {\\\\n if (success) {\\\\n return returndata;\\\\n } else {\\\\n // Look for revert reason and bubble it up if present\\\\n if (returndata.length > 0) {\\\\n // The easiest way to bubble the revert reason is using memory via assembly\\\\n /// @solidity memory-safe-assembly\\\\n assembly {\\\\n let returndata_size := mload(returndata)\\\\n revert(add(32, returndata), returndata_size)\\\\n }\\\\n } else {\\\\n revert(errorMessage);\\\\n }\\\\n }\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10\\\",\\\"license\\\":\\\"MIT\\\"},\\\"lib/openzeppelin-contracts/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\\\"},\\\"lib/openzeppelin-contracts/contracts/utils/StorageSlot.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/StorageSlot.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Library for reading and writing primitive types to specific storage slots.\\\\n *\\\\n * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\\\\n * This library helps with reading and writing to such slots without the need for inline assembly.\\\\n *\\\\n * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\\\\n *\\\\n * Example usage to set ERC1967 implementation slot:\\\\n * ```\\\\n * contract ERC1967 {\\\\n * bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\\\\n *\\\\n * function _getImplementation() internal view returns (address) {\\\\n * return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\\\\n * }\\\\n *\\\\n * function _setImplementation(address newImplementation) internal {\\\\n * require(Address.isContract(newImplementation), \\\\\\\"ERC1967: new implementation is not a contract\\\\\\\");\\\\n * StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\\\\n * }\\\\n * }\\\\n * ```\\\\n *\\\\n * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._\\\\n */\\\\nlibrary StorageSlot {\\\\n struct AddressSlot {\\\\n address value;\\\\n }\\\\n\\\\n struct BooleanSlot {\\\\n bool value;\\\\n }\\\\n\\\\n struct Bytes32Slot {\\\\n bytes32 value;\\\\n }\\\\n\\\\n struct Uint256Slot {\\\\n uint256 value;\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns an `AddressSlot` with member `value` located at `slot`.\\\\n */\\\\n function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {\\\\n /// @solidity memory-safe-assembly\\\\n assembly {\\\\n r.slot := slot\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns an `BooleanSlot` with member `value` located at `slot`.\\\\n */\\\\n function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {\\\\n /// @solidity memory-safe-assembly\\\\n assembly {\\\\n r.slot := slot\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.\\\\n */\\\\n function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {\\\\n /// @solidity memory-safe-assembly\\\\n assembly {\\\\n r.slot := slot\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns an `Uint256Slot` with member `value` located at `slot`.\\\\n */\\\\n function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {\\\\n /// @solidity memory-safe-assembly\\\\n assembly {\\\\n r.slot := slot\\\\n }\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xd5c50c54bf02740ebd122ff06832546cb5fa84486d52695a9ccfd11666e0c81d\\\",\\\"license\\\":\\\"MIT\\\"},\\\"lib/openzeppelin-contracts/contracts/utils/Strings.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev String operations.\\\\n */\\\\nlibrary Strings {\\\\n bytes16 private constant _HEX_SYMBOLS = \\\\\\\"0123456789abcdef\\\\\\\";\\\\n uint8 private constant _ADDRESS_LENGTH = 20;\\\\n\\\\n /**\\\\n * @dev Converts a `uint256` to its ASCII `string` decimal representation.\\\\n */\\\\n function toString(uint256 value) internal pure returns (string memory) {\\\\n // Inspired by OraclizeAPI's implementation - MIT licence\\\\n // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\\\\n\\\\n if (value == 0) {\\\\n return \\\\\\\"0\\\\\\\";\\\\n }\\\\n uint256 temp = value;\\\\n uint256 digits;\\\\n while (temp != 0) {\\\\n digits++;\\\\n temp /= 10;\\\\n }\\\\n bytes memory buffer = new bytes(digits);\\\\n while (value != 0) {\\\\n digits -= 1;\\\\n buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));\\\\n value /= 10;\\\\n }\\\\n return string(buffer);\\\\n }\\\\n\\\\n /**\\\\n * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.\\\\n */\\\\n function toHexString(uint256 value) internal pure returns (string memory) {\\\\n if (value == 0) {\\\\n return \\\\\\\"0x00\\\\\\\";\\\\n }\\\\n uint256 temp = value;\\\\n uint256 length = 0;\\\\n while (temp != 0) {\\\\n length++;\\\\n temp >>= 8;\\\\n }\\\\n return toHexString(value, length);\\\\n }\\\\n\\\\n /**\\\\n * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.\\\\n */\\\\n function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {\\\\n bytes memory buffer = new bytes(2 * length + 2);\\\\n buffer[0] = \\\\\\\"0\\\\\\\";\\\\n buffer[1] = \\\\\\\"x\\\\\\\";\\\\n for (uint256 i = 2 * length + 1; i > 1; --i) {\\\\n buffer[i] = _HEX_SYMBOLS[value & 0xf];\\\\n value >>= 4;\\\\n }\\\\n require(value == 0, \\\\\\\"Strings: hex length insufficient\\\\\\\");\\\\n return string(buffer);\\\\n }\\\\n\\\\n /**\\\\n * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.\\\\n */\\\\n function toHexString(address addr) internal pure returns (string memory) {\\\\n return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xaf159a8b1923ad2a26d516089bceca9bdeaeacd04be50983ea00ba63070f08a3\\\",\\\"license\\\":\\\"MIT\\\"},\\\"lib/openzeppelin-contracts/contracts/utils/cryptography/ECDSA.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.3) (utils/cryptography/ECDSA.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../Strings.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.\\\\n *\\\\n * These functions can be used to verify that a message was signed by the holder\\\\n * of the private keys of a given address.\\\\n */\\\\nlibrary ECDSA {\\\\n enum RecoverError {\\\\n NoError,\\\\n InvalidSignature,\\\\n InvalidSignatureLength,\\\\n InvalidSignatureS,\\\\n InvalidSignatureV\\\\n }\\\\n\\\\n function _throwError(RecoverError error) private pure {\\\\n if (error == RecoverError.NoError) {\\\\n return; // no error: do nothing\\\\n } else if (error == RecoverError.InvalidSignature) {\\\\n revert(\\\\\\\"ECDSA: invalid signature\\\\\\\");\\\\n } else if (error == RecoverError.InvalidSignatureLength) {\\\\n revert(\\\\\\\"ECDSA: invalid signature length\\\\\\\");\\\\n } else if (error == RecoverError.InvalidSignatureS) {\\\\n revert(\\\\\\\"ECDSA: invalid signature 's' value\\\\\\\");\\\\n } else if (error == RecoverError.InvalidSignatureV) {\\\\n revert(\\\\\\\"ECDSA: invalid signature 'v' value\\\\\\\");\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the address that signed a hashed message (`hash`) with\\\\n * `signature` or error string. This address can then be used for verification purposes.\\\\n *\\\\n * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:\\\\n * this function rejects them by requiring the `s` value to be in the lower\\\\n * half order, and the `v` value to be either 27 or 28.\\\\n *\\\\n * IMPORTANT: `hash` _must_ be the result of a hash operation for the\\\\n * verification to be secure: it is possible to craft signatures that\\\\n * recover to arbitrary addresses for non-hashed data. A safe way to ensure\\\\n * this is by receiving a hash of the original message (which may otherwise\\\\n * be too long), and then calling {toEthSignedMessageHash} on it.\\\\n *\\\\n * Documentation for signature generation:\\\\n * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]\\\\n * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]\\\\n *\\\\n * _Available since v4.3._\\\\n */\\\\n function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {\\\\n if (signature.length == 65) {\\\\n bytes32 r;\\\\n bytes32 s;\\\\n uint8 v;\\\\n // ecrecover takes the signature parameters, and the only way to get them\\\\n // currently is to use assembly.\\\\n /// @solidity memory-safe-assembly\\\\n assembly {\\\\n r := mload(add(signature, 0x20))\\\\n s := mload(add(signature, 0x40))\\\\n v := byte(0, mload(add(signature, 0x60)))\\\\n }\\\\n return tryRecover(hash, v, r, s);\\\\n } else {\\\\n return (address(0), RecoverError.InvalidSignatureLength);\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the address that signed a hashed message (`hash`) with\\\\n * `signature`. This address can then be used for verification purposes.\\\\n *\\\\n * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:\\\\n * this function rejects them by requiring the `s` value to be in the lower\\\\n * half order, and the `v` value to be either 27 or 28.\\\\n *\\\\n * IMPORTANT: `hash` _must_ be the result of a hash operation for the\\\\n * verification to be secure: it is possible to craft signatures that\\\\n * recover to arbitrary addresses for non-hashed data. A safe way to ensure\\\\n * this is by receiving a hash of the original message (which may otherwise\\\\n * be too long), and then calling {toEthSignedMessageHash} on it.\\\\n */\\\\n function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {\\\\n (address recovered, RecoverError error) = tryRecover(hash, signature);\\\\n _throwError(error);\\\\n return recovered;\\\\n }\\\\n\\\\n /**\\\\n * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.\\\\n *\\\\n * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]\\\\n *\\\\n * _Available since v4.3._\\\\n */\\\\n function tryRecover(\\\\n bytes32 hash,\\\\n bytes32 r,\\\\n bytes32 vs\\\\n ) internal pure returns (address, RecoverError) {\\\\n bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);\\\\n uint8 v = uint8((uint256(vs) >> 255) + 27);\\\\n return tryRecover(hash, v, r, s);\\\\n }\\\\n\\\\n /**\\\\n * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.\\\\n *\\\\n * _Available since v4.2._\\\\n */\\\\n function recover(\\\\n bytes32 hash,\\\\n bytes32 r,\\\\n bytes32 vs\\\\n ) internal pure returns (address) {\\\\n (address recovered, RecoverError error) = tryRecover(hash, r, vs);\\\\n _throwError(error);\\\\n return recovered;\\\\n }\\\\n\\\\n /**\\\\n * @dev Overload of {ECDSA-tryRecover} that receives the `v`,\\\\n * `r` and `s` signature fields separately.\\\\n *\\\\n * _Available since v4.3._\\\\n */\\\\n function tryRecover(\\\\n bytes32 hash,\\\\n uint8 v,\\\\n bytes32 r,\\\\n bytes32 s\\\\n ) internal pure returns (address, RecoverError) {\\\\n // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature\\\\n // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines\\\\n // the valid range for s in (301): 0 < s < secp256k1n \\\\u00f7 2 + 1, and for v in (302): v \\\\u2208 {27, 28}. Most\\\\n // signatures from current libraries generate a unique signature with an s-value in the lower half order.\\\\n //\\\\n // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value\\\\n // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or\\\\n // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept\\\\n // these malleable signatures as well.\\\\n if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {\\\\n return (address(0), RecoverError.InvalidSignatureS);\\\\n }\\\\n if (v != 27 && v != 28) {\\\\n return (address(0), RecoverError.InvalidSignatureV);\\\\n }\\\\n\\\\n // If the signature is valid (and not malleable), return the signer address\\\\n address signer = ecrecover(hash, v, r, s);\\\\n if (signer == address(0)) {\\\\n return (address(0), RecoverError.InvalidSignature);\\\\n }\\\\n\\\\n return (signer, RecoverError.NoError);\\\\n }\\\\n\\\\n /**\\\\n * @dev Overload of {ECDSA-recover} that receives the `v`,\\\\n * `r` and `s` signature fields separately.\\\\n */\\\\n function recover(\\\\n bytes32 hash,\\\\n uint8 v,\\\\n bytes32 r,\\\\n bytes32 s\\\\n ) internal pure returns (address) {\\\\n (address recovered, RecoverError error) = tryRecover(hash, v, r, s);\\\\n _throwError(error);\\\\n return recovered;\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns an Ethereum Signed Message, created from a `hash`. This\\\\n * produces hash corresponding to the one signed with the\\\\n * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]\\\\n * JSON-RPC method as part of EIP-191.\\\\n *\\\\n * See {recover}.\\\\n */\\\\n function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {\\\\n // 32 is the length in bytes of hash,\\\\n // enforced by the type signature above\\\\n return keccak256(abi.encodePacked(\\\\\\\"\\\\\\\\x19Ethereum Signed Message:\\\\\\\\n32\\\\\\\", hash));\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns an Ethereum Signed Message, created from `s`. This\\\\n * produces hash corresponding to the one signed with the\\\\n * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]\\\\n * JSON-RPC method as part of EIP-191.\\\\n *\\\\n * See {recover}.\\\\n */\\\\n function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {\\\\n return keccak256(abi.encodePacked(\\\\\\\"\\\\\\\\x19Ethereum Signed Message:\\\\\\\\n\\\\\\\", Strings.toString(s.length), s));\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns an Ethereum Signed Typed Data, created from a\\\\n * `domainSeparator` and a `structHash`. This produces hash corresponding\\\\n * to the one signed with the\\\\n * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]\\\\n * JSON-RPC method as part of EIP-712.\\\\n *\\\\n * See {recover}.\\\\n */\\\\n function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {\\\\n return keccak256(abi.encodePacked(\\\\\\\"\\\\\\\\x19\\\\\\\\x01\\\\\\\", domainSeparator, structHash));\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xdb7f5c28fc61cda0bd8ab60ce288e206b791643bcd3ba464a70cbec18895a2f5\\\",\\\"license\\\":\\\"MIT\\\"},\\\"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./IERC165.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Implementation of the {IERC165} interface.\\\\n *\\\\n * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check\\\\n * for the additional interface id that will be supported. For example:\\\\n *\\\\n * ```solidity\\\\n * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\\\\n * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);\\\\n * }\\\\n * ```\\\\n *\\\\n * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.\\\\n */\\\\nabstract contract ERC165 is IERC165 {\\\\n /**\\\\n * @dev See {IERC165-supportsInterface}.\\\\n */\\\\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\\\\n return interfaceId == type(IERC165).interfaceId;\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\\\",\\\"license\\\":\\\"MIT\\\"},\\\"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Interface of the ERC165 standard, as defined in the\\\\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\\\\n *\\\\n * Implementers can declare support of contract interfaces, which can then be\\\\n * queried by others ({ERC165Checker}).\\\\n *\\\\n * For an implementation, see {ERC165}.\\\\n */\\\\ninterface IERC165 {\\\\n /**\\\\n * @dev Returns true if this contract implements the interface defined by\\\\n * `interfaceId`. See the corresponding\\\\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\\\\n * to learn more about how these ids are created.\\\\n *\\\\n * This function call must use less than 30 000 gas.\\\\n */\\\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\\\",\\\"license\\\":\\\"MIT\\\"},\\\"lib/openzeppelin-contracts/contracts/utils/structs/EnumerableSet.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/structs/EnumerableSet.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Library for managing\\\\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\\\\n * types.\\\\n *\\\\n * Sets have the following properties:\\\\n *\\\\n * - Elements are added, removed, and checked for existence in constant time\\\\n * (O(1)).\\\\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\\\\n *\\\\n * ```\\\\n * contract Example {\\\\n * // Add the library methods\\\\n * using EnumerableSet for EnumerableSet.AddressSet;\\\\n *\\\\n * // Declare a set state variable\\\\n * EnumerableSet.AddressSet private mySet;\\\\n * }\\\\n * ```\\\\n *\\\\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\\\\n * and `uint256` (`UintSet`) are supported.\\\\n *\\\\n * [WARNING]\\\\n * ====\\\\n * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure unusable.\\\\n * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.\\\\n *\\\\n * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an array of EnumerableSet.\\\\n * ====\\\\n */\\\\nlibrary EnumerableSet {\\\\n // To implement this library for multiple types with as little code\\\\n // repetition as possible, we write it in terms of a generic Set type with\\\\n // bytes32 values.\\\\n // The Set implementation uses private functions, and user-facing\\\\n // implementations (such as AddressSet) are just wrappers around the\\\\n // underlying Set.\\\\n // This means that we can only create new EnumerableSets for types that fit\\\\n // in bytes32.\\\\n\\\\n struct Set {\\\\n // Storage of set values\\\\n bytes32[] _values;\\\\n // Position of the value in the `values` array, plus 1 because index 0\\\\n // means a value is not in the set.\\\\n mapping(bytes32 => uint256) _indexes;\\\\n }\\\\n\\\\n /**\\\\n * @dev Add a value to a set. O(1).\\\\n *\\\\n * Returns true if the value was added to the set, that is if it was not\\\\n * already present.\\\\n */\\\\n function _add(Set storage set, bytes32 value) private returns (bool) {\\\\n if (!_contains(set, value)) {\\\\n set._values.push(value);\\\\n // The value is stored at length-1, but we add 1 to all indexes\\\\n // and use 0 as a sentinel value\\\\n set._indexes[value] = set._values.length;\\\\n return true;\\\\n } else {\\\\n return false;\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Removes a value from a set. O(1).\\\\n *\\\\n * Returns true if the value was removed from the set, that is if it was\\\\n * present.\\\\n */\\\\n function _remove(Set storage set, bytes32 value) private returns (bool) {\\\\n // We read and store the value's index to prevent multiple reads from the same storage slot\\\\n uint256 valueIndex = set._indexes[value];\\\\n\\\\n if (valueIndex != 0) {\\\\n // Equivalent to contains(set, value)\\\\n // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\\\\n // the array, and then remove the last element (sometimes called as 'swap and pop').\\\\n // This modifies the order of the array, as noted in {at}.\\\\n\\\\n uint256 toDeleteIndex = valueIndex - 1;\\\\n uint256 lastIndex = set._values.length - 1;\\\\n\\\\n if (lastIndex != toDeleteIndex) {\\\\n bytes32 lastValue = set._values[lastIndex];\\\\n\\\\n // Move the last value to the index where the value to delete is\\\\n set._values[toDeleteIndex] = lastValue;\\\\n // Update the index for the moved value\\\\n set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex\\\\n }\\\\n\\\\n // Delete the slot where the moved value was stored\\\\n set._values.pop();\\\\n\\\\n // Delete the index for the deleted slot\\\\n delete set._indexes[value];\\\\n\\\\n return true;\\\\n } else {\\\\n return false;\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns true if the value is in the set. O(1).\\\\n */\\\\n function _contains(Set storage set, bytes32 value) private view returns (bool) {\\\\n return set._indexes[value] != 0;\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the number of values on the set. O(1).\\\\n */\\\\n function _length(Set storage set) private view returns (uint256) {\\\\n return set._values.length;\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the value stored at position `index` in the set. O(1).\\\\n *\\\\n * Note that there are no guarantees on the ordering of values inside the\\\\n * array, and it may change when more values are added or removed.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `index` must be strictly less than {length}.\\\\n */\\\\n function _at(Set storage set, uint256 index) private view returns (bytes32) {\\\\n return set._values[index];\\\\n }\\\\n\\\\n /**\\\\n * @dev Return the entire set in an array\\\\n *\\\\n * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\\\\n * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\\\\n * this function has an unbounded cost, and using it as part of a state-changing function may render the function\\\\n * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\\\\n */\\\\n function _values(Set storage set) private view returns (bytes32[] memory) {\\\\n return set._values;\\\\n }\\\\n\\\\n // Bytes32Set\\\\n\\\\n struct Bytes32Set {\\\\n Set _inner;\\\\n }\\\\n\\\\n /**\\\\n * @dev Add a value to a set. O(1).\\\\n *\\\\n * Returns true if the value was added to the set, that is if it was not\\\\n * already present.\\\\n */\\\\n function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\\\\n return _add(set._inner, value);\\\\n }\\\\n\\\\n /**\\\\n * @dev Removes a value from a set. O(1).\\\\n *\\\\n * Returns true if the value was removed from the set, that is if it was\\\\n * present.\\\\n */\\\\n function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {\\\\n return _remove(set._inner, value);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns true if the value is in the set. O(1).\\\\n */\\\\n function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {\\\\n return _contains(set._inner, value);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the number of values in the set. O(1).\\\\n */\\\\n function length(Bytes32Set storage set) internal view returns (uint256) {\\\\n return _length(set._inner);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the value stored at position `index` in the set. O(1).\\\\n *\\\\n * Note that there are no guarantees on the ordering of values inside the\\\\n * array, and it may change when more values are added or removed.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `index` must be strictly less than {length}.\\\\n */\\\\n function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {\\\\n return _at(set._inner, index);\\\\n }\\\\n\\\\n /**\\\\n * @dev Return the entire set in an array\\\\n *\\\\n * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\\\\n * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\\\\n * this function has an unbounded cost, and using it as part of a state-changing function may render the function\\\\n * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\\\\n */\\\\n function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {\\\\n return _values(set._inner);\\\\n }\\\\n\\\\n // AddressSet\\\\n\\\\n struct AddressSet {\\\\n Set _inner;\\\\n }\\\\n\\\\n /**\\\\n * @dev Add a value to a set. O(1).\\\\n *\\\\n * Returns true if the value was added to the set, that is if it was not\\\\n * already present.\\\\n */\\\\n function add(AddressSet storage set, address value) internal returns (bool) {\\\\n return _add(set._inner, bytes32(uint256(uint160(value))));\\\\n }\\\\n\\\\n /**\\\\n * @dev Removes a value from a set. O(1).\\\\n *\\\\n * Returns true if the value was removed from the set, that is if it was\\\\n * present.\\\\n */\\\\n function remove(AddressSet storage set, address value) internal returns (bool) {\\\\n return _remove(set._inner, bytes32(uint256(uint160(value))));\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns true if the value is in the set. O(1).\\\\n */\\\\n function contains(AddressSet storage set, address value) internal view returns (bool) {\\\\n return _contains(set._inner, bytes32(uint256(uint160(value))));\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the number of values in the set. O(1).\\\\n */\\\\n function length(AddressSet storage set) internal view returns (uint256) {\\\\n return _length(set._inner);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the value stored at position `index` in the set. O(1).\\\\n *\\\\n * Note that there are no guarantees on the ordering of values inside the\\\\n * array, and it may change when more values are added or removed.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `index` must be strictly less than {length}.\\\\n */\\\\n function at(AddressSet storage set, uint256 index) internal view returns (address) {\\\\n return address(uint160(uint256(_at(set._inner, index))));\\\\n }\\\\n\\\\n /**\\\\n * @dev Return the entire set in an array\\\\n *\\\\n * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\\\\n * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\\\\n * this function has an unbounded cost, and using it as part of a state-changing function may render the function\\\\n * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\\\\n */\\\\n function values(AddressSet storage set) internal view returns (address[] memory) {\\\\n bytes32[] memory store = _values(set._inner);\\\\n address[] memory result;\\\\n\\\\n /// @solidity memory-safe-assembly\\\\n assembly {\\\\n result := store\\\\n }\\\\n\\\\n return result;\\\\n }\\\\n\\\\n // UintSet\\\\n\\\\n struct UintSet {\\\\n Set _inner;\\\\n }\\\\n\\\\n /**\\\\n * @dev Add a value to a set. O(1).\\\\n *\\\\n * Returns true if the value was added to the set, that is if it was not\\\\n * already present.\\\\n */\\\\n function add(UintSet storage set, uint256 value) internal returns (bool) {\\\\n return _add(set._inner, bytes32(value));\\\\n }\\\\n\\\\n /**\\\\n * @dev Removes a value from a set. O(1).\\\\n *\\\\n * Returns true if the value was removed from the set, that is if it was\\\\n * present.\\\\n */\\\\n function remove(UintSet storage set, uint256 value) internal returns (bool) {\\\\n return _remove(set._inner, bytes32(value));\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns true if the value is in the set. O(1).\\\\n */\\\\n function contains(UintSet storage set, uint256 value) internal view returns (bool) {\\\\n return _contains(set._inner, bytes32(value));\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the number of values on the set. O(1).\\\\n */\\\\n function length(UintSet storage set) internal view returns (uint256) {\\\\n return _length(set._inner);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the value stored at position `index` in the set. O(1).\\\\n *\\\\n * Note that there are no guarantees on the ordering of values inside the\\\\n * array, and it may change when more values are added or removed.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `index` must be strictly less than {length}.\\\\n */\\\\n function at(UintSet storage set, uint256 index) internal view returns (uint256) {\\\\n return uint256(_at(set._inner, index));\\\\n }\\\\n\\\\n /**\\\\n * @dev Return the entire set in an array\\\\n *\\\\n * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\\\\n * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\\\\n * this function has an unbounded cost, and using it as part of a state-changing function may render the function\\\\n * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\\\\n */\\\\n function values(UintSet storage set) internal view returns (uint256[] memory) {\\\\n bytes32[] memory store = _values(set._inner);\\\\n uint256[] memory result;\\\\n\\\\n /// @solidity memory-safe-assembly\\\\n assembly {\\\\n result := store\\\\n }\\\\n\\\\n return result;\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x5050943b32b6a8f282573d166b2e9d87ab7eb4dbba4ab6acf36ecb54fe6995e4\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/extensions/GatewayV3.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"@openzeppelin/contracts/security/Pausable.sol\\\\\\\";\\\\nimport \\\\\\\"../interfaces/IQuorum.sol\\\\\\\";\\\\nimport \\\\\\\"./collections/HasProxyAdmin.sol\\\\\\\";\\\\n\\\\nabstract contract GatewayV3 is HasProxyAdmin, Pausable, IQuorum {\\\\n uint256 internal _num;\\\\n uint256 internal _denom;\\\\n\\\\n address private ______deprecated;\\\\n uint256 public nonce;\\\\n\\\\n address public emergencyPauser;\\\\n\\\\n /**\\\\n * @dev This empty reserved space is put in place to allow future versions to add new\\\\n * variables without shifting down storage in the inheritance chain.\\\\n */\\\\n uint256[49] private ______gap;\\\\n\\\\n /**\\\\n * @dev Grant emergency pauser role for `_addr`.\\\\n */\\\\n function setEmergencyPauser(address _addr) external onlyProxyAdmin {\\\\n emergencyPauser = _addr;\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IQuorum\\\\n */\\\\n function getThreshold() external view virtual returns (uint256 num_, uint256 denom_) {\\\\n return (_num, _denom);\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IQuorum\\\\n */\\\\n function checkThreshold(uint256 _voteWeight) external view virtual returns (bool) {\\\\n return _voteWeight * _denom >= _num * _getTotalWeight();\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IQuorum\\\\n */\\\\n function setThreshold(uint256 _numerator, uint256 _denominator) external virtual onlyProxyAdmin {\\\\n return _setThreshold(_numerator, _denominator);\\\\n }\\\\n\\\\n /**\\\\n * @dev Triggers paused state.\\\\n */\\\\n function pause() external {\\\\n _requireAuth();\\\\n _pause();\\\\n }\\\\n\\\\n /**\\\\n * @dev Triggers unpaused state.\\\\n */\\\\n function unpause() external {\\\\n _requireAuth();\\\\n _unpause();\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IQuorum\\\\n */\\\\n function minimumVoteWeight() public view virtual returns (uint256) {\\\\n return _minimumVoteWeight(_getTotalWeight());\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets threshold and returns the old one.\\\\n *\\\\n * Emits the `ThresholdUpdated` event.\\\\n *\\\\n */\\\\n function _setThreshold(uint256 num, uint256 denom) internal virtual {\\\\n if (num > denom) revert ErrInvalidThreshold(msg.sig);\\\\n uint256 prevNum = _num;\\\\n uint256 prevDenom = _denom;\\\\n _num = num;\\\\n _denom = denom;\\\\n unchecked {\\\\n emit ThresholdUpdated(nonce++, num, denom, prevNum, prevDenom);\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns minimum vote weight.\\\\n */\\\\n function _minimumVoteWeight(uint256 _totalWeight) internal view virtual returns (uint256) {\\\\n return (_num * _totalWeight + _denom - 1) / _denom;\\\\n }\\\\n\\\\n /**\\\\n * @dev Internal method to check method caller.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - The method caller must be admin or pauser.\\\\n *\\\\n */\\\\n function _requireAuth() private view {\\\\n if (!(msg.sender == _getProxyAdmin() || msg.sender == emergencyPauser)) {\\\\n revert ErrUnauthorized(msg.sig, RoleAccess.ADMIN);\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the total weight.\\\\n */\\\\n function _getTotalWeight() internal view virtual returns (uint256);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x010a0021a377e4b23a4f56269b9c6e3e3fc2684897928ff9b9da1b47c3f07baf\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/extensions/TransparentUpgradeableProxyV2.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol\\\\\\\";\\\\n\\\\ncontract TransparentUpgradeableProxyV2 is TransparentUpgradeableProxy {\\\\n constructor(address _logic, address admin_, bytes memory _data) payable TransparentUpgradeableProxy(_logic, admin_, _data) { }\\\\n\\\\n /**\\\\n * @dev Calls a function from the current implementation as specified by `_data`, which should be an encoded function call.\\\\n *\\\\n * Requirements:\\\\n * - Only the admin can call this function.\\\\n *\\\\n * Note: The proxy admin is not allowed to interact with the proxy logic through the fallback function to avoid\\\\n * triggering some unexpected logic. This is to allow the administrator to explicitly call the proxy, please consider\\\\n * reviewing the encoded data `_data` and the method which is called before using this.\\\\n *\\\\n */\\\\n function functionDelegateCall(bytes memory _data) public payable ifAdmin {\\\\n address _addr = _implementation();\\\\n assembly {\\\\n let _result := delegatecall(gas(), _addr, add(_data, 32), mload(_data), 0, 0)\\\\n returndatacopy(0, 0, returndatasize())\\\\n switch _result\\\\n case 0 { revert(0, returndatasize()) }\\\\n default { return(0, returndatasize()) }\\\\n }\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x45fc7b71d09da99414b977a56e586b3604670d865e5f36f395d5c98bc4ba64af\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/extensions/WethUnwrapper.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"@openzeppelin/contracts/security/ReentrancyGuard.sol\\\\\\\";\\\\nimport \\\\\\\"../interfaces/IWETH.sol\\\\\\\";\\\\n\\\\ncontract WethUnwrapper is ReentrancyGuard {\\\\n IWETH public immutable weth;\\\\n\\\\n error ErrCannotTransferFrom();\\\\n error ErrNotWrappedContract();\\\\n error ErrExternalCallFailed(address sender, bytes4 sig);\\\\n\\\\n constructor(address weth_) {\\\\n if (address(weth_).code.length == 0) revert ErrNotWrappedContract();\\\\n weth = IWETH(weth_);\\\\n }\\\\n\\\\n fallback() external payable {\\\\n _fallback();\\\\n }\\\\n\\\\n receive() external payable {\\\\n _fallback();\\\\n }\\\\n\\\\n function unwrap(uint256 amount) external nonReentrant {\\\\n _deductWrappedAndWithdraw(amount);\\\\n _sendNativeTo(payable(msg.sender), amount);\\\\n }\\\\n\\\\n function unwrapTo(uint256 amount, address payable to) external nonReentrant {\\\\n _deductWrappedAndWithdraw(amount);\\\\n _sendNativeTo(payable(to), amount);\\\\n }\\\\n\\\\n function _deductWrappedAndWithdraw(uint256 amount) internal {\\\\n (bool success,) = address(weth).call(abi.encodeCall(IWETH.transferFrom, (msg.sender, address(this), amount)));\\\\n if (!success) revert ErrCannotTransferFrom();\\\\n\\\\n weth.withdraw(amount);\\\\n }\\\\n\\\\n function _sendNativeTo(address payable to, uint256 val) internal {\\\\n (bool success,) = to.call{ value: val }(\\\\\\\"\\\\\\\");\\\\n if (!success) {\\\\n revert ErrExternalCallFailed(to, msg.sig);\\\\n }\\\\n }\\\\n\\\\n function _fallback() internal view {\\\\n if (msg.sender != address(weth)) revert ErrNotWrappedContract();\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x5f7b72d9ed8944724d2f228358d565a61ea345cba1883e5424fb801bebc758ff\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/extensions/WithdrawalLimitation.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./GatewayV3.sol\\\\\\\";\\\\n\\\\nabstract contract WithdrawalLimitation is GatewayV3 {\\\\n /// @dev Error of invalid percentage.\\\\n error ErrInvalidPercentage();\\\\n\\\\n /// @dev Emitted when the high-tier vote weight threshold is updated\\\\n event HighTierVoteWeightThresholdUpdated(\\\\n uint256 indexed nonce, uint256 indexed numerator, uint256 indexed denominator, uint256 previousNumerator, uint256 previousDenominator\\\\n );\\\\n /// @dev Emitted when the thresholds for high-tier withdrawals that requires high-tier vote weights are updated\\\\n event HighTierThresholdsUpdated(address[] tokens, uint256[] thresholds);\\\\n /// @dev Emitted when the thresholds for locked withdrawals are updated\\\\n event LockedThresholdsUpdated(address[] tokens, uint256[] thresholds);\\\\n /// @dev Emitted when the fee percentages to unlock withdraw are updated\\\\n event UnlockFeePercentagesUpdated(address[] tokens, uint256[] percentages);\\\\n /// @dev Emitted when the daily limit thresholds are updated\\\\n event DailyWithdrawalLimitsUpdated(address[] tokens, uint256[] limits);\\\\n\\\\n uint256 public constant _MAX_PERCENTAGE = 1_000_000;\\\\n\\\\n uint256 internal _highTierVWNum;\\\\n uint256 internal _highTierVWDenom;\\\\n\\\\n /// @dev Mapping from mainchain token => the amount thresholds for high-tier withdrawals that requires high-tier vote weights\\\\n mapping(address => uint256) public highTierThreshold;\\\\n /// @dev Mapping from mainchain token => the amount thresholds to lock withdrawal\\\\n mapping(address => uint256) public lockedThreshold;\\\\n /// @dev Mapping from mainchain token => unlock fee percentages for unlocker\\\\n /// @notice Values 0-1,000,000 map to 0%-100%\\\\n mapping(address => uint256) public unlockFeePercentages;\\\\n /// @dev Mapping from mainchain token => daily limit amount for withdrawal\\\\n mapping(address => uint256) public dailyWithdrawalLimit;\\\\n /// @dev Mapping from token address => today withdrawal amount\\\\n mapping(address => uint256) public lastSyncedWithdrawal;\\\\n /// @dev Mapping from token address => last date synced to record the `lastSyncedWithdrawal`\\\\n mapping(address => uint256) public lastDateSynced;\\\\n\\\\n /**\\\\n * @dev This empty reserved space is put in place to allow future versions to add new\\\\n * variables without shifting down storage in the inheritance chain.\\\\n */\\\\n uint256[50] private ______gap;\\\\n\\\\n /**\\\\n * @dev Override `GatewayV3-setThreshold`.\\\\n *\\\\n * Requirements:\\\\n * - The high-tier vote weight threshold must equal to or larger than the normal threshold.\\\\n *\\\\n */\\\\n function setThreshold(uint256 num, uint256 denom) external virtual override onlyProxyAdmin {\\\\n _setThreshold(num, denom);\\\\n _verifyThresholds();\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the high-tier vote weight threshold.\\\\n */\\\\n function getHighTierVoteWeightThreshold() external view virtual returns (uint256, uint256) {\\\\n return (_highTierVWNum, _highTierVWDenom);\\\\n }\\\\n\\\\n /**\\\\n * @dev Checks whether the `_voteWeight` passes the high-tier vote weight threshold.\\\\n */\\\\n function checkHighTierVoteWeightThreshold(uint256 _voteWeight) external view virtual returns (bool) {\\\\n return _voteWeight * _highTierVWDenom >= _highTierVWNum * _getTotalWeight();\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets high-tier vote weight threshold and returns the old one.\\\\n *\\\\n * Requirements:\\\\n * - The method caller is admin.\\\\n * - The high-tier vote weight threshold must equal to or larger than the normal threshold.\\\\n *\\\\n * Emits the `HighTierVoteWeightThresholdUpdated` event.\\\\n *\\\\n */\\\\n function setHighTierVoteWeightThreshold(\\\\n uint256 _numerator,\\\\n uint256 _denominator\\\\n ) external virtual onlyProxyAdmin returns (uint256 _previousNum, uint256 _previousDenom) {\\\\n (_previousNum, _previousDenom) = _setHighTierVoteWeightThreshold(_numerator, _denominator);\\\\n _verifyThresholds();\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets the thresholds for high-tier withdrawals that requires high-tier vote weights.\\\\n *\\\\n * Requirements:\\\\n * - The method caller is admin.\\\\n * - The arrays have the same length and its length larger than 0.\\\\n *\\\\n * Emits the `HighTierThresholdsUpdated` event.\\\\n *\\\\n */\\\\n function setHighTierThresholds(address[] calldata _tokens, uint256[] calldata _thresholds) external virtual onlyProxyAdmin {\\\\n if (_tokens.length == 0) revert ErrEmptyArray();\\\\n _setHighTierThresholds(_tokens, _thresholds);\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets the amount thresholds to lock withdrawal.\\\\n *\\\\n * Requirements:\\\\n * - The method caller is admin.\\\\n * - The arrays have the same length and its length larger than 0.\\\\n *\\\\n * Emits the `LockedThresholdsUpdated` event.\\\\n *\\\\n */\\\\n function setLockedThresholds(address[] calldata _tokens, uint256[] calldata _thresholds) external virtual onlyProxyAdmin {\\\\n if (_tokens.length == 0) revert ErrEmptyArray();\\\\n _setLockedThresholds(_tokens, _thresholds);\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets fee percentages to unlock withdrawal.\\\\n *\\\\n * Requirements:\\\\n * - The method caller is admin.\\\\n * - The arrays have the same length and its length larger than 0.\\\\n *\\\\n * Emits the `UnlockFeePercentagesUpdated` event.\\\\n *\\\\n */\\\\n function setUnlockFeePercentages(address[] calldata _tokens, uint256[] calldata _percentages) external virtual onlyProxyAdmin {\\\\n if (_tokens.length == 0) revert ErrEmptyArray();\\\\n _setUnlockFeePercentages(_tokens, _percentages);\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets daily limit amounts for the withdrawals.\\\\n *\\\\n * Requirements:\\\\n * - The method caller is admin.\\\\n * - The arrays have the same length and its length larger than 0.\\\\n *\\\\n * Emits the `DailyWithdrawalLimitsUpdated` event.\\\\n *\\\\n */\\\\n function setDailyWithdrawalLimits(address[] calldata _tokens, uint256[] calldata _limits) external virtual onlyProxyAdmin {\\\\n if (_tokens.length == 0) revert ErrEmptyArray();\\\\n _setDailyWithdrawalLimits(_tokens, _limits);\\\\n }\\\\n\\\\n /**\\\\n * @dev Checks whether the withdrawal reaches the limitation.\\\\n */\\\\n function reachedWithdrawalLimit(address _token, uint256 _quantity) external view virtual returns (bool) {\\\\n return _reachedWithdrawalLimit(_token, _quantity);\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets high-tier vote weight threshold and returns the old one.\\\\n *\\\\n * Emits the `HighTierVoteWeightThresholdUpdated` event.\\\\n *\\\\n */\\\\n function _setHighTierVoteWeightThreshold(uint256 _numerator, uint256 _denominator) internal returns (uint256 _previousNum, uint256 _previousDenom) {\\\\n if (_numerator > _denominator) revert ErrInvalidThreshold(msg.sig);\\\\n\\\\n _previousNum = _highTierVWNum;\\\\n _previousDenom = _highTierVWDenom;\\\\n _highTierVWNum = _numerator;\\\\n _highTierVWDenom = _denominator;\\\\n\\\\n unchecked {\\\\n emit HighTierVoteWeightThresholdUpdated(nonce++, _numerator, _denominator, _previousNum, _previousDenom);\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets the thresholds for high-tier withdrawals that requires high-tier vote weights.\\\\n *\\\\n * Requirements:\\\\n * - The array lengths are equal.\\\\n *\\\\n * Emits the `HighTierThresholdsUpdated` event.\\\\n *\\\\n */\\\\n function _setHighTierThresholds(address[] calldata _tokens, uint256[] calldata _thresholds) internal virtual {\\\\n if (_tokens.length != _thresholds.length) revert ErrLengthMismatch(msg.sig);\\\\n\\\\n for (uint256 _i; _i < _tokens.length;) {\\\\n highTierThreshold[_tokens[_i]] = _thresholds[_i];\\\\n\\\\n unchecked {\\\\n ++_i;\\\\n }\\\\n }\\\\n emit HighTierThresholdsUpdated(_tokens, _thresholds);\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets the amount thresholds to lock withdrawal.\\\\n *\\\\n * Requirements:\\\\n * - The array lengths are equal.\\\\n *\\\\n * Emits the `LockedThresholdsUpdated` event.\\\\n *\\\\n */\\\\n function _setLockedThresholds(address[] calldata _tokens, uint256[] calldata _thresholds) internal virtual {\\\\n if (_tokens.length != _thresholds.length) revert ErrLengthMismatch(msg.sig);\\\\n\\\\n for (uint256 _i; _i < _tokens.length;) {\\\\n lockedThreshold[_tokens[_i]] = _thresholds[_i];\\\\n\\\\n unchecked {\\\\n ++_i;\\\\n }\\\\n }\\\\n emit LockedThresholdsUpdated(_tokens, _thresholds);\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets fee percentages to unlock withdrawal.\\\\n *\\\\n * Requirements:\\\\n * - The array lengths are equal.\\\\n * - The percentage is equal to or less than 100_000.\\\\n *\\\\n * Emits the `UnlockFeePercentagesUpdated` event.\\\\n *\\\\n */\\\\n function _setUnlockFeePercentages(address[] calldata _tokens, uint256[] calldata _percentages) internal virtual {\\\\n if (_tokens.length != _percentages.length) revert ErrLengthMismatch(msg.sig);\\\\n\\\\n for (uint256 _i; _i < _tokens.length;) {\\\\n if (_percentages[_i] > _MAX_PERCENTAGE) revert ErrInvalidPercentage();\\\\n\\\\n unlockFeePercentages[_tokens[_i]] = _percentages[_i];\\\\n\\\\n unchecked {\\\\n ++_i;\\\\n }\\\\n }\\\\n emit UnlockFeePercentagesUpdated(_tokens, _percentages);\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets daily limit amounts for the withdrawals.\\\\n *\\\\n * Requirements:\\\\n * - The array lengths are equal.\\\\n *\\\\n * Emits the `DailyWithdrawalLimitsUpdated` event.\\\\n *\\\\n */\\\\n function _setDailyWithdrawalLimits(address[] calldata _tokens, uint256[] calldata _limits) internal virtual {\\\\n if (_tokens.length != _limits.length) revert ErrLengthMismatch(msg.sig);\\\\n\\\\n for (uint256 _i; _i < _tokens.length;) {\\\\n dailyWithdrawalLimit[_tokens[_i]] = _limits[_i];\\\\n\\\\n unchecked {\\\\n ++_i;\\\\n }\\\\n }\\\\n emit DailyWithdrawalLimitsUpdated(_tokens, _limits);\\\\n }\\\\n\\\\n /**\\\\n * @dev Checks whether the withdrawal reaches the daily limitation.\\\\n *\\\\n * Requirements:\\\\n * - The daily withdrawal threshold should not apply for locked withdrawals.\\\\n *\\\\n */\\\\n function _reachedWithdrawalLimit(address _token, uint256 _quantity) internal view virtual returns (bool) {\\\\n if (_lockedWithdrawalRequest(_token, _quantity)) {\\\\n return false;\\\\n }\\\\n\\\\n uint256 _currentDate = block.timestamp / 1 days;\\\\n if (_currentDate > lastDateSynced[_token]) {\\\\n return dailyWithdrawalLimit[_token] <= _quantity;\\\\n } else {\\\\n return dailyWithdrawalLimit[_token] <= lastSyncedWithdrawal[_token] + _quantity;\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Record withdrawal token.\\\\n */\\\\n function _recordWithdrawal(address _token, uint256 _quantity) internal virtual {\\\\n uint256 _currentDate = block.timestamp / 1 days;\\\\n if (_currentDate > lastDateSynced[_token]) {\\\\n lastDateSynced[_token] = _currentDate;\\\\n lastSyncedWithdrawal[_token] = _quantity;\\\\n } else {\\\\n lastSyncedWithdrawal[_token] += _quantity;\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns whether the withdrawal request is locked or not.\\\\n */\\\\n function _lockedWithdrawalRequest(address _token, uint256 _quantity) internal view virtual returns (bool) {\\\\n return lockedThreshold[_token] <= _quantity;\\\\n }\\\\n\\\\n /**\\\\n * @dev Computes fee percentage.\\\\n */\\\\n function _computeFeePercentage(uint256 _amount, uint256 _percentage) internal view virtual returns (uint256) {\\\\n return (_amount * _percentage) / _MAX_PERCENTAGE;\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns high-tier vote weight.\\\\n */\\\\n function _highTierVoteWeight(uint256 _totalWeight) internal view virtual returns (uint256) {\\\\n return (_highTierVWNum * _totalWeight + _highTierVWDenom - 1) / _highTierVWDenom;\\\\n }\\\\n\\\\n /**\\\\n * @dev Validates whether the high-tier vote weight threshold is larger than the normal threshold.\\\\n */\\\\n function _verifyThresholds() internal view {\\\\n if (_num * _highTierVWDenom > _highTierVWNum * _denom) revert ErrInvalidThreshold(msg.sig);\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x4b7d559d4b1f53239b8690776318db8d63f578f72fb269d8024570aa70c2c2a6\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/extensions/collections/HasContracts.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport { HasProxyAdmin } from \\\\\\\"./HasProxyAdmin.sol\\\\\\\";\\\\nimport \\\\\\\"../../interfaces/collections/IHasContracts.sol\\\\\\\";\\\\nimport { IdentityGuard } from \\\\\\\"../../utils/IdentityGuard.sol\\\\\\\";\\\\nimport { ErrUnexpectedInternalCall } from \\\\\\\"../../utils/CommonErrors.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @title HasContracts\\\\n * @dev A contract that provides functionality to manage multiple contracts with different roles.\\\\n */\\\\nabstract contract HasContracts is HasProxyAdmin, IHasContracts, IdentityGuard {\\\\n /// @dev value is equal to keccak256(\\\\\\\"@ronin.dpos.collections.HasContracts.slot\\\\\\\") - 1\\\\n bytes32 private constant _STORAGE_SLOT = 0xdea3103d22025c269050bea94c0c84688877f12fa22b7e6d2d5d78a9a49aa1cb;\\\\n\\\\n /**\\\\n * @dev Modifier to restrict access to functions only to contracts with a specific role.\\\\n * @param contractType The contract type that allowed to call\\\\n */\\\\n modifier onlyContract(ContractType contractType) virtual {\\\\n _requireContract(contractType);\\\\n _;\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IHasContracts\\\\n */\\\\n function setContract(ContractType contractType, address addr) external virtual onlyProxyAdmin {\\\\n _requireHasCode(addr);\\\\n _setContract(contractType, addr);\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IHasContracts\\\\n */\\\\n function getContract(ContractType contractType) public view returns (address contract_) {\\\\n contract_ = _getContractMap()[uint8(contractType)];\\\\n if (contract_ == address(0)) revert ErrContractTypeNotFound(contractType);\\\\n }\\\\n\\\\n /**\\\\n * @dev Internal function to set the address of a contract with a specific role.\\\\n * @param contractType The contract type of the contract to set.\\\\n * @param addr The address of the contract to set.\\\\n */\\\\n function _setContract(ContractType contractType, address addr) internal virtual {\\\\n _getContractMap()[uint8(contractType)] = addr;\\\\n emit ContractUpdated(contractType, addr);\\\\n }\\\\n\\\\n /**\\\\n * @dev Internal function to access the mapping of contract addresses with roles.\\\\n * @return contracts_ The mapping of contract addresses with roles.\\\\n */\\\\n function _getContractMap() private pure returns (mapping(uint8 => address) storage contracts_) {\\\\n assembly {\\\\n contracts_.slot := _STORAGE_SLOT\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Internal function to check if the calling contract has a specific role.\\\\n * @param contractType The contract type that the calling contract must have.\\\\n * @dev Throws an error if the calling contract does not have the specified role.\\\\n */\\\\n function _requireContract(ContractType contractType) private view {\\\\n if (msg.sender != getContract(contractType)) {\\\\n revert ErrUnexpectedInternalCall(msg.sig, contractType, msg.sender);\\\\n }\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xf7dbefa31230e6e4bd319f02d94893cbfd07ee12a0e016f5fadc57660df01891\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/extensions/collections/HasProxyAdmin.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"@openzeppelin/contracts/utils/StorageSlot.sol\\\\\\\";\\\\nimport \\\\\\\"../../utils/CommonErrors.sol\\\\\\\";\\\\n\\\\nabstract contract HasProxyAdmin {\\\\n // bytes32(uint256(keccak256(\\\\\\\"eip1967.proxy.admin\\\\\\\")) - 1));\\\\n bytes32 private constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;\\\\n\\\\n modifier onlyProxyAdmin() {\\\\n _requireProxyAdmin();\\\\n _;\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns proxy admin.\\\\n */\\\\n function _getProxyAdmin() internal view virtual returns (address) {\\\\n return StorageSlot.getAddressSlot(_ADMIN_SLOT).value;\\\\n }\\\\n\\\\n function _requireProxyAdmin() internal view {\\\\n if (msg.sender != _getProxyAdmin()) revert ErrUnauthorized(msg.sig, RoleAccess.ADMIN);\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xad3db02c99a960b60151f2ad45eed46073d14fe1ed861f496c7aeefacbbc528e\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/interfaces/IMainchainGatewayV3.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./IWETH.sol\\\\\\\";\\\\nimport \\\\\\\"./consumers/SignatureConsumer.sol\\\\\\\";\\\\nimport \\\\\\\"./consumers/MappedTokenConsumer.sol\\\\\\\";\\\\nimport \\\\\\\"../libraries/Transfer.sol\\\\\\\";\\\\n\\\\ninterface IMainchainGatewayV3 is SignatureConsumer, MappedTokenConsumer {\\\\n /**\\\\n * @dev Error indicating that a query was made for an approved withdrawal.\\\\n */\\\\n error ErrQueryForApprovedWithdrawal();\\\\n\\\\n /**\\\\n * @dev Error indicating that the daily withdrawal limit has been reached.\\\\n */\\\\n error ErrReachedDailyWithdrawalLimit();\\\\n\\\\n /**\\\\n * @dev Error indicating that a query was made for a processed withdrawal.\\\\n */\\\\n error ErrQueryForProcessedWithdrawal();\\\\n\\\\n /**\\\\n * @dev Error indicating that a query was made for insufficient vote weight.\\\\n */\\\\n error ErrQueryForInsufficientVoteWeight();\\\\n\\\\n /// @dev Emitted when the deposit is requested\\\\n event DepositRequested(bytes32 receiptHash, Transfer.Receipt receipt);\\\\n /// @dev Emitted when the assets are withdrawn\\\\n event Withdrew(bytes32 receiptHash, Transfer.Receipt receipt);\\\\n /// @dev Emitted when the tokens are mapped\\\\n event TokenMapped(address[] mainchainTokens, address[] roninTokens, TokenStandard[] standards);\\\\n /// @dev Emitted when the wrapped native token contract is updated\\\\n event WrappedNativeTokenContractUpdated(IWETH weth);\\\\n /// @dev Emitted when the withdrawal is locked\\\\n event WithdrawalLocked(bytes32 receiptHash, Transfer.Receipt receipt);\\\\n /// @dev Emitted when the withdrawal is unlocked\\\\n event WithdrawalUnlocked(bytes32 receiptHash, Transfer.Receipt receipt);\\\\n\\\\n /**\\\\n * @dev Returns the domain seperator.\\\\n */\\\\n function DOMAIN_SEPARATOR() external view returns (bytes32);\\\\n\\\\n /**\\\\n * @dev Returns deposit count.\\\\n */\\\\n function depositCount() external view returns (uint256);\\\\n\\\\n /**\\\\n * @dev Sets the wrapped native token contract.\\\\n *\\\\n * Requirements:\\\\n * - The method caller is admin.\\\\n *\\\\n * Emits the `WrappedNativeTokenContractUpdated` event.\\\\n *\\\\n */\\\\n function setWrappedNativeTokenContract(IWETH _wrappedToken) external;\\\\n\\\\n /**\\\\n * @dev Returns whether the withdrawal is locked.\\\\n */\\\\n function withdrawalLocked(uint256 withdrawalId) external view returns (bool);\\\\n\\\\n /**\\\\n * @dev Returns the withdrawal hash.\\\\n */\\\\n function withdrawalHash(uint256 withdrawalId) external view returns (bytes32);\\\\n\\\\n /**\\\\n * @dev Locks the assets and request deposit.\\\\n */\\\\n function requestDepositFor(Transfer.Request calldata _request) external payable;\\\\n\\\\n /**\\\\n * @dev Locks the assets and request deposit for batch.\\\\n */\\\\n function requestDepositForBatch(Transfer.Request[] calldata requests) external payable;\\\\n\\\\n /**\\\\n * @dev Withdraws based on the receipt and the validator signatures.\\\\n * Returns whether the withdrawal is locked.\\\\n *\\\\n * Emits the `Withdrew` once the assets are released.\\\\n *\\\\n */\\\\n function submitWithdrawal(Transfer.Receipt memory _receipt, Signature[] memory _signatures) external returns (bool _locked);\\\\n\\\\n /**\\\\n * @dev Approves a specific withdrawal.\\\\n *\\\\n * Requirements:\\\\n * - The method caller is a validator.\\\\n *\\\\n * Emits the `Withdrew` once the assets are released.\\\\n *\\\\n */\\\\n function unlockWithdrawal(Transfer.Receipt calldata _receipt) external;\\\\n\\\\n /**\\\\n * @dev Maps mainchain tokens to Ronin network.\\\\n *\\\\n * Requirement:\\\\n * - The method caller is admin.\\\\n * - The arrays have the same length and its length larger than 0.\\\\n *\\\\n * Emits the `TokenMapped` event.\\\\n *\\\\n */\\\\n function mapTokens(address[] calldata _mainchainTokens, address[] calldata _roninTokens, TokenStandard[] calldata _standards) external;\\\\n\\\\n /**\\\\n * @dev Maps mainchain tokens to Ronin network and sets thresholds.\\\\n *\\\\n * Requirement:\\\\n * - The method caller is admin.\\\\n * - The arrays have the same length and its length larger than 0.\\\\n *\\\\n * Emits the `TokenMapped` event.\\\\n *\\\\n */\\\\n function mapTokensAndThresholds(\\\\n address[] calldata _mainchainTokens,\\\\n address[] calldata _roninTokens,\\\\n TokenStandard[] calldata _standards,\\\\n uint256[][4] calldata _thresholds\\\\n ) external;\\\\n\\\\n /**\\\\n * @dev Returns token address on Ronin network.\\\\n * Note: Reverts for unsupported token.\\\\n */\\\\n function getRoninToken(address _mainchainToken) external view returns (MappedToken memory _token);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x77b52c1dce7c096d298e0ae14d19d79cb1d506248e947fdee27f295b33743d46\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/interfaces/IQuorum.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\ninterface IQuorum {\\\\n /// @dev Emitted when the threshold is updated\\\\n event ThresholdUpdated(uint256 indexed nonce, uint256 indexed numerator, uint256 indexed denominator, uint256 previousNumerator, uint256 previousDenominator);\\\\n\\\\n /**\\\\n * @dev Returns the threshold.\\\\n */\\\\n function getThreshold() external view returns (uint256 _num, uint256 _denom);\\\\n\\\\n /**\\\\n * @dev Checks whether the `_voteWeight` passes the threshold.\\\\n */\\\\n function checkThreshold(uint256 _voteWeight) external view returns (bool);\\\\n\\\\n /**\\\\n * @dev Returns the minimum vote weight to pass the threshold.\\\\n */\\\\n function minimumVoteWeight() external view returns (uint256);\\\\n\\\\n /**\\\\n * @dev Sets the threshold.\\\\n *\\\\n * Requirements:\\\\n * - The method caller is admin.\\\\n *\\\\n * Emits the `ThresholdUpdated` event.\\\\n *\\\\n */\\\\n function setThreshold(uint256 numerator, uint256 denominator) external;\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xc924e9480f59acc9bc8c033f05d3be9451de5cee0c224d76d4542fa5b67fa10f\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/interfaces/IWETH.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\ninterface IWETH {\\\\n event Transfer(address indexed src, address indexed dst, uint wad);\\\\n\\\\n function deposit() external payable;\\\\n\\\\n function transfer(address dst, uint wad) external returns (bool);\\\\n\\\\n function approve(address guy, uint wad) external returns (bool);\\\\n\\\\n function transferFrom(address src, address dst, uint wad) external returns (bool);\\\\n\\\\n function withdraw(uint256 _wad) external;\\\\n\\\\n function balanceOf(address) external view returns (uint256);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x000700e2b9c1985d53bb1cdba435f0f3d7b48e76e596e7dbbdfec1da47131415\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/interfaces/bridge/IBridgeManager.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport { IBridgeManagerEvents } from \\\\\\\"./events/IBridgeManagerEvents.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @title IBridgeManager\\\\n * @dev The interface for managing bridge operators.\\\\n */\\\\ninterface IBridgeManager is IBridgeManagerEvents {\\\\n /// @notice Error indicating that cannot find the querying operator\\\\n error ErrOperatorNotFound(address operator);\\\\n /// @notice Error indicating that cannot find the querying governor\\\\n error ErrGovernorNotFound(address governor);\\\\n /// @notice Error indicating that the msg.sender is not match the required governor\\\\n error ErrGovernorNotMatch(address required, address sender);\\\\n /// @notice Error indicating that the governors list will go below minimum number of required governor.\\\\n error ErrBelowMinRequiredGovernors();\\\\n /// @notice Common invalid input error\\\\n error ErrInvalidInput();\\\\n\\\\n /**\\\\n * @dev The domain separator used for computing hash digests in the contract.\\\\n */\\\\n function DOMAIN_SEPARATOR() external view returns (bytes32);\\\\n\\\\n /**\\\\n * @dev Returns the total number of bridge operators.\\\\n * @return The total number of bridge operators.\\\\n */\\\\n function totalBridgeOperator() external view returns (uint256);\\\\n\\\\n /**\\\\n * @dev Checks if the given address is a bridge operator.\\\\n * @param addr The address to check.\\\\n * @return A boolean indicating whether the address is a bridge operator.\\\\n */\\\\n function isBridgeOperator(address addr) external view returns (bool);\\\\n\\\\n /**\\\\n * @dev Retrieves the full information of all registered bridge operators.\\\\n *\\\\n * This external function allows external callers to obtain the full information of all the registered bridge operators.\\\\n * The returned arrays include the addresses of governors, bridge operators, and their corresponding vote weights.\\\\n *\\\\n * @return governors An array of addresses representing the governors of each bridge operator.\\\\n * @return bridgeOperators An array of addresses representing the registered bridge operators.\\\\n * @return weights An array of uint256 values representing the vote weights of each bridge operator.\\\\n *\\\\n * Note: The length of each array will be the same, and the order of elements corresponds to the same bridge operator.\\\\n *\\\\n * Example Usage:\\\\n * ```\\\\n * (address[] memory governors, address[] memory bridgeOperators, uint256[] memory weights) = getFullBridgeOperatorInfos();\\\\n * for (uint256 i = 0; i < bridgeOperators.length; i++) {\\\\n * // Access individual information for each bridge operator.\\\\n * address governor = governors[i];\\\\n * address bridgeOperator = bridgeOperators[i];\\\\n * uint256 weight = weights[i];\\\\n * // ... (Process or use the information as required) ...\\\\n * }\\\\n * ```\\\\n *\\\\n */\\\\n function getFullBridgeOperatorInfos() external view returns (address[] memory governors, address[] memory bridgeOperators, uint96[] memory weights);\\\\n\\\\n /**\\\\n * @dev Returns total weights of the governor list.\\\\n */\\\\n function sumGovernorsWeight(address[] calldata governors) external view returns (uint256 sum);\\\\n\\\\n /**\\\\n * @dev Returns total weights.\\\\n */\\\\n function getTotalWeight() external view returns (uint256);\\\\n\\\\n /**\\\\n * @dev Returns an array of all bridge operators.\\\\n * @return An array containing the addresses of all bridge operators.\\\\n */\\\\n function getBridgeOperators() external view returns (address[] memory);\\\\n\\\\n /**\\\\n * @dev Returns the corresponding `operator` of a `governor`.\\\\n */\\\\n function getOperatorOf(address governor) external view returns (address operator);\\\\n\\\\n /**\\\\n * @dev Returns the corresponding `governor` of a `operator`.\\\\n */\\\\n function getGovernorOf(address operator) external view returns (address governor);\\\\n\\\\n /**\\\\n * @dev External function to retrieve the vote weight of a specific governor.\\\\n * @param governor The address of the governor to get the vote weight for.\\\\n * @return voteWeight The vote weight of the specified governor.\\\\n */\\\\n function getGovernorWeight(address governor) external view returns (uint96);\\\\n\\\\n /**\\\\n * @dev External function to retrieve the vote weight of a specific bridge operator.\\\\n * @param bridgeOperator The address of the bridge operator to get the vote weight for.\\\\n * @return weight The vote weight of the specified bridge operator.\\\\n */\\\\n function getBridgeOperatorWeight(address bridgeOperator) external view returns (uint96 weight);\\\\n\\\\n /**\\\\n * @dev Returns the weights of a list of governor addresses.\\\\n */\\\\n function getGovernorWeights(address[] calldata governors) external view returns (uint96[] memory weights);\\\\n\\\\n /**\\\\n * @dev Returns an array of all governors.\\\\n * @return An array containing the addresses of all governors.\\\\n */\\\\n function getGovernors() external view returns (address[] memory);\\\\n\\\\n /**\\\\n * @dev Adds multiple bridge operators.\\\\n * @param governors An array of addresses of hot/cold wallets for bridge operator to update their node address.\\\\n * @param bridgeOperators An array of addresses representing the bridge operators to add.\\\\n */\\\\n function addBridgeOperators(uint96[] calldata voteWeights, address[] calldata governors, address[] calldata bridgeOperators) external;\\\\n\\\\n /**\\\\n * @dev Removes multiple bridge operators.\\\\n * @param bridgeOperators An array of addresses representing the bridge operators to remove.\\\\n */\\\\n function removeBridgeOperators(address[] calldata bridgeOperators) external;\\\\n\\\\n /**\\\\n * @dev Self-call to update the minimum required governor.\\\\n * @param min The minimum number, this must not less than 3.\\\\n */\\\\n function setMinRequiredGovernor(uint min) external;\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xefc46318a240371031e77ef3c355e2c18432e4479145378de6782277f9b44923\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/interfaces/bridge/IBridgeManagerCallback.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport { IERC165 } from \\\\\\\"@openzeppelin/contracts/utils/introspection/IERC165.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @title IBridgeManagerCallback\\\\n * @dev Interface for the callback functions to be implemented by the Bridge Manager contract.\\\\n */\\\\ninterface IBridgeManagerCallback is IERC165 {\\\\n /**\\\\n * @dev Handles the event when bridge operators are added.\\\\n * @param bridgeOperators The addresses of the bridge operators.\\\\n * @param addeds The corresponding boolean values indicating whether the operators were added or not.\\\\n * @return selector The selector of the function being called.\\\\n */\\\\n function onBridgeOperatorsAdded(address[] memory bridgeOperators, uint96[] calldata weights, bool[] memory addeds) external returns (bytes4 selector);\\\\n\\\\n /**\\\\n * @dev Handles the event when bridge operators are removed.\\\\n * @param bridgeOperators The addresses of the bridge operators.\\\\n * @param removeds The corresponding boolean values indicating whether the operators were removed or not.\\\\n * @return selector The selector of the function being called.\\\\n */\\\\n function onBridgeOperatorsRemoved(address[] memory bridgeOperators, bool[] memory removeds) external returns (bytes4 selector);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x6c8ce7e2478e28c5ed5e6f5d8305a77d6d5f9125a47adfb77632940b9a0f3625\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/interfaces/bridge/events/IBridgeManagerEvents.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\ninterface IBridgeManagerEvents {\\\\n /**\\\\n * @dev Emitted when new bridge operators are added.\\\\n */\\\\n event BridgeOperatorsAdded(bool[] statuses, uint96[] voteWeights, address[] governors, address[] bridgeOperators);\\\\n\\\\n /**\\\\n * @dev Emitted when a bridge operator is failed to add.\\\\n */\\\\n event BridgeOperatorAddingFailed(address indexed operator);\\\\n\\\\n /**\\\\n * @dev Emitted when bridge operators are removed.\\\\n */\\\\n event BridgeOperatorsRemoved(bool[] statuses, address[] bridgeOperators);\\\\n\\\\n /**\\\\n * @dev Emitted when a bridge operator is failed to remove.\\\\n */\\\\n event BridgeOperatorRemovingFailed(address indexed operator);\\\\n\\\\n /**\\\\n * @dev Emitted when a bridge operator is updated.\\\\n */\\\\n event BridgeOperatorUpdated(address indexed governor, address indexed fromBridgeOperator, address indexed toBridgeOperator);\\\\n\\\\n /**\\\\n * @dev Emitted when the minimum number of required governors is updated.\\\\n */\\\\n event MinRequiredGovernorUpdated(uint min);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x38bc3709c98a7c08fb9b6fa3e07a725903dcb0bd07de8a828bac6c3bcf7d997d\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/interfaces/collections/IHasContracts.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity ^0.8.9;\\\\n\\\\nimport { ContractType } from \\\\\\\"../../utils/ContractType.sol\\\\\\\";\\\\n\\\\ninterface IHasContracts {\\\\n /// @dev Error of invalid role.\\\\n error ErrContractTypeNotFound(ContractType contractType);\\\\n\\\\n /// @dev Emitted when a contract is updated.\\\\n event ContractUpdated(ContractType indexed contractType, address indexed addr);\\\\n\\\\n /**\\\\n * @dev Returns the address of a contract with a specific role.\\\\n * Throws an error if no contract is set for the specified role.\\\\n *\\\\n * @param contractType The role of the contract to retrieve.\\\\n * @return contract_ The address of the contract with the specified role.\\\\n */\\\\n function getContract(ContractType contractType) external view returns (address contract_);\\\\n\\\\n /**\\\\n * @dev Sets the address of a contract with a specific role.\\\\n * Emits the event {ContractUpdated}.\\\\n * @param contractType The role of the contract to set.\\\\n * @param addr The address of the contract to set.\\\\n */\\\\n function setContract(ContractType contractType, address addr) external;\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x99d8213d857e30d367155abd15dc42730afdfbbac3a22dfb3b95ffea2083a92e\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/interfaces/consumers/MappedTokenConsumer.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../../libraries/LibTokenInfo.sol\\\\\\\";\\\\n\\\\ninterface MappedTokenConsumer {\\\\n struct MappedToken {\\\\n TokenStandard erc;\\\\n address tokenAddr;\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xc53dcba9dc7d950ab6561149f76b45617ddbce5037e4c86ea00b976018bbfde1\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/interfaces/consumers/SignatureConsumer.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\ninterface SignatureConsumer {\\\\n struct Signature {\\\\n uint8 v;\\\\n bytes32 r;\\\\n bytes32 s;\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xd370e350722067097dec1a5c31bda6e47e83417fa5c3288293bb910028cd136b\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/libraries/AddressArrayUtils.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: UNLICENSED\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nlibrary AddressArrayUtils {\\\\n /**\\\\n * @dev Error thrown when a duplicated element is detected in an array.\\\\n * @param msgSig The function signature that invoke the error.\\\\n */\\\\n error ErrDuplicated(bytes4 msgSig);\\\\n\\\\n /**\\\\n * @dev Returns whether or not there's a duplicate. Runs in O(n^2).\\\\n * @param A Array to search\\\\n * @return Returns true if duplicate, false otherwise\\\\n */\\\\n function hasDuplicate(address[] memory A) internal pure returns (bool) {\\\\n if (A.length == 0) {\\\\n return false;\\\\n }\\\\n unchecked {\\\\n for (uint256 i = 0; i < A.length - 1; i++) {\\\\n for (uint256 j = i + 1; j < A.length; j++) {\\\\n if (A[i] == A[j]) {\\\\n return true;\\\\n }\\\\n }\\\\n }\\\\n }\\\\n return false;\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns whether two arrays of addresses are equal or not.\\\\n */\\\\n function isEqual(address[] memory _this, address[] memory _other) internal pure returns (bool yes_) {\\\\n // Hashing two arrays and compare their hash\\\\n assembly {\\\\n let _thisHash := keccak256(add(_this, 32), mul(mload(_this), 32))\\\\n let _otherHash := keccak256(add(_other, 32), mul(mload(_other), 32))\\\\n yes_ := eq(_thisHash, _otherHash)\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Return the concatenated array from a and b.\\\\n */\\\\n function extend(address[] memory a, address[] memory b) internal pure returns (address[] memory c) {\\\\n uint256 lengthA = a.length;\\\\n uint256 lengthB = b.length;\\\\n unchecked {\\\\n c = new address[](lengthA + lengthB);\\\\n }\\\\n uint256 i;\\\\n for (; i < lengthA;) {\\\\n c[i] = a[i];\\\\n unchecked {\\\\n ++i;\\\\n }\\\\n }\\\\n for (uint256 j; j < lengthB;) {\\\\n c[i] = b[j];\\\\n unchecked {\\\\n ++i;\\\\n ++j;\\\\n }\\\\n }\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xce5d578861167da47a965c8a0e1592b808aad6eb79ccb1873bf2e2280ddb85ee\\\",\\\"license\\\":\\\"UNLICENSED\\\"},\\\"src/libraries/LibTokenInfo.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\\\\\";\\\\nimport \\\\\\\"@openzeppelin/contracts/token/ERC721/IERC721.sol\\\\\\\";\\\\nimport \\\\\\\"@openzeppelin/contracts/token/ERC1155/IERC1155.sol\\\\\\\";\\\\nimport \\\\\\\"@openzeppelin/contracts/token/ERC1155/presets/ERC1155PresetMinterPauser.sol\\\\\\\";\\\\nimport \\\\\\\"../interfaces/IWETH.sol\\\\\\\";\\\\n\\\\nenum TokenStandard {\\\\n ERC20,\\\\n ERC721,\\\\n ERC1155\\\\n}\\\\n\\\\nstruct TokenInfo {\\\\n TokenStandard erc;\\\\n // For ERC20: the id must be 0 and the quantity is larger than 0.\\\\n // For ERC721: the quantity must be 0.\\\\n uint256 id;\\\\n uint256 quantity;\\\\n}\\\\n\\\\n/**\\\\n * @dev Error indicating that the `transfer` has failed.\\\\n * @param tokenInfo Info of the token including ERC standard, id or quantity.\\\\n * @param to Receiver of the token value.\\\\n * @param token Address of the token.\\\\n */\\\\nerror ErrTokenCouldNotTransfer(TokenInfo tokenInfo, address to, address token);\\\\n\\\\n/**\\\\n * @dev Error indicating that the `handleAssetIn` has failed.\\\\n * @param tokenInfo Info of the token including ERC standard, id or quantity.\\\\n * @param from Owner of the token value.\\\\n * @param to Receiver of the token value.\\\\n * @param token Address of the token.\\\\n */\\\\nerror ErrTokenCouldNotTransferFrom(TokenInfo tokenInfo, address from, address to, address token);\\\\n\\\\n/// @dev Error indicating that the provided information is invalid.\\\\nerror ErrInvalidInfo();\\\\n\\\\n/// @dev Error indicating that the minting of ERC20 tokens has failed.\\\\nerror ErrERC20MintingFailed();\\\\n\\\\n/// @dev Error indicating that the minting of ERC721 tokens has failed.\\\\nerror ErrERC721MintingFailed();\\\\n\\\\n/// @dev Error indicating that the transfer of ERC1155 tokens has failed.\\\\nerror ErrERC1155TransferFailed();\\\\n\\\\n/// @dev Error indicating that the mint of ERC1155 tokens has failed.\\\\nerror ErrERC1155MintingFailed();\\\\n\\\\n/// @dev Error indicating that an unsupported standard is encountered.\\\\nerror ErrUnsupportedStandard();\\\\n\\\\nlibrary LibTokenInfo {\\\\n /**\\\\n *\\\\n * HASH\\\\n *\\\\n */\\\\n\\\\n // keccak256(\\\\\\\"TokenInfo(uint8 erc,uint256 id,uint256 quantity)\\\\\\\");\\\\n bytes32 public constant INFO_TYPE_HASH_SINGLE = 0x1e2b74b2a792d5c0f0b6e59b037fa9d43d84fbb759337f0112fcc15ca414fc8d;\\\\n\\\\n /**\\\\n * @dev Returns token info struct hash.\\\\n */\\\\n function hash(TokenInfo memory self) internal pure returns (bytes32 digest) {\\\\n // keccak256(abi.encode(INFO_TYPE_HASH_SINGLE, info.erc, info.id, info.quantity))\\\\n assembly (\\\\\\\"memory-safe\\\\\\\") {\\\\n let ptr := mload(0x40)\\\\n mstore(ptr, INFO_TYPE_HASH_SINGLE)\\\\n mstore(add(ptr, 0x20), mload(self)) // info.erc\\\\n mstore(add(ptr, 0x40), mload(add(self, 0x20))) // info.id\\\\n mstore(add(ptr, 0x60), mload(add(self, 0x40))) // info.quantity\\\\n digest := keccak256(ptr, 0x80)\\\\n }\\\\n }\\\\n\\\\n /**\\\\n *\\\\n * VALIDATE\\\\n *\\\\n */\\\\n\\\\n /**\\\\n * @dev Validates the token info.\\\\n */\\\\n function validate(TokenInfo memory self) internal pure {\\\\n if (!(_checkERC20(self) || _checkERC721(self) || _checkERC1155(self))) {\\\\n revert ErrInvalidInfo();\\\\n }\\\\n }\\\\n\\\\n function _checkERC20(TokenInfo memory self) private pure returns (bool) {\\\\n return (self.erc == TokenStandard.ERC20 && self.quantity > 0 && self.id == 0);\\\\n }\\\\n\\\\n function _checkERC721(TokenInfo memory self) private pure returns (bool) {\\\\n return (self.erc == TokenStandard.ERC721 && self.quantity == 0);\\\\n }\\\\n\\\\n function _checkERC1155(TokenInfo memory self) private pure returns (bool res) {\\\\n // Only validate the quantity, because id of ERC-1155 can be 0.\\\\n return (self.erc == TokenStandard.ERC1155 && self.quantity > 0);\\\\n }\\\\n\\\\n /**\\\\n *\\\\n * TRANSFER IN/OUT METHOD\\\\n *\\\\n */\\\\n\\\\n /**\\\\n * @dev Transfer asset in.\\\\n *\\\\n * Requirements:\\\\n * - The `_from` address must approve for the contract using this library.\\\\n *\\\\n */\\\\n function handleAssetIn(TokenInfo memory self, address from, address token) internal {\\\\n bool success;\\\\n bytes memory data;\\\\n if (self.erc == TokenStandard.ERC20) {\\\\n (success, data) = token.call(abi.encodeWithSelector(IERC20.transferFrom.selector, from, address(this), self.quantity));\\\\n success = success && (data.length == 0 || abi.decode(data, (bool)));\\\\n } else if (self.erc == TokenStandard.ERC721) {\\\\n success = _tryTransferFromERC721(token, from, address(this), self.id);\\\\n } else if (self.erc == TokenStandard.ERC1155) {\\\\n success = _tryTransferFromERC1155(token, from, address(this), self.id, self.quantity);\\\\n } else {\\\\n revert ErrUnsupportedStandard();\\\\n }\\\\n\\\\n if (!success) revert ErrTokenCouldNotTransferFrom(self, from, address(this), token);\\\\n }\\\\n\\\\n /**\\\\n * @dev Tries transfer assets out, or mint the assets if cannot transfer.\\\\n *\\\\n * @notice Prioritizes transfer native token if the token is wrapped.\\\\n *\\\\n */\\\\n function handleAssetOut(TokenInfo memory self, address payable to, address token, IWETH wrappedNativeToken) internal {\\\\n if (token == address(wrappedNativeToken)) {\\\\n // Try sending the native token before transferring the wrapped token\\\\n if (!to.send(self.quantity)) {\\\\n wrappedNativeToken.deposit{ value: self.quantity }();\\\\n _transferTokenOut(self, to, token);\\\\n }\\\\n\\\\n return;\\\\n }\\\\n\\\\n if (self.erc == TokenStandard.ERC20) {\\\\n uint256 balance = IERC20(token).balanceOf(address(this));\\\\n if (balance < self.quantity) {\\\\n if (!_tryMintERC20(token, address(this), self.quantity - balance)) revert ErrERC20MintingFailed();\\\\n }\\\\n\\\\n _transferTokenOut(self, to, token);\\\\n return;\\\\n }\\\\n\\\\n if (self.erc == TokenStandard.ERC721) {\\\\n if (!_tryTransferOutOrMintERC721(token, to, self.id)) {\\\\n revert ErrERC721MintingFailed();\\\\n }\\\\n return;\\\\n }\\\\n\\\\n if (self.erc == TokenStandard.ERC1155) {\\\\n if (!_tryTransferOutOrMintERC1155(token, to, self.id, self.quantity)) {\\\\n revert ErrERC1155MintingFailed();\\\\n }\\\\n return;\\\\n }\\\\n\\\\n revert ErrUnsupportedStandard();\\\\n }\\\\n\\\\n /**\\\\n *\\\\n * TRANSFER HELPERS\\\\n *\\\\n */\\\\n\\\\n /**\\\\n * @dev Transfer assets from current address to `_to` address.\\\\n */\\\\n function _transferTokenOut(TokenInfo memory self, address to, address token) private {\\\\n bool success;\\\\n if (self.erc == TokenStandard.ERC20) {\\\\n success = _tryTransferERC20(token, to, self.quantity);\\\\n } else if (self.erc == TokenStandard.ERC721) {\\\\n success = _tryTransferFromERC721(token, address(this), to, self.id);\\\\n } else {\\\\n revert ErrUnsupportedStandard();\\\\n }\\\\n\\\\n if (!success) revert ErrTokenCouldNotTransfer(self, to, token);\\\\n }\\\\n\\\\n /**\\\\n * TRANSFER ERC-20\\\\n */\\\\n\\\\n /**\\\\n * @dev Transfers ERC20 token and returns the result.\\\\n */\\\\n function _tryTransferERC20(address token, address to, uint256 quantity) private returns (bool success) {\\\\n bytes memory data;\\\\n (success, data) = token.call(abi.encodeWithSelector(IERC20.transfer.selector, to, quantity));\\\\n success = success && (data.length == 0 || abi.decode(data, (bool)));\\\\n }\\\\n\\\\n /**\\\\n * @dev Mints ERC20 token and returns the result.\\\\n */\\\\n function _tryMintERC20(address token, address to, uint256 quantity) private returns (bool success) {\\\\n // bytes4(keccak256(\\\\\\\"mint(address,uint256)\\\\\\\"))\\\\n (success,) = token.call(abi.encodeWithSelector(0x40c10f19, to, quantity));\\\\n }\\\\n\\\\n /**\\\\n * TRANSFER ERC-721\\\\n */\\\\n\\\\n /**\\\\n * @dev Transfers the ERC721 token out. If the transfer failed, mints the ERC721.\\\\n * @return success Returns `false` if both transfer and mint are failed.\\\\n */\\\\n function _tryTransferOutOrMintERC721(address token, address to, uint256 id) private returns (bool success) {\\\\n success = _tryTransferFromERC721(token, address(this), to, id);\\\\n if (!success) {\\\\n return _tryMintERC721(token, to, id);\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Transfers ERC721 token and returns the result.\\\\n */\\\\n function _tryTransferFromERC721(address token, address from, address to, uint256 id) private returns (bool success) {\\\\n (success,) = token.call(abi.encodeWithSelector(IERC721.transferFrom.selector, from, to, id));\\\\n }\\\\n\\\\n /**\\\\n * @dev Mints ERC721 token and returns the result.\\\\n */\\\\n function _tryMintERC721(address token, address to, uint256 id) private returns (bool success) {\\\\n // bytes4(keccak256(\\\\\\\"mint(address,uint256)\\\\\\\"))\\\\n (success,) = token.call(abi.encodeWithSelector(0x40c10f19, to, id));\\\\n }\\\\n\\\\n /**\\\\n * TRANSFER ERC-1155\\\\n */\\\\n\\\\n /**\\\\n * @dev Transfers the ERC1155 token out. If the transfer failed, mints the ERC11555.\\\\n * @return success Returns `false` if both transfer and mint are failed.\\\\n */\\\\n function _tryTransferOutOrMintERC1155(address token, address to, uint256 id, uint256 amount) private returns (bool success) {\\\\n success = _tryTransferFromERC1155(token, address(this), to, id, amount);\\\\n if (!success) {\\\\n return _tryMintERC1155(token, to, id, amount);\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Transfers ERC1155 token and returns the result.\\\\n */\\\\n function _tryTransferFromERC1155(address token, address from, address to, uint256 id, uint256 amount) private returns (bool success) {\\\\n (success,) = token.call(abi.encodeCall(IERC1155.safeTransferFrom, (from, to, id, amount, new bytes(0))));\\\\n }\\\\n\\\\n /**\\\\n * @dev Mints ERC1155 token and returns the result.\\\\n */\\\\n function _tryMintERC1155(address token, address to, uint256 id, uint256 amount) private returns (bool success) {\\\\n (success,) = token.call(abi.encodeCall(ERC1155PresetMinterPauser.mint, (to, id, amount, new bytes(0))));\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x56b413a42c6c39a51dc1737e735d1623b89ecdf00bacd960f70b3f18ccaa6de2\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/libraries/LibTokenOwner.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nstruct TokenOwner {\\\\n address addr;\\\\n address tokenAddr;\\\\n uint256 chainId;\\\\n}\\\\n\\\\nlibrary LibTokenOwner {\\\\n // keccak256(\\\\\\\"TokenOwner(address addr,address tokenAddr,uint256 chainId)\\\\\\\");\\\\n bytes32 public constant OWNER_TYPE_HASH = 0x353bdd8d69b9e3185b3972e08b03845c0c14a21a390215302776a7a34b0e8764;\\\\n\\\\n /**\\\\n * @dev Returns ownership struct hash.\\\\n */\\\\n function hash(TokenOwner memory owner) internal pure returns (bytes32 digest) {\\\\n // keccak256(abi.encode(OWNER_TYPE_HASH, owner.addr, owner.tokenAddr, owner.chainId))\\\\n assembly (\\\\\\\"memory-safe\\\\\\\") {\\\\n let ptr := mload(0x40)\\\\n mstore(ptr, OWNER_TYPE_HASH)\\\\n mstore(add(ptr, 0x20), mload(owner)) // owner.addr\\\\n mstore(add(ptr, 0x40), mload(add(owner, 0x20))) // owner.tokenAddr\\\\n mstore(add(ptr, 0x60), mload(add(owner, 0x40))) // owner.chainId\\\\n digest := keccak256(ptr, 0x80)\\\\n }\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xb104fd02056a3ed52bf06c202e87b748200320682871b1801985050587ec2d51\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/libraries/Transfer.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"@openzeppelin/contracts/utils/cryptography/ECDSA.sol\\\\\\\";\\\\nimport \\\\\\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\\\\\";\\\\nimport \\\\\\\"./LibTokenInfo.sol\\\\\\\";\\\\nimport \\\\\\\"./LibTokenOwner.sol\\\\\\\";\\\\n\\\\nlibrary Transfer {\\\\n using ECDSA for bytes32;\\\\n using LibTokenOwner for TokenOwner;\\\\n using LibTokenInfo for TokenInfo;\\\\n\\\\n enum Kind {\\\\n Deposit,\\\\n Withdrawal\\\\n }\\\\n\\\\n struct Request {\\\\n // For deposit request: Recipient address on Ronin network\\\\n // For withdrawal request: Recipient address on mainchain network\\\\n address recipientAddr;\\\\n // Token address to deposit/withdraw\\\\n // Value 0: native token\\\\n address tokenAddr;\\\\n TokenInfo info;\\\\n }\\\\n\\\\n /**\\\\n * @dev Converts the transfer request into the deposit receipt.\\\\n */\\\\n function into_deposit_receipt(\\\\n Request memory _request,\\\\n address _requester,\\\\n uint256 _id,\\\\n address _roninTokenAddr,\\\\n uint256 _roninChainId\\\\n ) internal view returns (Receipt memory _receipt) {\\\\n _receipt.id = _id;\\\\n _receipt.kind = Kind.Deposit;\\\\n _receipt.mainchain.addr = _requester;\\\\n _receipt.mainchain.tokenAddr = _request.tokenAddr;\\\\n _receipt.mainchain.chainId = block.chainid;\\\\n _receipt.ronin.addr = _request.recipientAddr;\\\\n _receipt.ronin.tokenAddr = _roninTokenAddr;\\\\n _receipt.ronin.chainId = _roninChainId;\\\\n _receipt.info = _request.info;\\\\n }\\\\n\\\\n /**\\\\n * @dev Converts the transfer request into the withdrawal receipt.\\\\n */\\\\n function into_withdrawal_receipt(\\\\n Request memory _request,\\\\n address _requester,\\\\n uint256 _id,\\\\n address _mainchainTokenAddr,\\\\n uint256 _mainchainId\\\\n ) internal view returns (Receipt memory _receipt) {\\\\n _receipt.id = _id;\\\\n _receipt.kind = Kind.Withdrawal;\\\\n _receipt.ronin.addr = _requester;\\\\n _receipt.ronin.tokenAddr = _request.tokenAddr;\\\\n _receipt.ronin.chainId = block.chainid;\\\\n _receipt.mainchain.addr = _request.recipientAddr;\\\\n _receipt.mainchain.tokenAddr = _mainchainTokenAddr;\\\\n _receipt.mainchain.chainId = _mainchainId;\\\\n _receipt.info = _request.info;\\\\n }\\\\n\\\\n struct Receipt {\\\\n uint256 id;\\\\n Kind kind;\\\\n TokenOwner mainchain;\\\\n TokenOwner ronin;\\\\n TokenInfo info;\\\\n }\\\\n\\\\n // keccak256(\\\\\\\"Receipt(uint256 id,uint8 kind,TokenOwner mainchain,TokenOwner ronin,TokenInfo info)TokenInfo(uint8 erc,uint256 id,uint256 quantity)TokenOwner(address addr,address tokenAddr,uint256 chainId)\\\\\\\");\\\\n bytes32 public constant TYPE_HASH = 0xb9d1fe7c9deeec5dc90a2f47ff1684239519f2545b2228d3d91fb27df3189eea;\\\\n\\\\n /**\\\\n * @dev Returns token info struct hash.\\\\n */\\\\n function hash(Receipt memory _receipt) internal pure returns (bytes32 digest) {\\\\n bytes32 hashedReceiptMainchain = _receipt.mainchain.hash();\\\\n bytes32 hashedReceiptRonin = _receipt.ronin.hash();\\\\n bytes32 hashedReceiptInfo = _receipt.info.hash();\\\\n\\\\n /*\\\\n * return\\\\n * keccak256(\\\\n * abi.encode(\\\\n * TYPE_HASH,\\\\n * _receipt.id,\\\\n * _receipt.kind,\\\\n * Token.hash(_receipt.mainchain),\\\\n * Token.hash(_receipt.ronin),\\\\n * Token.hash(_receipt.info)\\\\n * )\\\\n * );\\\\n */\\\\n assembly {\\\\n let ptr := mload(0x40)\\\\n mstore(ptr, TYPE_HASH)\\\\n mstore(add(ptr, 0x20), mload(_receipt)) // _receipt.id\\\\n mstore(add(ptr, 0x40), mload(add(_receipt, 0x20))) // _receipt.kind\\\\n mstore(add(ptr, 0x60), hashedReceiptMainchain)\\\\n mstore(add(ptr, 0x80), hashedReceiptRonin)\\\\n mstore(add(ptr, 0xa0), hashedReceiptInfo)\\\\n digest := keccak256(ptr, 0xc0)\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the receipt digest.\\\\n */\\\\n function receiptDigest(bytes32 _domainSeparator, bytes32 _receiptHash) internal pure returns (bytes32) {\\\\n return _domainSeparator.toTypedDataHash(_receiptHash);\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x652c72f4e9aeffed1be05759c84c538a416d2c264deef9af4c53de0a1ad04ee4\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/mainchain/MainchainGatewayV3.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.23;\\\\n\\\\nimport \\\\\\\"@openzeppelin/contracts/access/AccessControlEnumerable.sol\\\\\\\";\\\\nimport \\\\\\\"@openzeppelin/contracts/proxy/utils/Initializable.sol\\\\\\\";\\\\nimport \\\\\\\"@openzeppelin/contracts/token/ERC1155/utils/ERC1155Holder.sol\\\\\\\";\\\\nimport { IBridgeManager } from \\\\\\\"../interfaces/bridge/IBridgeManager.sol\\\\\\\";\\\\nimport { IBridgeManagerCallback } from \\\\\\\"../interfaces/bridge/IBridgeManagerCallback.sol\\\\\\\";\\\\nimport { HasContracts, ContractType } from \\\\\\\"../extensions/collections/HasContracts.sol\\\\\\\";\\\\nimport \\\\\\\"../extensions/WethUnwrapper.sol\\\\\\\";\\\\nimport \\\\\\\"../extensions/WithdrawalLimitation.sol\\\\\\\";\\\\nimport \\\\\\\"../libraries/Transfer.sol\\\\\\\";\\\\nimport \\\\\\\"../interfaces/IMainchainGatewayV3.sol\\\\\\\";\\\\n\\\\ncontract MainchainGatewayV3 is\\\\n WithdrawalLimitation,\\\\n Initializable,\\\\n AccessControlEnumerable,\\\\n ERC1155Holder,\\\\n IMainchainGatewayV3,\\\\n HasContracts,\\\\n IBridgeManagerCallback\\\\n{\\\\n using LibTokenInfo for TokenInfo;\\\\n using Transfer for Transfer.Request;\\\\n using Transfer for Transfer.Receipt;\\\\n\\\\n /// @dev Withdrawal unlocker role hash\\\\n bytes32 public constant WITHDRAWAL_UNLOCKER_ROLE = keccak256(\\\\\\\"WITHDRAWAL_UNLOCKER_ROLE\\\\\\\");\\\\n\\\\n /// @dev Wrapped native token address\\\\n IWETH public wrappedNativeToken;\\\\n /// @dev Ronin network id\\\\n uint256 public roninChainId;\\\\n /// @dev Total deposit\\\\n uint256 public depositCount;\\\\n /// @dev Domain separator\\\\n bytes32 internal _domainSeparator;\\\\n /// @dev Mapping from mainchain token => token address on Ronin network\\\\n mapping(address => MappedToken) internal _roninToken;\\\\n /// @dev Mapping from withdrawal id => withdrawal hash\\\\n mapping(uint256 => bytes32) public withdrawalHash;\\\\n /// @dev Mapping from withdrawal id => locked\\\\n mapping(uint256 => bool) public withdrawalLocked;\\\\n\\\\n /// @custom:deprecated Previously `_bridgeOperatorAddedBlock` (mapping(address => uint256))\\\\n uint256 private ______deprecatedBridgeOperatorAddedBlock;\\\\n /// @custom:deprecated Previously `_bridgeOperators` (uint256[])\\\\n uint256 private ______deprecatedBridgeOperators;\\\\n\\\\n uint96 private _totalOperatorWeight;\\\\n mapping(address operator => uint96 weight) private _operatorWeight;\\\\n WethUnwrapper public wethUnwrapper;\\\\n\\\\n constructor() {\\\\n _disableInitializers();\\\\n }\\\\n\\\\n fallback() external payable {\\\\n _fallback();\\\\n }\\\\n\\\\n receive() external payable {\\\\n _fallback();\\\\n }\\\\n\\\\n /**\\\\n * @dev Initializes contract storage.\\\\n */\\\\n function initialize(\\\\n address _roleSetter,\\\\n IWETH _wrappedToken,\\\\n uint256 _roninChainId,\\\\n uint256 _numerator,\\\\n uint256 _highTierVWNumerator,\\\\n uint256 _denominator,\\\\n // _addresses[0]: mainchainTokens\\\\n // _addresses[1]: roninTokens\\\\n // _addresses[2]: withdrawalUnlockers\\\\n address[][3] calldata _addresses,\\\\n // _thresholds[0]: highTierThreshold\\\\n // _thresholds[1]: lockedThreshold\\\\n // _thresholds[2]: unlockFeePercentages\\\\n // _thresholds[3]: dailyWithdrawalLimit\\\\n uint256[][4] calldata _thresholds,\\\\n TokenStandard[] calldata _standards\\\\n ) external payable virtual initializer {\\\\n _setupRole(DEFAULT_ADMIN_ROLE, _roleSetter);\\\\n roninChainId = _roninChainId;\\\\n\\\\n _setWrappedNativeTokenContract(_wrappedToken);\\\\n _updateDomainSeparator();\\\\n _setThreshold(_numerator, _denominator);\\\\n _setHighTierVoteWeightThreshold(_highTierVWNumerator, _denominator);\\\\n _verifyThresholds();\\\\n\\\\n if (_addresses[0].length > 0) {\\\\n // Map mainchain tokens to ronin tokens\\\\n _mapTokens(_addresses[0], _addresses[1], _standards);\\\\n // Sets thresholds based on the mainchain tokens\\\\n _setHighTierThresholds(_addresses[0], _thresholds[0]);\\\\n _setLockedThresholds(_addresses[0], _thresholds[1]);\\\\n _setUnlockFeePercentages(_addresses[0], _thresholds[2]);\\\\n _setDailyWithdrawalLimits(_addresses[0], _thresholds[3]);\\\\n }\\\\n\\\\n // Grant role for withdrawal unlocker\\\\n for (uint256 i; i < _addresses[2].length; i++) {\\\\n _grantRole(WITHDRAWAL_UNLOCKER_ROLE, _addresses[2][i]);\\\\n }\\\\n }\\\\n\\\\n function initializeV2(address bridgeManagerContract) external reinitializer(2) {\\\\n _setContract(ContractType.BRIDGE_MANAGER, bridgeManagerContract);\\\\n }\\\\n\\\\n function initializeV3() external reinitializer(3) {\\\\n IBridgeManager mainchainBridgeManager = IBridgeManager(getContract(ContractType.BRIDGE_MANAGER));\\\\n (, address[] memory operators, uint96[] memory weights) = mainchainBridgeManager.getFullBridgeOperatorInfos();\\\\n\\\\n uint96 totalWeight;\\\\n for (uint i; i < operators.length; i++) {\\\\n _operatorWeight[operators[i]] = weights[i];\\\\n totalWeight += weights[i];\\\\n }\\\\n _totalOperatorWeight = totalWeight;\\\\n }\\\\n\\\\n function initializeV4(address payable wethUnwrapper_) external reinitializer(4) {\\\\n wethUnwrapper = WethUnwrapper(wethUnwrapper_);\\\\n }\\\\n\\\\n /**\\\\n * @dev Receives ether without doing anything. Use this function to topup native token.\\\\n */\\\\n function receiveEther() external payable { }\\\\n\\\\n /**\\\\n * @inheritdoc IMainchainGatewayV3\\\\n */\\\\n function DOMAIN_SEPARATOR() external view virtual returns (bytes32) {\\\\n return _domainSeparator;\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IMainchainGatewayV3\\\\n */\\\\n function setWrappedNativeTokenContract(IWETH _wrappedToken) external virtual onlyProxyAdmin {\\\\n _setWrappedNativeTokenContract(_wrappedToken);\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IMainchainGatewayV3\\\\n */\\\\n function requestDepositFor(Transfer.Request calldata _request) external payable virtual whenNotPaused {\\\\n _requestDepositFor(_request, msg.sender);\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IMainchainGatewayV3\\\\n */\\\\n function requestDepositForBatch(Transfer.Request[] calldata _requests) external payable virtual whenNotPaused {\\\\n uint length = _requests.length;\\\\n for (uint256 i; i < length; ++i) {\\\\n _requestDepositFor(_requests[i], msg.sender);\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IMainchainGatewayV3\\\\n */\\\\n function submitWithdrawal(Transfer.Receipt calldata _receipt, Signature[] calldata _signatures) external virtual whenNotPaused returns (bool _locked) {\\\\n return _submitWithdrawal(_receipt, _signatures);\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IMainchainGatewayV3\\\\n */\\\\n function unlockWithdrawal(Transfer.Receipt calldata receipt) external onlyRole(WITHDRAWAL_UNLOCKER_ROLE) {\\\\n bytes32 _receiptHash = receipt.hash();\\\\n if (withdrawalHash[receipt.id] != receipt.hash()) {\\\\n revert ErrInvalidReceipt();\\\\n }\\\\n if (!withdrawalLocked[receipt.id]) {\\\\n revert ErrQueryForApprovedWithdrawal();\\\\n }\\\\n delete withdrawalLocked[receipt.id];\\\\n emit WithdrawalUnlocked(_receiptHash, receipt);\\\\n\\\\n address token = receipt.mainchain.tokenAddr;\\\\n if (receipt.info.erc == TokenStandard.ERC20) {\\\\n TokenInfo memory feeInfo = receipt.info;\\\\n feeInfo.quantity = _computeFeePercentage(receipt.info.quantity, unlockFeePercentages[token]);\\\\n TokenInfo memory withdrawInfo = receipt.info;\\\\n withdrawInfo.quantity = receipt.info.quantity - feeInfo.quantity;\\\\n\\\\n feeInfo.handleAssetOut(payable(msg.sender), token, wrappedNativeToken);\\\\n withdrawInfo.handleAssetOut(payable(receipt.mainchain.addr), token, wrappedNativeToken);\\\\n } else {\\\\n receipt.info.handleAssetOut(payable(receipt.mainchain.addr), token, wrappedNativeToken);\\\\n }\\\\n\\\\n emit Withdrew(_receiptHash, receipt);\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IMainchainGatewayV3\\\\n */\\\\n function mapTokens(address[] calldata _mainchainTokens, address[] calldata _roninTokens, TokenStandard[] calldata _standards) external virtual onlyProxyAdmin {\\\\n if (_mainchainTokens.length == 0) revert ErrEmptyArray();\\\\n _mapTokens(_mainchainTokens, _roninTokens, _standards);\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IMainchainGatewayV3\\\\n */\\\\n function mapTokensAndThresholds(\\\\n address[] calldata _mainchainTokens,\\\\n address[] calldata _roninTokens,\\\\n TokenStandard[] calldata _standards,\\\\n // _thresholds[0]: highTierThreshold\\\\n // _thresholds[1]: lockedThreshold\\\\n // _thresholds[2]: unlockFeePercentages\\\\n // _thresholds[3]: dailyWithdrawalLimit\\\\n uint256[][4] calldata _thresholds\\\\n ) external virtual onlyProxyAdmin {\\\\n if (_mainchainTokens.length == 0) revert ErrEmptyArray();\\\\n _mapTokens(_mainchainTokens, _roninTokens, _standards);\\\\n _setHighTierThresholds(_mainchainTokens, _thresholds[0]);\\\\n _setLockedThresholds(_mainchainTokens, _thresholds[1]);\\\\n _setUnlockFeePercentages(_mainchainTokens, _thresholds[2]);\\\\n _setDailyWithdrawalLimits(_mainchainTokens, _thresholds[3]);\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IMainchainGatewayV3\\\\n */\\\\n function getRoninToken(address mainchainToken) public view returns (MappedToken memory token) {\\\\n token = _roninToken[mainchainToken];\\\\n if (token.tokenAddr == address(0)) revert ErrUnsupportedToken();\\\\n }\\\\n\\\\n /**\\\\n * @dev Maps mainchain tokens to Ronin network.\\\\n *\\\\n * Requirement:\\\\n * - The arrays have the same length.\\\\n *\\\\n * Emits the `TokenMapped` event.\\\\n *\\\\n */\\\\n function _mapTokens(address[] calldata mainchainTokens, address[] calldata roninTokens, TokenStandard[] calldata standards) internal virtual {\\\\n if (!(mainchainTokens.length == roninTokens.length && mainchainTokens.length == standards.length)) revert ErrLengthMismatch(msg.sig);\\\\n\\\\n for (uint256 i; i < mainchainTokens.length; ++i) {\\\\n _roninToken[mainchainTokens[i]].tokenAddr = roninTokens[i];\\\\n _roninToken[mainchainTokens[i]].erc = standards[i];\\\\n }\\\\n\\\\n emit TokenMapped(mainchainTokens, roninTokens, standards);\\\\n }\\\\n\\\\n /**\\\\n * @dev Submits withdrawal receipt.\\\\n *\\\\n * Requirements:\\\\n * - The receipt kind is withdrawal.\\\\n * - The receipt is to withdraw on this chain.\\\\n * - The receipt is not used to withdraw before.\\\\n * - The withdrawal is not reached the limit threshold.\\\\n * - The signer weight total is larger than or equal to the minimum threshold.\\\\n * - The signature signers are in order.\\\\n *\\\\n * Emits the `Withdrew` once the assets are released.\\\\n *\\\\n */\\\\n function _submitWithdrawal(Transfer.Receipt calldata receipt, Signature[] memory signatures) internal virtual returns (bool locked) {\\\\n uint256 id = receipt.id;\\\\n uint256 quantity = receipt.info.quantity;\\\\n address tokenAddr = receipt.mainchain.tokenAddr;\\\\n\\\\n receipt.info.validate();\\\\n if (receipt.kind != Transfer.Kind.Withdrawal) revert ErrInvalidReceiptKind();\\\\n\\\\n if (receipt.mainchain.chainId != block.chainid) {\\\\n revert ErrInvalidChainId(msg.sig, receipt.mainchain.chainId, block.chainid);\\\\n }\\\\n\\\\n MappedToken memory token = getRoninToken(receipt.mainchain.tokenAddr);\\\\n\\\\n if (!(token.erc == receipt.info.erc && token.tokenAddr == receipt.ronin.tokenAddr && receipt.ronin.chainId == roninChainId)) {\\\\n revert ErrInvalidReceipt();\\\\n }\\\\n\\\\n if (withdrawalHash[id] != 0) revert ErrQueryForProcessedWithdrawal();\\\\n\\\\n if (!(receipt.info.erc == TokenStandard.ERC721 || !_reachedWithdrawalLimit(tokenAddr, quantity))) {\\\\n revert ErrReachedDailyWithdrawalLimit();\\\\n }\\\\n\\\\n bytes32 receiptHash = receipt.hash();\\\\n bytes32 receiptDigest = Transfer.receiptDigest(_domainSeparator, receiptHash);\\\\n\\\\n uint256 minimumWeight;\\\\n (minimumWeight, locked) = _computeMinVoteWeight(receipt.info.erc, tokenAddr, quantity);\\\\n\\\\n {\\\\n bool passed;\\\\n address signer;\\\\n address lastSigner;\\\\n Signature memory sig;\\\\n uint256 weight;\\\\n for (uint256 i; i < signatures.length; i++) {\\\\n sig = signatures[i];\\\\n signer = ecrecover(receiptDigest, sig.v, sig.r, sig.s);\\\\n if (lastSigner >= signer) revert ErrInvalidOrder(msg.sig);\\\\n\\\\n lastSigner = signer;\\\\n\\\\n weight += _getWeight(signer);\\\\n if (weight >= minimumWeight) {\\\\n passed = true;\\\\n break;\\\\n }\\\\n }\\\\n\\\\n if (!passed) revert ErrQueryForInsufficientVoteWeight();\\\\n withdrawalHash[id] = receiptHash;\\\\n }\\\\n\\\\n if (locked) {\\\\n withdrawalLocked[id] = true;\\\\n emit WithdrawalLocked(receiptHash, receipt);\\\\n return locked;\\\\n }\\\\n\\\\n _recordWithdrawal(tokenAddr, quantity);\\\\n receipt.info.handleAssetOut(payable(receipt.mainchain.addr), tokenAddr, wrappedNativeToken);\\\\n emit Withdrew(receiptHash, receipt);\\\\n }\\\\n\\\\n /**\\\\n * @dev Requests deposit made by `_requester` address.\\\\n *\\\\n * Requirements:\\\\n * - The token info is valid.\\\\n * - The `msg.value` is 0 while depositing ERC20 token.\\\\n * - The `msg.value` is equal to deposit quantity while depositing native token.\\\\n *\\\\n * Emits the `DepositRequested` event.\\\\n *\\\\n */\\\\n function _requestDepositFor(Transfer.Request memory _request, address _requester) internal virtual {\\\\n MappedToken memory _token;\\\\n address _roninWeth = address(wrappedNativeToken);\\\\n\\\\n _request.info.validate();\\\\n if (_request.tokenAddr == address(0)) {\\\\n if (_request.info.quantity != msg.value) revert ErrInvalidRequest();\\\\n\\\\n _token = getRoninToken(_roninWeth);\\\\n if (_token.erc != _request.info.erc) revert ErrInvalidTokenStandard();\\\\n\\\\n _request.tokenAddr = _roninWeth;\\\\n } else {\\\\n if (msg.value != 0) revert ErrInvalidRequest();\\\\n\\\\n _token = getRoninToken(_request.tokenAddr);\\\\n if (_token.erc != _request.info.erc) revert ErrInvalidTokenStandard();\\\\n\\\\n _request.info.handleAssetIn(_requester, _request.tokenAddr);\\\\n // Withdraw if token is WETH\\\\n // The withdraw of WETH must go via `WethUnwrapper`, because `WETH.withdraw` only sends 2300 gas, which is insufficient when recipient is a proxy.\\\\n if (_roninWeth == _request.tokenAddr) {\\\\n wrappedNativeToken.approve(address(wethUnwrapper), _request.info.quantity);\\\\n wethUnwrapper.unwrap(_request.info.quantity);\\\\n }\\\\n }\\\\n\\\\n uint256 _depositId = depositCount++;\\\\n Transfer.Receipt memory _receipt = _request.into_deposit_receipt(_requester, _depositId, _token.tokenAddr, roninChainId);\\\\n\\\\n emit DepositRequested(_receipt.hash(), _receipt);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the minimum vote weight for the token.\\\\n */\\\\n function _computeMinVoteWeight(TokenStandard _erc, address _token, uint256 _quantity) internal virtual returns (uint256 _weight, bool _locked) {\\\\n uint256 _totalWeight = _getTotalWeight();\\\\n _weight = _minimumVoteWeight(_totalWeight);\\\\n if (_erc == TokenStandard.ERC20) {\\\\n if (highTierThreshold[_token] <= _quantity) {\\\\n _weight = _highTierVoteWeight(_totalWeight);\\\\n }\\\\n _locked = _lockedWithdrawalRequest(_token, _quantity);\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Update domain seperator.\\\\n */\\\\n function _updateDomainSeparator() internal {\\\\n /*\\\\n * _domainSeparator = keccak256(\\\\n * abi.encode(\\\\n * keccak256(\\\\\\\"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\\\\\\\"),\\\\n * keccak256(\\\\\\\"MainchainGatewayV2\\\\\\\"),\\\\n * keccak256(\\\\\\\"2\\\\\\\"),\\\\n * block.chainid,\\\\n * address(this)\\\\n * )\\\\n * );\\\\n */\\\\n assembly {\\\\n let ptr := mload(0x40)\\\\n // keccak256(\\\\\\\"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\\\\\\\")\\\\n mstore(ptr, 0x8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f)\\\\n // keccak256(\\\\\\\"MainchainGatewayV2\\\\\\\")\\\\n mstore(add(ptr, 0x20), 0x159f52c1e3a2b6a6aad3950adf713516211484e0516dad685ea662a094b7c43b)\\\\n // keccak256(\\\\\\\"2\\\\\\\")\\\\n mstore(add(ptr, 0x40), 0xad7c5bef027816a800da1736444fb58a807ef4c9603b7848673f7e3a68eb14a5)\\\\n mstore(add(ptr, 0x60), chainid())\\\\n mstore(add(ptr, 0x80), address())\\\\n sstore(_domainSeparator.slot, keccak256(ptr, 0xa0))\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets the WETH contract.\\\\n *\\\\n * Emits the `WrappedNativeTokenContractUpdated` event.\\\\n *\\\\n */\\\\n function _setWrappedNativeTokenContract(IWETH _wrapedToken) internal {\\\\n wrappedNativeToken = _wrapedToken;\\\\n emit WrappedNativeTokenContractUpdated(_wrapedToken);\\\\n }\\\\n\\\\n /**\\\\n * @dev Receives ETH from WETH or creates deposit request if sender is not WETH or WETHUnwrapper.\\\\n */\\\\n function _fallback() internal virtual {\\\\n if (msg.sender == address(wrappedNativeToken) || msg.sender == address(wethUnwrapper)) {\\\\n return;\\\\n }\\\\n\\\\n _createDepositOnFallback();\\\\n }\\\\n\\\\n /**\\\\n * @dev Creates deposit request.\\\\n */\\\\n function _createDepositOnFallback() internal virtual whenNotPaused {\\\\n Transfer.Request memory _request;\\\\n _request.recipientAddr = msg.sender;\\\\n _request.info.quantity = msg.value;\\\\n _requestDepositFor(_request, _request.recipientAddr);\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc GatewayV3\\\\n */\\\\n function _getTotalWeight() internal view override returns (uint256) {\\\\n return _totalOperatorWeight;\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the weight of an address.\\\\n */\\\\n function _getWeight(address addr) internal view returns (uint256) {\\\\n return _operatorWeight[addr];\\\\n }\\\\n\\\\n ///////////////////////////////////////////////\\\\n // CALLBACKS\\\\n ///////////////////////////////////////////////\\\\n\\\\n /**\\\\n * @inheritdoc IBridgeManagerCallback\\\\n */\\\\n function onBridgeOperatorsAdded(\\\\n address[] calldata operators,\\\\n uint96[] calldata weights,\\\\n bool[] memory addeds\\\\n ) external onlyContract(ContractType.BRIDGE_MANAGER) returns (bytes4) {\\\\n uint256 length = operators.length;\\\\n if (length != addeds.length || length != weights.length) revert ErrLengthMismatch(msg.sig);\\\\n if (length == 0) {\\\\n return IBridgeManagerCallback.onBridgeOperatorsAdded.selector;\\\\n }\\\\n\\\\n for (uint256 i; i < length; ++i) {\\\\n unchecked {\\\\n if (addeds[i]) {\\\\n _totalOperatorWeight += weights[i];\\\\n _operatorWeight[operators[i]] = weights[i];\\\\n }\\\\n }\\\\n }\\\\n\\\\n return IBridgeManagerCallback.onBridgeOperatorsAdded.selector;\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IBridgeManagerCallback\\\\n */\\\\n function onBridgeOperatorsRemoved(address[] calldata operators, bool[] calldata removeds) external onlyContract(ContractType.BRIDGE_MANAGER) returns (bytes4) {\\\\n uint length = operators.length;\\\\n if (length != removeds.length) revert ErrLengthMismatch(msg.sig);\\\\n if (length == 0) {\\\\n return IBridgeManagerCallback.onBridgeOperatorsRemoved.selector;\\\\n }\\\\n\\\\n uint96 totalRemovingWeight;\\\\n for (uint i; i < length; ++i) {\\\\n unchecked {\\\\n if (removeds[i]) {\\\\n totalRemovingWeight += _operatorWeight[operators[i]];\\\\n delete _operatorWeight[operators[i]];\\\\n }\\\\n }\\\\n }\\\\n\\\\n _totalOperatorWeight -= totalRemovingWeight;\\\\n\\\\n return IBridgeManagerCallback.onBridgeOperatorsRemoved.selector;\\\\n }\\\\n\\\\n function supportsInterface(bytes4 interfaceId) public view override(AccessControlEnumerable, IERC165, ERC1155Receiver) returns (bool) {\\\\n return\\\\n interfaceId == type(IMainchainGatewayV3).interfaceId || interfaceId == type(IBridgeManagerCallback).interfaceId || super.supportsInterface(interfaceId);\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xcb718591e95d9de1f4b07a6a12d9e6bee4c16822e8dd8885b1d6affeda2cc0f9\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/utils/CommonErrors.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport { ContractType } from \\\\\\\"./ContractType.sol\\\\\\\";\\\\nimport { RoleAccess } from \\\\\\\"./RoleAccess.sol\\\\\\\";\\\\n\\\\nerror ErrSyncTooFarPeriod(uint256 period, uint256 latestRewardedPeriod);\\\\n/**\\\\n * @dev Error thrown when an address is expected to be an already created externally owned account (EOA).\\\\n * This error indicates that the provided address is invalid for certain contract operations that require already created EOA.\\\\n */\\\\nerror ErrAddressIsNotCreatedEOA(address addr, bytes32 codehash);\\\\n/**\\\\n * @dev Error raised when a bridge operator update operation fails.\\\\n * @param bridgeOperator The address of the bridge operator that failed to update.\\\\n */\\\\nerror ErrBridgeOperatorUpdateFailed(address bridgeOperator);\\\\n/**\\\\n * @dev Error thrown when attempting to add a bridge operator that already exists in the contract.\\\\n * This error indicates that the provided bridge operator address is already registered as a bridge operator in the contract.\\\\n */\\\\nerror ErrBridgeOperatorAlreadyExisted(address bridgeOperator);\\\\n/**\\\\n * @dev The error indicating an unsupported interface.\\\\n * @param interfaceId The bytes4 interface identifier that is not supported.\\\\n * @param addr The address where the unsupported interface was encountered.\\\\n */\\\\nerror ErrUnsupportedInterface(bytes4 interfaceId, address addr);\\\\n/**\\\\n * @dev Error thrown when the return data from a callback function is invalid.\\\\n * @param callbackFnSig The signature of the callback function that returned invalid data.\\\\n * @param register The address of the register where the callback function was invoked.\\\\n * @param returnData The invalid return data received from the callback function.\\\\n */\\\\nerror ErrInvalidReturnData(bytes4 callbackFnSig, address register, bytes returnData);\\\\n/**\\\\n * @dev Error of set to non-contract.\\\\n */\\\\nerror ErrZeroCodeContract(address addr);\\\\n/**\\\\n * @dev Error indicating that arguments are invalid.\\\\n */\\\\nerror ErrInvalidArguments(bytes4 msgSig);\\\\n/**\\\\n * @dev Error indicating that given address is null when it should not.\\\\n */\\\\nerror ErrZeroAddress(bytes4 msgSig);\\\\n/**\\\\n * @dev Error indicating that the provided threshold is invalid for a specific function signature.\\\\n * @param msgSig The function signature (bytes4) that the invalid threshold applies to.\\\\n */\\\\nerror ErrInvalidThreshold(bytes4 msgSig);\\\\n\\\\n/**\\\\n * @dev Error indicating that a function can only be called by the contract itself.\\\\n * @param msgSig The function signature (bytes4) that can only be called by the contract itself.\\\\n */\\\\nerror ErrOnlySelfCall(bytes4 msgSig);\\\\n\\\\n/**\\\\n * @dev Error indicating that the caller is unauthorized to perform a specific function.\\\\n * @param msgSig The function signature (bytes4) that the caller is unauthorized to perform.\\\\n * @param expectedRole The role required to perform the function.\\\\n */\\\\nerror ErrUnauthorized(bytes4 msgSig, RoleAccess expectedRole);\\\\n\\\\n/**\\\\n * @dev Error indicating that the caller is unauthorized to perform a specific function.\\\\n * @param msgSig The function signature (bytes4) that the caller is unauthorized to perform.\\\\n */\\\\nerror ErrUnauthorizedCall(bytes4 msgSig);\\\\n\\\\n/**\\\\n * @dev Error indicating that the caller is unauthorized to perform a specific function.\\\\n * @param msgSig The function signature (bytes4).\\\\n * @param expectedContractType The contract type required to perform the function.\\\\n * @param actual The actual address that called to the function.\\\\n */\\\\nerror ErrUnexpectedInternalCall(bytes4 msgSig, ContractType expectedContractType, address actual);\\\\n\\\\n/**\\\\n * @dev Error indicating that an array is empty when it should contain elements.\\\\n */\\\\nerror ErrEmptyArray();\\\\n\\\\n/**\\\\n * @dev Error indicating a mismatch in the length of input parameters or arrays for a specific function.\\\\n * @param msgSig The function signature (bytes4) that has a length mismatch.\\\\n */\\\\nerror ErrLengthMismatch(bytes4 msgSig);\\\\n\\\\n/**\\\\n * @dev Error indicating that a proxy call to an external contract has failed.\\\\n * @param msgSig The function signature (bytes4) of the proxy call that failed.\\\\n * @param extCallSig The function signature (bytes4) of the external contract call that failed.\\\\n */\\\\nerror ErrProxyCallFailed(bytes4 msgSig, bytes4 extCallSig);\\\\n\\\\n/**\\\\n * @dev Error indicating that a function tried to call a precompiled contract that is not allowed.\\\\n * @param msgSig The function signature (bytes4) that attempted to call a precompiled contract.\\\\n */\\\\nerror ErrCallPrecompiled(bytes4 msgSig);\\\\n\\\\n/**\\\\n * @dev Error indicating that a native token transfer has failed.\\\\n * @param msgSig The function signature (bytes4) of the token transfer that failed.\\\\n */\\\\nerror ErrNativeTransferFailed(bytes4 msgSig);\\\\n\\\\n/**\\\\n * @dev Error indicating that an order is invalid.\\\\n * @param msgSig The function signature (bytes4) of the operation that encountered an invalid order.\\\\n */\\\\nerror ErrInvalidOrder(bytes4 msgSig);\\\\n\\\\n/**\\\\n * @dev Error indicating that the chain ID is invalid.\\\\n * @param msgSig The function signature (bytes4) of the operation that encountered an invalid chain ID.\\\\n * @param actual Current chain ID that executing function.\\\\n * @param expected Expected chain ID required for the tx to success.\\\\n */\\\\nerror ErrInvalidChainId(bytes4 msgSig, uint256 actual, uint256 expected);\\\\n\\\\n/**\\\\n * @dev Error indicating that a vote type is not supported.\\\\n * @param msgSig The function signature (bytes4) of the operation that encountered an unsupported vote type.\\\\n */\\\\nerror ErrUnsupportedVoteType(bytes4 msgSig);\\\\n\\\\n/**\\\\n * @dev Error indicating that the proposal nonce is invalid.\\\\n * @param msgSig The function signature (bytes4) of the operation that encountered an invalid proposal nonce.\\\\n */\\\\nerror ErrInvalidProposalNonce(bytes4 msgSig);\\\\n\\\\n/**\\\\n * @dev Error indicating that a voter has already voted.\\\\n * @param voter The address of the voter who has already voted.\\\\n */\\\\nerror ErrAlreadyVoted(address voter);\\\\n\\\\n/**\\\\n * @dev Error indicating that a signature is invalid for a specific function signature.\\\\n * @param msgSig The function signature (bytes4) that encountered an invalid signature.\\\\n */\\\\nerror ErrInvalidSignatures(bytes4 msgSig);\\\\n\\\\n/**\\\\n * @dev Error indicating that a relay call has failed.\\\\n * @param msgSig The function signature (bytes4) of the relay call that failed.\\\\n */\\\\nerror ErrRelayFailed(bytes4 msgSig);\\\\n/**\\\\n * @dev Error indicating that a vote weight is invalid for a specific function signature.\\\\n * @param msgSig The function signature (bytes4) that encountered an invalid vote weight.\\\\n */\\\\nerror ErrInvalidVoteWeight(bytes4 msgSig);\\\\n\\\\n/**\\\\n * @dev Error indicating that a query was made for an outdated bridge operator set.\\\\n */\\\\nerror ErrQueryForOutdatedBridgeOperatorSet();\\\\n\\\\n/**\\\\n * @dev Error indicating that a request is invalid.\\\\n */\\\\nerror ErrInvalidRequest();\\\\n\\\\n/**\\\\n * @dev Error indicating that a token standard is invalid.\\\\n */\\\\nerror ErrInvalidTokenStandard();\\\\n\\\\n/**\\\\n * @dev Error indicating that a token is not supported.\\\\n */\\\\nerror ErrUnsupportedToken();\\\\n\\\\n/**\\\\n * @dev Error indicating that a receipt kind is invalid.\\\\n */\\\\nerror ErrInvalidReceiptKind();\\\\n\\\\n/**\\\\n * @dev Error indicating that a receipt is invalid.\\\\n */\\\\nerror ErrInvalidReceipt();\\\\n\\\\n/**\\\\n * @dev Error indicating that an address is not payable.\\\\n */\\\\nerror ErrNonpayableAddress(address);\\\\n\\\\n/**\\\\n * @dev Error indicating that the period is already processed, i.e. scattered reward.\\\\n */\\\\nerror ErrPeriodAlreadyProcessed(uint256 requestingPeriod, uint256 latestPeriod);\\\\n\\\\n/**\\\\n * @dev Error thrown when an invalid vote hash is provided.\\\\n */\\\\nerror ErrInvalidVoteHash();\\\\n\\\\n/**\\\\n * @dev Error thrown when querying for an empty vote.\\\\n */\\\\nerror ErrQueryForEmptyVote();\\\\n\\\\n/**\\\\n * @dev Error thrown when querying for an expired vote.\\\\n */\\\\nerror ErrQueryForExpiredVote();\\\\n\\\\n/**\\\\n * @dev Error thrown when querying for a non-existent vote.\\\\n */\\\\nerror ErrQueryForNonExistentVote();\\\\n\\\\n/**\\\\n * @dev Error indicating that the method is only called once per block.\\\\n */\\\\nerror ErrOncePerBlock();\\\\n\\\\n/**\\\\n * @dev Error of method caller must be coinbase\\\\n */\\\\nerror ErrCallerMustBeCoinbase();\\\\n\\\\n/**\\\\n * @dev Error thrown when an invalid proposal is encountered.\\\\n * @param actual The actual value of the proposal.\\\\n * @param expected The expected value of the proposal.\\\\n */\\\\nerror ErrInvalidProposal(bytes32 actual, bytes32 expected);\\\\n\\\\n/**\\\\n * @dev Error of proposal is not approved for executing.\\\\n */\\\\nerror ErrProposalNotApproved();\\\\n\\\\n/**\\\\n * @dev Error of the caller is not the specified executor.\\\\n */\\\\nerror ErrInvalidExecutor();\\\\n\\\\n/**\\\\n * @dev Error of the `caller` to relay is not the specified `executor`.\\\\n */\\\\nerror ErrNonExecutorCannotRelay(address executor, address caller);\\\\n\\\",\\\"keccak256\\\":\\\"0x0d9e2fd98f6b704273faad707ed9eadbd4c79551ee3f902bff5b29213a204679\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/utils/ContractType.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nenum ContractType {\\\\n UNKNOWN, // 0\\\\n PAUSE_ENFORCER, // 1\\\\n BRIDGE, // 2\\\\n BRIDGE_TRACKING, // 3\\\\n GOVERNANCE_ADMIN, // 4\\\\n MAINTENANCE, // 5\\\\n SLASH_INDICATOR, // 6\\\\n STAKING_VESTING, // 7\\\\n VALIDATOR, // 8\\\\n STAKING, // 9\\\\n RONIN_TRUSTED_ORGANIZATION, // 10\\\\n BRIDGE_MANAGER, // 11\\\\n BRIDGE_SLASH, // 12\\\\n BRIDGE_REWARD, // 13\\\\n FAST_FINALITY_TRACKING, // 14\\\\n PROFILE // 15\\\\n\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xec088aa939cd885dbe84e944942d7ea674e1fff8802c1f2ae5d8e84e4578357d\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/utils/IdentityGuard.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport { AddressArrayUtils } from \\\\\\\"../libraries/AddressArrayUtils.sol\\\\\\\";\\\\nimport { IERC165 } from \\\\\\\"@openzeppelin/contracts/utils/introspection/IERC165.sol\\\\\\\";\\\\nimport { TransparentUpgradeableProxyV2 } from \\\\\\\"../extensions/TransparentUpgradeableProxyV2.sol\\\\\\\";\\\\nimport { ErrAddressIsNotCreatedEOA, ErrZeroAddress, ErrOnlySelfCall, ErrZeroCodeContract, ErrUnsupportedInterface } from \\\\\\\"./CommonErrors.sol\\\\\\\";\\\\n\\\\nabstract contract IdentityGuard {\\\\n using AddressArrayUtils for address[];\\\\n\\\\n /// @dev value is equal to keccak256(abi.encode())\\\\n /// @dev see: https://eips.ethereum.org/EIPS/eip-1052\\\\n bytes32 internal constant CREATED_ACCOUNT_HASH = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;\\\\n\\\\n /**\\\\n * @dev Modifier to restrict functions to only be called by this contract.\\\\n * @dev Reverts if the caller is not this contract.\\\\n */\\\\n modifier onlySelfCall() virtual {\\\\n _requireSelfCall();\\\\n _;\\\\n }\\\\n\\\\n /**\\\\n * @dev Modifier to ensure that the elements in the `arr` array are non-duplicates.\\\\n * It calls the internal `_checkDuplicate` function to perform the duplicate check.\\\\n *\\\\n * Requirements:\\\\n * - The elements in the `arr` array must not contain any duplicates.\\\\n */\\\\n modifier nonDuplicate(address[] memory arr) virtual {\\\\n _requireNonDuplicate(arr);\\\\n _;\\\\n }\\\\n\\\\n /**\\\\n * @dev Internal method to check the method caller.\\\\n * @dev Reverts if the method caller is not this contract.\\\\n */\\\\n function _requireSelfCall() internal view virtual {\\\\n if (msg.sender != address(this)) revert ErrOnlySelfCall(msg.sig);\\\\n }\\\\n\\\\n /**\\\\n * @dev Internal function to check if a contract address has code.\\\\n * @param addr The address of the contract to check.\\\\n * @dev Throws an error if the contract address has no code.\\\\n */\\\\n function _requireHasCode(address addr) internal view {\\\\n if (addr.code.length == 0) revert ErrZeroCodeContract(addr);\\\\n }\\\\n\\\\n /**\\\\n * @dev Checks if an address is zero and reverts if it is.\\\\n * @param addr The address to check.\\\\n */\\\\n function _requireNonZeroAddress(address addr) internal pure {\\\\n if (addr == address(0)) revert ErrZeroAddress(msg.sig);\\\\n }\\\\n\\\\n /**\\\\n * @dev Check if arr is empty and revert if it is.\\\\n * Checks if an array contains any duplicate addresses and reverts if duplicates are found.\\\\n * @param arr The array of addresses to check.\\\\n */\\\\n function _requireNonDuplicate(address[] memory arr) internal pure {\\\\n if (arr.hasDuplicate()) revert AddressArrayUtils.ErrDuplicated(msg.sig);\\\\n }\\\\n\\\\n /**\\\\n * @dev Internal function to require that the provided address is a created externally owned account (EOA).\\\\n * This internal function is used to ensure that the provided address is a valid externally owned account (EOA).\\\\n * It checks the codehash of the address against a predefined constant to confirm that the address is a created EOA.\\\\n * @notice This method only works with non-state EOA accounts\\\\n */\\\\n function _requireCreatedEOA(address addr) internal view {\\\\n _requireNonZeroAddress(addr);\\\\n bytes32 codehash = addr.codehash;\\\\n if (codehash != CREATED_ACCOUNT_HASH) revert ErrAddressIsNotCreatedEOA(addr, codehash);\\\\n }\\\\n\\\\n /**\\\\n * @dev Internal function to require that the specified contract supports the given interface. This method handle in\\\\n * both case that the callee is either or not the proxy admin of the caller. If the contract does not support the\\\\n * interface `interfaceId` or EIP165, a revert with the corresponding error message is triggered.\\\\n *\\\\n * @param contractAddr The address of the contract to check for interface support.\\\\n * @param interfaceId The interface ID to check for support.\\\\n */\\\\n function _requireSupportsInterface(address contractAddr, bytes4 interfaceId) internal view {\\\\n bytes memory supportsInterfaceParams = abi.encodeCall(IERC165.supportsInterface, (interfaceId));\\\\n (bool success, bytes memory returnOrRevertData) = contractAddr.staticcall(supportsInterfaceParams);\\\\n if (!success) {\\\\n (success, returnOrRevertData) = contractAddr.staticcall(abi.encodeCall(TransparentUpgradeableProxyV2.functionDelegateCall, (supportsInterfaceParams)));\\\\n if (!success) revert ErrUnsupportedInterface(interfaceId, contractAddr);\\\\n }\\\\n if (!abi.decode(returnOrRevertData, (bool))) revert ErrUnsupportedInterface(interfaceId, contractAddr);\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x546ab4c9cdb0e7f8e650f140349225305ba1d0706dcaceeb9180c96aa765da59\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/utils/RoleAccess.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nenum RoleAccess {\\\\n UNKNOWN, // 0\\\\n ADMIN, // 1\\\\n COINBASE, // 2\\\\n GOVERNOR, // 3\\\\n CANDIDATE_ADMIN, // 4\\\\n WITHDRAWAL_MIGRATOR, // 5\\\\n __DEPRECATED_BRIDGE_OPERATOR, // 6\\\\n BLOCK_PRODUCER, // 7\\\\n VALIDATOR_CANDIDATE, // 8\\\\n CONSENSUS, // 9\\\\n TREASURY // 10\\\\n\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x671ff40dd874c508c4b3879a580996c7987fc018669256f47151e420a55c0e51\\\",\\\"license\\\":\\\"MIT\\\"}},\\\"version\\\":1}\"", - "nonce": 3, + "metadata": "\"{\\\"compiler\\\":{\\\"version\\\":\\\"0.8.23+commit.f704f362\\\"},\\\"language\\\":\\\"Solidity\\\",\\\"output\\\":{\\\"abi\\\":[{\\\"inputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"constructor\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"enum ContractType\\\",\\\"name\\\":\\\"contractType\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"name\\\":\\\"ErrContractTypeNotFound\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrERC1155MintingFailed\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrERC20MintingFailed\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrERC721MintingFailed\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrEmptyArray\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"msgSig\\\",\\\"type\\\":\\\"bytes4\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"actual\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"expected\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"ErrInvalidChainId\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrInvalidInfo\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"msgSig\\\",\\\"type\\\":\\\"bytes4\\\"}],\\\"name\\\":\\\"ErrInvalidOrder\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrInvalidPercentage\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrInvalidReceipt\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrInvalidReceiptKind\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrInvalidRequest\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"signer\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"weight\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"v\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"r\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"s\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"internalType\\\":\\\"struct SignatureConsumer.Signature\\\",\\\"name\\\":\\\"sig\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"name\\\":\\\"ErrInvalidSigner\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"msgSig\\\",\\\"type\\\":\\\"bytes4\\\"}],\\\"name\\\":\\\"ErrInvalidThreshold\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrInvalidTokenStandard\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"msgSig\\\",\\\"type\\\":\\\"bytes4\\\"}],\\\"name\\\":\\\"ErrLengthMismatch\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"msgSig\\\",\\\"type\\\":\\\"bytes4\\\"}],\\\"name\\\":\\\"ErrNullHighTierVoteWeightProvided\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"msgSig\\\",\\\"type\\\":\\\"bytes4\\\"}],\\\"name\\\":\\\"ErrNullMinVoteWeightProvided\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"msgSig\\\",\\\"type\\\":\\\"bytes4\\\"}],\\\"name\\\":\\\"ErrNullTotalWeightProvided\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrQueryForApprovedWithdrawal\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrQueryForInsufficientVoteWeight\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrQueryForProcessedWithdrawal\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrReachedDailyWithdrawalLimit\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[{\\\"components\\\":[{\\\"internalType\\\":\\\"enum TokenStandard\\\",\\\"name\\\":\\\"erc\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"quantity\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenInfo\\\",\\\"name\\\":\\\"tokenInfo\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"ErrTokenCouldNotTransfer\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[{\\\"components\\\":[{\\\"internalType\\\":\\\"enum TokenStandard\\\",\\\"name\\\":\\\"erc\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"quantity\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenInfo\\\",\\\"name\\\":\\\"tokenInfo\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"from\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"ErrTokenCouldNotTransferFrom\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"msgSig\\\",\\\"type\\\":\\\"bytes4\\\"},{\\\"internalType\\\":\\\"enum RoleAccess\\\",\\\"name\\\":\\\"expectedRole\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"name\\\":\\\"ErrUnauthorized\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"msgSig\\\",\\\"type\\\":\\\"bytes4\\\"},{\\\"internalType\\\":\\\"enum ContractType\\\",\\\"name\\\":\\\"expectedContractType\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"actual\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"ErrUnexpectedInternalCall\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrUnsupportedStandard\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"ErrUnsupportedToken\\\",\\\"type\\\":\\\"error\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"ErrZeroCodeContract\\\",\\\"type\\\":\\\"error\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"enum ContractType\\\",\\\"name\\\":\\\"contractType\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"ContractUpdated\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"tokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256[]\\\",\\\"name\\\":\\\"limits\\\",\\\"type\\\":\\\"uint256[]\\\"}],\\\"name\\\":\\\"DailyWithdrawalLimitsUpdated\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"receiptHash\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"enum Transfer.Kind\\\",\\\"name\\\":\\\"kind\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"chainId\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenOwner\\\",\\\"name\\\":\\\"mainchain\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"chainId\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenOwner\\\",\\\"name\\\":\\\"ronin\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"enum TokenStandard\\\",\\\"name\\\":\\\"erc\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"quantity\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenInfo\\\",\\\"name\\\":\\\"info\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"indexed\\\":false,\\\"internalType\\\":\\\"struct Transfer.Receipt\\\",\\\"name\\\":\\\"receipt\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"name\\\":\\\"DepositRequested\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"tokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256[]\\\",\\\"name\\\":\\\"thresholds\\\",\\\"type\\\":\\\"uint256[]\\\"}],\\\"name\\\":\\\"HighTierThresholdsUpdated\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"nonce\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"numerator\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"denominator\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"previousNumerator\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"previousDenominator\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"HighTierVoteWeightThresholdUpdated\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"version\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"name\\\":\\\"Initialized\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"tokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256[]\\\",\\\"name\\\":\\\"thresholds\\\",\\\"type\\\":\\\"uint256[]\\\"}],\\\"name\\\":\\\"LockedThresholdsUpdated\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"Paused\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"previousAdminRole\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"newAdminRole\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"name\\\":\\\"RoleAdminChanged\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"sender\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"RoleGranted\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"sender\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"RoleRevoked\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"nonce\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"numerator\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"denominator\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"previousNumerator\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"previousDenominator\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"ThresholdUpdated\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"mainchainTokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"roninTokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"enum TokenStandard[]\\\",\\\"name\\\":\\\"standards\\\",\\\"type\\\":\\\"uint8[]\\\"}],\\\"name\\\":\\\"TokenMapped\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"tokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256[]\\\",\\\"name\\\":\\\"percentages\\\",\\\"type\\\":\\\"uint256[]\\\"}],\\\"name\\\":\\\"UnlockFeePercentagesUpdated\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"Unpaused\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"receiptHash\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"enum Transfer.Kind\\\",\\\"name\\\":\\\"kind\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"chainId\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenOwner\\\",\\\"name\\\":\\\"mainchain\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"chainId\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenOwner\\\",\\\"name\\\":\\\"ronin\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"enum TokenStandard\\\",\\\"name\\\":\\\"erc\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"quantity\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenInfo\\\",\\\"name\\\":\\\"info\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"indexed\\\":false,\\\"internalType\\\":\\\"struct Transfer.Receipt\\\",\\\"name\\\":\\\"receipt\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"name\\\":\\\"WithdrawalLocked\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"receiptHash\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"enum Transfer.Kind\\\",\\\"name\\\":\\\"kind\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"chainId\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenOwner\\\",\\\"name\\\":\\\"mainchain\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"chainId\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenOwner\\\",\\\"name\\\":\\\"ronin\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"enum TokenStandard\\\",\\\"name\\\":\\\"erc\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"quantity\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenInfo\\\",\\\"name\\\":\\\"info\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"indexed\\\":false,\\\"internalType\\\":\\\"struct Transfer.Receipt\\\",\\\"name\\\":\\\"receipt\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"name\\\":\\\"WithdrawalUnlocked\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"receiptHash\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"enum Transfer.Kind\\\",\\\"name\\\":\\\"kind\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"chainId\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenOwner\\\",\\\"name\\\":\\\"mainchain\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"chainId\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenOwner\\\",\\\"name\\\":\\\"ronin\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"enum TokenStandard\\\",\\\"name\\\":\\\"erc\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"quantity\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenInfo\\\",\\\"name\\\":\\\"info\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"indexed\\\":false,\\\"internalType\\\":\\\"struct Transfer.Receipt\\\",\\\"name\\\":\\\"receipt\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"name\\\":\\\"Withdrew\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"contract IWETH\\\",\\\"name\\\":\\\"weth\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"WrappedNativeTokenContractUpdated\\\",\\\"type\\\":\\\"event\\\"},{\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"fallback\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"DEFAULT_ADMIN_ROLE\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"DOMAIN_SEPARATOR\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"WITHDRAWAL_UNLOCKER_ROLE\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"_MAX_PERCENTAGE\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_voteWeight\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"checkHighTierVoteWeightThreshold\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_voteWeight\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"checkThreshold\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"dailyWithdrawalLimit\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"depositCount\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"emergencyPauser\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"enum ContractType\\\",\\\"name\\\":\\\"contractType\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"name\\\":\\\"getContract\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"contract_\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"getHighTierVoteWeightThreshold\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"name\\\":\\\"getRoleAdmin\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"index\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"getRoleMember\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"name\\\":\\\"getRoleMemberCount\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"mainchainToken\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"getRoninToken\\\",\\\"outputs\\\":[{\\\"components\\\":[{\\\"internalType\\\":\\\"enum TokenStandard\\\",\\\"name\\\":\\\"erc\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"}],\\\"internalType\\\":\\\"struct MappedTokenConsumer.MappedToken\\\",\\\"name\\\":\\\"token\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"getThreshold\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"num_\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"denom_\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"grantRole\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"hasRole\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"highTierThreshold\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_roleSetter\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"contract IWETH\\\",\\\"name\\\":\\\"_wrappedToken\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_roninChainId\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_numerator\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_highTierVWNumerator\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_denominator\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"address[][3]\\\",\\\"name\\\":\\\"_addresses\\\",\\\"type\\\":\\\"address[][3]\\\"},{\\\"internalType\\\":\\\"uint256[][4]\\\",\\\"name\\\":\\\"_thresholds\\\",\\\"type\\\":\\\"uint256[][4]\\\"},{\\\"internalType\\\":\\\"enum TokenStandard[]\\\",\\\"name\\\":\\\"_standards\\\",\\\"type\\\":\\\"uint8[]\\\"}],\\\"name\\\":\\\"initialize\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"bridgeManagerContract\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"initializeV2\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"initializeV3\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address payable\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"initializeV4\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"lastDateSynced\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"lastSyncedWithdrawal\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"lockedThreshold\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"_mainchainTokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"_roninTokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"internalType\\\":\\\"enum TokenStandard[]\\\",\\\"name\\\":\\\"_standards\\\",\\\"type\\\":\\\"uint8[]\\\"}],\\\"name\\\":\\\"mapTokens\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"_mainchainTokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"_roninTokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"internalType\\\":\\\"enum TokenStandard[]\\\",\\\"name\\\":\\\"_standards\\\",\\\"type\\\":\\\"uint8[]\\\"},{\\\"internalType\\\":\\\"uint256[][4]\\\",\\\"name\\\":\\\"_thresholds\\\",\\\"type\\\":\\\"uint256[][4]\\\"}],\\\"name\\\":\\\"mapTokensAndThresholds\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"minimumVoteWeight\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"nonce\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"operators\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"internalType\\\":\\\"uint96[]\\\",\\\"name\\\":\\\"weights\\\",\\\"type\\\":\\\"uint96[]\\\"},{\\\"internalType\\\":\\\"bool[]\\\",\\\"name\\\":\\\"addeds\\\",\\\"type\\\":\\\"bool[]\\\"}],\\\"name\\\":\\\"onBridgeOperatorsAdded\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes4\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"operators\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"internalType\\\":\\\"bool[]\\\",\\\"name\\\":\\\"removeds\\\",\\\"type\\\":\\\"bool[]\\\"}],\\\"name\\\":\\\"onBridgeOperatorsRemoved\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes4\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256[]\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256[]\\\"},{\\\"internalType\\\":\\\"uint256[]\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256[]\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"onERC1155BatchReceived\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes4\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"bytes\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes\\\"}],\\\"name\\\":\\\"onERC1155Received\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes4\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"pause\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"paused\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_token\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_quantity\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"reachedWithdrawalLimit\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"receiveEther\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"renounceRole\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"recipientAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"enum TokenStandard\\\",\\\"name\\\":\\\"erc\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"quantity\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenInfo\\\",\\\"name\\\":\\\"info\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"internalType\\\":\\\"struct Transfer.Request\\\",\\\"name\\\":\\\"_request\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"name\\\":\\\"requestDepositFor\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"revokeRole\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"roninChainId\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"enum ContractType\\\",\\\"name\\\":\\\"contractType\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"setContract\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"_tokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"internalType\\\":\\\"uint256[]\\\",\\\"name\\\":\\\"_limits\\\",\\\"type\\\":\\\"uint256[]\\\"}],\\\"name\\\":\\\"setDailyWithdrawalLimits\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"_addr\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"setEmergencyPauser\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"_tokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"internalType\\\":\\\"uint256[]\\\",\\\"name\\\":\\\"_thresholds\\\",\\\"type\\\":\\\"uint256[]\\\"}],\\\"name\\\":\\\"setHighTierThresholds\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_numerator\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_denominator\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"setHighTierVoteWeightThreshold\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_previousNum\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"_previousDenom\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"_tokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"internalType\\\":\\\"uint256[]\\\",\\\"name\\\":\\\"_thresholds\\\",\\\"type\\\":\\\"uint256[]\\\"}],\\\"name\\\":\\\"setLockedThresholds\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"num\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"denom\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"setThreshold\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address[]\\\",\\\"name\\\":\\\"_tokens\\\",\\\"type\\\":\\\"address[]\\\"},{\\\"internalType\\\":\\\"uint256[]\\\",\\\"name\\\":\\\"_percentages\\\",\\\"type\\\":\\\"uint256[]\\\"}],\\\"name\\\":\\\"setUnlockFeePercentages\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"contract IWETH\\\",\\\"name\\\":\\\"_wrappedToken\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"setWrappedNativeTokenContract\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"components\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"enum Transfer.Kind\\\",\\\"name\\\":\\\"kind\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"chainId\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenOwner\\\",\\\"name\\\":\\\"mainchain\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"chainId\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenOwner\\\",\\\"name\\\":\\\"ronin\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"enum TokenStandard\\\",\\\"name\\\":\\\"erc\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"quantity\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenInfo\\\",\\\"name\\\":\\\"info\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"internalType\\\":\\\"struct Transfer.Receipt\\\",\\\"name\\\":\\\"_receipt\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"v\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"r\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"s\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"internalType\\\":\\\"struct SignatureConsumer.Signature[]\\\",\\\"name\\\":\\\"_signatures\\\",\\\"type\\\":\\\"tuple[]\\\"}],\\\"name\\\":\\\"submitWithdrawal\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"_locked\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"interfaceId\\\",\\\"type\\\":\\\"bytes4\\\"}],\\\"name\\\":\\\"supportsInterface\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"unlockFeePercentages\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"components\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"enum Transfer.Kind\\\",\\\"name\\\":\\\"kind\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"chainId\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenOwner\\\",\\\"name\\\":\\\"mainchain\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"addr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"tokenAddr\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"chainId\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenOwner\\\",\\\"name\\\":\\\"ronin\\\",\\\"type\\\":\\\"tuple\\\"},{\\\"components\\\":[{\\\"internalType\\\":\\\"enum TokenStandard\\\",\\\"name\\\":\\\"erc\\\",\\\"type\\\":\\\"uint8\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"quantity\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"internalType\\\":\\\"struct TokenInfo\\\",\\\"name\\\":\\\"info\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"internalType\\\":\\\"struct Transfer.Receipt\\\",\\\"name\\\":\\\"receipt\\\",\\\"type\\\":\\\"tuple\\\"}],\\\"name\\\":\\\"unlockWithdrawal\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"unpause\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"withdrawalHash\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"withdrawalLocked\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"wrappedNativeToken\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"contract IWETH\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"stateMutability\\\":\\\"payable\\\",\\\"type\\\":\\\"receive\\\"}],\\\"devdoc\\\":{\\\"errors\\\":{\\\"ErrContractTypeNotFound(uint8)\\\":[{\\\"details\\\":\\\"Error of invalid role.\\\"}],\\\"ErrERC1155MintingFailed()\\\":[{\\\"details\\\":\\\"Error indicating that the mint of ERC1155 tokens has failed.\\\"}],\\\"ErrERC20MintingFailed()\\\":[{\\\"details\\\":\\\"Error indicating that the minting of ERC20 tokens has failed.\\\"}],\\\"ErrERC721MintingFailed()\\\":[{\\\"details\\\":\\\"Error indicating that the minting of ERC721 tokens has failed.\\\"}],\\\"ErrEmptyArray()\\\":[{\\\"details\\\":\\\"Error indicating that an array is empty when it should contain elements.\\\"}],\\\"ErrInvalidChainId(bytes4,uint256,uint256)\\\":[{\\\"details\\\":\\\"Error indicating that the chain ID is invalid.\\\",\\\"params\\\":{\\\"actual\\\":\\\"Current chain ID that executing function.\\\",\\\"expected\\\":\\\"Expected chain ID required for the tx to success.\\\",\\\"msgSig\\\":\\\"The function signature (bytes4) of the operation that encountered an invalid chain ID.\\\"}}],\\\"ErrInvalidInfo()\\\":[{\\\"details\\\":\\\"Error indicating that the provided information is invalid.\\\"}],\\\"ErrInvalidOrder(bytes4)\\\":[{\\\"details\\\":\\\"Error indicating that an order is invalid.\\\",\\\"params\\\":{\\\"msgSig\\\":\\\"The function signature (bytes4) of the operation that encountered an invalid order.\\\"}}],\\\"ErrInvalidPercentage()\\\":[{\\\"details\\\":\\\"Error of invalid percentage.\\\"}],\\\"ErrInvalidReceipt()\\\":[{\\\"details\\\":\\\"Error indicating that a receipt is invalid.\\\"}],\\\"ErrInvalidReceiptKind()\\\":[{\\\"details\\\":\\\"Error indicating that a receipt kind is invalid.\\\"}],\\\"ErrInvalidRequest()\\\":[{\\\"details\\\":\\\"Error indicating that a request is invalid.\\\"}],\\\"ErrInvalidSigner(address,uint256,(uint8,bytes32,bytes32))\\\":[{\\\"details\\\":\\\"Error indicating that the recovered signer from the signature has invalid vote weight.\\\"}],\\\"ErrInvalidThreshold(bytes4)\\\":[{\\\"details\\\":\\\"Error indicating that the provided threshold is invalid for a specific function signature.\\\",\\\"params\\\":{\\\"msgSig\\\":\\\"The function signature (bytes4) that the invalid threshold applies to.\\\"}}],\\\"ErrInvalidTokenStandard()\\\":[{\\\"details\\\":\\\"Error indicating that a token standard is invalid.\\\"}],\\\"ErrLengthMismatch(bytes4)\\\":[{\\\"details\\\":\\\"Error indicating a mismatch in the length of input parameters or arrays for a specific function.\\\",\\\"params\\\":{\\\"msgSig\\\":\\\"The function signature (bytes4) that has a length mismatch.\\\"}}],\\\"ErrNullHighTierVoteWeightProvided(bytes4)\\\":[{\\\"details\\\":\\\"Error thrown when the high-tier vote weight threshold is `0`.\\\"}],\\\"ErrNullMinVoteWeightProvided(bytes4)\\\":[{\\\"details\\\":\\\"Error indicating that `_minimumVoteWeight` is returning 0.\\\"}],\\\"ErrNullTotalWeightProvided(bytes4)\\\":[{\\\"details\\\":\\\"Error indicating that the total weight provided is null.\\\"}],\\\"ErrQueryForApprovedWithdrawal()\\\":[{\\\"details\\\":\\\"Error indicating that a query was made for an approved withdrawal.\\\"}],\\\"ErrQueryForInsufficientVoteWeight()\\\":[{\\\"details\\\":\\\"Error indicating that a query was made for insufficient vote weight.\\\"}],\\\"ErrQueryForProcessedWithdrawal()\\\":[{\\\"details\\\":\\\"Error indicating that a query was made for a processed withdrawal.\\\"}],\\\"ErrReachedDailyWithdrawalLimit()\\\":[{\\\"details\\\":\\\"Error indicating that the daily withdrawal limit has been reached.\\\"}],\\\"ErrTokenCouldNotTransfer((uint8,uint256,uint256),address,address)\\\":[{\\\"details\\\":\\\"Error indicating that the `transfer` has failed.\\\",\\\"params\\\":{\\\"to\\\":\\\"Receiver of the token value.\\\",\\\"token\\\":\\\"Address of the token.\\\",\\\"tokenInfo\\\":\\\"Info of the token including ERC standard, id or quantity.\\\"}}],\\\"ErrTokenCouldNotTransferFrom((uint8,uint256,uint256),address,address,address)\\\":[{\\\"details\\\":\\\"Error indicating that the `handleAssetIn` has failed.\\\",\\\"params\\\":{\\\"from\\\":\\\"Owner of the token value.\\\",\\\"to\\\":\\\"Receiver of the token value.\\\",\\\"token\\\":\\\"Address of the token.\\\",\\\"tokenInfo\\\":\\\"Info of the token including ERC standard, id or quantity.\\\"}}],\\\"ErrUnauthorized(bytes4,uint8)\\\":[{\\\"details\\\":\\\"Error indicating that the caller is unauthorized to perform a specific function.\\\",\\\"params\\\":{\\\"expectedRole\\\":\\\"The role required to perform the function.\\\",\\\"msgSig\\\":\\\"The function signature (bytes4) that the caller is unauthorized to perform.\\\"}}],\\\"ErrUnexpectedInternalCall(bytes4,uint8,address)\\\":[{\\\"details\\\":\\\"Error indicating that the caller is unauthorized to perform a specific function.\\\",\\\"params\\\":{\\\"actual\\\":\\\"The actual address that called to the function.\\\",\\\"expectedContractType\\\":\\\"The contract type required to perform the function.\\\",\\\"msgSig\\\":\\\"The function signature (bytes4).\\\"}}],\\\"ErrUnsupportedStandard()\\\":[{\\\"details\\\":\\\"Error indicating that an unsupported standard is encountered.\\\"}],\\\"ErrUnsupportedToken()\\\":[{\\\"details\\\":\\\"Error indicating that a token is not supported.\\\"}],\\\"ErrZeroCodeContract(address)\\\":[{\\\"details\\\":\\\"Error of set to non-contract.\\\"}]},\\\"events\\\":{\\\"ContractUpdated(uint8,address)\\\":{\\\"details\\\":\\\"Emitted when a contract is updated.\\\"},\\\"DailyWithdrawalLimitsUpdated(address[],uint256[])\\\":{\\\"details\\\":\\\"Emitted when the daily limit thresholds are updated\\\"},\\\"DepositRequested(bytes32,(uint256,uint8,(address,address,uint256),(address,address,uint256),(uint8,uint256,uint256)))\\\":{\\\"details\\\":\\\"Emitted when the deposit is requested\\\"},\\\"HighTierThresholdsUpdated(address[],uint256[])\\\":{\\\"details\\\":\\\"Emitted when the thresholds for high-tier withdrawals that requires high-tier vote weights are updated\\\"},\\\"HighTierVoteWeightThresholdUpdated(uint256,uint256,uint256,uint256,uint256)\\\":{\\\"details\\\":\\\"Emitted when the high-tier vote weight threshold is updated\\\"},\\\"Initialized(uint8)\\\":{\\\"details\\\":\\\"Triggered when the contract has been initialized or reinitialized.\\\"},\\\"LockedThresholdsUpdated(address[],uint256[])\\\":{\\\"details\\\":\\\"Emitted when the thresholds for locked withdrawals are updated\\\"},\\\"Paused(address)\\\":{\\\"details\\\":\\\"Emitted when the pause is triggered by `account`.\\\"},\\\"RoleAdminChanged(bytes32,bytes32,bytes32)\\\":{\\\"details\\\":\\\"Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite {RoleAdminChanged} not being emitted signaling this. _Available since v3.1._\\\"},\\\"RoleGranted(bytes32,address,address)\\\":{\\\"details\\\":\\\"Emitted when `account` is granted `role`. `sender` is the account that originated the contract call, an admin role bearer except when using {AccessControl-_setupRole}.\\\"},\\\"RoleRevoked(bytes32,address,address)\\\":{\\\"details\\\":\\\"Emitted when `account` is revoked `role`. `sender` is the account that originated the contract call: - if using `revokeRole`, it is the admin role bearer - if using `renounceRole`, it is the role bearer (i.e. `account`)\\\"},\\\"ThresholdUpdated(uint256,uint256,uint256,uint256,uint256)\\\":{\\\"details\\\":\\\"Emitted when the threshold is updated\\\"},\\\"TokenMapped(address[],address[],uint8[])\\\":{\\\"details\\\":\\\"Emitted when the tokens are mapped\\\"},\\\"UnlockFeePercentagesUpdated(address[],uint256[])\\\":{\\\"details\\\":\\\"Emitted when the fee percentages to unlock withdraw are updated\\\"},\\\"Unpaused(address)\\\":{\\\"details\\\":\\\"Emitted when the pause is lifted by `account`.\\\"},\\\"WithdrawalLocked(bytes32,(uint256,uint8,(address,address,uint256),(address,address,uint256),(uint8,uint256,uint256)))\\\":{\\\"details\\\":\\\"Emitted when the withdrawal is locked\\\"},\\\"WithdrawalUnlocked(bytes32,(uint256,uint8,(address,address,uint256),(address,address,uint256),(uint8,uint256,uint256)))\\\":{\\\"details\\\":\\\"Emitted when the withdrawal is unlocked\\\"},\\\"Withdrew(bytes32,(uint256,uint8,(address,address,uint256),(address,address,uint256),(uint8,uint256,uint256)))\\\":{\\\"details\\\":\\\"Emitted when the assets are withdrawn\\\"},\\\"WrappedNativeTokenContractUpdated(address)\\\":{\\\"details\\\":\\\"Emitted when the wrapped native token contract is updated\\\"}},\\\"kind\\\":\\\"dev\\\",\\\"methods\\\":{\\\"DOMAIN_SEPARATOR()\\\":{\\\"details\\\":\\\"Returns the domain separator.\\\"},\\\"checkHighTierVoteWeightThreshold(uint256)\\\":{\\\"details\\\":\\\"Checks whether the `_voteWeight` passes the high-tier vote weight threshold.\\\"},\\\"checkThreshold(uint256)\\\":{\\\"details\\\":\\\"Checks whether the `_voteWeight` passes the threshold.\\\"},\\\"getContract(uint8)\\\":{\\\"details\\\":\\\"Returns the address of a contract with a specific role. Throws an error if no contract is set for the specified role.\\\",\\\"params\\\":{\\\"contractType\\\":\\\"The role of the contract to retrieve.\\\"},\\\"returns\\\":{\\\"contract_\\\":\\\"The address of the contract with the specified role.\\\"}},\\\"getHighTierVoteWeightThreshold()\\\":{\\\"details\\\":\\\"Returns the high-tier vote weight threshold.\\\"},\\\"getRoleAdmin(bytes32)\\\":{\\\"details\\\":\\\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\\\"},\\\"getRoleMember(bytes32,uint256)\\\":{\\\"details\\\":\\\"Returns one of the accounts that have `role`. `index` must be a value between 0 and {getRoleMemberCount}, non-inclusive. Role bearers are not sorted in any particular way, and their ordering may change at any point. WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure you perform all queries on the same block. See the following https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] for more information.\\\"},\\\"getRoleMemberCount(bytes32)\\\":{\\\"details\\\":\\\"Returns the number of accounts that have `role`. Can be used together with {getRoleMember} to enumerate all bearers of a role.\\\"},\\\"getRoninToken(address)\\\":{\\\"details\\\":\\\"Returns token address on Ronin network. Note: Reverts for unsupported token.\\\"},\\\"getThreshold()\\\":{\\\"details\\\":\\\"Returns the threshold.\\\"},\\\"grantRole(bytes32,address)\\\":{\\\"details\\\":\\\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleGranted} event.\\\"},\\\"hasRole(bytes32,address)\\\":{\\\"details\\\":\\\"Returns `true` if `account` has been granted `role`.\\\"},\\\"initialize(address,address,uint256,uint256,uint256,uint256,address[][3],uint256[][4],uint8[])\\\":{\\\"details\\\":\\\"Initializes contract storage.\\\"},\\\"mapTokens(address[],address[],uint8[])\\\":{\\\"details\\\":\\\"Maps mainchain tokens to Ronin network. Requirement: - The method caller is admin. - The arrays have the same length and its length larger than 0. Emits the `TokenMapped` event.\\\"},\\\"mapTokensAndThresholds(address[],address[],uint8[],uint256[][4])\\\":{\\\"details\\\":\\\"Maps mainchain tokens to Ronin network and sets thresholds. Requirement: - The method caller is admin. - The arrays have the same length and its length larger than 0. Emits the `TokenMapped` event.\\\"},\\\"minimumVoteWeight()\\\":{\\\"details\\\":\\\"Returns the minimum vote weight to pass the threshold.\\\"},\\\"onBridgeOperatorsAdded(address[],uint96[],bool[])\\\":{\\\"details\\\":\\\"Handles the event when bridge operators are added.\\\",\\\"params\\\":{\\\"addeds\\\":\\\"The corresponding boolean values indicating whether the operators were added or not.\\\",\\\"bridgeOperators\\\":\\\"The addresses of the bridge operators.\\\"},\\\"returns\\\":{\\\"_0\\\":\\\"The selector of the function being called.\\\"}},\\\"onBridgeOperatorsRemoved(address[],bool[])\\\":{\\\"details\\\":\\\"Handles the event when bridge operators are removed.\\\",\\\"params\\\":{\\\"bridgeOperators\\\":\\\"The addresses of the bridge operators.\\\",\\\"removeds\\\":\\\"The corresponding boolean values indicating whether the operators were removed or not.\\\"},\\\"returns\\\":{\\\"_0\\\":\\\"The selector of the function being called.\\\"}},\\\"pause()\\\":{\\\"details\\\":\\\"Triggers paused state.\\\"},\\\"paused()\\\":{\\\"details\\\":\\\"Returns true if the contract is paused, and false otherwise.\\\"},\\\"reachedWithdrawalLimit(address,uint256)\\\":{\\\"details\\\":\\\"Checks whether the withdrawal reaches the limitation.\\\"},\\\"receiveEther()\\\":{\\\"details\\\":\\\"Receives ether without doing anything. Use this function to topup native token.\\\"},\\\"renounceRole(bytes32,address)\\\":{\\\"details\\\":\\\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`. May emit a {RoleRevoked} event.\\\"},\\\"requestDepositFor((address,address,(uint8,uint256,uint256)))\\\":{\\\"details\\\":\\\"Locks the assets and request deposit.\\\"},\\\"revokeRole(bytes32,address)\\\":{\\\"details\\\":\\\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleRevoked} event.\\\"},\\\"setContract(uint8,address)\\\":{\\\"details\\\":\\\"Sets the address of a contract with a specific role. Emits the event {ContractUpdated}.\\\",\\\"params\\\":{\\\"addr\\\":\\\"The address of the contract to set.\\\",\\\"contractType\\\":\\\"The role of the contract to set.\\\"}},\\\"setDailyWithdrawalLimits(address[],uint256[])\\\":{\\\"details\\\":\\\"Sets daily limit amounts for the withdrawals. Requirements: - The method caller is admin. - The arrays have the same length and its length larger than 0. Emits the `DailyWithdrawalLimitsUpdated` event.\\\"},\\\"setEmergencyPauser(address)\\\":{\\\"details\\\":\\\"Grant emergency pauser role for `_addr`.\\\"},\\\"setHighTierThresholds(address[],uint256[])\\\":{\\\"details\\\":\\\"Sets the thresholds for high-tier withdrawals that requires high-tier vote weights. Requirements: - The method caller is admin. - The arrays have the same length and its length larger than 0. Emits the `HighTierThresholdsUpdated` event.\\\"},\\\"setHighTierVoteWeightThreshold(uint256,uint256)\\\":{\\\"details\\\":\\\"Sets high-tier vote weight threshold and returns the old one. Requirements: - The method caller is admin. - The high-tier vote weight threshold must equal to or larger than the normal threshold. Emits the `HighTierVoteWeightThresholdUpdated` event.\\\"},\\\"setLockedThresholds(address[],uint256[])\\\":{\\\"details\\\":\\\"Sets the amount thresholds to lock withdrawal. Requirements: - The method caller is admin. - The arrays have the same length and its length larger than 0. Emits the `LockedThresholdsUpdated` event.\\\"},\\\"setThreshold(uint256,uint256)\\\":{\\\"details\\\":\\\"Override `GatewayV3-setThreshold`. Requirements: - The high-tier vote weight threshold must equal to or larger than the normal threshold.\\\"},\\\"setUnlockFeePercentages(address[],uint256[])\\\":{\\\"details\\\":\\\"Sets fee percentages to unlock withdrawal. Requirements: - The method caller is admin. - The arrays have the same length and its length larger than 0. Emits the `UnlockFeePercentagesUpdated` event.\\\"},\\\"setWrappedNativeTokenContract(address)\\\":{\\\"details\\\":\\\"Sets the wrapped native token contract. Requirements: - The method caller is admin. Emits the `WrappedNativeTokenContractUpdated` event.\\\"},\\\"submitWithdrawal((uint256,uint8,(address,address,uint256),(address,address,uint256),(uint8,uint256,uint256)),(uint8,bytes32,bytes32)[])\\\":{\\\"details\\\":\\\"Withdraws based on the receipt and the validator signatures. Returns whether the withdrawal is locked. Emits the `Withdrew` once the assets are released.\\\"},\\\"unlockWithdrawal((uint256,uint8,(address,address,uint256),(address,address,uint256),(uint8,uint256,uint256)))\\\":{\\\"details\\\":\\\"Approves a specific withdrawal. Requirements: - The method caller is a validator. Emits the `Withdrew` once the assets are released.\\\"},\\\"unpause()\\\":{\\\"details\\\":\\\"Triggers unpaused state.\\\"}},\\\"stateVariables\\\":{\\\"WITHDRAWAL_UNLOCKER_ROLE\\\":{\\\"details\\\":\\\"Withdrawal unlocker role hash\\\"},\\\"______deprecatedBridgeOperatorAddedBlock\\\":{\\\"custom:deprecated\\\":\\\"Previously `_bridgeOperatorAddedBlock` (mapping(address => uint256))\\\"},\\\"______deprecatedBridgeOperators\\\":{\\\"custom:deprecated\\\":\\\"Previously `_bridgeOperators` (uint256[])\\\"},\\\"______deprecatedWethUnwrapper\\\":{\\\"custom:deprecated\\\":\\\"Previously `_wethUnwrapper` (address)\\\"},\\\"_domainSeparator\\\":{\\\"details\\\":\\\"Domain separator\\\"},\\\"_roninToken\\\":{\\\"details\\\":\\\"Mapping from mainchain token => token address on Ronin network\\\"},\\\"depositCount\\\":{\\\"details\\\":\\\"Total deposit\\\"},\\\"roninChainId\\\":{\\\"details\\\":\\\"Ronin network id\\\"},\\\"withdrawalHash\\\":{\\\"details\\\":\\\"Mapping from withdrawal id => withdrawal hash\\\"},\\\"withdrawalLocked\\\":{\\\"details\\\":\\\"Mapping from withdrawal id => locked\\\"},\\\"wrappedNativeToken\\\":{\\\"details\\\":\\\"Wrapped native token address\\\"}},\\\"version\\\":1},\\\"userdoc\\\":{\\\"kind\\\":\\\"user\\\",\\\"methods\\\":{\\\"unlockFeePercentages(address)\\\":{\\\"notice\\\":\\\"Values 0-1,000,000 map to 0%-100%\\\"}},\\\"version\\\":1}},\\\"settings\\\":{\\\"compilationTarget\\\":{\\\"src/mainchain/MainchainGatewayV3.sol\\\":\\\"MainchainGatewayV3\\\"},\\\"evmVersion\\\":\\\"shanghai\\\",\\\"libraries\\\":{},\\\"metadata\\\":{\\\"bytecodeHash\\\":\\\"ipfs\\\",\\\"useLiteralContent\\\":true},\\\"optimizer\\\":{\\\"enabled\\\":true,\\\"runs\\\":200},\\\"remappings\\\":[\\\":@fdk/=dependencies/@fdk-0.3.1-beta/script/\\\",\\\":@openzeppelin/=dependencies/@openzeppelin-4.7.3/\\\",\\\":@prb/math/=lib/prb-math/\\\",\\\":@prb/test/=dependencies/@prb-test-0.6.5/src/\\\",\\\":@ronin/contracts/=src/\\\",\\\":@ronin/test/=test/\\\",\\\":ds-test/=lib/prb-math/lib/forge-std/lib/ds-test/src/\\\",\\\":forge-std/=dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/\\\",\\\":hardhat-deploy/=node_modules/hardhat-deploy/\\\",\\\":hardhat/=node_modules/hardhat/\\\",\\\":openzeppelin-contracts/=lib/openzeppelin-contracts/\\\",\\\":prb-math/=lib/prb-math/src/\\\",\\\":prb-test/=lib/prb-test/src/\\\",\\\":solady/=dependencies/@fdk-0.3.1-beta/dependencies/@solady-0.0.228/src/\\\"]},\\\"sources\\\":{\\\"dependencies/@openzeppelin-4.7.3/contracts/access/AccessControl.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (access/AccessControl.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./IAccessControl.sol\\\\\\\";\\\\nimport \\\\\\\"../utils/Context.sol\\\\\\\";\\\\nimport \\\\\\\"../utils/Strings.sol\\\\\\\";\\\\nimport \\\\\\\"../utils/introspection/ERC165.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Contract module that allows children to implement role-based access\\\\n * control mechanisms. This is a lightweight version that doesn't allow enumerating role\\\\n * members except through off-chain means by accessing the contract event logs. Some\\\\n * applications may benefit from on-chain enumerability, for those cases see\\\\n * {AccessControlEnumerable}.\\\\n *\\\\n * Roles are referred to by their `bytes32` identifier. These should be exposed\\\\n * in the external API and be unique. The best way to achieve this is by\\\\n * using `public constant` hash digests:\\\\n *\\\\n * ```\\\\n * bytes32 public constant MY_ROLE = keccak256(\\\\\\\"MY_ROLE\\\\\\\");\\\\n * ```\\\\n *\\\\n * Roles can be used to represent a set of permissions. To restrict access to a\\\\n * function call, use {hasRole}:\\\\n *\\\\n * ```\\\\n * function foo() public {\\\\n * require(hasRole(MY_ROLE, msg.sender));\\\\n * ...\\\\n * }\\\\n * ```\\\\n *\\\\n * Roles can be granted and revoked dynamically via the {grantRole} and\\\\n * {revokeRole} functions. Each role has an associated admin role, and only\\\\n * accounts that have a role's admin role can call {grantRole} and {revokeRole}.\\\\n *\\\\n * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means\\\\n * that only accounts with this role will be able to grant or revoke other\\\\n * roles. More complex role relationships can be created by using\\\\n * {_setRoleAdmin}.\\\\n *\\\\n * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to\\\\n * grant and revoke this role. Extra precautions should be taken to secure\\\\n * accounts that have been granted it.\\\\n */\\\\nabstract contract AccessControl is Context, IAccessControl, ERC165 {\\\\n struct RoleData {\\\\n mapping(address => bool) members;\\\\n bytes32 adminRole;\\\\n }\\\\n\\\\n mapping(bytes32 => RoleData) private _roles;\\\\n\\\\n bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;\\\\n\\\\n /**\\\\n * @dev Modifier that checks that an account has a specific role. Reverts\\\\n * with a standardized message including the required role.\\\\n *\\\\n * The format of the revert reason is given by the following regular expression:\\\\n *\\\\n * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/\\\\n *\\\\n * _Available since v4.1._\\\\n */\\\\n modifier onlyRole(bytes32 role) {\\\\n _checkRole(role);\\\\n _;\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC165-supportsInterface}.\\\\n */\\\\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\\\\n return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns `true` if `account` has been granted `role`.\\\\n */\\\\n function hasRole(bytes32 role, address account) public view virtual override returns (bool) {\\\\n return _roles[role].members[account];\\\\n }\\\\n\\\\n /**\\\\n * @dev Revert with a standard message if `_msgSender()` is missing `role`.\\\\n * Overriding this function changes the behavior of the {onlyRole} modifier.\\\\n *\\\\n * Format of the revert message is described in {_checkRole}.\\\\n *\\\\n * _Available since v4.6._\\\\n */\\\\n function _checkRole(bytes32 role) internal view virtual {\\\\n _checkRole(role, _msgSender());\\\\n }\\\\n\\\\n /**\\\\n * @dev Revert with a standard message if `account` is missing `role`.\\\\n *\\\\n * The format of the revert reason is given by the following regular expression:\\\\n *\\\\n * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/\\\\n */\\\\n function _checkRole(bytes32 role, address account) internal view virtual {\\\\n if (!hasRole(role, account)) {\\\\n revert(\\\\n string(\\\\n abi.encodePacked(\\\\n \\\\\\\"AccessControl: account \\\\\\\",\\\\n Strings.toHexString(uint160(account), 20),\\\\n \\\\\\\" is missing role \\\\\\\",\\\\n Strings.toHexString(uint256(role), 32)\\\\n )\\\\n )\\\\n );\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the admin role that controls `role`. See {grantRole} and\\\\n * {revokeRole}.\\\\n *\\\\n * To change a role's admin, use {_setRoleAdmin}.\\\\n */\\\\n function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {\\\\n return _roles[role].adminRole;\\\\n }\\\\n\\\\n /**\\\\n * @dev Grants `role` to `account`.\\\\n *\\\\n * If `account` had not been already granted `role`, emits a {RoleGranted}\\\\n * event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the caller must have ``role``'s admin role.\\\\n *\\\\n * May emit a {RoleGranted} event.\\\\n */\\\\n function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {\\\\n _grantRole(role, account);\\\\n }\\\\n\\\\n /**\\\\n * @dev Revokes `role` from `account`.\\\\n *\\\\n * If `account` had been granted `role`, emits a {RoleRevoked} event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the caller must have ``role``'s admin role.\\\\n *\\\\n * May emit a {RoleRevoked} event.\\\\n */\\\\n function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {\\\\n _revokeRole(role, account);\\\\n }\\\\n\\\\n /**\\\\n * @dev Revokes `role` from the calling account.\\\\n *\\\\n * Roles are often managed via {grantRole} and {revokeRole}: this function's\\\\n * purpose is to provide a mechanism for accounts to lose their privileges\\\\n * if they are compromised (such as when a trusted device is misplaced).\\\\n *\\\\n * If the calling account had been revoked `role`, emits a {RoleRevoked}\\\\n * event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the caller must be `account`.\\\\n *\\\\n * May emit a {RoleRevoked} event.\\\\n */\\\\n function renounceRole(bytes32 role, address account) public virtual override {\\\\n require(account == _msgSender(), \\\\\\\"AccessControl: can only renounce roles for self\\\\\\\");\\\\n\\\\n _revokeRole(role, account);\\\\n }\\\\n\\\\n /**\\\\n * @dev Grants `role` to `account`.\\\\n *\\\\n * If `account` had not been already granted `role`, emits a {RoleGranted}\\\\n * event. Note that unlike {grantRole}, this function doesn't perform any\\\\n * checks on the calling account.\\\\n *\\\\n * May emit a {RoleGranted} event.\\\\n *\\\\n * [WARNING]\\\\n * ====\\\\n * This function should only be called from the constructor when setting\\\\n * up the initial roles for the system.\\\\n *\\\\n * Using this function in any other way is effectively circumventing the admin\\\\n * system imposed by {AccessControl}.\\\\n * ====\\\\n *\\\\n * NOTE: This function is deprecated in favor of {_grantRole}.\\\\n */\\\\n function _setupRole(bytes32 role, address account) internal virtual {\\\\n _grantRole(role, account);\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets `adminRole` as ``role``'s admin role.\\\\n *\\\\n * Emits a {RoleAdminChanged} event.\\\\n */\\\\n function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {\\\\n bytes32 previousAdminRole = getRoleAdmin(role);\\\\n _roles[role].adminRole = adminRole;\\\\n emit RoleAdminChanged(role, previousAdminRole, adminRole);\\\\n }\\\\n\\\\n /**\\\\n * @dev Grants `role` to `account`.\\\\n *\\\\n * Internal function without access restriction.\\\\n *\\\\n * May emit a {RoleGranted} event.\\\\n */\\\\n function _grantRole(bytes32 role, address account) internal virtual {\\\\n if (!hasRole(role, account)) {\\\\n _roles[role].members[account] = true;\\\\n emit RoleGranted(role, account, _msgSender());\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Revokes `role` from `account`.\\\\n *\\\\n * Internal function without access restriction.\\\\n *\\\\n * May emit a {RoleRevoked} event.\\\\n */\\\\n function _revokeRole(bytes32 role, address account) internal virtual {\\\\n if (hasRole(role, account)) {\\\\n _roles[role].members[account] = false;\\\\n emit RoleRevoked(role, account, _msgSender());\\\\n }\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x5b35d8e68aeaccc685239bd9dd79b9ba01a0357930f8a3307ab85511733d9724\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/access/AccessControlEnumerable.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControlEnumerable.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./IAccessControlEnumerable.sol\\\\\\\";\\\\nimport \\\\\\\"./AccessControl.sol\\\\\\\";\\\\nimport \\\\\\\"../utils/structs/EnumerableSet.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Extension of {AccessControl} that allows enumerating the members of each role.\\\\n */\\\\nabstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl {\\\\n using EnumerableSet for EnumerableSet.AddressSet;\\\\n\\\\n mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers;\\\\n\\\\n /**\\\\n * @dev See {IERC165-supportsInterface}.\\\\n */\\\\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\\\\n return interfaceId == type(IAccessControlEnumerable).interfaceId || super.supportsInterface(interfaceId);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns one of the accounts that have `role`. `index` must be a\\\\n * value between 0 and {getRoleMemberCount}, non-inclusive.\\\\n *\\\\n * Role bearers are not sorted in any particular way, and their ordering may\\\\n * change at any point.\\\\n *\\\\n * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure\\\\n * you perform all queries on the same block. See the following\\\\n * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]\\\\n * for more information.\\\\n */\\\\n function getRoleMember(bytes32 role, uint256 index) public view virtual override returns (address) {\\\\n return _roleMembers[role].at(index);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the number of accounts that have `role`. Can be used\\\\n * together with {getRoleMember} to enumerate all bearers of a role.\\\\n */\\\\n function getRoleMemberCount(bytes32 role) public view virtual override returns (uint256) {\\\\n return _roleMembers[role].length();\\\\n }\\\\n\\\\n /**\\\\n * @dev Overload {_grantRole} to track enumerable memberships\\\\n */\\\\n function _grantRole(bytes32 role, address account) internal virtual override {\\\\n super._grantRole(role, account);\\\\n _roleMembers[role].add(account);\\\\n }\\\\n\\\\n /**\\\\n * @dev Overload {_revokeRole} to track enumerable memberships\\\\n */\\\\n function _revokeRole(bytes32 role, address account) internal virtual override {\\\\n super._revokeRole(role, account);\\\\n _roleMembers[role].remove(account);\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x13f5e15f2a0650c0b6aaee2ef19e89eaf4870d6e79662d572a393334c1397247\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/access/IAccessControl.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev External interface of AccessControl declared to support ERC165 detection.\\\\n */\\\\ninterface IAccessControl {\\\\n /**\\\\n * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`\\\\n *\\\\n * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite\\\\n * {RoleAdminChanged} not being emitted signaling this.\\\\n *\\\\n * _Available since v3.1._\\\\n */\\\\n event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);\\\\n\\\\n /**\\\\n * @dev Emitted when `account` is granted `role`.\\\\n *\\\\n * `sender` is the account that originated the contract call, an admin role\\\\n * bearer except when using {AccessControl-_setupRole}.\\\\n */\\\\n event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);\\\\n\\\\n /**\\\\n * @dev Emitted when `account` is revoked `role`.\\\\n *\\\\n * `sender` is the account that originated the contract call:\\\\n * - if using `revokeRole`, it is the admin role bearer\\\\n * - if using `renounceRole`, it is the role bearer (i.e. `account`)\\\\n */\\\\n event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);\\\\n\\\\n /**\\\\n * @dev Returns `true` if `account` has been granted `role`.\\\\n */\\\\n function hasRole(bytes32 role, address account) external view returns (bool);\\\\n\\\\n /**\\\\n * @dev Returns the admin role that controls `role`. See {grantRole} and\\\\n * {revokeRole}.\\\\n *\\\\n * To change a role's admin, use {AccessControl-_setRoleAdmin}.\\\\n */\\\\n function getRoleAdmin(bytes32 role) external view returns (bytes32);\\\\n\\\\n /**\\\\n * @dev Grants `role` to `account`.\\\\n *\\\\n * If `account` had not been already granted `role`, emits a {RoleGranted}\\\\n * event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the caller must have ``role``'s admin role.\\\\n */\\\\n function grantRole(bytes32 role, address account) external;\\\\n\\\\n /**\\\\n * @dev Revokes `role` from `account`.\\\\n *\\\\n * If `account` had been granted `role`, emits a {RoleRevoked} event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the caller must have ``role``'s admin role.\\\\n */\\\\n function revokeRole(bytes32 role, address account) external;\\\\n\\\\n /**\\\\n * @dev Revokes `role` from the calling account.\\\\n *\\\\n * Roles are often managed via {grantRole} and {revokeRole}: this function's\\\\n * purpose is to provide a mechanism for accounts to lose their privileges\\\\n * if they are compromised (such as when a trusted device is misplaced).\\\\n *\\\\n * If the calling account had been granted `role`, emits a {RoleRevoked}\\\\n * event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the caller must be `account`.\\\\n */\\\\n function renounceRole(bytes32 role, address account) external;\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/access/IAccessControlEnumerable.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (access/IAccessControlEnumerable.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./IAccessControl.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.\\\\n */\\\\ninterface IAccessControlEnumerable is IAccessControl {\\\\n /**\\\\n * @dev Returns one of the accounts that have `role`. `index` must be a\\\\n * value between 0 and {getRoleMemberCount}, non-inclusive.\\\\n *\\\\n * Role bearers are not sorted in any particular way, and their ordering may\\\\n * change at any point.\\\\n *\\\\n * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure\\\\n * you perform all queries on the same block. See the following\\\\n * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]\\\\n * for more information.\\\\n */\\\\n function getRoleMember(bytes32 role, uint256 index) external view returns (address);\\\\n\\\\n /**\\\\n * @dev Returns the number of accounts that have `role`. Can be used\\\\n * together with {getRoleMember} to enumerate all bearers of a role.\\\\n */\\\\n function getRoleMemberCount(bytes32 role) external view returns (uint256);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xba4459ab871dfa300f5212c6c30178b63898c03533a1ede28436f11546626676\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/interfaces/draft-IERC1822.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.5.0) (interfaces/draft-IERC1822.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified\\\\n * proxy whose upgrades are fully controlled by the current implementation.\\\\n */\\\\ninterface IERC1822Proxiable {\\\\n /**\\\\n * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation\\\\n * address.\\\\n *\\\\n * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\\\\n * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\\\\n * function revert if invoked through a proxy.\\\\n */\\\\n function proxiableUUID() external view returns (bytes32);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x1d4afe6cb24200cc4545eed814ecf5847277dfe5d613a1707aad5fceecebcfff\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/proxy/ERC1967/ERC1967Proxy.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (proxy/ERC1967/ERC1967Proxy.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../Proxy.sol\\\\\\\";\\\\nimport \\\\\\\"./ERC1967Upgrade.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev This contract implements an upgradeable proxy. It is upgradeable because calls are delegated to an\\\\n * implementation address that can be changed. This address is stored in storage in the location specified by\\\\n * https://eips.ethereum.org/EIPS/eip-1967[EIP1967], so that it doesn't conflict with the storage layout of the\\\\n * implementation behind the proxy.\\\\n */\\\\ncontract ERC1967Proxy is Proxy, ERC1967Upgrade {\\\\n /**\\\\n * @dev Initializes the upgradeable proxy with an initial implementation specified by `_logic`.\\\\n *\\\\n * If `_data` is nonempty, it's used as data in a delegate call to `_logic`. This will typically be an encoded\\\\n * function call, and allows initializing the storage of the proxy like a Solidity constructor.\\\\n */\\\\n constructor(address _logic, bytes memory _data) payable {\\\\n _upgradeToAndCall(_logic, _data, false);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the current implementation address.\\\\n */\\\\n function _implementation() internal view virtual override returns (address impl) {\\\\n return ERC1967Upgrade._getImplementation();\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xa2b22da3032e50b55f95ec1d13336102d675f341167aa76db571ef7f8bb7975d\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/proxy/ERC1967/ERC1967Upgrade.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.5.0) (proxy/ERC1967/ERC1967Upgrade.sol)\\\\n\\\\npragma solidity ^0.8.2;\\\\n\\\\nimport \\\\\\\"../beacon/IBeacon.sol\\\\\\\";\\\\nimport \\\\\\\"../../interfaces/draft-IERC1822.sol\\\\\\\";\\\\nimport \\\\\\\"../../utils/Address.sol\\\\\\\";\\\\nimport \\\\\\\"../../utils/StorageSlot.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev This abstract contract provides getters and event emitting update functions for\\\\n * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.\\\\n *\\\\n * _Available since v4.1._\\\\n *\\\\n * @custom:oz-upgrades-unsafe-allow delegatecall\\\\n */\\\\nabstract contract ERC1967Upgrade {\\\\n // This is the keccak-256 hash of \\\\\\\"eip1967.proxy.rollback\\\\\\\" subtracted by 1\\\\n bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143;\\\\n\\\\n /**\\\\n * @dev Storage slot with the address of the current implementation.\\\\n * This is the keccak-256 hash of \\\\\\\"eip1967.proxy.implementation\\\\\\\" subtracted by 1, and is\\\\n * validated in the constructor.\\\\n */\\\\n bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\\\\n\\\\n /**\\\\n * @dev Emitted when the implementation is upgraded.\\\\n */\\\\n event Upgraded(address indexed implementation);\\\\n\\\\n /**\\\\n * @dev Returns the current implementation address.\\\\n */\\\\n function _getImplementation() internal view returns (address) {\\\\n return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\\\\n }\\\\n\\\\n /**\\\\n * @dev Stores a new address in the EIP1967 implementation slot.\\\\n */\\\\n function _setImplementation(address newImplementation) private {\\\\n require(Address.isContract(newImplementation), \\\\\\\"ERC1967: new implementation is not a contract\\\\\\\");\\\\n StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\\\\n }\\\\n\\\\n /**\\\\n * @dev Perform implementation upgrade\\\\n *\\\\n * Emits an {Upgraded} event.\\\\n */\\\\n function _upgradeTo(address newImplementation) internal {\\\\n _setImplementation(newImplementation);\\\\n emit Upgraded(newImplementation);\\\\n }\\\\n\\\\n /**\\\\n * @dev Perform implementation upgrade with additional setup call.\\\\n *\\\\n * Emits an {Upgraded} event.\\\\n */\\\\n function _upgradeToAndCall(\\\\n address newImplementation,\\\\n bytes memory data,\\\\n bool forceCall\\\\n ) internal {\\\\n _upgradeTo(newImplementation);\\\\n if (data.length > 0 || forceCall) {\\\\n Address.functionDelegateCall(newImplementation, data);\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call.\\\\n *\\\\n * Emits an {Upgraded} event.\\\\n */\\\\n function _upgradeToAndCallUUPS(\\\\n address newImplementation,\\\\n bytes memory data,\\\\n bool forceCall\\\\n ) internal {\\\\n // Upgrades from old implementations will perform a rollback test. This test requires the new\\\\n // implementation to upgrade back to the old, non-ERC1822 compliant, implementation. Removing\\\\n // this special case will break upgrade paths from old UUPS implementation to new ones.\\\\n if (StorageSlot.getBooleanSlot(_ROLLBACK_SLOT).value) {\\\\n _setImplementation(newImplementation);\\\\n } else {\\\\n try IERC1822Proxiable(newImplementation).proxiableUUID() returns (bytes32 slot) {\\\\n require(slot == _IMPLEMENTATION_SLOT, \\\\\\\"ERC1967Upgrade: unsupported proxiableUUID\\\\\\\");\\\\n } catch {\\\\n revert(\\\\\\\"ERC1967Upgrade: new implementation is not UUPS\\\\\\\");\\\\n }\\\\n _upgradeToAndCall(newImplementation, data, forceCall);\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Storage slot with the admin of the contract.\\\\n * This is the keccak-256 hash of \\\\\\\"eip1967.proxy.admin\\\\\\\" subtracted by 1, and is\\\\n * validated in the constructor.\\\\n */\\\\n bytes32 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;\\\\n\\\\n /**\\\\n * @dev Emitted when the admin account has changed.\\\\n */\\\\n event AdminChanged(address previousAdmin, address newAdmin);\\\\n\\\\n /**\\\\n * @dev Returns the current admin.\\\\n */\\\\n function _getAdmin() internal view returns (address) {\\\\n return StorageSlot.getAddressSlot(_ADMIN_SLOT).value;\\\\n }\\\\n\\\\n /**\\\\n * @dev Stores a new address in the EIP1967 admin slot.\\\\n */\\\\n function _setAdmin(address newAdmin) private {\\\\n require(newAdmin != address(0), \\\\\\\"ERC1967: new admin is the zero address\\\\\\\");\\\\n StorageSlot.getAddressSlot(_ADMIN_SLOT).value = newAdmin;\\\\n }\\\\n\\\\n /**\\\\n * @dev Changes the admin of the proxy.\\\\n *\\\\n * Emits an {AdminChanged} event.\\\\n */\\\\n function _changeAdmin(address newAdmin) internal {\\\\n emit AdminChanged(_getAdmin(), newAdmin);\\\\n _setAdmin(newAdmin);\\\\n }\\\\n\\\\n /**\\\\n * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.\\\\n * This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor.\\\\n */\\\\n bytes32 internal constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;\\\\n\\\\n /**\\\\n * @dev Emitted when the beacon is upgraded.\\\\n */\\\\n event BeaconUpgraded(address indexed beacon);\\\\n\\\\n /**\\\\n * @dev Returns the current beacon.\\\\n */\\\\n function _getBeacon() internal view returns (address) {\\\\n return StorageSlot.getAddressSlot(_BEACON_SLOT).value;\\\\n }\\\\n\\\\n /**\\\\n * @dev Stores a new beacon in the EIP1967 beacon slot.\\\\n */\\\\n function _setBeacon(address newBeacon) private {\\\\n require(Address.isContract(newBeacon), \\\\\\\"ERC1967: new beacon is not a contract\\\\\\\");\\\\n require(\\\\n Address.isContract(IBeacon(newBeacon).implementation()),\\\\n \\\\\\\"ERC1967: beacon implementation is not a contract\\\\\\\"\\\\n );\\\\n StorageSlot.getAddressSlot(_BEACON_SLOT).value = newBeacon;\\\\n }\\\\n\\\\n /**\\\\n * @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does\\\\n * not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that).\\\\n *\\\\n * Emits a {BeaconUpgraded} event.\\\\n */\\\\n function _upgradeBeaconToAndCall(\\\\n address newBeacon,\\\\n bytes memory data,\\\\n bool forceCall\\\\n ) internal {\\\\n _setBeacon(newBeacon);\\\\n emit BeaconUpgraded(newBeacon);\\\\n if (data.length > 0 || forceCall) {\\\\n Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data);\\\\n }\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xabf3f59bc0e5423eae45e459dbe92e7052c6983628d39008590edc852a62f94a\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/proxy/Proxy.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.6.0) (proxy/Proxy.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM\\\\n * instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to\\\\n * be specified by overriding the virtual {_implementation} function.\\\\n *\\\\n * Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a\\\\n * different contract through the {_delegate} function.\\\\n *\\\\n * The success and return data of the delegated call will be returned back to the caller of the proxy.\\\\n */\\\\nabstract contract Proxy {\\\\n /**\\\\n * @dev Delegates the current call to `implementation`.\\\\n *\\\\n * This function does not return to its internal call site, it will return directly to the external caller.\\\\n */\\\\n function _delegate(address implementation) internal virtual {\\\\n assembly {\\\\n // Copy msg.data. We take full control of memory in this inline assembly\\\\n // block because it will not return to Solidity code. We overwrite the\\\\n // Solidity scratch pad at memory position 0.\\\\n calldatacopy(0, 0, calldatasize())\\\\n\\\\n // Call the implementation.\\\\n // out and outsize are 0 because we don't know the size yet.\\\\n let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0)\\\\n\\\\n // Copy the returned data.\\\\n returndatacopy(0, 0, returndatasize())\\\\n\\\\n switch result\\\\n // delegatecall returns 0 on error.\\\\n case 0 {\\\\n revert(0, returndatasize())\\\\n }\\\\n default {\\\\n return(0, returndatasize())\\\\n }\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev This is a virtual function that should be overridden so it returns the address to which the fallback function\\\\n * and {_fallback} should delegate.\\\\n */\\\\n function _implementation() internal view virtual returns (address);\\\\n\\\\n /**\\\\n * @dev Delegates the current call to the address returned by `_implementation()`.\\\\n *\\\\n * This function does not return to its internal call site, it will return directly to the external caller.\\\\n */\\\\n function _fallback() internal virtual {\\\\n _beforeFallback();\\\\n _delegate(_implementation());\\\\n }\\\\n\\\\n /**\\\\n * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other\\\\n * function in the contract matches the call data.\\\\n */\\\\n fallback() external payable virtual {\\\\n _fallback();\\\\n }\\\\n\\\\n /**\\\\n * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data\\\\n * is empty.\\\\n */\\\\n receive() external payable virtual {\\\\n _fallback();\\\\n }\\\\n\\\\n /**\\\\n * @dev Hook that is called before falling back to the implementation. Can happen as part of a manual `_fallback`\\\\n * call, or as part of the Solidity `fallback` or `receive` functions.\\\\n *\\\\n * If overridden should call `super._beforeFallback()`.\\\\n */\\\\n function _beforeFallback() internal virtual {}\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xc130fe33f1b2132158531a87734153293f6d07bc263ff4ac90e85da9c82c0e27\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/proxy/beacon/IBeacon.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (proxy/beacon/IBeacon.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev This is the interface that {BeaconProxy} expects of its beacon.\\\\n */\\\\ninterface IBeacon {\\\\n /**\\\\n * @dev Must return an address that can be used as a delegate call target.\\\\n *\\\\n * {BeaconProxy} will check that this address is a contract.\\\\n */\\\\n function implementation() external view returns (address);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xd50a3421ac379ccb1be435fa646d66a65c986b4924f0849839f08692f39dde61\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/proxy/transparent/TransparentUpgradeableProxy.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (proxy/transparent/TransparentUpgradeableProxy.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../ERC1967/ERC1967Proxy.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev This contract implements a proxy that is upgradeable by an admin.\\\\n *\\\\n * To avoid https://medium.com/nomic-labs-blog/malicious-backdoors-in-ethereum-proxies-62629adf3357[proxy selector\\\\n * clashing], which can potentially be used in an attack, this contract uses the\\\\n * https://blog.openzeppelin.com/the-transparent-proxy-pattern/[transparent proxy pattern]. This pattern implies two\\\\n * things that go hand in hand:\\\\n *\\\\n * 1. If any account other than the admin calls the proxy, the call will be forwarded to the implementation, even if\\\\n * that call matches one of the admin functions exposed by the proxy itself.\\\\n * 2. If the admin calls the proxy, it can access the admin functions, but its calls will never be forwarded to the\\\\n * implementation. If the admin tries to call a function on the implementation it will fail with an error that says\\\\n * \\\\\\\"admin cannot fallback to proxy target\\\\\\\".\\\\n *\\\\n * These properties mean that the admin account can only be used for admin actions like upgrading the proxy or changing\\\\n * the admin, so it's best if it's a dedicated account that is not used for anything else. This will avoid headaches due\\\\n * to sudden errors when trying to call a function from the proxy implementation.\\\\n *\\\\n * Our recommendation is for the dedicated account to be an instance of the {ProxyAdmin} contract. If set up this way,\\\\n * you should think of the `ProxyAdmin` instance as the real administrative interface of your proxy.\\\\n */\\\\ncontract TransparentUpgradeableProxy is ERC1967Proxy {\\\\n /**\\\\n * @dev Initializes an upgradeable proxy managed by `_admin`, backed by the implementation at `_logic`, and\\\\n * optionally initialized with `_data` as explained in {ERC1967Proxy-constructor}.\\\\n */\\\\n constructor(\\\\n address _logic,\\\\n address admin_,\\\\n bytes memory _data\\\\n ) payable ERC1967Proxy(_logic, _data) {\\\\n _changeAdmin(admin_);\\\\n }\\\\n\\\\n /**\\\\n * @dev Modifier used internally that will delegate the call to the implementation unless the sender is the admin.\\\\n */\\\\n modifier ifAdmin() {\\\\n if (msg.sender == _getAdmin()) {\\\\n _;\\\\n } else {\\\\n _fallback();\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the current admin.\\\\n *\\\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyAdmin}.\\\\n *\\\\n * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the\\\\n * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.\\\\n * `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`\\\\n */\\\\n function admin() external ifAdmin returns (address admin_) {\\\\n admin_ = _getAdmin();\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the current implementation.\\\\n *\\\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyImplementation}.\\\\n *\\\\n * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the\\\\n * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.\\\\n * `0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc`\\\\n */\\\\n function implementation() external ifAdmin returns (address implementation_) {\\\\n implementation_ = _implementation();\\\\n }\\\\n\\\\n /**\\\\n * @dev Changes the admin of the proxy.\\\\n *\\\\n * Emits an {AdminChanged} event.\\\\n *\\\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-changeProxyAdmin}.\\\\n */\\\\n function changeAdmin(address newAdmin) external virtual ifAdmin {\\\\n _changeAdmin(newAdmin);\\\\n }\\\\n\\\\n /**\\\\n * @dev Upgrade the implementation of the proxy.\\\\n *\\\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-upgrade}.\\\\n */\\\\n function upgradeTo(address newImplementation) external ifAdmin {\\\\n _upgradeToAndCall(newImplementation, bytes(\\\\\\\"\\\\\\\"), false);\\\\n }\\\\n\\\\n /**\\\\n * @dev Upgrade the implementation of the proxy, and then call a function from the new implementation as specified\\\\n * by `data`, which should be an encoded function call. This is useful to initialize new storage variables in the\\\\n * proxied contract.\\\\n *\\\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-upgradeAndCall}.\\\\n */\\\\n function upgradeToAndCall(address newImplementation, bytes calldata data) external payable ifAdmin {\\\\n _upgradeToAndCall(newImplementation, data, true);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the current admin.\\\\n */\\\\n function _admin() internal view virtual returns (address) {\\\\n return _getAdmin();\\\\n }\\\\n\\\\n /**\\\\n * @dev Makes sure the admin cannot access the fallback function. See {Proxy-_beforeFallback}.\\\\n */\\\\n function _beforeFallback() internal virtual override {\\\\n require(msg.sender != _getAdmin(), \\\\\\\"TransparentUpgradeableProxy: admin cannot fallback to proxy target\\\\\\\");\\\\n super._beforeFallback();\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xa6a787e7a901af6511e19aa53e1a00352db215a011d2c7a438d0582dd5da76f9\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/proxy/utils/Initializable.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (proxy/utils/Initializable.sol)\\\\n\\\\npragma solidity ^0.8.2;\\\\n\\\\nimport \\\\\\\"../../utils/Address.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed\\\\n * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an\\\\n * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer\\\\n * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.\\\\n *\\\\n * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be\\\\n * reused. This mechanism prevents re-execution of each \\\\\\\"step\\\\\\\" but allows the creation of new initialization steps in\\\\n * case an upgrade adds a module that needs to be initialized.\\\\n *\\\\n * For example:\\\\n *\\\\n * [.hljs-theme-light.nopadding]\\\\n * ```\\\\n * contract MyToken is ERC20Upgradeable {\\\\n * function initialize() initializer public {\\\\n * __ERC20_init(\\\\\\\"MyToken\\\\\\\", \\\\\\\"MTK\\\\\\\");\\\\n * }\\\\n * }\\\\n * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {\\\\n * function initializeV2() reinitializer(2) public {\\\\n * __ERC20Permit_init(\\\\\\\"MyToken\\\\\\\");\\\\n * }\\\\n * }\\\\n * ```\\\\n *\\\\n * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as\\\\n * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.\\\\n *\\\\n * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure\\\\n * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.\\\\n *\\\\n * [CAUTION]\\\\n * ====\\\\n * Avoid leaving a contract uninitialized.\\\\n *\\\\n * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation\\\\n * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke\\\\n * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:\\\\n *\\\\n * [.hljs-theme-light.nopadding]\\\\n * ```\\\\n * /// @custom:oz-upgrades-unsafe-allow constructor\\\\n * constructor() {\\\\n * _disableInitializers();\\\\n * }\\\\n * ```\\\\n * ====\\\\n */\\\\nabstract contract Initializable {\\\\n /**\\\\n * @dev Indicates that the contract has been initialized.\\\\n * @custom:oz-retyped-from bool\\\\n */\\\\n uint8 private _initialized;\\\\n\\\\n /**\\\\n * @dev Indicates that the contract is in the process of being initialized.\\\\n */\\\\n bool private _initializing;\\\\n\\\\n /**\\\\n * @dev Triggered when the contract has been initialized or reinitialized.\\\\n */\\\\n event Initialized(uint8 version);\\\\n\\\\n /**\\\\n * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,\\\\n * `onlyInitializing` functions can be used to initialize parent contracts. Equivalent to `reinitializer(1)`.\\\\n */\\\\n modifier initializer() {\\\\n bool isTopLevelCall = !_initializing;\\\\n require(\\\\n (isTopLevelCall && _initialized < 1) || (!Address.isContract(address(this)) && _initialized == 1),\\\\n \\\\\\\"Initializable: contract is already initialized\\\\\\\"\\\\n );\\\\n _initialized = 1;\\\\n if (isTopLevelCall) {\\\\n _initializing = true;\\\\n }\\\\n _;\\\\n if (isTopLevelCall) {\\\\n _initializing = false;\\\\n emit Initialized(1);\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the\\\\n * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be\\\\n * used to initialize parent contracts.\\\\n *\\\\n * `initializer` is equivalent to `reinitializer(1)`, so a reinitializer may be used after the original\\\\n * initialization step. This is essential to configure modules that are added through upgrades and that require\\\\n * initialization.\\\\n *\\\\n * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in\\\\n * a contract, executing them in the right order is up to the developer or operator.\\\\n */\\\\n modifier reinitializer(uint8 version) {\\\\n require(!_initializing && _initialized < version, \\\\\\\"Initializable: contract is already initialized\\\\\\\");\\\\n _initialized = version;\\\\n _initializing = true;\\\\n _;\\\\n _initializing = false;\\\\n emit Initialized(version);\\\\n }\\\\n\\\\n /**\\\\n * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the\\\\n * {initializer} and {reinitializer} modifiers, directly or indirectly.\\\\n */\\\\n modifier onlyInitializing() {\\\\n require(_initializing, \\\\\\\"Initializable: contract is not initializing\\\\\\\");\\\\n _;\\\\n }\\\\n\\\\n /**\\\\n * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.\\\\n * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized\\\\n * to any version. It is recommended to use this to lock implementation contracts that are designed to be called\\\\n * through proxies.\\\\n */\\\\n function _disableInitializers() internal virtual {\\\\n require(!_initializing, \\\\\\\"Initializable: contract is initializing\\\\\\\");\\\\n if (_initialized < type(uint8).max) {\\\\n _initialized = type(uint8).max;\\\\n emit Initialized(type(uint8).max);\\\\n }\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/security/Pausable.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../utils/Context.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Contract module which allows children to implement an emergency stop\\\\n * mechanism that can be triggered by an authorized account.\\\\n *\\\\n * This module is used through inheritance. It will make available the\\\\n * modifiers `whenNotPaused` and `whenPaused`, which can be applied to\\\\n * the functions of your contract. Note that they will not be pausable by\\\\n * simply including this module, only once the modifiers are put in place.\\\\n */\\\\nabstract contract Pausable is Context {\\\\n /**\\\\n * @dev Emitted when the pause is triggered by `account`.\\\\n */\\\\n event Paused(address account);\\\\n\\\\n /**\\\\n * @dev Emitted when the pause is lifted by `account`.\\\\n */\\\\n event Unpaused(address account);\\\\n\\\\n bool private _paused;\\\\n\\\\n /**\\\\n * @dev Initializes the contract in unpaused state.\\\\n */\\\\n constructor() {\\\\n _paused = false;\\\\n }\\\\n\\\\n /**\\\\n * @dev Modifier to make a function callable only when the contract is not paused.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - The contract must not be paused.\\\\n */\\\\n modifier whenNotPaused() {\\\\n _requireNotPaused();\\\\n _;\\\\n }\\\\n\\\\n /**\\\\n * @dev Modifier to make a function callable only when the contract is paused.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - The contract must be paused.\\\\n */\\\\n modifier whenPaused() {\\\\n _requirePaused();\\\\n _;\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns true if the contract is paused, and false otherwise.\\\\n */\\\\n function paused() public view virtual returns (bool) {\\\\n return _paused;\\\\n }\\\\n\\\\n /**\\\\n * @dev Throws if the contract is paused.\\\\n */\\\\n function _requireNotPaused() internal view virtual {\\\\n require(!paused(), \\\\\\\"Pausable: paused\\\\\\\");\\\\n }\\\\n\\\\n /**\\\\n * @dev Throws if the contract is not paused.\\\\n */\\\\n function _requirePaused() internal view virtual {\\\\n require(paused(), \\\\\\\"Pausable: not paused\\\\\\\");\\\\n }\\\\n\\\\n /**\\\\n * @dev Triggers stopped state.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - The contract must not be paused.\\\\n */\\\\n function _pause() internal virtual whenNotPaused {\\\\n _paused = true;\\\\n emit Paused(_msgSender());\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns to normal state.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - The contract must be paused.\\\\n */\\\\n function _unpause() internal virtual whenPaused {\\\\n _paused = false;\\\\n emit Unpaused(_msgSender());\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x0849d93b16c9940beb286a7864ed02724b248b93e0d80ef6355af5ef15c64773\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/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\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/token/ERC1155/ERC1155.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/ERC1155.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./IERC1155.sol\\\\\\\";\\\\nimport \\\\\\\"./IERC1155Receiver.sol\\\\\\\";\\\\nimport \\\\\\\"./extensions/IERC1155MetadataURI.sol\\\\\\\";\\\\nimport \\\\\\\"../../utils/Address.sol\\\\\\\";\\\\nimport \\\\\\\"../../utils/Context.sol\\\\\\\";\\\\nimport \\\\\\\"../../utils/introspection/ERC165.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Implementation of the basic standard multi-token.\\\\n * See https://eips.ethereum.org/EIPS/eip-1155\\\\n * Originally based on code by Enjin: https://github.com/enjin/erc-1155\\\\n *\\\\n * _Available since v3.1._\\\\n */\\\\ncontract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {\\\\n using Address for address;\\\\n\\\\n // Mapping from token ID to account balances\\\\n mapping(uint256 => mapping(address => uint256)) private _balances;\\\\n\\\\n // Mapping from account to operator approvals\\\\n mapping(address => mapping(address => bool)) private _operatorApprovals;\\\\n\\\\n // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json\\\\n string private _uri;\\\\n\\\\n /**\\\\n * @dev See {_setURI}.\\\\n */\\\\n constructor(string memory uri_) {\\\\n _setURI(uri_);\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC165-supportsInterface}.\\\\n */\\\\n function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {\\\\n return\\\\n interfaceId == type(IERC1155).interfaceId ||\\\\n interfaceId == type(IERC1155MetadataURI).interfaceId ||\\\\n super.supportsInterface(interfaceId);\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC1155MetadataURI-uri}.\\\\n *\\\\n * This implementation returns the same URI for *all* token types. It relies\\\\n * on the token type ID substitution mechanism\\\\n * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].\\\\n *\\\\n * Clients calling this function must replace the `\\\\\\\\{id\\\\\\\\}` substring with the\\\\n * actual token type ID.\\\\n */\\\\n function uri(uint256) public view virtual override returns (string memory) {\\\\n return _uri;\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC1155-balanceOf}.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `account` cannot be the zero address.\\\\n */\\\\n function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {\\\\n require(account != address(0), \\\\\\\"ERC1155: address zero is not a valid owner\\\\\\\");\\\\n return _balances[id][account];\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC1155-balanceOfBatch}.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `accounts` and `ids` must have the same length.\\\\n */\\\\n function balanceOfBatch(address[] memory accounts, uint256[] memory ids)\\\\n public\\\\n view\\\\n virtual\\\\n override\\\\n returns (uint256[] memory)\\\\n {\\\\n require(accounts.length == ids.length, \\\\\\\"ERC1155: accounts and ids length mismatch\\\\\\\");\\\\n\\\\n uint256[] memory batchBalances = new uint256[](accounts.length);\\\\n\\\\n for (uint256 i = 0; i < accounts.length; ++i) {\\\\n batchBalances[i] = balanceOf(accounts[i], ids[i]);\\\\n }\\\\n\\\\n return batchBalances;\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC1155-setApprovalForAll}.\\\\n */\\\\n function setApprovalForAll(address operator, bool approved) public virtual override {\\\\n _setApprovalForAll(_msgSender(), operator, approved);\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC1155-isApprovedForAll}.\\\\n */\\\\n function isApprovedForAll(address account, address operator) public view virtual override returns (bool) {\\\\n return _operatorApprovals[account][operator];\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC1155-safeTransferFrom}.\\\\n */\\\\n function safeTransferFrom(\\\\n address from,\\\\n address to,\\\\n uint256 id,\\\\n uint256 amount,\\\\n bytes memory data\\\\n ) public virtual override {\\\\n require(\\\\n from == _msgSender() || isApprovedForAll(from, _msgSender()),\\\\n \\\\\\\"ERC1155: caller is not token owner nor approved\\\\\\\"\\\\n );\\\\n _safeTransferFrom(from, to, id, amount, data);\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC1155-safeBatchTransferFrom}.\\\\n */\\\\n function safeBatchTransferFrom(\\\\n address from,\\\\n address to,\\\\n uint256[] memory ids,\\\\n uint256[] memory amounts,\\\\n bytes memory data\\\\n ) public virtual override {\\\\n require(\\\\n from == _msgSender() || isApprovedForAll(from, _msgSender()),\\\\n \\\\\\\"ERC1155: caller is not token owner nor approved\\\\\\\"\\\\n );\\\\n _safeBatchTransferFrom(from, to, ids, amounts, data);\\\\n }\\\\n\\\\n /**\\\\n * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.\\\\n *\\\\n * Emits a {TransferSingle} event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `to` cannot be the zero address.\\\\n * - `from` must have a balance of tokens of type `id` of at least `amount`.\\\\n * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the\\\\n * acceptance magic value.\\\\n */\\\\n function _safeTransferFrom(\\\\n address from,\\\\n address to,\\\\n uint256 id,\\\\n uint256 amount,\\\\n bytes memory data\\\\n ) internal virtual {\\\\n require(to != address(0), \\\\\\\"ERC1155: transfer to the zero address\\\\\\\");\\\\n\\\\n address operator = _msgSender();\\\\n uint256[] memory ids = _asSingletonArray(id);\\\\n uint256[] memory amounts = _asSingletonArray(amount);\\\\n\\\\n _beforeTokenTransfer(operator, from, to, ids, amounts, data);\\\\n\\\\n uint256 fromBalance = _balances[id][from];\\\\n require(fromBalance >= amount, \\\\\\\"ERC1155: insufficient balance for transfer\\\\\\\");\\\\n unchecked {\\\\n _balances[id][from] = fromBalance - amount;\\\\n }\\\\n _balances[id][to] += amount;\\\\n\\\\n emit TransferSingle(operator, from, to, id, amount);\\\\n\\\\n _afterTokenTransfer(operator, from, to, ids, amounts, data);\\\\n\\\\n _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);\\\\n }\\\\n\\\\n /**\\\\n * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.\\\\n *\\\\n * Emits a {TransferBatch} event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the\\\\n * acceptance magic value.\\\\n */\\\\n function _safeBatchTransferFrom(\\\\n address from,\\\\n address to,\\\\n uint256[] memory ids,\\\\n uint256[] memory amounts,\\\\n bytes memory data\\\\n ) internal virtual {\\\\n require(ids.length == amounts.length, \\\\\\\"ERC1155: ids and amounts length mismatch\\\\\\\");\\\\n require(to != address(0), \\\\\\\"ERC1155: transfer to the zero address\\\\\\\");\\\\n\\\\n address operator = _msgSender();\\\\n\\\\n _beforeTokenTransfer(operator, from, to, ids, amounts, data);\\\\n\\\\n for (uint256 i = 0; i < ids.length; ++i) {\\\\n uint256 id = ids[i];\\\\n uint256 amount = amounts[i];\\\\n\\\\n uint256 fromBalance = _balances[id][from];\\\\n require(fromBalance >= amount, \\\\\\\"ERC1155: insufficient balance for transfer\\\\\\\");\\\\n unchecked {\\\\n _balances[id][from] = fromBalance - amount;\\\\n }\\\\n _balances[id][to] += amount;\\\\n }\\\\n\\\\n emit TransferBatch(operator, from, to, ids, amounts);\\\\n\\\\n _afterTokenTransfer(operator, from, to, ids, amounts, data);\\\\n\\\\n _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets a new URI for all token types, by relying on the token type ID\\\\n * substitution mechanism\\\\n * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].\\\\n *\\\\n * By this mechanism, any occurrence of the `\\\\\\\\{id\\\\\\\\}` substring in either the\\\\n * URI or any of the amounts in the JSON file at said URI will be replaced by\\\\n * clients with the token type ID.\\\\n *\\\\n * For example, the `https://token-cdn-domain/\\\\\\\\{id\\\\\\\\}.json` URI would be\\\\n * interpreted by clients as\\\\n * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`\\\\n * for token type ID 0x4cce0.\\\\n *\\\\n * See {uri}.\\\\n *\\\\n * Because these URIs cannot be meaningfully represented by the {URI} event,\\\\n * this function emits no events.\\\\n */\\\\n function _setURI(string memory newuri) internal virtual {\\\\n _uri = newuri;\\\\n }\\\\n\\\\n /**\\\\n * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`.\\\\n *\\\\n * Emits a {TransferSingle} event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `to` cannot be the zero address.\\\\n * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the\\\\n * acceptance magic value.\\\\n */\\\\n function _mint(\\\\n address to,\\\\n uint256 id,\\\\n uint256 amount,\\\\n bytes memory data\\\\n ) internal virtual {\\\\n require(to != address(0), \\\\\\\"ERC1155: mint to the zero address\\\\\\\");\\\\n\\\\n address operator = _msgSender();\\\\n uint256[] memory ids = _asSingletonArray(id);\\\\n uint256[] memory amounts = _asSingletonArray(amount);\\\\n\\\\n _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);\\\\n\\\\n _balances[id][to] += amount;\\\\n emit TransferSingle(operator, address(0), to, id, amount);\\\\n\\\\n _afterTokenTransfer(operator, address(0), to, ids, amounts, data);\\\\n\\\\n _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data);\\\\n }\\\\n\\\\n /**\\\\n * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.\\\\n *\\\\n * Emits a {TransferBatch} event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `ids` and `amounts` must have the same length.\\\\n * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the\\\\n * acceptance magic value.\\\\n */\\\\n function _mintBatch(\\\\n address to,\\\\n uint256[] memory ids,\\\\n uint256[] memory amounts,\\\\n bytes memory data\\\\n ) internal virtual {\\\\n require(to != address(0), \\\\\\\"ERC1155: mint to the zero address\\\\\\\");\\\\n require(ids.length == amounts.length, \\\\\\\"ERC1155: ids and amounts length mismatch\\\\\\\");\\\\n\\\\n address operator = _msgSender();\\\\n\\\\n _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);\\\\n\\\\n for (uint256 i = 0; i < ids.length; i++) {\\\\n _balances[ids[i]][to] += amounts[i];\\\\n }\\\\n\\\\n emit TransferBatch(operator, address(0), to, ids, amounts);\\\\n\\\\n _afterTokenTransfer(operator, address(0), to, ids, amounts, data);\\\\n\\\\n _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);\\\\n }\\\\n\\\\n /**\\\\n * @dev Destroys `amount` tokens of token type `id` from `from`\\\\n *\\\\n * Emits a {TransferSingle} event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `from` cannot be the zero address.\\\\n * - `from` must have at least `amount` tokens of token type `id`.\\\\n */\\\\n function _burn(\\\\n address from,\\\\n uint256 id,\\\\n uint256 amount\\\\n ) internal virtual {\\\\n require(from != address(0), \\\\\\\"ERC1155: burn from the zero address\\\\\\\");\\\\n\\\\n address operator = _msgSender();\\\\n uint256[] memory ids = _asSingletonArray(id);\\\\n uint256[] memory amounts = _asSingletonArray(amount);\\\\n\\\\n _beforeTokenTransfer(operator, from, address(0), ids, amounts, \\\\\\\"\\\\\\\");\\\\n\\\\n uint256 fromBalance = _balances[id][from];\\\\n require(fromBalance >= amount, \\\\\\\"ERC1155: burn amount exceeds balance\\\\\\\");\\\\n unchecked {\\\\n _balances[id][from] = fromBalance - amount;\\\\n }\\\\n\\\\n emit TransferSingle(operator, from, address(0), id, amount);\\\\n\\\\n _afterTokenTransfer(operator, from, address(0), ids, amounts, \\\\\\\"\\\\\\\");\\\\n }\\\\n\\\\n /**\\\\n * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.\\\\n *\\\\n * Emits a {TransferBatch} event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `ids` and `amounts` must have the same length.\\\\n */\\\\n function _burnBatch(\\\\n address from,\\\\n uint256[] memory ids,\\\\n uint256[] memory amounts\\\\n ) internal virtual {\\\\n require(from != address(0), \\\\\\\"ERC1155: burn from the zero address\\\\\\\");\\\\n require(ids.length == amounts.length, \\\\\\\"ERC1155: ids and amounts length mismatch\\\\\\\");\\\\n\\\\n address operator = _msgSender();\\\\n\\\\n _beforeTokenTransfer(operator, from, address(0), ids, amounts, \\\\\\\"\\\\\\\");\\\\n\\\\n for (uint256 i = 0; i < ids.length; i++) {\\\\n uint256 id = ids[i];\\\\n uint256 amount = amounts[i];\\\\n\\\\n uint256 fromBalance = _balances[id][from];\\\\n require(fromBalance >= amount, \\\\\\\"ERC1155: burn amount exceeds balance\\\\\\\");\\\\n unchecked {\\\\n _balances[id][from] = fromBalance - amount;\\\\n }\\\\n }\\\\n\\\\n emit TransferBatch(operator, from, address(0), ids, amounts);\\\\n\\\\n _afterTokenTransfer(operator, from, address(0), ids, amounts, \\\\\\\"\\\\\\\");\\\\n }\\\\n\\\\n /**\\\\n * @dev Approve `operator` to operate on all of `owner` tokens\\\\n *\\\\n * Emits an {ApprovalForAll} event.\\\\n */\\\\n function _setApprovalForAll(\\\\n address owner,\\\\n address operator,\\\\n bool approved\\\\n ) internal virtual {\\\\n require(owner != operator, \\\\\\\"ERC1155: setting approval status for self\\\\\\\");\\\\n _operatorApprovals[owner][operator] = approved;\\\\n emit ApprovalForAll(owner, operator, approved);\\\\n }\\\\n\\\\n /**\\\\n * @dev Hook that is called before any token transfer. This includes minting\\\\n * and burning, as well as batched variants.\\\\n *\\\\n * The same hook is called on both single and batched variants. For single\\\\n * transfers, the length of the `ids` and `amounts` arrays will be 1.\\\\n *\\\\n * Calling conditions (for each `id` and `amount` pair):\\\\n *\\\\n * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\\\n * of token type `id` will be transferred to `to`.\\\\n * - When `from` is zero, `amount` tokens of token type `id` will be minted\\\\n * for `to`.\\\\n * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`\\\\n * will be burned.\\\\n * - `from` and `to` are never both zero.\\\\n * - `ids` and `amounts` have the same, non-zero length.\\\\n *\\\\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\\\n */\\\\n function _beforeTokenTransfer(\\\\n address operator,\\\\n address from,\\\\n address to,\\\\n uint256[] memory ids,\\\\n uint256[] memory amounts,\\\\n bytes memory data\\\\n ) internal virtual {}\\\\n\\\\n /**\\\\n * @dev Hook that is called after any token transfer. This includes minting\\\\n * and burning, as well as batched variants.\\\\n *\\\\n * The same hook is called on both single and batched variants. For single\\\\n * transfers, the length of the `id` and `amount` arrays will be 1.\\\\n *\\\\n * Calling conditions (for each `id` and `amount` pair):\\\\n *\\\\n * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\\\n * of token type `id` will be transferred to `to`.\\\\n * - When `from` is zero, `amount` tokens of token type `id` will be minted\\\\n * for `to`.\\\\n * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`\\\\n * will be burned.\\\\n * - `from` and `to` are never both zero.\\\\n * - `ids` and `amounts` have the same, non-zero length.\\\\n *\\\\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\\\n */\\\\n function _afterTokenTransfer(\\\\n address operator,\\\\n address from,\\\\n address to,\\\\n uint256[] memory ids,\\\\n uint256[] memory amounts,\\\\n bytes memory data\\\\n ) internal virtual {}\\\\n\\\\n function _doSafeTransferAcceptanceCheck(\\\\n address operator,\\\\n address from,\\\\n address to,\\\\n uint256 id,\\\\n uint256 amount,\\\\n bytes memory data\\\\n ) private {\\\\n if (to.isContract()) {\\\\n try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {\\\\n if (response != IERC1155Receiver.onERC1155Received.selector) {\\\\n revert(\\\\\\\"ERC1155: ERC1155Receiver rejected tokens\\\\\\\");\\\\n }\\\\n } catch Error(string memory reason) {\\\\n revert(reason);\\\\n } catch {\\\\n revert(\\\\\\\"ERC1155: transfer to non ERC1155Receiver implementer\\\\\\\");\\\\n }\\\\n }\\\\n }\\\\n\\\\n function _doSafeBatchTransferAcceptanceCheck(\\\\n address operator,\\\\n address from,\\\\n address to,\\\\n uint256[] memory ids,\\\\n uint256[] memory amounts,\\\\n bytes memory data\\\\n ) private {\\\\n if (to.isContract()) {\\\\n try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (\\\\n bytes4 response\\\\n ) {\\\\n if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {\\\\n revert(\\\\\\\"ERC1155: ERC1155Receiver rejected tokens\\\\\\\");\\\\n }\\\\n } catch Error(string memory reason) {\\\\n revert(reason);\\\\n } catch {\\\\n revert(\\\\\\\"ERC1155: transfer to non ERC1155Receiver implementer\\\\\\\");\\\\n }\\\\n }\\\\n }\\\\n\\\\n function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {\\\\n uint256[] memory array = new uint256[](1);\\\\n array[0] = element;\\\\n\\\\n return array;\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x447a21c87433c0f11252912313a96f3454629ef88cca7a4eefbb283b3ec409f9\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/token/ERC1155/IERC1155.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../../utils/introspection/IERC165.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Required interface of an ERC1155 compliant contract, as defined in the\\\\n * https://eips.ethereum.org/EIPS/eip-1155[EIP].\\\\n *\\\\n * _Available since v3.1._\\\\n */\\\\ninterface IERC1155 is IERC165 {\\\\n /**\\\\n * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.\\\\n */\\\\n event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);\\\\n\\\\n /**\\\\n * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all\\\\n * transfers.\\\\n */\\\\n event TransferBatch(\\\\n address indexed operator,\\\\n address indexed from,\\\\n address indexed to,\\\\n uint256[] ids,\\\\n uint256[] values\\\\n );\\\\n\\\\n /**\\\\n * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to\\\\n * `approved`.\\\\n */\\\\n event ApprovalForAll(address indexed account, address indexed operator, bool approved);\\\\n\\\\n /**\\\\n * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.\\\\n *\\\\n * If an {URI} event was emitted for `id`, the standard\\\\n * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value\\\\n * returned by {IERC1155MetadataURI-uri}.\\\\n */\\\\n event URI(string value, uint256 indexed id);\\\\n\\\\n /**\\\\n * @dev Returns the amount of tokens of token type `id` owned by `account`.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `account` cannot be the zero address.\\\\n */\\\\n function balanceOf(address account, uint256 id) external view returns (uint256);\\\\n\\\\n /**\\\\n * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `accounts` and `ids` must have the same length.\\\\n */\\\\n function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)\\\\n external\\\\n view\\\\n returns (uint256[] memory);\\\\n\\\\n /**\\\\n * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,\\\\n *\\\\n * Emits an {ApprovalForAll} event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `operator` cannot be the caller.\\\\n */\\\\n function setApprovalForAll(address operator, bool approved) external;\\\\n\\\\n /**\\\\n * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.\\\\n *\\\\n * See {setApprovalForAll}.\\\\n */\\\\n function isApprovedForAll(address account, address operator) external view returns (bool);\\\\n\\\\n /**\\\\n * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.\\\\n *\\\\n * Emits a {TransferSingle} event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `to` cannot be the zero address.\\\\n * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}.\\\\n * - `from` must have a balance of tokens of type `id` of at least `amount`.\\\\n * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the\\\\n * acceptance magic value.\\\\n */\\\\n function safeTransferFrom(\\\\n address from,\\\\n address to,\\\\n uint256 id,\\\\n uint256 amount,\\\\n bytes calldata data\\\\n ) external;\\\\n\\\\n /**\\\\n * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.\\\\n *\\\\n * Emits a {TransferBatch} event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `ids` and `amounts` must have the same length.\\\\n * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the\\\\n * acceptance magic value.\\\\n */\\\\n function safeBatchTransferFrom(\\\\n address from,\\\\n address to,\\\\n uint256[] calldata ids,\\\\n uint256[] calldata amounts,\\\\n bytes calldata data\\\\n ) external;\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x6392f2cfe3a5ee802227fe7a2dfd47096d881aec89bddd214b35c5b46d3cd941\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/token/ERC1155/IERC1155Receiver.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../../utils/introspection/IERC165.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev _Available since v3.1._\\\\n */\\\\ninterface IERC1155Receiver is IERC165 {\\\\n /**\\\\n * @dev Handles the receipt of a single ERC1155 token type. This function is\\\\n * called at the end of a `safeTransferFrom` after the balance has been updated.\\\\n *\\\\n * NOTE: To accept the transfer, this must return\\\\n * `bytes4(keccak256(\\\\\\\"onERC1155Received(address,address,uint256,uint256,bytes)\\\\\\\"))`\\\\n * (i.e. 0xf23a6e61, or its own function selector).\\\\n *\\\\n * @param operator The address which initiated the transfer (i.e. msg.sender)\\\\n * @param from The address which previously owned the token\\\\n * @param id The ID of the token being transferred\\\\n * @param value The amount of tokens being transferred\\\\n * @param data Additional data with no specified format\\\\n * @return `bytes4(keccak256(\\\\\\\"onERC1155Received(address,address,uint256,uint256,bytes)\\\\\\\"))` if transfer is allowed\\\\n */\\\\n function onERC1155Received(\\\\n address operator,\\\\n address from,\\\\n uint256 id,\\\\n uint256 value,\\\\n bytes calldata data\\\\n ) external returns (bytes4);\\\\n\\\\n /**\\\\n * @dev Handles the receipt of a multiple ERC1155 token types. This function\\\\n * is called at the end of a `safeBatchTransferFrom` after the balances have\\\\n * been updated.\\\\n *\\\\n * NOTE: To accept the transfer(s), this must return\\\\n * `bytes4(keccak256(\\\\\\\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\\\\\\\"))`\\\\n * (i.e. 0xbc197c81, or its own function selector).\\\\n *\\\\n * @param operator The address which initiated the batch transfer (i.e. msg.sender)\\\\n * @param from The address which previously owned the token\\\\n * @param ids An array containing ids of each token being transferred (order and length must match values array)\\\\n * @param values An array containing amounts of each token being transferred (order and length must match ids array)\\\\n * @param data Additional data with no specified format\\\\n * @return `bytes4(keccak256(\\\\\\\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\\\\\\\"))` if transfer is allowed\\\\n */\\\\n function onERC1155BatchReceived(\\\\n address operator,\\\\n address from,\\\\n uint256[] calldata ids,\\\\n uint256[] calldata values,\\\\n bytes calldata data\\\\n ) external returns (bytes4);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xeb373f1fdc7b755c6a750123a9b9e3a8a02c1470042fd6505d875000a80bde0b\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/token/ERC1155/extensions/ERC1155Burnable.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/extensions/ERC1155Burnable.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../ERC1155.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Extension of {ERC1155} that allows token holders to destroy both their\\\\n * own tokens and those that they have been approved to use.\\\\n *\\\\n * _Available since v3.1._\\\\n */\\\\nabstract contract ERC1155Burnable is ERC1155 {\\\\n function burn(\\\\n address account,\\\\n uint256 id,\\\\n uint256 value\\\\n ) public virtual {\\\\n require(\\\\n account == _msgSender() || isApprovedForAll(account, _msgSender()),\\\\n \\\\\\\"ERC1155: caller is not token owner nor approved\\\\\\\"\\\\n );\\\\n\\\\n _burn(account, id, value);\\\\n }\\\\n\\\\n function burnBatch(\\\\n address account,\\\\n uint256[] memory ids,\\\\n uint256[] memory values\\\\n ) public virtual {\\\\n require(\\\\n account == _msgSender() || isApprovedForAll(account, _msgSender()),\\\\n \\\\\\\"ERC1155: caller is not token owner nor approved\\\\\\\"\\\\n );\\\\n\\\\n _burnBatch(account, ids, values);\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xb11d1ade7146ac3da122e1f387ea82b0bd385d50823946c3f967dbffef3e9f4f\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/token/ERC1155/extensions/ERC1155Pausable.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/ERC1155Pausable.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../ERC1155.sol\\\\\\\";\\\\nimport \\\\\\\"../../../security/Pausable.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev ERC1155 token with pausable token transfers, minting and burning.\\\\n *\\\\n * Useful for scenarios such as preventing trades until the end of an evaluation\\\\n * period, or having an emergency switch for freezing all token transfers in the\\\\n * event of a large bug.\\\\n *\\\\n * _Available since v3.1._\\\\n */\\\\nabstract contract ERC1155Pausable is ERC1155, Pausable {\\\\n /**\\\\n * @dev See {ERC1155-_beforeTokenTransfer}.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the contract must not be paused.\\\\n */\\\\n function _beforeTokenTransfer(\\\\n address operator,\\\\n address from,\\\\n address to,\\\\n uint256[] memory ids,\\\\n uint256[] memory amounts,\\\\n bytes memory data\\\\n ) internal virtual override {\\\\n super._beforeTokenTransfer(operator, from, to, ids, amounts, data);\\\\n\\\\n require(!paused(), \\\\\\\"ERC1155Pausable: token transfer while paused\\\\\\\");\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xdad22b949de979bb2ad9001c044b2aeaacf8a25e3de09ed6f022a9469f936d5b\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../IERC1155.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Interface of the optional ERC1155MetadataExtension interface, as defined\\\\n * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].\\\\n *\\\\n * _Available since v3.1._\\\\n */\\\\ninterface IERC1155MetadataURI is IERC1155 {\\\\n /**\\\\n * @dev Returns the URI for token type `id`.\\\\n *\\\\n * If the `\\\\\\\\{id\\\\\\\\}` substring is present in the URI, it must be replaced by\\\\n * clients with the actual token type ID.\\\\n */\\\\n function uri(uint256 id) external view returns (string memory);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xa66d18b9a85458d28fc3304717964502ae36f7f8a2ff35bc83f6f85d74b03574\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/token/ERC1155/presets/ERC1155PresetMinterPauser.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/presets/ERC1155PresetMinterPauser.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../ERC1155.sol\\\\\\\";\\\\nimport \\\\\\\"../extensions/ERC1155Burnable.sol\\\\\\\";\\\\nimport \\\\\\\"../extensions/ERC1155Pausable.sol\\\\\\\";\\\\nimport \\\\\\\"../../../access/AccessControlEnumerable.sol\\\\\\\";\\\\nimport \\\\\\\"../../../utils/Context.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev {ERC1155} token, including:\\\\n *\\\\n * - ability for holders to burn (destroy) their tokens\\\\n * - a minter role that allows for token minting (creation)\\\\n * - a pauser role that allows to stop all token transfers\\\\n *\\\\n * This contract uses {AccessControl} to lock permissioned functions using the\\\\n * different roles - head to its documentation for details.\\\\n *\\\\n * The account that deploys the contract will be granted the minter and pauser\\\\n * roles, as well as the default admin role, which will let it grant both minter\\\\n * and pauser roles to other accounts.\\\\n *\\\\n * _Deprecated in favor of https://wizard.openzeppelin.com/[Contracts Wizard]._\\\\n */\\\\ncontract ERC1155PresetMinterPauser is Context, AccessControlEnumerable, ERC1155Burnable, ERC1155Pausable {\\\\n bytes32 public constant MINTER_ROLE = keccak256(\\\\\\\"MINTER_ROLE\\\\\\\");\\\\n bytes32 public constant PAUSER_ROLE = keccak256(\\\\\\\"PAUSER_ROLE\\\\\\\");\\\\n\\\\n /**\\\\n * @dev Grants `DEFAULT_ADMIN_ROLE`, `MINTER_ROLE`, and `PAUSER_ROLE` to the account that\\\\n * deploys the contract.\\\\n */\\\\n constructor(string memory uri) ERC1155(uri) {\\\\n _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());\\\\n\\\\n _setupRole(MINTER_ROLE, _msgSender());\\\\n _setupRole(PAUSER_ROLE, _msgSender());\\\\n }\\\\n\\\\n /**\\\\n * @dev Creates `amount` new tokens for `to`, of token type `id`.\\\\n *\\\\n * See {ERC1155-_mint}.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the caller must have the `MINTER_ROLE`.\\\\n */\\\\n function mint(\\\\n address to,\\\\n uint256 id,\\\\n uint256 amount,\\\\n bytes memory data\\\\n ) public virtual {\\\\n require(hasRole(MINTER_ROLE, _msgSender()), \\\\\\\"ERC1155PresetMinterPauser: must have minter role to mint\\\\\\\");\\\\n\\\\n _mint(to, id, amount, data);\\\\n }\\\\n\\\\n /**\\\\n * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] variant of {mint}.\\\\n */\\\\n function mintBatch(\\\\n address to,\\\\n uint256[] memory ids,\\\\n uint256[] memory amounts,\\\\n bytes memory data\\\\n ) public virtual {\\\\n require(hasRole(MINTER_ROLE, _msgSender()), \\\\\\\"ERC1155PresetMinterPauser: must have minter role to mint\\\\\\\");\\\\n\\\\n _mintBatch(to, ids, amounts, data);\\\\n }\\\\n\\\\n /**\\\\n * @dev Pauses all token transfers.\\\\n *\\\\n * See {ERC1155Pausable} and {Pausable-_pause}.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the caller must have the `PAUSER_ROLE`.\\\\n */\\\\n function pause() public virtual {\\\\n require(hasRole(PAUSER_ROLE, _msgSender()), \\\\\\\"ERC1155PresetMinterPauser: must have pauser role to pause\\\\\\\");\\\\n _pause();\\\\n }\\\\n\\\\n /**\\\\n * @dev Unpauses all token transfers.\\\\n *\\\\n * See {ERC1155Pausable} and {Pausable-_unpause}.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the caller must have the `PAUSER_ROLE`.\\\\n */\\\\n function unpause() public virtual {\\\\n require(hasRole(PAUSER_ROLE, _msgSender()), \\\\\\\"ERC1155PresetMinterPauser: must have pauser role to unpause\\\\\\\");\\\\n _unpause();\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC165-supportsInterface}.\\\\n */\\\\n function supportsInterface(bytes4 interfaceId)\\\\n public\\\\n view\\\\n virtual\\\\n override(AccessControlEnumerable, ERC1155)\\\\n returns (bool)\\\\n {\\\\n return super.supportsInterface(interfaceId);\\\\n }\\\\n\\\\n function _beforeTokenTransfer(\\\\n address operator,\\\\n address from,\\\\n address to,\\\\n uint256[] memory ids,\\\\n uint256[] memory amounts,\\\\n bytes memory data\\\\n ) internal virtual override(ERC1155, ERC1155Pausable) {\\\\n super._beforeTokenTransfer(operator, from, to, ids, amounts, data);\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x775e248004d21e0666740534a732daa9f17ceeee660ded876829e98a3a62b657\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/token/ERC1155/utils/ERC1155Holder.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/utils/ERC1155Holder.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./ERC1155Receiver.sol\\\\\\\";\\\\n\\\\n/**\\\\n * Simple implementation of `ERC1155Receiver` that will allow a contract to hold ERC1155 tokens.\\\\n *\\\\n * IMPORTANT: When inheriting this contract, you must include a way to use the received tokens, otherwise they will be\\\\n * stuck.\\\\n *\\\\n * @dev _Available since v3.1._\\\\n */\\\\ncontract ERC1155Holder is ERC1155Receiver {\\\\n function onERC1155Received(\\\\n address,\\\\n address,\\\\n uint256,\\\\n uint256,\\\\n bytes memory\\\\n ) public virtual override returns (bytes4) {\\\\n return this.onERC1155Received.selector;\\\\n }\\\\n\\\\n function onERC1155BatchReceived(\\\\n address,\\\\n address,\\\\n uint256[] memory,\\\\n uint256[] memory,\\\\n bytes memory\\\\n ) public virtual override returns (bytes4) {\\\\n return this.onERC1155BatchReceived.selector;\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x2e024ca51ce5abe16c0d34e6992a1104f356e2244eb4ccbec970435e8b3405e3\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/token/ERC1155/utils/ERC1155Receiver.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (token/ERC1155/utils/ERC1155Receiver.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../IERC1155Receiver.sol\\\\\\\";\\\\nimport \\\\\\\"../../../utils/introspection/ERC165.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev _Available since v3.1._\\\\n */\\\\nabstract contract ERC1155Receiver is ERC165, IERC1155Receiver {\\\\n /**\\\\n * @dev See {IERC165-supportsInterface}.\\\\n */\\\\n function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {\\\\n return interfaceId == type(IERC1155Receiver).interfaceId || super.supportsInterface(interfaceId);\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x3dd5e1a66a56f30302108a1da97d677a42b1daa60e503696b2bcbbf3e4c95bcb\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/token/ERC20/IERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\\\n */\\\\ninterface IERC20 {\\\\n /**\\\\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\\\\n * another (`to`).\\\\n *\\\\n * Note that `value` may be zero.\\\\n */\\\\n event Transfer(address indexed from, address indexed to, uint256 value);\\\\n\\\\n /**\\\\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\\\n * a call to {approve}. `value` is the new allowance.\\\\n */\\\\n event Approval(address indexed owner, address indexed spender, uint256 value);\\\\n\\\\n /**\\\\n * @dev Returns the amount of tokens in existence.\\\\n */\\\\n function totalSupply() external view returns (uint256);\\\\n\\\\n /**\\\\n * @dev Returns the amount of tokens owned by `account`.\\\\n */\\\\n function balanceOf(address account) external view returns (uint256);\\\\n\\\\n /**\\\\n * @dev Moves `amount` tokens from the caller's account to `to`.\\\\n *\\\\n * Returns a boolean value indicating whether the operation succeeded.\\\\n *\\\\n * Emits a {Transfer} event.\\\\n */\\\\n function transfer(address to, uint256 amount) external returns (bool);\\\\n\\\\n /**\\\\n * @dev Returns the remaining number of tokens that `spender` will be\\\\n * allowed to spend on behalf of `owner` through {transferFrom}. This is\\\\n * zero by default.\\\\n *\\\\n * This value changes when {approve} or {transferFrom} are called.\\\\n */\\\\n function allowance(address owner, address spender) external view returns (uint256);\\\\n\\\\n /**\\\\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\\\n *\\\\n * Returns a boolean value indicating whether the operation succeeded.\\\\n *\\\\n * IMPORTANT: Beware that changing an allowance with this method brings the risk\\\\n * that someone may use both the old and the new allowance by unfortunate\\\\n * transaction ordering. One possible solution to mitigate this race\\\\n * condition is to first reduce the spender's allowance to 0 and set the\\\\n * desired value afterwards:\\\\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\\\n *\\\\n * Emits an {Approval} event.\\\\n */\\\\n function approve(address spender, uint256 amount) external returns (bool);\\\\n\\\\n /**\\\\n * @dev Moves `amount` tokens from `from` to `to` using the\\\\n * allowance mechanism. `amount` is then deducted from the caller's\\\\n * allowance.\\\\n *\\\\n * Returns a boolean value indicating whether the operation succeeded.\\\\n *\\\\n * Emits a {Transfer} event.\\\\n */\\\\n function transferFrom(\\\\n address from,\\\\n address to,\\\\n uint256 amount\\\\n ) external returns (bool);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/token/ERC721/IERC721.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../../utils/introspection/IERC165.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Required interface of an ERC721 compliant contract.\\\\n */\\\\ninterface IERC721 is IERC165 {\\\\n /**\\\\n * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\\\\n */\\\\n event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\\\\n\\\\n /**\\\\n * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\\\\n */\\\\n event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\\\\n\\\\n /**\\\\n * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\\\\n */\\\\n event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\\\\n\\\\n /**\\\\n * @dev Returns the number of tokens in ``owner``'s account.\\\\n */\\\\n function balanceOf(address owner) external view returns (uint256 balance);\\\\n\\\\n /**\\\\n * @dev Returns the owner of the `tokenId` token.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `tokenId` must exist.\\\\n */\\\\n function ownerOf(uint256 tokenId) external view returns (address owner);\\\\n\\\\n /**\\\\n * @dev Safely transfers `tokenId` token from `from` to `to`.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `from` cannot be the zero address.\\\\n * - `to` cannot be the zero address.\\\\n * - `tokenId` token must exist and be owned by `from`.\\\\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\\\\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\\\\n *\\\\n * Emits a {Transfer} event.\\\\n */\\\\n function safeTransferFrom(\\\\n address from,\\\\n address to,\\\\n uint256 tokenId,\\\\n bytes calldata data\\\\n ) external;\\\\n\\\\n /**\\\\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\\\\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `from` cannot be the zero address.\\\\n * - `to` cannot be the zero address.\\\\n * - `tokenId` token must exist and be owned by `from`.\\\\n * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.\\\\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\\\\n *\\\\n * Emits a {Transfer} event.\\\\n */\\\\n function safeTransferFrom(\\\\n address from,\\\\n address to,\\\\n uint256 tokenId\\\\n ) external;\\\\n\\\\n /**\\\\n * @dev Transfers `tokenId` token from `from` to `to`.\\\\n *\\\\n * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `from` cannot be the zero address.\\\\n * - `to` cannot be the zero address.\\\\n * - `tokenId` token must be owned by `from`.\\\\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\\\\n *\\\\n * Emits a {Transfer} event.\\\\n */\\\\n function transferFrom(\\\\n address from,\\\\n address to,\\\\n uint256 tokenId\\\\n ) external;\\\\n\\\\n /**\\\\n * @dev Gives permission to `to` to transfer `tokenId` token to another account.\\\\n * The approval is cleared when the token is transferred.\\\\n *\\\\n * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - The caller must own the token or be an approved operator.\\\\n * - `tokenId` must exist.\\\\n *\\\\n * Emits an {Approval} event.\\\\n */\\\\n function approve(address to, uint256 tokenId) external;\\\\n\\\\n /**\\\\n * @dev Approve or remove `operator` as an operator for the caller.\\\\n * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - The `operator` cannot be the caller.\\\\n *\\\\n * Emits an {ApprovalForAll} event.\\\\n */\\\\n function setApprovalForAll(address operator, bool _approved) external;\\\\n\\\\n /**\\\\n * @dev Returns the account approved for `tokenId` token.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `tokenId` must exist.\\\\n */\\\\n function getApproved(uint256 tokenId) external view returns (address operator);\\\\n\\\\n /**\\\\n * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\\\\n *\\\\n * See {setApprovalForAll}\\\\n */\\\\n function isApprovedForAll(address owner, address operator) external view returns (bool);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xed6a749c5373af398105ce6ee3ac4763aa450ea7285d268c85d9eeca809cdb1f\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/utils/Address.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)\\\\n\\\\npragma solidity ^0.8.1;\\\\n\\\\n/**\\\\n * @dev Collection of functions related to the address type\\\\n */\\\\nlibrary Address {\\\\n /**\\\\n * @dev Returns true if `account` is a contract.\\\\n *\\\\n * [IMPORTANT]\\\\n * ====\\\\n * It is unsafe to assume that an address for which this function returns\\\\n * false is an externally-owned account (EOA) and not a contract.\\\\n *\\\\n * Among others, `isContract` will return false for the following\\\\n * types of addresses:\\\\n *\\\\n * - an externally-owned account\\\\n * - a contract in construction\\\\n * - an address where a contract will be created\\\\n * - an address where a contract lived, but was destroyed\\\\n * ====\\\\n *\\\\n * [IMPORTANT]\\\\n * ====\\\\n * You shouldn't rely on `isContract` to protect against flash loan attacks!\\\\n *\\\\n * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\\\n * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\\\n * constructor.\\\\n * ====\\\\n */\\\\n function isContract(address account) internal view returns (bool) {\\\\n // This method relies on extcodesize/address.code.length, which returns 0\\\\n // for contracts in construction, since the code is only stored at the end\\\\n // of the constructor execution.\\\\n\\\\n return account.code.length > 0;\\\\n }\\\\n\\\\n /**\\\\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\\\n * `recipient`, forwarding all available gas and reverting on errors.\\\\n *\\\\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\\\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\\\\n * imposed by `transfer`, making them unable to receive funds via\\\\n * `transfer`. {sendValue} removes this limitation.\\\\n *\\\\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\\\n *\\\\n * IMPORTANT: because control is transferred to `recipient`, care must be\\\\n * taken to not create reentrancy vulnerabilities. Consider using\\\\n * {ReentrancyGuard} or the\\\\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\\\n */\\\\n function sendValue(address payable recipient, uint256 amount) internal {\\\\n require(address(this).balance >= amount, \\\\\\\"Address: insufficient balance\\\\\\\");\\\\n\\\\n (bool success, ) = recipient.call{value: amount}(\\\\\\\"\\\\\\\");\\\\n require(success, \\\\\\\"Address: unable to send value, recipient may have reverted\\\\\\\");\\\\n }\\\\n\\\\n /**\\\\n * @dev Performs a Solidity function call using a low level `call`. A\\\\n * plain `call` is an unsafe replacement for a function call: use this\\\\n * function instead.\\\\n *\\\\n * If `target` reverts with a revert reason, it is bubbled up by this\\\\n * function (like regular Solidity function calls).\\\\n *\\\\n * Returns the raw returned data. To convert to the expected return value,\\\\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `target` must be a contract.\\\\n * - calling `target` with `data` must not revert.\\\\n *\\\\n * _Available since v3.1._\\\\n */\\\\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\\\n return functionCall(target, data, \\\\\\\"Address: low-level call failed\\\\\\\");\\\\n }\\\\n\\\\n /**\\\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\\\n * `errorMessage` as a fallback revert reason when `target` reverts.\\\\n *\\\\n * _Available since v3.1._\\\\n */\\\\n function functionCall(\\\\n address target,\\\\n bytes memory data,\\\\n string memory errorMessage\\\\n ) internal returns (bytes memory) {\\\\n return functionCallWithValue(target, data, 0, errorMessage);\\\\n }\\\\n\\\\n /**\\\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\\\n * but also transferring `value` wei to `target`.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the calling contract must have an ETH balance of at least `value`.\\\\n * - the called Solidity function must be `payable`.\\\\n *\\\\n * _Available since v3.1._\\\\n */\\\\n function functionCallWithValue(\\\\n address target,\\\\n bytes memory data,\\\\n uint256 value\\\\n ) internal returns (bytes memory) {\\\\n return functionCallWithValue(target, data, value, \\\\\\\"Address: low-level call with value failed\\\\\\\");\\\\n }\\\\n\\\\n /**\\\\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\\\n * with `errorMessage` as a fallback revert reason when `target` reverts.\\\\n *\\\\n * _Available since v3.1._\\\\n */\\\\n function functionCallWithValue(\\\\n address target,\\\\n bytes memory data,\\\\n uint256 value,\\\\n string memory errorMessage\\\\n ) internal returns (bytes memory) {\\\\n require(address(this).balance >= value, \\\\\\\"Address: insufficient balance for call\\\\\\\");\\\\n require(isContract(target), \\\\\\\"Address: call to non-contract\\\\\\\");\\\\n\\\\n (bool success, bytes memory returndata) = target.call{value: value}(data);\\\\n return verifyCallResult(success, returndata, errorMessage);\\\\n }\\\\n\\\\n /**\\\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\\\n * but performing a static call.\\\\n *\\\\n * _Available since v3.3._\\\\n */\\\\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\\\n return functionStaticCall(target, data, \\\\\\\"Address: low-level static call failed\\\\\\\");\\\\n }\\\\n\\\\n /**\\\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\\\n * but performing a static call.\\\\n *\\\\n * _Available since v3.3._\\\\n */\\\\n function functionStaticCall(\\\\n address target,\\\\n bytes memory data,\\\\n string memory errorMessage\\\\n ) internal view returns (bytes memory) {\\\\n require(isContract(target), \\\\\\\"Address: static call to non-contract\\\\\\\");\\\\n\\\\n (bool success, bytes memory returndata) = target.staticcall(data);\\\\n return verifyCallResult(success, returndata, errorMessage);\\\\n }\\\\n\\\\n /**\\\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\\\n * but performing a delegate call.\\\\n *\\\\n * _Available since v3.4._\\\\n */\\\\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\\\n return functionDelegateCall(target, data, \\\\\\\"Address: low-level delegate call failed\\\\\\\");\\\\n }\\\\n\\\\n /**\\\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\\\n * but performing a delegate call.\\\\n *\\\\n * _Available since v3.4._\\\\n */\\\\n function functionDelegateCall(\\\\n address target,\\\\n bytes memory data,\\\\n string memory errorMessage\\\\n ) internal returns (bytes memory) {\\\\n require(isContract(target), \\\\\\\"Address: delegate call to non-contract\\\\\\\");\\\\n\\\\n (bool success, bytes memory returndata) = target.delegatecall(data);\\\\n return verifyCallResult(success, returndata, errorMessage);\\\\n }\\\\n\\\\n /**\\\\n * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the\\\\n * revert reason using the provided one.\\\\n *\\\\n * _Available since v4.3._\\\\n */\\\\n function verifyCallResult(\\\\n bool success,\\\\n bytes memory returndata,\\\\n string memory errorMessage\\\\n ) internal pure returns (bytes memory) {\\\\n if (success) {\\\\n return returndata;\\\\n } else {\\\\n // Look for revert reason and bubble it up if present\\\\n if (returndata.length > 0) {\\\\n // The easiest way to bubble the revert reason is using memory via assembly\\\\n /// @solidity memory-safe-assembly\\\\n assembly {\\\\n let returndata_size := mload(returndata)\\\\n revert(add(32, returndata), returndata_size)\\\\n }\\\\n } else {\\\\n revert(errorMessage);\\\\n }\\\\n }\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/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\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/utils/StorageSlot.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/StorageSlot.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Library for reading and writing primitive types to specific storage slots.\\\\n *\\\\n * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\\\\n * This library helps with reading and writing to such slots without the need for inline assembly.\\\\n *\\\\n * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\\\\n *\\\\n * Example usage to set ERC1967 implementation slot:\\\\n * ```\\\\n * contract ERC1967 {\\\\n * bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\\\\n *\\\\n * function _getImplementation() internal view returns (address) {\\\\n * return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\\\\n * }\\\\n *\\\\n * function _setImplementation(address newImplementation) internal {\\\\n * require(Address.isContract(newImplementation), \\\\\\\"ERC1967: new implementation is not a contract\\\\\\\");\\\\n * StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\\\\n * }\\\\n * }\\\\n * ```\\\\n *\\\\n * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._\\\\n */\\\\nlibrary StorageSlot {\\\\n struct AddressSlot {\\\\n address value;\\\\n }\\\\n\\\\n struct BooleanSlot {\\\\n bool value;\\\\n }\\\\n\\\\n struct Bytes32Slot {\\\\n bytes32 value;\\\\n }\\\\n\\\\n struct Uint256Slot {\\\\n uint256 value;\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns an `AddressSlot` with member `value` located at `slot`.\\\\n */\\\\n function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {\\\\n /// @solidity memory-safe-assembly\\\\n assembly {\\\\n r.slot := slot\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns an `BooleanSlot` with member `value` located at `slot`.\\\\n */\\\\n function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {\\\\n /// @solidity memory-safe-assembly\\\\n assembly {\\\\n r.slot := slot\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.\\\\n */\\\\n function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {\\\\n /// @solidity memory-safe-assembly\\\\n assembly {\\\\n r.slot := slot\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns an `Uint256Slot` with member `value` located at `slot`.\\\\n */\\\\n function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {\\\\n /// @solidity memory-safe-assembly\\\\n assembly {\\\\n r.slot := slot\\\\n }\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xd5c50c54bf02740ebd122ff06832546cb5fa84486d52695a9ccfd11666e0c81d\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/utils/Strings.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev String operations.\\\\n */\\\\nlibrary Strings {\\\\n bytes16 private constant _HEX_SYMBOLS = \\\\\\\"0123456789abcdef\\\\\\\";\\\\n uint8 private constant _ADDRESS_LENGTH = 20;\\\\n\\\\n /**\\\\n * @dev Converts a `uint256` to its ASCII `string` decimal representation.\\\\n */\\\\n function toString(uint256 value) internal pure returns (string memory) {\\\\n // Inspired by OraclizeAPI's implementation - MIT licence\\\\n // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\\\\n\\\\n if (value == 0) {\\\\n return \\\\\\\"0\\\\\\\";\\\\n }\\\\n uint256 temp = value;\\\\n uint256 digits;\\\\n while (temp != 0) {\\\\n digits++;\\\\n temp /= 10;\\\\n }\\\\n bytes memory buffer = new bytes(digits);\\\\n while (value != 0) {\\\\n digits -= 1;\\\\n buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));\\\\n value /= 10;\\\\n }\\\\n return string(buffer);\\\\n }\\\\n\\\\n /**\\\\n * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.\\\\n */\\\\n function toHexString(uint256 value) internal pure returns (string memory) {\\\\n if (value == 0) {\\\\n return \\\\\\\"0x00\\\\\\\";\\\\n }\\\\n uint256 temp = value;\\\\n uint256 length = 0;\\\\n while (temp != 0) {\\\\n length++;\\\\n temp >>= 8;\\\\n }\\\\n return toHexString(value, length);\\\\n }\\\\n\\\\n /**\\\\n * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.\\\\n */\\\\n function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {\\\\n bytes memory buffer = new bytes(2 * length + 2);\\\\n buffer[0] = \\\\\\\"0\\\\\\\";\\\\n buffer[1] = \\\\\\\"x\\\\\\\";\\\\n for (uint256 i = 2 * length + 1; i > 1; --i) {\\\\n buffer[i] = _HEX_SYMBOLS[value & 0xf];\\\\n value >>= 4;\\\\n }\\\\n require(value == 0, \\\\\\\"Strings: hex length insufficient\\\\\\\");\\\\n return string(buffer);\\\\n }\\\\n\\\\n /**\\\\n * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.\\\\n */\\\\n function toHexString(address addr) internal pure returns (string memory) {\\\\n return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xaf159a8b1923ad2a26d516089bceca9bdeaeacd04be50983ea00ba63070f08a3\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/utils/cryptography/ECDSA.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.3) (utils/cryptography/ECDSA.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../Strings.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.\\\\n *\\\\n * These functions can be used to verify that a message was signed by the holder\\\\n * of the private keys of a given address.\\\\n */\\\\nlibrary ECDSA {\\\\n enum RecoverError {\\\\n NoError,\\\\n InvalidSignature,\\\\n InvalidSignatureLength,\\\\n InvalidSignatureS,\\\\n InvalidSignatureV\\\\n }\\\\n\\\\n function _throwError(RecoverError error) private pure {\\\\n if (error == RecoverError.NoError) {\\\\n return; // no error: do nothing\\\\n } else if (error == RecoverError.InvalidSignature) {\\\\n revert(\\\\\\\"ECDSA: invalid signature\\\\\\\");\\\\n } else if (error == RecoverError.InvalidSignatureLength) {\\\\n revert(\\\\\\\"ECDSA: invalid signature length\\\\\\\");\\\\n } else if (error == RecoverError.InvalidSignatureS) {\\\\n revert(\\\\\\\"ECDSA: invalid signature 's' value\\\\\\\");\\\\n } else if (error == RecoverError.InvalidSignatureV) {\\\\n revert(\\\\\\\"ECDSA: invalid signature 'v' value\\\\\\\");\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the address that signed a hashed message (`hash`) with\\\\n * `signature` or error string. This address can then be used for verification purposes.\\\\n *\\\\n * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:\\\\n * this function rejects them by requiring the `s` value to be in the lower\\\\n * half order, and the `v` value to be either 27 or 28.\\\\n *\\\\n * IMPORTANT: `hash` _must_ be the result of a hash operation for the\\\\n * verification to be secure: it is possible to craft signatures that\\\\n * recover to arbitrary addresses for non-hashed data. A safe way to ensure\\\\n * this is by receiving a hash of the original message (which may otherwise\\\\n * be too long), and then calling {toEthSignedMessageHash} on it.\\\\n *\\\\n * Documentation for signature generation:\\\\n * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]\\\\n * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]\\\\n *\\\\n * _Available since v4.3._\\\\n */\\\\n function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {\\\\n if (signature.length == 65) {\\\\n bytes32 r;\\\\n bytes32 s;\\\\n uint8 v;\\\\n // ecrecover takes the signature parameters, and the only way to get them\\\\n // currently is to use assembly.\\\\n /// @solidity memory-safe-assembly\\\\n assembly {\\\\n r := mload(add(signature, 0x20))\\\\n s := mload(add(signature, 0x40))\\\\n v := byte(0, mload(add(signature, 0x60)))\\\\n }\\\\n return tryRecover(hash, v, r, s);\\\\n } else {\\\\n return (address(0), RecoverError.InvalidSignatureLength);\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the address that signed a hashed message (`hash`) with\\\\n * `signature`. This address can then be used for verification purposes.\\\\n *\\\\n * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:\\\\n * this function rejects them by requiring the `s` value to be in the lower\\\\n * half order, and the `v` value to be either 27 or 28.\\\\n *\\\\n * IMPORTANT: `hash` _must_ be the result of a hash operation for the\\\\n * verification to be secure: it is possible to craft signatures that\\\\n * recover to arbitrary addresses for non-hashed data. A safe way to ensure\\\\n * this is by receiving a hash of the original message (which may otherwise\\\\n * be too long), and then calling {toEthSignedMessageHash} on it.\\\\n */\\\\n function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {\\\\n (address recovered, RecoverError error) = tryRecover(hash, signature);\\\\n _throwError(error);\\\\n return recovered;\\\\n }\\\\n\\\\n /**\\\\n * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.\\\\n *\\\\n * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]\\\\n *\\\\n * _Available since v4.3._\\\\n */\\\\n function tryRecover(\\\\n bytes32 hash,\\\\n bytes32 r,\\\\n bytes32 vs\\\\n ) internal pure returns (address, RecoverError) {\\\\n bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);\\\\n uint8 v = uint8((uint256(vs) >> 255) + 27);\\\\n return tryRecover(hash, v, r, s);\\\\n }\\\\n\\\\n /**\\\\n * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.\\\\n *\\\\n * _Available since v4.2._\\\\n */\\\\n function recover(\\\\n bytes32 hash,\\\\n bytes32 r,\\\\n bytes32 vs\\\\n ) internal pure returns (address) {\\\\n (address recovered, RecoverError error) = tryRecover(hash, r, vs);\\\\n _throwError(error);\\\\n return recovered;\\\\n }\\\\n\\\\n /**\\\\n * @dev Overload of {ECDSA-tryRecover} that receives the `v`,\\\\n * `r` and `s` signature fields separately.\\\\n *\\\\n * _Available since v4.3._\\\\n */\\\\n function tryRecover(\\\\n bytes32 hash,\\\\n uint8 v,\\\\n bytes32 r,\\\\n bytes32 s\\\\n ) internal pure returns (address, RecoverError) {\\\\n // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature\\\\n // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines\\\\n // the valid range for s in (301): 0 < s < secp256k1n \\\\u00f7 2 + 1, and for v in (302): v \\\\u2208 {27, 28}. Most\\\\n // signatures from current libraries generate a unique signature with an s-value in the lower half order.\\\\n //\\\\n // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value\\\\n // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or\\\\n // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept\\\\n // these malleable signatures as well.\\\\n if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {\\\\n return (address(0), RecoverError.InvalidSignatureS);\\\\n }\\\\n if (v != 27 && v != 28) {\\\\n return (address(0), RecoverError.InvalidSignatureV);\\\\n }\\\\n\\\\n // If the signature is valid (and not malleable), return the signer address\\\\n address signer = ecrecover(hash, v, r, s);\\\\n if (signer == address(0)) {\\\\n return (address(0), RecoverError.InvalidSignature);\\\\n }\\\\n\\\\n return (signer, RecoverError.NoError);\\\\n }\\\\n\\\\n /**\\\\n * @dev Overload of {ECDSA-recover} that receives the `v`,\\\\n * `r` and `s` signature fields separately.\\\\n */\\\\n function recover(\\\\n bytes32 hash,\\\\n uint8 v,\\\\n bytes32 r,\\\\n bytes32 s\\\\n ) internal pure returns (address) {\\\\n (address recovered, RecoverError error) = tryRecover(hash, v, r, s);\\\\n _throwError(error);\\\\n return recovered;\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns an Ethereum Signed Message, created from a `hash`. This\\\\n * produces hash corresponding to the one signed with the\\\\n * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]\\\\n * JSON-RPC method as part of EIP-191.\\\\n *\\\\n * See {recover}.\\\\n */\\\\n function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {\\\\n // 32 is the length in bytes of hash,\\\\n // enforced by the type signature above\\\\n return keccak256(abi.encodePacked(\\\\\\\"\\\\\\\\x19Ethereum Signed Message:\\\\\\\\n32\\\\\\\", hash));\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns an Ethereum Signed Message, created from `s`. This\\\\n * produces hash corresponding to the one signed with the\\\\n * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]\\\\n * JSON-RPC method as part of EIP-191.\\\\n *\\\\n * See {recover}.\\\\n */\\\\n function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {\\\\n return keccak256(abi.encodePacked(\\\\\\\"\\\\\\\\x19Ethereum Signed Message:\\\\\\\\n\\\\\\\", Strings.toString(s.length), s));\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns an Ethereum Signed Typed Data, created from a\\\\n * `domainSeparator` and a `structHash`. This produces hash corresponding\\\\n * to the one signed with the\\\\n * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]\\\\n * JSON-RPC method as part of EIP-712.\\\\n *\\\\n * See {recover}.\\\\n */\\\\n function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {\\\\n return keccak256(abi.encodePacked(\\\\\\\"\\\\\\\\x19\\\\\\\\x01\\\\\\\", domainSeparator, structHash));\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xdb7f5c28fc61cda0bd8ab60ce288e206b791643bcd3ba464a70cbec18895a2f5\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/utils/introspection/ERC165.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./IERC165.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Implementation of the {IERC165} interface.\\\\n *\\\\n * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check\\\\n * for the additional interface id that will be supported. For example:\\\\n *\\\\n * ```solidity\\\\n * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\\\\n * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);\\\\n * }\\\\n * ```\\\\n *\\\\n * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.\\\\n */\\\\nabstract contract ERC165 is IERC165 {\\\\n /**\\\\n * @dev See {IERC165-supportsInterface}.\\\\n */\\\\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\\\\n return interfaceId == type(IERC165).interfaceId;\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/utils/introspection/IERC165.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Interface of the ERC165 standard, as defined in the\\\\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\\\\n *\\\\n * Implementers can declare support of contract interfaces, which can then be\\\\n * queried by others ({ERC165Checker}).\\\\n *\\\\n * For an implementation, see {ERC165}.\\\\n */\\\\ninterface IERC165 {\\\\n /**\\\\n * @dev Returns true if this contract implements the interface defined by\\\\n * `interfaceId`. See the corresponding\\\\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\\\\n * to learn more about how these ids are created.\\\\n *\\\\n * This function call must use less than 30 000 gas.\\\\n */\\\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/utils/structs/EnumerableSet.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/structs/EnumerableSet.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Library for managing\\\\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\\\\n * types.\\\\n *\\\\n * Sets have the following properties:\\\\n *\\\\n * - Elements are added, removed, and checked for existence in constant time\\\\n * (O(1)).\\\\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\\\\n *\\\\n * ```\\\\n * contract Example {\\\\n * // Add the library methods\\\\n * using EnumerableSet for EnumerableSet.AddressSet;\\\\n *\\\\n * // Declare a set state variable\\\\n * EnumerableSet.AddressSet private mySet;\\\\n * }\\\\n * ```\\\\n *\\\\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\\\\n * and `uint256` (`UintSet`) are supported.\\\\n *\\\\n * [WARNING]\\\\n * ====\\\\n * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure unusable.\\\\n * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.\\\\n *\\\\n * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an array of EnumerableSet.\\\\n * ====\\\\n */\\\\nlibrary EnumerableSet {\\\\n // To implement this library for multiple types with as little code\\\\n // repetition as possible, we write it in terms of a generic Set type with\\\\n // bytes32 values.\\\\n // The Set implementation uses private functions, and user-facing\\\\n // implementations (such as AddressSet) are just wrappers around the\\\\n // underlying Set.\\\\n // This means that we can only create new EnumerableSets for types that fit\\\\n // in bytes32.\\\\n\\\\n struct Set {\\\\n // Storage of set values\\\\n bytes32[] _values;\\\\n // Position of the value in the `values` array, plus 1 because index 0\\\\n // means a value is not in the set.\\\\n mapping(bytes32 => uint256) _indexes;\\\\n }\\\\n\\\\n /**\\\\n * @dev Add a value to a set. O(1).\\\\n *\\\\n * Returns true if the value was added to the set, that is if it was not\\\\n * already present.\\\\n */\\\\n function _add(Set storage set, bytes32 value) private returns (bool) {\\\\n if (!_contains(set, value)) {\\\\n set._values.push(value);\\\\n // The value is stored at length-1, but we add 1 to all indexes\\\\n // and use 0 as a sentinel value\\\\n set._indexes[value] = set._values.length;\\\\n return true;\\\\n } else {\\\\n return false;\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Removes a value from a set. O(1).\\\\n *\\\\n * Returns true if the value was removed from the set, that is if it was\\\\n * present.\\\\n */\\\\n function _remove(Set storage set, bytes32 value) private returns (bool) {\\\\n // We read and store the value's index to prevent multiple reads from the same storage slot\\\\n uint256 valueIndex = set._indexes[value];\\\\n\\\\n if (valueIndex != 0) {\\\\n // Equivalent to contains(set, value)\\\\n // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\\\\n // the array, and then remove the last element (sometimes called as 'swap and pop').\\\\n // This modifies the order of the array, as noted in {at}.\\\\n\\\\n uint256 toDeleteIndex = valueIndex - 1;\\\\n uint256 lastIndex = set._values.length - 1;\\\\n\\\\n if (lastIndex != toDeleteIndex) {\\\\n bytes32 lastValue = set._values[lastIndex];\\\\n\\\\n // Move the last value to the index where the value to delete is\\\\n set._values[toDeleteIndex] = lastValue;\\\\n // Update the index for the moved value\\\\n set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex\\\\n }\\\\n\\\\n // Delete the slot where the moved value was stored\\\\n set._values.pop();\\\\n\\\\n // Delete the index for the deleted slot\\\\n delete set._indexes[value];\\\\n\\\\n return true;\\\\n } else {\\\\n return false;\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns true if the value is in the set. O(1).\\\\n */\\\\n function _contains(Set storage set, bytes32 value) private view returns (bool) {\\\\n return set._indexes[value] != 0;\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the number of values on the set. O(1).\\\\n */\\\\n function _length(Set storage set) private view returns (uint256) {\\\\n return set._values.length;\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the value stored at position `index` in the set. O(1).\\\\n *\\\\n * Note that there are no guarantees on the ordering of values inside the\\\\n * array, and it may change when more values are added or removed.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `index` must be strictly less than {length}.\\\\n */\\\\n function _at(Set storage set, uint256 index) private view returns (bytes32) {\\\\n return set._values[index];\\\\n }\\\\n\\\\n /**\\\\n * @dev Return the entire set in an array\\\\n *\\\\n * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\\\\n * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\\\\n * this function has an unbounded cost, and using it as part of a state-changing function may render the function\\\\n * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\\\\n */\\\\n function _values(Set storage set) private view returns (bytes32[] memory) {\\\\n return set._values;\\\\n }\\\\n\\\\n // Bytes32Set\\\\n\\\\n struct Bytes32Set {\\\\n Set _inner;\\\\n }\\\\n\\\\n /**\\\\n * @dev Add a value to a set. O(1).\\\\n *\\\\n * Returns true if the value was added to the set, that is if it was not\\\\n * already present.\\\\n */\\\\n function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\\\\n return _add(set._inner, value);\\\\n }\\\\n\\\\n /**\\\\n * @dev Removes a value from a set. O(1).\\\\n *\\\\n * Returns true if the value was removed from the set, that is if it was\\\\n * present.\\\\n */\\\\n function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {\\\\n return _remove(set._inner, value);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns true if the value is in the set. O(1).\\\\n */\\\\n function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {\\\\n return _contains(set._inner, value);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the number of values in the set. O(1).\\\\n */\\\\n function length(Bytes32Set storage set) internal view returns (uint256) {\\\\n return _length(set._inner);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the value stored at position `index` in the set. O(1).\\\\n *\\\\n * Note that there are no guarantees on the ordering of values inside the\\\\n * array, and it may change when more values are added or removed.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `index` must be strictly less than {length}.\\\\n */\\\\n function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {\\\\n return _at(set._inner, index);\\\\n }\\\\n\\\\n /**\\\\n * @dev Return the entire set in an array\\\\n *\\\\n * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\\\\n * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\\\\n * this function has an unbounded cost, and using it as part of a state-changing function may render the function\\\\n * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\\\\n */\\\\n function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {\\\\n return _values(set._inner);\\\\n }\\\\n\\\\n // AddressSet\\\\n\\\\n struct AddressSet {\\\\n Set _inner;\\\\n }\\\\n\\\\n /**\\\\n * @dev Add a value to a set. O(1).\\\\n *\\\\n * Returns true if the value was added to the set, that is if it was not\\\\n * already present.\\\\n */\\\\n function add(AddressSet storage set, address value) internal returns (bool) {\\\\n return _add(set._inner, bytes32(uint256(uint160(value))));\\\\n }\\\\n\\\\n /**\\\\n * @dev Removes a value from a set. O(1).\\\\n *\\\\n * Returns true if the value was removed from the set, that is if it was\\\\n * present.\\\\n */\\\\n function remove(AddressSet storage set, address value) internal returns (bool) {\\\\n return _remove(set._inner, bytes32(uint256(uint160(value))));\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns true if the value is in the set. O(1).\\\\n */\\\\n function contains(AddressSet storage set, address value) internal view returns (bool) {\\\\n return _contains(set._inner, bytes32(uint256(uint160(value))));\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the number of values in the set. O(1).\\\\n */\\\\n function length(AddressSet storage set) internal view returns (uint256) {\\\\n return _length(set._inner);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the value stored at position `index` in the set. O(1).\\\\n *\\\\n * Note that there are no guarantees on the ordering of values inside the\\\\n * array, and it may change when more values are added or removed.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `index` must be strictly less than {length}.\\\\n */\\\\n function at(AddressSet storage set, uint256 index) internal view returns (address) {\\\\n return address(uint160(uint256(_at(set._inner, index))));\\\\n }\\\\n\\\\n /**\\\\n * @dev Return the entire set in an array\\\\n *\\\\n * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\\\\n * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\\\\n * this function has an unbounded cost, and using it as part of a state-changing function may render the function\\\\n * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\\\\n */\\\\n function values(AddressSet storage set) internal view returns (address[] memory) {\\\\n bytes32[] memory store = _values(set._inner);\\\\n address[] memory result;\\\\n\\\\n /// @solidity memory-safe-assembly\\\\n assembly {\\\\n result := store\\\\n }\\\\n\\\\n return result;\\\\n }\\\\n\\\\n // UintSet\\\\n\\\\n struct UintSet {\\\\n Set _inner;\\\\n }\\\\n\\\\n /**\\\\n * @dev Add a value to a set. O(1).\\\\n *\\\\n * Returns true if the value was added to the set, that is if it was not\\\\n * already present.\\\\n */\\\\n function add(UintSet storage set, uint256 value) internal returns (bool) {\\\\n return _add(set._inner, bytes32(value));\\\\n }\\\\n\\\\n /**\\\\n * @dev Removes a value from a set. O(1).\\\\n *\\\\n * Returns true if the value was removed from the set, that is if it was\\\\n * present.\\\\n */\\\\n function remove(UintSet storage set, uint256 value) internal returns (bool) {\\\\n return _remove(set._inner, bytes32(value));\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns true if the value is in the set. O(1).\\\\n */\\\\n function contains(UintSet storage set, uint256 value) internal view returns (bool) {\\\\n return _contains(set._inner, bytes32(value));\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the number of values on the set. O(1).\\\\n */\\\\n function length(UintSet storage set) internal view returns (uint256) {\\\\n return _length(set._inner);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the value stored at position `index` in the set. O(1).\\\\n *\\\\n * Note that there are no guarantees on the ordering of values inside the\\\\n * array, and it may change when more values are added or removed.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `index` must be strictly less than {length}.\\\\n */\\\\n function at(UintSet storage set, uint256 index) internal view returns (uint256) {\\\\n return uint256(_at(set._inner, index));\\\\n }\\\\n\\\\n /**\\\\n * @dev Return the entire set in an array\\\\n *\\\\n * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\\\\n * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\\\\n * this function has an unbounded cost, and using it as part of a state-changing function may render the function\\\\n * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\\\\n */\\\\n function values(UintSet storage set) internal view returns (uint256[] memory) {\\\\n bytes32[] memory store = _values(set._inner);\\\\n uint256[] memory result;\\\\n\\\\n /// @solidity memory-safe-assembly\\\\n assembly {\\\\n result := store\\\\n }\\\\n\\\\n return result;\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x5050943b32b6a8f282573d166b2e9d87ab7eb4dbba4ab6acf36ecb54fe6995e4\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/extensions/GatewayV3.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"@openzeppelin/contracts/security/Pausable.sol\\\\\\\";\\\\nimport \\\\\\\"../interfaces/IQuorum.sol\\\\\\\";\\\\nimport \\\\\\\"./collections/HasProxyAdmin.sol\\\\\\\";\\\\n\\\\nabstract contract GatewayV3 is HasProxyAdmin, Pausable, IQuorum {\\\\n /**\\\\n * @dev Error indicating that `_minimumVoteWeight` is returning 0.\\\\n */\\\\n error ErrNullMinVoteWeightProvided(bytes4 msgSig);\\\\n\\\\n uint256 internal _num;\\\\n uint256 internal _denom;\\\\n\\\\n address private ______deprecated;\\\\n uint256 public nonce;\\\\n\\\\n address public emergencyPauser;\\\\n\\\\n /**\\\\n * @dev This empty reserved space is put in place to allow future versions to add new\\\\n * variables without shifting down storage in the inheritance chain.\\\\n */\\\\n uint256[49] private ______gap;\\\\n\\\\n /**\\\\n * @dev Grant emergency pauser role for `_addr`.\\\\n */\\\\n function setEmergencyPauser(address _addr) external onlyProxyAdmin {\\\\n emergencyPauser = _addr;\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IQuorum\\\\n */\\\\n function getThreshold() external view virtual returns (uint256 num_, uint256 denom_) {\\\\n return (_num, _denom);\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IQuorum\\\\n */\\\\n function checkThreshold(uint256 _voteWeight) external view virtual returns (bool) {\\\\n return _voteWeight * _denom >= _num * _getTotalWeight();\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IQuorum\\\\n */\\\\n function setThreshold(uint256 _numerator, uint256 _denominator) external virtual onlyProxyAdmin {\\\\n return _setThreshold(_numerator, _denominator);\\\\n }\\\\n\\\\n /**\\\\n * @dev Triggers paused state.\\\\n */\\\\n function pause() external {\\\\n _requireAuth();\\\\n _pause();\\\\n }\\\\n\\\\n /**\\\\n * @dev Triggers unpaused state.\\\\n */\\\\n function unpause() external {\\\\n _requireAuth();\\\\n _unpause();\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IQuorum\\\\n */\\\\n function minimumVoteWeight() public view virtual returns (uint256) {\\\\n return _minimumVoteWeight(_getTotalWeight());\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets threshold and returns the old one.\\\\n *\\\\n * Emits the `ThresholdUpdated` event.\\\\n *\\\\n */\\\\n function _setThreshold(uint256 num, uint256 denom) internal virtual {\\\\n if (num > denom || denom == 0 || num == 0) revert ErrInvalidThreshold(msg.sig);\\\\n\\\\n uint256 prevNum = _num;\\\\n uint256 prevDenom = _denom;\\\\n\\\\n _num = num;\\\\n _denom = denom;\\\\n\\\\n unchecked {\\\\n emit ThresholdUpdated(nonce++, num, denom, prevNum, prevDenom);\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns minimum vote weight.\\\\n */\\\\n function _minimumVoteWeight(uint256 _totalWeight) internal view virtual returns (uint256 minVoteWeight) {\\\\n minVoteWeight = (_num * _totalWeight + _denom - 1) / _denom;\\\\n if (minVoteWeight == 0) revert ErrNullMinVoteWeightProvided(msg.sig);\\\\n }\\\\n\\\\n /**\\\\n * @dev Internal method to check method caller.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - The method caller must be admin or pauser.\\\\n *\\\\n */\\\\n function _requireAuth() private view {\\\\n if (!(msg.sender == _getProxyAdmin() || msg.sender == emergencyPauser)) {\\\\n revert ErrUnauthorized(msg.sig, RoleAccess.ADMIN);\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the total weight.\\\\n */\\\\n function _getTotalWeight() internal view virtual returns (uint256);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xf32cdb6c8c7d05450430d49933f6c15991e219fc40f9247f9e62923ef12c14a6\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/extensions/TransparentUpgradeableProxyV2.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol\\\\\\\";\\\\n\\\\ncontract TransparentUpgradeableProxyV2 is TransparentUpgradeableProxy {\\\\n constructor(address _logic, address admin_, bytes memory _data) payable TransparentUpgradeableProxy(_logic, admin_, _data) { }\\\\n\\\\n /**\\\\n * @dev Calls a function from the current implementation as specified by `_data`, which should be an encoded function call.\\\\n *\\\\n * Requirements:\\\\n * - Only the admin can call this function.\\\\n *\\\\n * Note: The proxy admin is not allowed to interact with the proxy logic through the fallback function to avoid\\\\n * triggering some unexpected logic. This is to allow the administrator to explicitly call the proxy, please consider\\\\n * reviewing the encoded data `_data` and the method which is called before using this.\\\\n *\\\\n */\\\\n function functionDelegateCall(bytes memory _data) public payable ifAdmin {\\\\n address _addr = _implementation();\\\\n assembly {\\\\n let _result := delegatecall(gas(), _addr, add(_data, 32), mload(_data), 0, 0)\\\\n returndatacopy(0, 0, returndatasize())\\\\n switch _result\\\\n case 0 { revert(0, returndatasize()) }\\\\n default { return(0, returndatasize()) }\\\\n }\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x45fc7b71d09da99414b977a56e586b3604670d865e5f36f395d5c98bc4ba64af\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/extensions/WethUnwrapper.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"@openzeppelin/contracts/security/ReentrancyGuard.sol\\\\\\\";\\\\nimport \\\\\\\"../interfaces/IWETH.sol\\\\\\\";\\\\n\\\\ncontract WethUnwrapper is ReentrancyGuard {\\\\n IWETH public immutable weth;\\\\n\\\\n error ErrCannotTransferFrom();\\\\n error ErrNotWrappedContract();\\\\n error ErrExternalCallFailed(address sender, bytes4 sig);\\\\n\\\\n constructor(address weth_) {\\\\n if (address(weth_).code.length == 0) revert ErrNotWrappedContract();\\\\n weth = IWETH(weth_);\\\\n }\\\\n\\\\n fallback() external payable {\\\\n _fallback();\\\\n }\\\\n\\\\n receive() external payable {\\\\n _fallback();\\\\n }\\\\n\\\\n function unwrap(uint256 amount) external nonReentrant {\\\\n _deductWrappedAndWithdraw(amount);\\\\n _sendNativeTo(payable(msg.sender), amount);\\\\n }\\\\n\\\\n function unwrapTo(uint256 amount, address payable to) external nonReentrant {\\\\n _deductWrappedAndWithdraw(amount);\\\\n _sendNativeTo(payable(to), amount);\\\\n }\\\\n\\\\n function _deductWrappedAndWithdraw(uint256 amount) internal {\\\\n (bool success,) = address(weth).call(abi.encodeCall(IWETH.transferFrom, (msg.sender, address(this), amount)));\\\\n if (!success) revert ErrCannotTransferFrom();\\\\n\\\\n weth.withdraw(amount);\\\\n }\\\\n\\\\n function _sendNativeTo(address payable to, uint256 val) internal {\\\\n (bool success,) = to.call{ value: val }(\\\\\\\"\\\\\\\");\\\\n if (!success) {\\\\n revert ErrExternalCallFailed(to, msg.sig);\\\\n }\\\\n }\\\\n\\\\n function _fallback() internal view {\\\\n if (msg.sender != address(weth)) revert ErrNotWrappedContract();\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x5f7b72d9ed8944724d2f228358d565a61ea345cba1883e5424fb801bebc758ff\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/extensions/WithdrawalLimitation.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./GatewayV3.sol\\\\\\\";\\\\n\\\\nabstract contract WithdrawalLimitation is GatewayV3 {\\\\n /// @dev Error of invalid percentage.\\\\n error ErrInvalidPercentage();\\\\n /// @dev Error thrown when the high-tier vote weight threshold is `0`.\\\\n error ErrNullHighTierVoteWeightProvided(bytes4 msgSig);\\\\n\\\\n /// @dev Emitted when the high-tier vote weight threshold is updated\\\\n event HighTierVoteWeightThresholdUpdated(\\\\n uint256 indexed nonce, uint256 indexed numerator, uint256 indexed denominator, uint256 previousNumerator, uint256 previousDenominator\\\\n );\\\\n /// @dev Emitted when the thresholds for high-tier withdrawals that requires high-tier vote weights are updated\\\\n event HighTierThresholdsUpdated(address[] tokens, uint256[] thresholds);\\\\n /// @dev Emitted when the thresholds for locked withdrawals are updated\\\\n event LockedThresholdsUpdated(address[] tokens, uint256[] thresholds);\\\\n /// @dev Emitted when the fee percentages to unlock withdraw are updated\\\\n event UnlockFeePercentagesUpdated(address[] tokens, uint256[] percentages);\\\\n /// @dev Emitted when the daily limit thresholds are updated\\\\n event DailyWithdrawalLimitsUpdated(address[] tokens, uint256[] limits);\\\\n\\\\n uint256 public constant _MAX_PERCENTAGE = 1_000_000;\\\\n\\\\n uint256 internal _highTierVWNum;\\\\n uint256 internal _highTierVWDenom;\\\\n\\\\n /// @dev Mapping from mainchain token => the amount thresholds for high-tier withdrawals that requires high-tier vote weights\\\\n mapping(address => uint256) public highTierThreshold;\\\\n /// @dev Mapping from mainchain token => the amount thresholds to lock withdrawal\\\\n mapping(address => uint256) public lockedThreshold;\\\\n /// @dev Mapping from mainchain token => unlock fee percentages for unlocker\\\\n /// @notice Values 0-1,000,000 map to 0%-100%\\\\n mapping(address => uint256) public unlockFeePercentages;\\\\n /// @dev Mapping from mainchain token => daily limit amount for withdrawal\\\\n mapping(address => uint256) public dailyWithdrawalLimit;\\\\n /// @dev Mapping from token address => today withdrawal amount\\\\n mapping(address => uint256) public lastSyncedWithdrawal;\\\\n /// @dev Mapping from token address => last date synced to record the `lastSyncedWithdrawal`\\\\n mapping(address => uint256) public lastDateSynced;\\\\n\\\\n /**\\\\n * @dev This empty reserved space is put in place to allow future versions to add new\\\\n * variables without shifting down storage in the inheritance chain.\\\\n */\\\\n uint256[50] private ______gap;\\\\n\\\\n /**\\\\n * @dev Override `GatewayV3-setThreshold`.\\\\n *\\\\n * Requirements:\\\\n * - The high-tier vote weight threshold must equal to or larger than the normal threshold.\\\\n *\\\\n */\\\\n function setThreshold(uint256 num, uint256 denom) external virtual override onlyProxyAdmin {\\\\n _setThreshold(num, denom);\\\\n _verifyThresholds();\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the high-tier vote weight threshold.\\\\n */\\\\n function getHighTierVoteWeightThreshold() external view virtual returns (uint256, uint256) {\\\\n return (_highTierVWNum, _highTierVWDenom);\\\\n }\\\\n\\\\n /**\\\\n * @dev Checks whether the `_voteWeight` passes the high-tier vote weight threshold.\\\\n */\\\\n function checkHighTierVoteWeightThreshold(uint256 _voteWeight) external view virtual returns (bool) {\\\\n return _voteWeight * _highTierVWDenom >= _highTierVWNum * _getTotalWeight();\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets high-tier vote weight threshold and returns the old one.\\\\n *\\\\n * Requirements:\\\\n * - The method caller is admin.\\\\n * - The high-tier vote weight threshold must equal to or larger than the normal threshold.\\\\n *\\\\n * Emits the `HighTierVoteWeightThresholdUpdated` event.\\\\n *\\\\n */\\\\n function setHighTierVoteWeightThreshold(\\\\n uint256 _numerator,\\\\n uint256 _denominator\\\\n ) external virtual onlyProxyAdmin returns (uint256 _previousNum, uint256 _previousDenom) {\\\\n (_previousNum, _previousDenom) = _setHighTierVoteWeightThreshold(_numerator, _denominator);\\\\n _verifyThresholds();\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets the thresholds for high-tier withdrawals that requires high-tier vote weights.\\\\n *\\\\n * Requirements:\\\\n * - The method caller is admin.\\\\n * - The arrays have the same length and its length larger than 0.\\\\n *\\\\n * Emits the `HighTierThresholdsUpdated` event.\\\\n *\\\\n */\\\\n function setHighTierThresholds(address[] calldata _tokens, uint256[] calldata _thresholds) external virtual onlyProxyAdmin {\\\\n if (_tokens.length == 0) revert ErrEmptyArray();\\\\n _setHighTierThresholds(_tokens, _thresholds);\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets the amount thresholds to lock withdrawal.\\\\n *\\\\n * Requirements:\\\\n * - The method caller is admin.\\\\n * - The arrays have the same length and its length larger than 0.\\\\n *\\\\n * Emits the `LockedThresholdsUpdated` event.\\\\n *\\\\n */\\\\n function setLockedThresholds(address[] calldata _tokens, uint256[] calldata _thresholds) external virtual onlyProxyAdmin {\\\\n if (_tokens.length == 0) revert ErrEmptyArray();\\\\n _setLockedThresholds(_tokens, _thresholds);\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets fee percentages to unlock withdrawal.\\\\n *\\\\n * Requirements:\\\\n * - The method caller is admin.\\\\n * - The arrays have the same length and its length larger than 0.\\\\n *\\\\n * Emits the `UnlockFeePercentagesUpdated` event.\\\\n *\\\\n */\\\\n function setUnlockFeePercentages(address[] calldata _tokens, uint256[] calldata _percentages) external virtual onlyProxyAdmin {\\\\n if (_tokens.length == 0) revert ErrEmptyArray();\\\\n _setUnlockFeePercentages(_tokens, _percentages);\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets daily limit amounts for the withdrawals.\\\\n *\\\\n * Requirements:\\\\n * - The method caller is admin.\\\\n * - The arrays have the same length and its length larger than 0.\\\\n *\\\\n * Emits the `DailyWithdrawalLimitsUpdated` event.\\\\n *\\\\n */\\\\n function setDailyWithdrawalLimits(address[] calldata _tokens, uint256[] calldata _limits) external virtual onlyProxyAdmin {\\\\n if (_tokens.length == 0) revert ErrEmptyArray();\\\\n _setDailyWithdrawalLimits(_tokens, _limits);\\\\n }\\\\n\\\\n /**\\\\n * @dev Checks whether the withdrawal reaches the limitation.\\\\n */\\\\n function reachedWithdrawalLimit(address _token, uint256 _quantity) external view virtual returns (bool) {\\\\n return _reachedWithdrawalLimit(_token, _quantity);\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets high-tier vote weight threshold and returns the old one.\\\\n *\\\\n * Emits the `HighTierVoteWeightThresholdUpdated` event.\\\\n *\\\\n */\\\\n function _setHighTierVoteWeightThreshold(uint256 _numerator, uint256 _denominator) internal returns (uint256 _previousNum, uint256 _previousDenom) {\\\\n if (_numerator > _denominator || _numerator == 0 || _denominator == 0) revert ErrInvalidThreshold(msg.sig);\\\\n\\\\n _previousNum = _highTierVWNum;\\\\n _previousDenom = _highTierVWDenom;\\\\n _highTierVWNum = _numerator;\\\\n _highTierVWDenom = _denominator;\\\\n\\\\n unchecked {\\\\n emit HighTierVoteWeightThresholdUpdated(nonce++, _numerator, _denominator, _previousNum, _previousDenom);\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets the thresholds for high-tier withdrawals that requires high-tier vote weights.\\\\n *\\\\n * Requirements:\\\\n * - The array lengths are equal.\\\\n *\\\\n * Emits the `HighTierThresholdsUpdated` event.\\\\n *\\\\n */\\\\n function _setHighTierThresholds(address[] calldata _tokens, uint256[] calldata _thresholds) internal virtual {\\\\n if (_tokens.length != _thresholds.length) revert ErrLengthMismatch(msg.sig);\\\\n\\\\n for (uint256 _i; _i < _tokens.length;) {\\\\n highTierThreshold[_tokens[_i]] = _thresholds[_i];\\\\n\\\\n unchecked {\\\\n ++_i;\\\\n }\\\\n }\\\\n emit HighTierThresholdsUpdated(_tokens, _thresholds);\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets the amount thresholds to lock withdrawal.\\\\n *\\\\n * Requirements:\\\\n * - The array lengths are equal.\\\\n *\\\\n * Emits the `LockedThresholdsUpdated` event.\\\\n *\\\\n */\\\\n function _setLockedThresholds(address[] calldata _tokens, uint256[] calldata _thresholds) internal virtual {\\\\n if (_tokens.length != _thresholds.length) revert ErrLengthMismatch(msg.sig);\\\\n\\\\n for (uint256 _i; _i < _tokens.length;) {\\\\n lockedThreshold[_tokens[_i]] = _thresholds[_i];\\\\n\\\\n unchecked {\\\\n ++_i;\\\\n }\\\\n }\\\\n emit LockedThresholdsUpdated(_tokens, _thresholds);\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets fee percentages to unlock withdrawal.\\\\n *\\\\n * Requirements:\\\\n * - The array lengths are equal.\\\\n * - The percentage is equal to or less than 100_000.\\\\n *\\\\n * Emits the `UnlockFeePercentagesUpdated` event.\\\\n *\\\\n */\\\\n function _setUnlockFeePercentages(address[] calldata _tokens, uint256[] calldata _percentages) internal virtual {\\\\n if (_tokens.length != _percentages.length) revert ErrLengthMismatch(msg.sig);\\\\n\\\\n for (uint256 _i; _i < _tokens.length;) {\\\\n if (_percentages[_i] > _MAX_PERCENTAGE) revert ErrInvalidPercentage();\\\\n\\\\n unlockFeePercentages[_tokens[_i]] = _percentages[_i];\\\\n\\\\n unchecked {\\\\n ++_i;\\\\n }\\\\n }\\\\n emit UnlockFeePercentagesUpdated(_tokens, _percentages);\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets daily limit amounts for the withdrawals.\\\\n *\\\\n * Requirements:\\\\n * - The array lengths are equal.\\\\n *\\\\n * Emits the `DailyWithdrawalLimitsUpdated` event.\\\\n *\\\\n */\\\\n function _setDailyWithdrawalLimits(address[] calldata _tokens, uint256[] calldata _limits) internal virtual {\\\\n if (_tokens.length != _limits.length) revert ErrLengthMismatch(msg.sig);\\\\n\\\\n for (uint256 _i; _i < _tokens.length;) {\\\\n dailyWithdrawalLimit[_tokens[_i]] = _limits[_i];\\\\n\\\\n unchecked {\\\\n ++_i;\\\\n }\\\\n }\\\\n emit DailyWithdrawalLimitsUpdated(_tokens, _limits);\\\\n }\\\\n\\\\n /**\\\\n * @dev Checks whether the withdrawal reaches the daily limitation.\\\\n *\\\\n * Requirements:\\\\n * - The daily withdrawal threshold should not apply for locked withdrawals.\\\\n *\\\\n */\\\\n function _reachedWithdrawalLimit(address _token, uint256 _quantity) internal view virtual returns (bool) {\\\\n if (_lockedWithdrawalRequest(_token, _quantity)) {\\\\n return false;\\\\n }\\\\n\\\\n uint256 _currentDate = block.timestamp / 1 days;\\\\n if (_currentDate > lastDateSynced[_token]) {\\\\n return dailyWithdrawalLimit[_token] <= _quantity;\\\\n } else {\\\\n return dailyWithdrawalLimit[_token] <= lastSyncedWithdrawal[_token] + _quantity;\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Record withdrawal token.\\\\n */\\\\n function _recordWithdrawal(address _token, uint256 _quantity) internal virtual {\\\\n uint256 _currentDate = block.timestamp / 1 days;\\\\n if (_currentDate > lastDateSynced[_token]) {\\\\n lastDateSynced[_token] = _currentDate;\\\\n lastSyncedWithdrawal[_token] = _quantity;\\\\n } else {\\\\n lastSyncedWithdrawal[_token] += _quantity;\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns whether the withdrawal request is locked or not.\\\\n */\\\\n function _lockedWithdrawalRequest(address _token, uint256 _quantity) internal view virtual returns (bool) {\\\\n return lockedThreshold[_token] <= _quantity;\\\\n }\\\\n\\\\n /**\\\\n * @dev Computes fee percentage.\\\\n */\\\\n function _computeFeePercentage(uint256 _amount, uint256 _percentage) internal view virtual returns (uint256) {\\\\n return (_amount * _percentage) / _MAX_PERCENTAGE;\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns high-tier vote weight.\\\\n */\\\\n function _highTierVoteWeight(uint256 _totalWeight) internal view virtual returns (uint256 highTierVW) {\\\\n highTierVW = (_highTierVWNum * _totalWeight + _highTierVWDenom - 1) / _highTierVWDenom;\\\\n if (highTierVW == 0) revert ErrNullHighTierVoteWeightProvided(msg.sig);\\\\n }\\\\n\\\\n /**\\\\n * @dev Validates whether the high-tier vote weight threshold is larger than the normal threshold.\\\\n */\\\\n function _verifyThresholds() internal view {\\\\n if (_num * _highTierVWDenom > _highTierVWNum * _denom) revert ErrInvalidThreshold(msg.sig);\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xa21b97cf3b5c2f761c47bda34709b5e963b3084c9dc94ecebc205516e12b62ab\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/extensions/collections/HasContracts.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport { HasProxyAdmin } from \\\\\\\"./HasProxyAdmin.sol\\\\\\\";\\\\nimport \\\\\\\"../../interfaces/collections/IHasContracts.sol\\\\\\\";\\\\nimport { IdentityGuard } from \\\\\\\"../../utils/IdentityGuard.sol\\\\\\\";\\\\nimport { ErrUnexpectedInternalCall } from \\\\\\\"../../utils/CommonErrors.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @title HasContracts\\\\n * @dev A contract that provides functionality to manage multiple contracts with different roles.\\\\n */\\\\nabstract contract HasContracts is HasProxyAdmin, IHasContracts, IdentityGuard {\\\\n /// @dev value is equal to keccak256(\\\\\\\"@ronin.dpos.collections.HasContracts.slot\\\\\\\") - 1\\\\n bytes32 private constant _STORAGE_SLOT = 0xdea3103d22025c269050bea94c0c84688877f12fa22b7e6d2d5d78a9a49aa1cb;\\\\n\\\\n /**\\\\n * @dev Modifier to restrict access to functions only to contracts with a specific role.\\\\n * @param contractType The contract type that allowed to call\\\\n */\\\\n modifier onlyContract(ContractType contractType) virtual {\\\\n _requireContract(contractType);\\\\n _;\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IHasContracts\\\\n */\\\\n function setContract(ContractType contractType, address addr) external virtual onlyProxyAdmin {\\\\n _requireHasCode(addr);\\\\n _setContract(contractType, addr);\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IHasContracts\\\\n */\\\\n function getContract(ContractType contractType) public view returns (address contract_) {\\\\n contract_ = _getContractMap()[uint8(contractType)];\\\\n if (contract_ == address(0)) revert ErrContractTypeNotFound(contractType);\\\\n }\\\\n\\\\n /**\\\\n * @dev Internal function to set the address of a contract with a specific role.\\\\n * @param contractType The contract type of the contract to set.\\\\n * @param addr The address of the contract to set.\\\\n */\\\\n function _setContract(ContractType contractType, address addr) internal virtual {\\\\n _getContractMap()[uint8(contractType)] = addr;\\\\n emit ContractUpdated(contractType, addr);\\\\n }\\\\n\\\\n /**\\\\n * @dev Internal function to access the mapping of contract addresses with roles.\\\\n * @return contracts_ The mapping of contract addresses with roles.\\\\n */\\\\n function _getContractMap() private pure returns (mapping(uint8 => address) storage contracts_) {\\\\n assembly {\\\\n contracts_.slot := _STORAGE_SLOT\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Internal function to check if the calling contract has a specific role.\\\\n * @param contractType The contract type that the calling contract must have.\\\\n * @dev Throws an error if the calling contract does not have the specified role.\\\\n */\\\\n function _requireContract(ContractType contractType) private view {\\\\n if (msg.sender != getContract(contractType)) {\\\\n revert ErrUnexpectedInternalCall(msg.sig, contractType, msg.sender);\\\\n }\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xf7dbefa31230e6e4bd319f02d94893cbfd07ee12a0e016f5fadc57660df01891\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/extensions/collections/HasProxyAdmin.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"@openzeppelin/contracts/utils/StorageSlot.sol\\\\\\\";\\\\nimport \\\\\\\"../../utils/CommonErrors.sol\\\\\\\";\\\\n\\\\nabstract contract HasProxyAdmin {\\\\n // bytes32(uint256(keccak256(\\\\\\\"eip1967.proxy.admin\\\\\\\")) - 1));\\\\n bytes32 private constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;\\\\n\\\\n modifier onlyProxyAdmin() {\\\\n _requireProxyAdmin();\\\\n _;\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns proxy admin.\\\\n */\\\\n function _getProxyAdmin() internal view virtual returns (address) {\\\\n return StorageSlot.getAddressSlot(_ADMIN_SLOT).value;\\\\n }\\\\n\\\\n function _requireProxyAdmin() internal view {\\\\n if (msg.sender != _getProxyAdmin()) revert ErrUnauthorized(msg.sig, RoleAccess.ADMIN);\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xad3db02c99a960b60151f2ad45eed46073d14fe1ed861f496c7aeefacbbc528e\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/interfaces/IMainchainGatewayV3.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./IWETH.sol\\\\\\\";\\\\nimport \\\\\\\"./consumers/SignatureConsumer.sol\\\\\\\";\\\\nimport \\\\\\\"./consumers/MappedTokenConsumer.sol\\\\\\\";\\\\nimport \\\\\\\"../libraries/Transfer.sol\\\\\\\";\\\\n\\\\ninterface IMainchainGatewayV3 is SignatureConsumer, MappedTokenConsumer {\\\\n /**\\\\n * @dev Error indicating that a query was made for an approved withdrawal.\\\\n */\\\\n error ErrQueryForApprovedWithdrawal();\\\\n\\\\n /**\\\\n * @dev Error indicating that the daily withdrawal limit has been reached.\\\\n */\\\\n error ErrReachedDailyWithdrawalLimit();\\\\n\\\\n /**\\\\n * @dev Error indicating that a query was made for a processed withdrawal.\\\\n */\\\\n error ErrQueryForProcessedWithdrawal();\\\\n\\\\n /**\\\\n * @dev Error indicating that a query was made for insufficient vote weight.\\\\n */\\\\n error ErrQueryForInsufficientVoteWeight();\\\\n\\\\n /**\\\\n * @dev Error indicating that the recovered signer from the signature has invalid vote weight.\\\\n */\\\\n error ErrInvalidSigner(address signer, uint256 weight, Signature sig);\\\\n\\\\n /**\\\\n * @dev Error indicating that the total weight provided is null.\\\\n */\\\\n error ErrNullTotalWeightProvided(bytes4 msgSig);\\\\n\\\\n /// @dev Emitted when the deposit is requested\\\\n event DepositRequested(bytes32 receiptHash, Transfer.Receipt receipt);\\\\n /// @dev Emitted when the assets are withdrawn\\\\n event Withdrew(bytes32 receiptHash, Transfer.Receipt receipt);\\\\n /// @dev Emitted when the tokens are mapped\\\\n event TokenMapped(address[] mainchainTokens, address[] roninTokens, TokenStandard[] standards);\\\\n /// @dev Emitted when the wrapped native token contract is updated\\\\n event WrappedNativeTokenContractUpdated(IWETH weth);\\\\n /// @dev Emitted when the withdrawal is locked\\\\n event WithdrawalLocked(bytes32 receiptHash, Transfer.Receipt receipt);\\\\n /// @dev Emitted when the withdrawal is unlocked\\\\n event WithdrawalUnlocked(bytes32 receiptHash, Transfer.Receipt receipt);\\\\n\\\\n /**\\\\n * @dev Returns the WETH address.\\\\n */\\\\n function wrappedNativeToken() external view returns (IWETH);\\\\n\\\\n /**\\\\n * @dev Returns the domain separator.\\\\n */\\\\n function DOMAIN_SEPARATOR() external view returns (bytes32);\\\\n\\\\n /**\\\\n * @dev Returns deposit count.\\\\n */\\\\n function depositCount() external view returns (uint256);\\\\n\\\\n /**\\\\n * @dev Sets the wrapped native token contract.\\\\n *\\\\n * Requirements:\\\\n * - The method caller is admin.\\\\n *\\\\n * Emits the `WrappedNativeTokenContractUpdated` event.\\\\n *\\\\n */\\\\n function setWrappedNativeTokenContract(IWETH _wrappedToken) external;\\\\n\\\\n /**\\\\n * @dev Returns whether the withdrawal is locked.\\\\n */\\\\n function withdrawalLocked(uint256 withdrawalId) external view returns (bool);\\\\n\\\\n /**\\\\n * @dev Returns the withdrawal hash.\\\\n */\\\\n function withdrawalHash(uint256 withdrawalId) external view returns (bytes32);\\\\n\\\\n /**\\\\n * @dev Locks the assets and request deposit.\\\\n */\\\\n function requestDepositFor(Transfer.Request calldata _request) external payable;\\\\n\\\\n /**\\\\n * @dev Withdraws based on the receipt and the validator signatures.\\\\n * Returns whether the withdrawal is locked.\\\\n *\\\\n * Emits the `Withdrew` once the assets are released.\\\\n *\\\\n */\\\\n function submitWithdrawal(Transfer.Receipt memory _receipt, Signature[] memory _signatures) external returns (bool _locked);\\\\n\\\\n /**\\\\n * @dev Approves a specific withdrawal.\\\\n *\\\\n * Requirements:\\\\n * - The method caller is a validator.\\\\n *\\\\n * Emits the `Withdrew` once the assets are released.\\\\n *\\\\n */\\\\n function unlockWithdrawal(Transfer.Receipt calldata _receipt) external;\\\\n\\\\n /**\\\\n * @dev Maps mainchain tokens to Ronin network.\\\\n *\\\\n * Requirement:\\\\n * - The method caller is admin.\\\\n * - The arrays have the same length and its length larger than 0.\\\\n *\\\\n * Emits the `TokenMapped` event.\\\\n *\\\\n */\\\\n function mapTokens(address[] calldata _mainchainTokens, address[] calldata _roninTokens, TokenStandard[] calldata _standards) external;\\\\n\\\\n /**\\\\n * @dev Maps mainchain tokens to Ronin network and sets thresholds.\\\\n *\\\\n * Requirement:\\\\n * - The method caller is admin.\\\\n * - The arrays have the same length and its length larger than 0.\\\\n *\\\\n * Emits the `TokenMapped` event.\\\\n *\\\\n */\\\\n function mapTokensAndThresholds(\\\\n address[] calldata _mainchainTokens,\\\\n address[] calldata _roninTokens,\\\\n TokenStandard[] calldata _standards,\\\\n uint256[][4] calldata _thresholds\\\\n ) external;\\\\n\\\\n /**\\\\n * @dev Returns token address on Ronin network.\\\\n * Note: Reverts for unsupported token.\\\\n */\\\\n function getRoninToken(address _mainchainToken) external view returns (MappedToken memory _token);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x6506518cd8e2ea392c7d62f51af6b9a19319719c2271db85cf29764f1cfccbcd\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/interfaces/IQuorum.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\ninterface IQuorum {\\\\n /// @dev Emitted when the threshold is updated\\\\n event ThresholdUpdated(uint256 indexed nonce, uint256 indexed numerator, uint256 indexed denominator, uint256 previousNumerator, uint256 previousDenominator);\\\\n\\\\n /**\\\\n * @dev Returns the threshold.\\\\n */\\\\n function getThreshold() external view returns (uint256 _num, uint256 _denom);\\\\n\\\\n /**\\\\n * @dev Checks whether the `_voteWeight` passes the threshold.\\\\n */\\\\n function checkThreshold(uint256 _voteWeight) external view returns (bool);\\\\n\\\\n /**\\\\n * @dev Returns the minimum vote weight to pass the threshold.\\\\n */\\\\n function minimumVoteWeight() external view returns (uint256);\\\\n\\\\n /**\\\\n * @dev Sets the threshold.\\\\n *\\\\n * Requirements:\\\\n * - The method caller is admin.\\\\n *\\\\n * Emits the `ThresholdUpdated` event.\\\\n *\\\\n */\\\\n function setThreshold(uint256 numerator, uint256 denominator) external;\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xc924e9480f59acc9bc8c033f05d3be9451de5cee0c224d76d4542fa5b67fa10f\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/interfaces/IWETH.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\ninterface IWETH {\\\\n event Transfer(address indexed src, address indexed dst, uint wad);\\\\n\\\\n function deposit() external payable;\\\\n\\\\n function transfer(address dst, uint wad) external returns (bool);\\\\n\\\\n function approve(address guy, uint wad) external returns (bool);\\\\n\\\\n function transferFrom(address src, address dst, uint wad) external returns (bool);\\\\n\\\\n function withdraw(uint256 _wad) external;\\\\n\\\\n function balanceOf(address) external view returns (uint256);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x000700e2b9c1985d53bb1cdba435f0f3d7b48e76e596e7dbbdfec1da47131415\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/interfaces/bridge/IBridgeManager.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport { IBridgeManagerEvents } from \\\\\\\"./events/IBridgeManagerEvents.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @title IBridgeManager\\\\n * @dev The interface for managing bridge operators.\\\\n */\\\\ninterface IBridgeManager is IBridgeManagerEvents {\\\\n /// @notice Error indicating that cannot find the querying operator\\\\n error ErrOperatorNotFound(address operator);\\\\n /// @notice Error indicating that cannot find the querying governor\\\\n error ErrGovernorNotFound(address governor);\\\\n /// @notice Error indicating that the msg.sender is not match the required governor\\\\n error ErrGovernorNotMatch(address required, address sender);\\\\n /// @notice Error indicating that the governors list will go below minimum number of required governor.\\\\n error ErrBelowMinRequiredGovernors();\\\\n /// @notice Common invalid input error\\\\n error ErrInvalidInput();\\\\n\\\\n /**\\\\n * @dev The domain separator used for computing hash digests in the contract.\\\\n */\\\\n function DOMAIN_SEPARATOR() external view returns (bytes32);\\\\n\\\\n /**\\\\n * @dev Returns the total number of bridge operators.\\\\n * @return The total number of bridge operators.\\\\n */\\\\n function totalBridgeOperator() external view returns (uint256);\\\\n\\\\n /**\\\\n * @dev Checks if the given address is a bridge operator.\\\\n * @param addr The address to check.\\\\n * @return A boolean indicating whether the address is a bridge operator.\\\\n */\\\\n function isBridgeOperator(address addr) external view returns (bool);\\\\n\\\\n /**\\\\n * @dev Retrieves the full information of all registered bridge operators.\\\\n *\\\\n * This external function allows external callers to obtain the full information of all the registered bridge operators.\\\\n * The returned arrays include the addresses of governors, bridge operators, and their corresponding vote weights.\\\\n *\\\\n * @return governors An array of addresses representing the governors of each bridge operator.\\\\n * @return bridgeOperators An array of addresses representing the registered bridge operators.\\\\n * @return weights An array of uint256 values representing the vote weights of each bridge operator.\\\\n *\\\\n * Note: The length of each array will be the same, and the order of elements corresponds to the same bridge operator.\\\\n *\\\\n * Example Usage:\\\\n * ```\\\\n * (address[] memory governors, address[] memory bridgeOperators, uint256[] memory weights) = getFullBridgeOperatorInfos();\\\\n * for (uint256 i = 0; i < bridgeOperators.length; i++) {\\\\n * // Access individual information for each bridge operator.\\\\n * address governor = governors[i];\\\\n * address bridgeOperator = bridgeOperators[i];\\\\n * uint256 weight = weights[i];\\\\n * // ... (Process or use the information as required) ...\\\\n * }\\\\n * ```\\\\n *\\\\n */\\\\n function getFullBridgeOperatorInfos() external view returns (address[] memory governors, address[] memory bridgeOperators, uint96[] memory weights);\\\\n\\\\n /**\\\\n * @dev Returns total weights of the governor list.\\\\n */\\\\n function sumGovernorsWeight(address[] calldata governors) external view returns (uint256 sum);\\\\n\\\\n /**\\\\n * @dev Returns total weights.\\\\n */\\\\n function getTotalWeight() external view returns (uint256);\\\\n\\\\n /**\\\\n * @dev Returns an array of all bridge operators.\\\\n * @return An array containing the addresses of all bridge operators.\\\\n */\\\\n function getBridgeOperators() external view returns (address[] memory);\\\\n\\\\n /**\\\\n * @dev Returns the corresponding `operator` of a `governor`.\\\\n */\\\\n function getOperatorOf(address governor) external view returns (address operator);\\\\n\\\\n /**\\\\n * @dev Returns the corresponding `governor` of a `operator`.\\\\n */\\\\n function getGovernorOf(address operator) external view returns (address governor);\\\\n\\\\n /**\\\\n * @dev External function to retrieve the vote weight of a specific governor.\\\\n * @param governor The address of the governor to get the vote weight for.\\\\n * @return voteWeight The vote weight of the specified governor.\\\\n */\\\\n function getGovernorWeight(address governor) external view returns (uint96);\\\\n\\\\n /**\\\\n * @dev External function to retrieve the vote weight of a specific bridge operator.\\\\n * @param bridgeOperator The address of the bridge operator to get the vote weight for.\\\\n * @return weight The vote weight of the specified bridge operator.\\\\n */\\\\n function getBridgeOperatorWeight(address bridgeOperator) external view returns (uint96 weight);\\\\n\\\\n /**\\\\n * @dev Returns the weights of a list of governor addresses.\\\\n */\\\\n function getGovernorWeights(address[] calldata governors) external view returns (uint96[] memory weights);\\\\n\\\\n /**\\\\n * @dev Returns an array of all governors.\\\\n * @return An array containing the addresses of all governors.\\\\n */\\\\n function getGovernors() external view returns (address[] memory);\\\\n\\\\n /**\\\\n * @dev Adds multiple bridge operators.\\\\n * @param governors An array of addresses of hot/cold wallets for bridge operator to update their node address.\\\\n * @param bridgeOperators An array of addresses representing the bridge operators to add.\\\\n */\\\\n function addBridgeOperators(uint96[] calldata voteWeights, address[] calldata governors, address[] calldata bridgeOperators) external;\\\\n\\\\n /**\\\\n * @dev Removes multiple bridge operators.\\\\n * @param bridgeOperators An array of addresses representing the bridge operators to remove.\\\\n */\\\\n function removeBridgeOperators(address[] calldata bridgeOperators) external;\\\\n\\\\n /**\\\\n * @dev Self-call to update the minimum required governor.\\\\n * @param min The minimum number, this must not less than 3.\\\\n */\\\\n function setMinRequiredGovernor(uint min) external;\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xefc46318a240371031e77ef3c355e2c18432e4479145378de6782277f9b44923\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/interfaces/bridge/IBridgeManagerCallback.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport { IERC165 } from \\\\\\\"@openzeppelin/contracts/utils/introspection/IERC165.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @title IBridgeManagerCallback\\\\n * @dev Interface for the callback functions to be implemented by the Bridge Manager contract.\\\\n */\\\\ninterface IBridgeManagerCallback is IERC165 {\\\\n /**\\\\n * @dev Handles the event when bridge operators are added.\\\\n * @param bridgeOperators The addresses of the bridge operators.\\\\n * @param addeds The corresponding boolean values indicating whether the operators were added or not.\\\\n * @return selector The selector of the function being called.\\\\n */\\\\n function onBridgeOperatorsAdded(address[] memory bridgeOperators, uint96[] calldata weights, bool[] memory addeds) external returns (bytes4 selector);\\\\n\\\\n /**\\\\n * @dev Handles the event when bridge operators are removed.\\\\n * @param bridgeOperators The addresses of the bridge operators.\\\\n * @param removeds The corresponding boolean values indicating whether the operators were removed or not.\\\\n * @return selector The selector of the function being called.\\\\n */\\\\n function onBridgeOperatorsRemoved(address[] memory bridgeOperators, bool[] memory removeds) external returns (bytes4 selector);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x6c8ce7e2478e28c5ed5e6f5d8305a77d6d5f9125a47adfb77632940b9a0f3625\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/interfaces/bridge/events/IBridgeManagerEvents.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\ninterface IBridgeManagerEvents {\\\\n /**\\\\n * @dev Emitted when new bridge operators are added.\\\\n */\\\\n event BridgeOperatorsAdded(bool[] statuses, uint96[] voteWeights, address[] governors, address[] bridgeOperators);\\\\n\\\\n /**\\\\n * @dev Emitted when a bridge operator is failed to add.\\\\n */\\\\n event BridgeOperatorAddingFailed(address indexed operator);\\\\n\\\\n /**\\\\n * @dev Emitted when bridge operators are removed.\\\\n */\\\\n event BridgeOperatorsRemoved(bool[] statuses, address[] bridgeOperators);\\\\n\\\\n /**\\\\n * @dev Emitted when a bridge operator is failed to remove.\\\\n */\\\\n event BridgeOperatorRemovingFailed(address indexed operator);\\\\n\\\\n /**\\\\n * @dev Emitted when a bridge operator is updated.\\\\n */\\\\n event BridgeOperatorUpdated(address indexed governor, address indexed fromBridgeOperator, address indexed toBridgeOperator);\\\\n\\\\n /**\\\\n * @dev Emitted when the minimum number of required governors is updated.\\\\n */\\\\n event MinRequiredGovernorUpdated(uint min);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x38bc3709c98a7c08fb9b6fa3e07a725903dcb0bd07de8a828bac6c3bcf7d997d\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/interfaces/collections/IHasContracts.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n\\\\npragma solidity ^0.8.9;\\\\n\\\\nimport { ContractType } from \\\\\\\"../../utils/ContractType.sol\\\\\\\";\\\\n\\\\ninterface IHasContracts {\\\\n /// @dev Error of invalid role.\\\\n error ErrContractTypeNotFound(ContractType contractType);\\\\n\\\\n /// @dev Emitted when a contract is updated.\\\\n event ContractUpdated(ContractType indexed contractType, address indexed addr);\\\\n\\\\n /**\\\\n * @dev Returns the address of a contract with a specific role.\\\\n * Throws an error if no contract is set for the specified role.\\\\n *\\\\n * @param contractType The role of the contract to retrieve.\\\\n * @return contract_ The address of the contract with the specified role.\\\\n */\\\\n function getContract(ContractType contractType) external view returns (address contract_);\\\\n\\\\n /**\\\\n * @dev Sets the address of a contract with a specific role.\\\\n * Emits the event {ContractUpdated}.\\\\n * @param contractType The role of the contract to set.\\\\n * @param addr The address of the contract to set.\\\\n */\\\\n function setContract(ContractType contractType, address addr) external;\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x99d8213d857e30d367155abd15dc42730afdfbbac3a22dfb3b95ffea2083a92e\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/interfaces/consumers/MappedTokenConsumer.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../../libraries/LibTokenInfo.sol\\\\\\\";\\\\n\\\\ninterface MappedTokenConsumer {\\\\n struct MappedToken {\\\\n TokenStandard erc;\\\\n address tokenAddr;\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xc53dcba9dc7d950ab6561149f76b45617ddbce5037e4c86ea00b976018bbfde1\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/interfaces/consumers/SignatureConsumer.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\ninterface SignatureConsumer {\\\\n struct Signature {\\\\n uint8 v;\\\\n bytes32 r;\\\\n bytes32 s;\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xd370e350722067097dec1a5c31bda6e47e83417fa5c3288293bb910028cd136b\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/libraries/AddressArrayUtils.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: UNLICENSED\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nlibrary AddressArrayUtils {\\\\n /**\\\\n * @dev Error thrown when a duplicated element is detected in an array.\\\\n * @param msgSig The function signature that invoke the error.\\\\n */\\\\n error ErrDuplicated(bytes4 msgSig);\\\\n\\\\n /**\\\\n * @dev Returns whether or not there's a duplicate. Runs in O(n^2).\\\\n * @param A Array to search\\\\n * @return Returns true if duplicate, false otherwise\\\\n */\\\\n function hasDuplicate(address[] memory A) internal pure returns (bool) {\\\\n if (A.length == 0) {\\\\n return false;\\\\n }\\\\n unchecked {\\\\n for (uint256 i = 0; i < A.length - 1; i++) {\\\\n for (uint256 j = i + 1; j < A.length; j++) {\\\\n if (A[i] == A[j]) {\\\\n return true;\\\\n }\\\\n }\\\\n }\\\\n }\\\\n return false;\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns whether two arrays of addresses are equal or not.\\\\n */\\\\n function isEqual(address[] memory _this, address[] memory _other) internal pure returns (bool yes_) {\\\\n // Hashing two arrays and compare their hash\\\\n assembly {\\\\n let _thisHash := keccak256(add(_this, 32), mul(mload(_this), 32))\\\\n let _otherHash := keccak256(add(_other, 32), mul(mload(_other), 32))\\\\n yes_ := eq(_thisHash, _otherHash)\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Return the concatenated array from a and b.\\\\n */\\\\n function extend(address[] memory a, address[] memory b) internal pure returns (address[] memory c) {\\\\n uint256 lengthA = a.length;\\\\n uint256 lengthB = b.length;\\\\n unchecked {\\\\n c = new address[](lengthA + lengthB);\\\\n }\\\\n uint256 i;\\\\n for (; i < lengthA;) {\\\\n c[i] = a[i];\\\\n unchecked {\\\\n ++i;\\\\n }\\\\n }\\\\n for (uint256 j; j < lengthB;) {\\\\n c[i] = b[j];\\\\n unchecked {\\\\n ++i;\\\\n ++j;\\\\n }\\\\n }\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xce5d578861167da47a965c8a0e1592b808aad6eb79ccb1873bf2e2280ddb85ee\\\",\\\"license\\\":\\\"UNLICENSED\\\"},\\\"src/libraries/LibTokenInfo.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\\\\\";\\\\nimport \\\\\\\"@openzeppelin/contracts/token/ERC721/IERC721.sol\\\\\\\";\\\\nimport \\\\\\\"@openzeppelin/contracts/token/ERC1155/IERC1155.sol\\\\\\\";\\\\nimport \\\\\\\"@openzeppelin/contracts/token/ERC1155/presets/ERC1155PresetMinterPauser.sol\\\\\\\";\\\\nimport \\\\\\\"../interfaces/IWETH.sol\\\\\\\";\\\\n\\\\nenum TokenStandard {\\\\n ERC20,\\\\n ERC721,\\\\n ERC1155\\\\n}\\\\n\\\\nstruct TokenInfo {\\\\n TokenStandard erc;\\\\n // For ERC20: the id must be 0 and the quantity is larger than 0.\\\\n // For ERC721: the quantity must be 0.\\\\n uint256 id;\\\\n uint256 quantity;\\\\n}\\\\n\\\\n/**\\\\n * @dev Error indicating that the `transfer` has failed.\\\\n * @param tokenInfo Info of the token including ERC standard, id or quantity.\\\\n * @param to Receiver of the token value.\\\\n * @param token Address of the token.\\\\n */\\\\nerror ErrTokenCouldNotTransfer(TokenInfo tokenInfo, address to, address token);\\\\n\\\\n/**\\\\n * @dev Error indicating that the `handleAssetIn` has failed.\\\\n * @param tokenInfo Info of the token including ERC standard, id or quantity.\\\\n * @param from Owner of the token value.\\\\n * @param to Receiver of the token value.\\\\n * @param token Address of the token.\\\\n */\\\\nerror ErrTokenCouldNotTransferFrom(TokenInfo tokenInfo, address from, address to, address token);\\\\n\\\\n/// @dev Error indicating that the provided information is invalid.\\\\nerror ErrInvalidInfo();\\\\n\\\\n/// @dev Error indicating that the minting of ERC20 tokens has failed.\\\\nerror ErrERC20MintingFailed();\\\\n\\\\n/// @dev Error indicating that the minting of ERC721 tokens has failed.\\\\nerror ErrERC721MintingFailed();\\\\n\\\\n/// @dev Error indicating that the transfer of ERC1155 tokens has failed.\\\\nerror ErrERC1155TransferFailed();\\\\n\\\\n/// @dev Error indicating that the mint of ERC1155 tokens has failed.\\\\nerror ErrERC1155MintingFailed();\\\\n\\\\n/// @dev Error indicating that an unsupported standard is encountered.\\\\nerror ErrUnsupportedStandard();\\\\n\\\\nlibrary LibTokenInfo {\\\\n /**\\\\n *\\\\n * HASH\\\\n *\\\\n */\\\\n\\\\n // keccak256(\\\\\\\"TokenInfo(uint8 erc,uint256 id,uint256 quantity)\\\\\\\");\\\\n bytes32 public constant INFO_TYPE_HASH_SINGLE = 0x1e2b74b2a792d5c0f0b6e59b037fa9d43d84fbb759337f0112fcc15ca414fc8d;\\\\n\\\\n /**\\\\n * @dev Returns token info struct hash.\\\\n */\\\\n function hash(TokenInfo memory self) internal pure returns (bytes32 digest) {\\\\n // keccak256(abi.encode(INFO_TYPE_HASH_SINGLE, info.erc, info.id, info.quantity))\\\\n assembly (\\\\\\\"memory-safe\\\\\\\") {\\\\n let ptr := mload(0x40)\\\\n mstore(ptr, INFO_TYPE_HASH_SINGLE)\\\\n mstore(add(ptr, 0x20), mload(self)) // info.erc\\\\n mstore(add(ptr, 0x40), mload(add(self, 0x20))) // info.id\\\\n mstore(add(ptr, 0x60), mload(add(self, 0x40))) // info.quantity\\\\n digest := keccak256(ptr, 0x80)\\\\n }\\\\n }\\\\n\\\\n /**\\\\n *\\\\n * VALIDATE\\\\n *\\\\n */\\\\n\\\\n /**\\\\n * @dev Validates the token info.\\\\n */\\\\n function validate(TokenInfo memory self) internal pure {\\\\n if (!(_checkERC20(self) || _checkERC721(self) || _checkERC1155(self))) {\\\\n revert ErrInvalidInfo();\\\\n }\\\\n }\\\\n\\\\n function _checkERC20(TokenInfo memory self) private pure returns (bool) {\\\\n return (self.erc == TokenStandard.ERC20 && self.quantity > 0 && self.id == 0);\\\\n }\\\\n\\\\n function _checkERC721(TokenInfo memory self) private pure returns (bool) {\\\\n return (self.erc == TokenStandard.ERC721 && self.quantity == 0);\\\\n }\\\\n\\\\n function _checkERC1155(TokenInfo memory self) private pure returns (bool res) {\\\\n // Only validate the quantity, because id of ERC-1155 can be 0.\\\\n return (self.erc == TokenStandard.ERC1155 && self.quantity > 0);\\\\n }\\\\n\\\\n /**\\\\n *\\\\n * TRANSFER IN/OUT METHOD\\\\n *\\\\n */\\\\n\\\\n /**\\\\n * @dev Transfer asset in.\\\\n *\\\\n * Requirements:\\\\n * - The `_from` address must approve for the contract using this library.\\\\n *\\\\n */\\\\n function handleAssetIn(TokenInfo memory self, address from, address token) internal {\\\\n bool success;\\\\n bytes memory data;\\\\n if (self.erc == TokenStandard.ERC20) {\\\\n (success, data) = token.call(abi.encodeWithSelector(IERC20.transferFrom.selector, from, address(this), self.quantity));\\\\n success = success && (data.length == 0 || abi.decode(data, (bool)));\\\\n } else if (self.erc == TokenStandard.ERC721) {\\\\n success = _tryTransferFromERC721(token, from, address(this), self.id);\\\\n } else if (self.erc == TokenStandard.ERC1155) {\\\\n success = _tryTransferFromERC1155(token, from, address(this), self.id, self.quantity);\\\\n } else {\\\\n revert ErrUnsupportedStandard();\\\\n }\\\\n\\\\n if (!success) revert ErrTokenCouldNotTransferFrom(self, from, address(this), token);\\\\n }\\\\n\\\\n /**\\\\n * @dev Tries transfer assets out, or mint the assets if cannot transfer.\\\\n *\\\\n * @notice Prioritizes transfer native token if the token is wrapped.\\\\n *\\\\n */\\\\n function handleAssetOut(TokenInfo memory self, address payable to, address token, IWETH wrappedNativeToken) internal {\\\\n if (token == address(wrappedNativeToken)) {\\\\n // Try sending the native token before transferring the wrapped token\\\\n if (!to.send(self.quantity)) {\\\\n wrappedNativeToken.deposit{ value: self.quantity }();\\\\n _transferTokenOut(self, to, token);\\\\n }\\\\n\\\\n return;\\\\n }\\\\n\\\\n if (self.erc == TokenStandard.ERC20) {\\\\n uint256 balance = IERC20(token).balanceOf(address(this));\\\\n if (balance < self.quantity) {\\\\n if (!_tryMintERC20(token, address(this), self.quantity - balance)) revert ErrERC20MintingFailed();\\\\n }\\\\n\\\\n _transferTokenOut(self, to, token);\\\\n return;\\\\n }\\\\n\\\\n if (self.erc == TokenStandard.ERC721) {\\\\n if (!_tryTransferOutOrMintERC721(token, to, self.id)) {\\\\n revert ErrERC721MintingFailed();\\\\n }\\\\n return;\\\\n }\\\\n\\\\n if (self.erc == TokenStandard.ERC1155) {\\\\n if (!_tryTransferOutOrMintERC1155(token, to, self.id, self.quantity)) {\\\\n revert ErrERC1155MintingFailed();\\\\n }\\\\n return;\\\\n }\\\\n\\\\n revert ErrUnsupportedStandard();\\\\n }\\\\n\\\\n /**\\\\n *\\\\n * TRANSFER HELPERS\\\\n *\\\\n */\\\\n\\\\n /**\\\\n * @dev Transfer assets from current address to `_to` address.\\\\n */\\\\n function _transferTokenOut(TokenInfo memory self, address to, address token) private {\\\\n bool success;\\\\n if (self.erc == TokenStandard.ERC20) {\\\\n success = _tryTransferERC20(token, to, self.quantity);\\\\n } else if (self.erc == TokenStandard.ERC721) {\\\\n success = _tryTransferFromERC721(token, address(this), to, self.id);\\\\n } else {\\\\n revert ErrUnsupportedStandard();\\\\n }\\\\n\\\\n if (!success) revert ErrTokenCouldNotTransfer(self, to, token);\\\\n }\\\\n\\\\n /**\\\\n * TRANSFER ERC-20\\\\n */\\\\n\\\\n /**\\\\n * @dev Transfers ERC20 token and returns the result.\\\\n */\\\\n function _tryTransferERC20(address token, address to, uint256 quantity) private returns (bool success) {\\\\n bytes memory data;\\\\n (success, data) = token.call(abi.encodeWithSelector(IERC20.transfer.selector, to, quantity));\\\\n success = success && (data.length == 0 || abi.decode(data, (bool)));\\\\n }\\\\n\\\\n /**\\\\n * @dev Mints ERC20 token and returns the result.\\\\n */\\\\n function _tryMintERC20(address token, address to, uint256 quantity) private returns (bool success) {\\\\n // bytes4(keccak256(\\\\\\\"mint(address,uint256)\\\\\\\"))\\\\n (success,) = token.call(abi.encodeWithSelector(0x40c10f19, to, quantity));\\\\n }\\\\n\\\\n /**\\\\n * TRANSFER ERC-721\\\\n */\\\\n\\\\n /**\\\\n * @dev Transfers the ERC721 token out. If the transfer failed, mints the ERC721.\\\\n * @return success Returns `false` if both transfer and mint are failed.\\\\n */\\\\n function _tryTransferOutOrMintERC721(address token, address to, uint256 id) private returns (bool success) {\\\\n success = _tryTransferFromERC721(token, address(this), to, id);\\\\n if (!success) {\\\\n return _tryMintERC721(token, to, id);\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Transfers ERC721 token and returns the result.\\\\n */\\\\n function _tryTransferFromERC721(address token, address from, address to, uint256 id) private returns (bool success) {\\\\n (success,) = token.call(abi.encodeWithSelector(IERC721.transferFrom.selector, from, to, id));\\\\n }\\\\n\\\\n /**\\\\n * @dev Mints ERC721 token and returns the result.\\\\n */\\\\n function _tryMintERC721(address token, address to, uint256 id) private returns (bool success) {\\\\n // bytes4(keccak256(\\\\\\\"mint(address,uint256)\\\\\\\"))\\\\n (success,) = token.call(abi.encodeWithSelector(0x40c10f19, to, id));\\\\n }\\\\n\\\\n /**\\\\n * TRANSFER ERC-1155\\\\n */\\\\n\\\\n /**\\\\n * @dev Transfers the ERC1155 token out. If the transfer failed, mints the ERC11555.\\\\n * @return success Returns `false` if both transfer and mint are failed.\\\\n */\\\\n function _tryTransferOutOrMintERC1155(address token, address to, uint256 id, uint256 amount) private returns (bool success) {\\\\n success = _tryTransferFromERC1155(token, address(this), to, id, amount);\\\\n if (!success) {\\\\n return _tryMintERC1155(token, to, id, amount);\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Transfers ERC1155 token and returns the result.\\\\n */\\\\n function _tryTransferFromERC1155(address token, address from, address to, uint256 id, uint256 amount) private returns (bool success) {\\\\n (success,) = token.call(abi.encodeCall(IERC1155.safeTransferFrom, (from, to, id, amount, new bytes(0))));\\\\n }\\\\n\\\\n /**\\\\n * @dev Mints ERC1155 token and returns the result.\\\\n */\\\\n function _tryMintERC1155(address token, address to, uint256 id, uint256 amount) private returns (bool success) {\\\\n (success,) = token.call(abi.encodeCall(ERC1155PresetMinterPauser.mint, (to, id, amount, new bytes(0))));\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x56b413a42c6c39a51dc1737e735d1623b89ecdf00bacd960f70b3f18ccaa6de2\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/libraries/LibTokenOwner.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nstruct TokenOwner {\\\\n address addr;\\\\n address tokenAddr;\\\\n uint256 chainId;\\\\n}\\\\n\\\\nlibrary LibTokenOwner {\\\\n // keccak256(\\\\\\\"TokenOwner(address addr,address tokenAddr,uint256 chainId)\\\\\\\");\\\\n bytes32 public constant OWNER_TYPE_HASH = 0x353bdd8d69b9e3185b3972e08b03845c0c14a21a390215302776a7a34b0e8764;\\\\n\\\\n /**\\\\n * @dev Returns ownership struct hash.\\\\n */\\\\n function hash(TokenOwner memory owner) internal pure returns (bytes32 digest) {\\\\n // keccak256(abi.encode(OWNER_TYPE_HASH, owner.addr, owner.tokenAddr, owner.chainId))\\\\n assembly (\\\\\\\"memory-safe\\\\\\\") {\\\\n let ptr := mload(0x40)\\\\n mstore(ptr, OWNER_TYPE_HASH)\\\\n mstore(add(ptr, 0x20), mload(owner)) // owner.addr\\\\n mstore(add(ptr, 0x40), mload(add(owner, 0x20))) // owner.tokenAddr\\\\n mstore(add(ptr, 0x60), mload(add(owner, 0x40))) // owner.chainId\\\\n digest := keccak256(ptr, 0x80)\\\\n }\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xb104fd02056a3ed52bf06c202e87b748200320682871b1801985050587ec2d51\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/libraries/Transfer.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"@openzeppelin/contracts/utils/cryptography/ECDSA.sol\\\\\\\";\\\\nimport \\\\\\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\\\\\";\\\\nimport \\\\\\\"./LibTokenInfo.sol\\\\\\\";\\\\nimport \\\\\\\"./LibTokenOwner.sol\\\\\\\";\\\\n\\\\nlibrary Transfer {\\\\n using ECDSA for bytes32;\\\\n using LibTokenOwner for TokenOwner;\\\\n using LibTokenInfo for TokenInfo;\\\\n\\\\n enum Kind {\\\\n Deposit,\\\\n Withdrawal\\\\n }\\\\n\\\\n struct Request {\\\\n // For deposit request: Recipient address on Ronin network\\\\n // For withdrawal request: Recipient address on mainchain network\\\\n address recipientAddr;\\\\n // Token address to deposit/withdraw\\\\n // Value 0: native token\\\\n address tokenAddr;\\\\n TokenInfo info;\\\\n }\\\\n\\\\n /**\\\\n * @dev Converts the transfer request into the deposit receipt.\\\\n */\\\\n function into_deposit_receipt(\\\\n Request memory _request,\\\\n address _requester,\\\\n uint256 _id,\\\\n address _roninTokenAddr,\\\\n uint256 _roninChainId\\\\n ) internal view returns (Receipt memory _receipt) {\\\\n _receipt.id = _id;\\\\n _receipt.kind = Kind.Deposit;\\\\n _receipt.mainchain.addr = _requester;\\\\n _receipt.mainchain.tokenAddr = _request.tokenAddr;\\\\n _receipt.mainchain.chainId = block.chainid;\\\\n _receipt.ronin.addr = _request.recipientAddr;\\\\n _receipt.ronin.tokenAddr = _roninTokenAddr;\\\\n _receipt.ronin.chainId = _roninChainId;\\\\n _receipt.info = _request.info;\\\\n }\\\\n\\\\n /**\\\\n * @dev Converts the transfer request into the withdrawal receipt.\\\\n */\\\\n function into_withdrawal_receipt(\\\\n Request memory _request,\\\\n address _requester,\\\\n uint256 _id,\\\\n address _mainchainTokenAddr,\\\\n uint256 _mainchainId\\\\n ) internal view returns (Receipt memory _receipt) {\\\\n _receipt.id = _id;\\\\n _receipt.kind = Kind.Withdrawal;\\\\n _receipt.ronin.addr = _requester;\\\\n _receipt.ronin.tokenAddr = _request.tokenAddr;\\\\n _receipt.ronin.chainId = block.chainid;\\\\n _receipt.mainchain.addr = _request.recipientAddr;\\\\n _receipt.mainchain.tokenAddr = _mainchainTokenAddr;\\\\n _receipt.mainchain.chainId = _mainchainId;\\\\n _receipt.info = _request.info;\\\\n }\\\\n\\\\n struct Receipt {\\\\n uint256 id;\\\\n Kind kind;\\\\n TokenOwner mainchain;\\\\n TokenOwner ronin;\\\\n TokenInfo info;\\\\n }\\\\n\\\\n // keccak256(\\\\\\\"Receipt(uint256 id,uint8 kind,TokenOwner mainchain,TokenOwner ronin,TokenInfo info)TokenInfo(uint8 erc,uint256 id,uint256 quantity)TokenOwner(address addr,address tokenAddr,uint256 chainId)\\\\\\\");\\\\n bytes32 public constant TYPE_HASH = 0xb9d1fe7c9deeec5dc90a2f47ff1684239519f2545b2228d3d91fb27df3189eea;\\\\n\\\\n /**\\\\n * @dev Returns token info struct hash.\\\\n */\\\\n function hash(Receipt memory _receipt) internal pure returns (bytes32 digest) {\\\\n bytes32 hashedReceiptMainchain = _receipt.mainchain.hash();\\\\n bytes32 hashedReceiptRonin = _receipt.ronin.hash();\\\\n bytes32 hashedReceiptInfo = _receipt.info.hash();\\\\n\\\\n /*\\\\n * return\\\\n * keccak256(\\\\n * abi.encode(\\\\n * TYPE_HASH,\\\\n * _receipt.id,\\\\n * _receipt.kind,\\\\n * Token.hash(_receipt.mainchain),\\\\n * Token.hash(_receipt.ronin),\\\\n * Token.hash(_receipt.info)\\\\n * )\\\\n * );\\\\n */\\\\n assembly {\\\\n let ptr := mload(0x40)\\\\n mstore(ptr, TYPE_HASH)\\\\n mstore(add(ptr, 0x20), mload(_receipt)) // _receipt.id\\\\n mstore(add(ptr, 0x40), mload(add(_receipt, 0x20))) // _receipt.kind\\\\n mstore(add(ptr, 0x60), hashedReceiptMainchain)\\\\n mstore(add(ptr, 0x80), hashedReceiptRonin)\\\\n mstore(add(ptr, 0xa0), hashedReceiptInfo)\\\\n digest := keccak256(ptr, 0xc0)\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the receipt digest.\\\\n */\\\\n function receiptDigest(bytes32 _domainSeparator, bytes32 _receiptHash) internal pure returns (bytes32) {\\\\n return _domainSeparator.toTypedDataHash(_receiptHash);\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x652c72f4e9aeffed1be05759c84c538a416d2c264deef9af4c53de0a1ad04ee4\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/mainchain/MainchainGatewayV3.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.23;\\\\n\\\\nimport \\\\\\\"@openzeppelin/contracts/access/AccessControlEnumerable.sol\\\\\\\";\\\\nimport \\\\\\\"@openzeppelin/contracts/proxy/utils/Initializable.sol\\\\\\\";\\\\nimport \\\\\\\"@openzeppelin/contracts/token/ERC1155/utils/ERC1155Holder.sol\\\\\\\";\\\\nimport { ECDSA } from \\\\\\\"@openzeppelin/contracts/utils/cryptography/ECDSA.sol\\\\\\\";\\\\nimport { IBridgeManager } from \\\\\\\"../interfaces/bridge/IBridgeManager.sol\\\\\\\";\\\\nimport { IBridgeManagerCallback } from \\\\\\\"../interfaces/bridge/IBridgeManagerCallback.sol\\\\\\\";\\\\nimport { HasContracts, ContractType } from \\\\\\\"../extensions/collections/HasContracts.sol\\\\\\\";\\\\nimport \\\\\\\"../extensions/WethUnwrapper.sol\\\\\\\";\\\\nimport \\\\\\\"../extensions/WithdrawalLimitation.sol\\\\\\\";\\\\nimport \\\\\\\"../libraries/Transfer.sol\\\\\\\";\\\\nimport \\\\\\\"../interfaces/IMainchainGatewayV3.sol\\\\\\\";\\\\n\\\\ncontract MainchainGatewayV3 is\\\\n WithdrawalLimitation,\\\\n Initializable,\\\\n AccessControlEnumerable,\\\\n ERC1155Holder,\\\\n IMainchainGatewayV3,\\\\n HasContracts,\\\\n IBridgeManagerCallback\\\\n{\\\\n using LibTokenInfo for TokenInfo;\\\\n using Transfer for Transfer.Request;\\\\n using Transfer for Transfer.Receipt;\\\\n\\\\n /// @dev Withdrawal unlocker role hash\\\\n bytes32 public constant WITHDRAWAL_UNLOCKER_ROLE = keccak256(\\\\\\\"WITHDRAWAL_UNLOCKER_ROLE\\\\\\\");\\\\n\\\\n /// @dev Wrapped native token address\\\\n IWETH public wrappedNativeToken;\\\\n /// @dev Ronin network id\\\\n uint256 public roninChainId;\\\\n /// @dev Total deposit\\\\n uint256 public depositCount;\\\\n /// @dev Domain separator\\\\n bytes32 internal _domainSeparator;\\\\n /// @dev Mapping from mainchain token => token address on Ronin network\\\\n mapping(address => MappedToken) internal _roninToken;\\\\n /// @dev Mapping from withdrawal id => withdrawal hash\\\\n mapping(uint256 => bytes32) public withdrawalHash;\\\\n /// @dev Mapping from withdrawal id => locked\\\\n mapping(uint256 => bool) public withdrawalLocked;\\\\n\\\\n /// @custom:deprecated Previously `_bridgeOperatorAddedBlock` (mapping(address => uint256))\\\\n uint256 private ______deprecatedBridgeOperatorAddedBlock;\\\\n /// @custom:deprecated Previously `_bridgeOperators` (uint256[])\\\\n uint256 private ______deprecatedBridgeOperators;\\\\n\\\\n uint96 private _totalOperatorWeight;\\\\n mapping(address operator => uint96 weight) private _operatorWeight;\\\\n /// @custom:deprecated Previously `_wethUnwrapper` (address)\\\\n uint256 private ______deprecatedWethUnwrapper;\\\\n\\\\n constructor() {\\\\n _disableInitializers();\\\\n }\\\\n\\\\n fallback() external payable {\\\\n _fallback();\\\\n }\\\\n\\\\n receive() external payable {\\\\n _fallback();\\\\n }\\\\n\\\\n /**\\\\n * @dev Initializes contract storage.\\\\n */\\\\n function initialize(\\\\n address _roleSetter,\\\\n IWETH _wrappedToken,\\\\n uint256 _roninChainId,\\\\n uint256 _numerator,\\\\n uint256 _highTierVWNumerator,\\\\n uint256 _denominator,\\\\n // _addresses[0]: mainchainTokens\\\\n // _addresses[1]: roninTokens\\\\n // _addresses[2]: withdrawalUnlockers\\\\n address[][3] calldata _addresses,\\\\n // _thresholds[0]: highTierThreshold\\\\n // _thresholds[1]: lockedThreshold\\\\n // _thresholds[2]: unlockFeePercentages\\\\n // _thresholds[3]: dailyWithdrawalLimit\\\\n uint256[][4] calldata _thresholds,\\\\n TokenStandard[] calldata _standards\\\\n ) external payable virtual initializer {\\\\n _setupRole(DEFAULT_ADMIN_ROLE, _roleSetter);\\\\n roninChainId = _roninChainId;\\\\n\\\\n _setWrappedNativeTokenContract(_wrappedToken);\\\\n _updateDomainSeparator();\\\\n _setThreshold(_numerator, _denominator);\\\\n _setHighTierVoteWeightThreshold(_highTierVWNumerator, _denominator);\\\\n _verifyThresholds();\\\\n\\\\n if (_addresses[0].length > 0) {\\\\n // Map mainchain tokens to ronin tokens\\\\n _mapTokens(_addresses[0], _addresses[1], _standards);\\\\n // Sets thresholds based on the mainchain tokens\\\\n _setHighTierThresholds(_addresses[0], _thresholds[0]);\\\\n _setLockedThresholds(_addresses[0], _thresholds[1]);\\\\n _setUnlockFeePercentages(_addresses[0], _thresholds[2]);\\\\n _setDailyWithdrawalLimits(_addresses[0], _thresholds[3]);\\\\n }\\\\n\\\\n // Grant role for withdrawal unlocker\\\\n for (uint256 i; i < _addresses[2].length; i++) {\\\\n _grantRole(WITHDRAWAL_UNLOCKER_ROLE, _addresses[2][i]);\\\\n }\\\\n }\\\\n\\\\n function initializeV2(address bridgeManagerContract) external reinitializer(2) {\\\\n _setContract(ContractType.BRIDGE_MANAGER, bridgeManagerContract);\\\\n }\\\\n\\\\n function initializeV3() external reinitializer(3) {\\\\n IBridgeManager mainchainBridgeManager = IBridgeManager(getContract(ContractType.BRIDGE_MANAGER));\\\\n (, address[] memory operators, uint96[] memory weights) = mainchainBridgeManager.getFullBridgeOperatorInfos();\\\\n\\\\n uint96 totalWeight;\\\\n for (uint i; i < operators.length; i++) {\\\\n _operatorWeight[operators[i]] = weights[i];\\\\n totalWeight += weights[i];\\\\n }\\\\n _totalOperatorWeight = totalWeight;\\\\n }\\\\n\\\\n function initializeV4(address payable /* wethUnwrapper_ */) external reinitializer(4) {\\\\n /** @deprecated\\\\n *\\\\n * wethUnwrapper = WethUnwrapper(wethUnwrapper_);\\\\n */\\\\n }\\\\n\\\\n /**\\\\n * @dev Receives ether without doing anything. Use this function to topup native token.\\\\n */\\\\n function receiveEther() external payable { }\\\\n\\\\n /**\\\\n * @inheritdoc IMainchainGatewayV3\\\\n */\\\\n function DOMAIN_SEPARATOR() external view virtual returns (bytes32) {\\\\n return _domainSeparator;\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IMainchainGatewayV3\\\\n */\\\\n function setWrappedNativeTokenContract(IWETH _wrappedToken) external virtual onlyProxyAdmin {\\\\n _setWrappedNativeTokenContract(_wrappedToken);\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IMainchainGatewayV3\\\\n */\\\\n function requestDepositFor(Transfer.Request calldata _request) external payable virtual whenNotPaused {\\\\n _requestDepositFor(_request, msg.sender);\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IMainchainGatewayV3\\\\n */\\\\n function submitWithdrawal(Transfer.Receipt calldata _receipt, Signature[] calldata _signatures) external virtual whenNotPaused returns (bool _locked) {\\\\n return _submitWithdrawal(_receipt, _signatures);\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IMainchainGatewayV3\\\\n */\\\\n function unlockWithdrawal(Transfer.Receipt calldata receipt) external onlyRole(WITHDRAWAL_UNLOCKER_ROLE) {\\\\n bytes32 _receiptHash = receipt.hash();\\\\n if (withdrawalHash[receipt.id] != receipt.hash()) {\\\\n revert ErrInvalidReceipt();\\\\n }\\\\n if (!withdrawalLocked[receipt.id]) {\\\\n revert ErrQueryForApprovedWithdrawal();\\\\n }\\\\n delete withdrawalLocked[receipt.id];\\\\n emit WithdrawalUnlocked(_receiptHash, receipt);\\\\n\\\\n address token = receipt.mainchain.tokenAddr;\\\\n if (receipt.info.erc == TokenStandard.ERC20) {\\\\n TokenInfo memory feeInfo = receipt.info;\\\\n feeInfo.quantity = _computeFeePercentage(receipt.info.quantity, unlockFeePercentages[token]);\\\\n TokenInfo memory withdrawInfo = receipt.info;\\\\n withdrawInfo.quantity = receipt.info.quantity - feeInfo.quantity;\\\\n\\\\n feeInfo.handleAssetOut(payable(msg.sender), token, wrappedNativeToken);\\\\n withdrawInfo.handleAssetOut(payable(receipt.mainchain.addr), token, wrappedNativeToken);\\\\n } else {\\\\n receipt.info.handleAssetOut(payable(receipt.mainchain.addr), token, wrappedNativeToken);\\\\n }\\\\n\\\\n emit Withdrew(_receiptHash, receipt);\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IMainchainGatewayV3\\\\n */\\\\n function mapTokens(address[] calldata _mainchainTokens, address[] calldata _roninTokens, TokenStandard[] calldata _standards) external virtual onlyProxyAdmin {\\\\n if (_mainchainTokens.length == 0) revert ErrEmptyArray();\\\\n _mapTokens(_mainchainTokens, _roninTokens, _standards);\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IMainchainGatewayV3\\\\n */\\\\n function mapTokensAndThresholds(\\\\n address[] calldata _mainchainTokens,\\\\n address[] calldata _roninTokens,\\\\n TokenStandard[] calldata _standards,\\\\n // _thresholds[0]: highTierThreshold\\\\n // _thresholds[1]: lockedThreshold\\\\n // _thresholds[2]: unlockFeePercentages\\\\n // _thresholds[3]: dailyWithdrawalLimit\\\\n uint256[][4] calldata _thresholds\\\\n ) external virtual onlyProxyAdmin {\\\\n if (_mainchainTokens.length == 0) revert ErrEmptyArray();\\\\n _mapTokens(_mainchainTokens, _roninTokens, _standards);\\\\n _setHighTierThresholds(_mainchainTokens, _thresholds[0]);\\\\n _setLockedThresholds(_mainchainTokens, _thresholds[1]);\\\\n _setUnlockFeePercentages(_mainchainTokens, _thresholds[2]);\\\\n _setDailyWithdrawalLimits(_mainchainTokens, _thresholds[3]);\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IMainchainGatewayV3\\\\n */\\\\n function getRoninToken(address mainchainToken) public view returns (MappedToken memory token) {\\\\n token = _roninToken[mainchainToken];\\\\n if (token.tokenAddr == address(0)) revert ErrUnsupportedToken();\\\\n }\\\\n\\\\n /**\\\\n * @dev Maps mainchain tokens to Ronin network.\\\\n *\\\\n * Requirement:\\\\n * - The arrays have the same length.\\\\n *\\\\n * Emits the `TokenMapped` event.\\\\n *\\\\n */\\\\n function _mapTokens(address[] calldata mainchainTokens, address[] calldata roninTokens, TokenStandard[] calldata standards) internal virtual {\\\\n if (!(mainchainTokens.length == roninTokens.length && mainchainTokens.length == standards.length)) revert ErrLengthMismatch(msg.sig);\\\\n\\\\n for (uint256 i; i < mainchainTokens.length; ++i) {\\\\n _roninToken[mainchainTokens[i]].tokenAddr = roninTokens[i];\\\\n _roninToken[mainchainTokens[i]].erc = standards[i];\\\\n }\\\\n\\\\n emit TokenMapped(mainchainTokens, roninTokens, standards);\\\\n }\\\\n\\\\n /**\\\\n * @dev Submits withdrawal receipt.\\\\n *\\\\n * Requirements:\\\\n * - The receipt kind is withdrawal.\\\\n * - The receipt is to withdraw on this chain.\\\\n * - The receipt is not used to withdraw before.\\\\n * - The withdrawal is not reached the limit threshold.\\\\n * - The signer weight total is larger than or equal to the minimum threshold.\\\\n * - The signature signers are in order.\\\\n *\\\\n * Emits the `Withdrew` once the assets are released.\\\\n *\\\\n */\\\\n function _submitWithdrawal(Transfer.Receipt calldata receipt, Signature[] memory signatures) internal virtual returns (bool locked) {\\\\n uint256 id = receipt.id;\\\\n uint256 quantity = receipt.info.quantity;\\\\n address tokenAddr = receipt.mainchain.tokenAddr;\\\\n\\\\n receipt.info.validate();\\\\n if (receipt.kind != Transfer.Kind.Withdrawal) revert ErrInvalidReceiptKind();\\\\n\\\\n if (receipt.mainchain.chainId != block.chainid) {\\\\n revert ErrInvalidChainId(msg.sig, receipt.mainchain.chainId, block.chainid);\\\\n }\\\\n\\\\n MappedToken memory token = getRoninToken(receipt.mainchain.tokenAddr);\\\\n\\\\n if (!(token.erc == receipt.info.erc && token.tokenAddr == receipt.ronin.tokenAddr && receipt.ronin.chainId == roninChainId)) {\\\\n revert ErrInvalidReceipt();\\\\n }\\\\n\\\\n if (withdrawalHash[id] != 0) revert ErrQueryForProcessedWithdrawal();\\\\n\\\\n if (!(receipt.info.erc == TokenStandard.ERC721 || !_reachedWithdrawalLimit(tokenAddr, quantity))) {\\\\n revert ErrReachedDailyWithdrawalLimit();\\\\n }\\\\n\\\\n bytes32 receiptHash = receipt.hash();\\\\n bytes32 receiptDigest = Transfer.receiptDigest(_domainSeparator, receiptHash);\\\\n\\\\n uint256 minimumWeight;\\\\n (minimumWeight, locked) = _computeMinVoteWeight(receipt.info.erc, tokenAddr, quantity);\\\\n\\\\n {\\\\n bool passed;\\\\n address signer;\\\\n address lastSigner;\\\\n Signature memory sig;\\\\n uint256 accumWeight;\\\\n for (uint256 i; i < signatures.length; i++) {\\\\n sig = signatures[i];\\\\n signer = ECDSA.recover({ hash: receiptDigest, v: sig.v, r: sig.r, s: sig.s });\\\\n if (lastSigner >= signer) revert ErrInvalidOrder(msg.sig);\\\\n\\\\n lastSigner = signer;\\\\n\\\\n uint256 w = _getWeight(signer);\\\\n if (w == 0) revert ErrInvalidSigner(signer, w, sig);\\\\n\\\\n accumWeight += w;\\\\n if (accumWeight >= minimumWeight) {\\\\n passed = true;\\\\n break;\\\\n }\\\\n }\\\\n\\\\n if (!passed) revert ErrQueryForInsufficientVoteWeight();\\\\n withdrawalHash[id] = receiptHash;\\\\n }\\\\n\\\\n if (locked) {\\\\n withdrawalLocked[id] = true;\\\\n emit WithdrawalLocked(receiptHash, receipt);\\\\n return locked;\\\\n }\\\\n\\\\n _recordWithdrawal(tokenAddr, quantity);\\\\n receipt.info.handleAssetOut(payable(receipt.mainchain.addr), tokenAddr, wrappedNativeToken);\\\\n emit Withdrew(receiptHash, receipt);\\\\n }\\\\n\\\\n /**\\\\n * @dev Requests deposit made by `_requester` address.\\\\n *\\\\n * Requirements:\\\\n * - The token info is valid.\\\\n * - The `msg.value` is 0 while depositing ERC20 token.\\\\n * - The `msg.value` is equal to deposit quantity while depositing native token.\\\\n *\\\\n * Emits the `DepositRequested` event.\\\\n *\\\\n */\\\\n function _requestDepositFor(Transfer.Request memory _request, address _requester) internal virtual {\\\\n MappedToken memory _token;\\\\n address mainchainWeth = address(wrappedNativeToken);\\\\n\\\\n _request.info.validate();\\\\n if (_request.tokenAddr == address(0)) {\\\\n if (_request.info.quantity != msg.value) revert ErrInvalidRequest();\\\\n\\\\n _token = getRoninToken(mainchainWeth);\\\\n if (_token.erc != _request.info.erc) revert ErrInvalidTokenStandard();\\\\n\\\\n _request.tokenAddr = mainchainWeth;\\\\n } else {\\\\n if (msg.value != 0) revert ErrInvalidRequest();\\\\n\\\\n _token = getRoninToken(_request.tokenAddr);\\\\n if (_token.erc != _request.info.erc) revert ErrInvalidTokenStandard();\\\\n\\\\n _request.info.handleAssetIn(_requester, _request.tokenAddr);\\\\n\\\\n /**\\\\n * Withdraw if token is WETH\\\\n *\\\\n * `IWETH.withdraw` only sends 2300 gas, which might be insufficient when recipient is a proxy, in this case, gateway proxy.\\\\n * However, the storage accesses of proxy relating variables on Shanghai hardfork are warm-access, only requires additional 100*2 gas. So it should be safe,\\\\n * no need to go via a mediator of WETH unwrapper.\\\\n */\\\\n if (mainchainWeth == _request.tokenAddr) {\\\\n IWETH(mainchainWeth).withdraw(_request.info.quantity);\\\\n }\\\\n }\\\\n\\\\n uint256 _depositId = depositCount++;\\\\n Transfer.Receipt memory _receipt = _request.into_deposit_receipt(_requester, _depositId, _token.tokenAddr, roninChainId);\\\\n\\\\n emit DepositRequested(_receipt.hash(), _receipt);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the minimum vote weight for the token.\\\\n */\\\\n function _computeMinVoteWeight(TokenStandard _erc, address _token, uint256 _quantity) internal virtual returns (uint256 _weight, bool _locked) {\\\\n uint256 _totalWeight = _getTotalWeight();\\\\n _weight = _minimumVoteWeight(_totalWeight);\\\\n if (_erc == TokenStandard.ERC20) {\\\\n if (highTierThreshold[_token] <= _quantity) {\\\\n _weight = _highTierVoteWeight(_totalWeight);\\\\n }\\\\n _locked = _lockedWithdrawalRequest(_token, _quantity);\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Update domain separator.\\\\n */\\\\n function _updateDomainSeparator() internal {\\\\n /*\\\\n * _domainSeparator = keccak256(\\\\n * abi.encode(\\\\n * keccak256(\\\\\\\"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\\\\\\\"),\\\\n * keccak256(\\\\\\\"MainchainGatewayV2\\\\\\\"),\\\\n * keccak256(\\\\\\\"2\\\\\\\"),\\\\n * block.chainid,\\\\n * address(this)\\\\n * )\\\\n * );\\\\n */\\\\n assembly {\\\\n let ptr := mload(0x40)\\\\n // keccak256(\\\\\\\"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\\\\\\\")\\\\n mstore(ptr, 0x8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f)\\\\n // keccak256(\\\\\\\"MainchainGatewayV2\\\\\\\")\\\\n mstore(add(ptr, 0x20), 0x159f52c1e3a2b6a6aad3950adf713516211484e0516dad685ea662a094b7c43b)\\\\n // keccak256(\\\\\\\"2\\\\\\\")\\\\n mstore(add(ptr, 0x40), 0xad7c5bef027816a800da1736444fb58a807ef4c9603b7848673f7e3a68eb14a5)\\\\n mstore(add(ptr, 0x60), chainid())\\\\n mstore(add(ptr, 0x80), address())\\\\n sstore(_domainSeparator.slot, keccak256(ptr, 0xa0))\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets the WETH contract.\\\\n *\\\\n * Emits the `WrappedNativeTokenContractUpdated` event.\\\\n *\\\\n */\\\\n function _setWrappedNativeTokenContract(IWETH _wrappedToken) internal {\\\\n wrappedNativeToken = _wrappedToken;\\\\n emit WrappedNativeTokenContractUpdated(_wrappedToken);\\\\n }\\\\n\\\\n /**\\\\n * @dev Receives ETH from WETH or creates deposit request if sender is not WETH.\\\\n */\\\\n function _fallback() internal virtual {\\\\n if (msg.sender == address(wrappedNativeToken)) {\\\\n return;\\\\n }\\\\n\\\\n _createDepositOnFallback();\\\\n }\\\\n\\\\n /**\\\\n * @dev Creates deposit request.\\\\n */\\\\n function _createDepositOnFallback() internal virtual whenNotPaused {\\\\n Transfer.Request memory _request;\\\\n _request.recipientAddr = msg.sender;\\\\n _request.info.quantity = msg.value;\\\\n _requestDepositFor(_request, _request.recipientAddr);\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc GatewayV3\\\\n */\\\\n function _getTotalWeight() internal view override returns (uint256 totalWeight) {\\\\n totalWeight = _totalOperatorWeight;\\\\n if (totalWeight == 0) revert ErrNullTotalWeightProvided(msg.sig);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the weight of an address.\\\\n */\\\\n function _getWeight(address addr) internal view returns (uint256) {\\\\n return _operatorWeight[addr];\\\\n }\\\\n\\\\n ///////////////////////////////////////////////\\\\n // CALLBACKS\\\\n ///////////////////////////////////////////////\\\\n\\\\n /**\\\\n * @inheritdoc IBridgeManagerCallback\\\\n */\\\\n function onBridgeOperatorsAdded(\\\\n address[] calldata operators,\\\\n uint96[] calldata weights,\\\\n bool[] memory addeds\\\\n ) external onlyContract(ContractType.BRIDGE_MANAGER) returns (bytes4) {\\\\n uint256 length = operators.length;\\\\n if (length != addeds.length || length != weights.length) revert ErrLengthMismatch(msg.sig);\\\\n if (length == 0) {\\\\n return IBridgeManagerCallback.onBridgeOperatorsAdded.selector;\\\\n }\\\\n\\\\n for (uint256 i; i < length; ++i) {\\\\n unchecked {\\\\n if (addeds[i]) {\\\\n _totalOperatorWeight += weights[i];\\\\n _operatorWeight[operators[i]] = weights[i];\\\\n }\\\\n }\\\\n }\\\\n\\\\n return IBridgeManagerCallback.onBridgeOperatorsAdded.selector;\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc IBridgeManagerCallback\\\\n */\\\\n function onBridgeOperatorsRemoved(address[] calldata operators, bool[] calldata removeds) external onlyContract(ContractType.BRIDGE_MANAGER) returns (bytes4) {\\\\n uint length = operators.length;\\\\n if (length != removeds.length) revert ErrLengthMismatch(msg.sig);\\\\n if (length == 0) {\\\\n return IBridgeManagerCallback.onBridgeOperatorsRemoved.selector;\\\\n }\\\\n\\\\n uint96 totalRemovingWeight;\\\\n for (uint i; i < length; ++i) {\\\\n unchecked {\\\\n if (removeds[i]) {\\\\n totalRemovingWeight += _operatorWeight[operators[i]];\\\\n delete _operatorWeight[operators[i]];\\\\n }\\\\n }\\\\n }\\\\n\\\\n _totalOperatorWeight -= totalRemovingWeight;\\\\n\\\\n return IBridgeManagerCallback.onBridgeOperatorsRemoved.selector;\\\\n }\\\\n\\\\n function supportsInterface(bytes4 interfaceId) public view override(AccessControlEnumerable, IERC165, ERC1155Receiver) returns (bool) {\\\\n return\\\\n interfaceId == type(IMainchainGatewayV3).interfaceId || interfaceId == type(IBridgeManagerCallback).interfaceId || super.supportsInterface(interfaceId);\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x1e5ba54eb47e96739b856749f1b43510b80445a9013d771e9d29b4f28a6db0c9\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/utils/CommonErrors.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport { ContractType } from \\\\\\\"./ContractType.sol\\\\\\\";\\\\nimport { RoleAccess } from \\\\\\\"./RoleAccess.sol\\\\\\\";\\\\n\\\\nerror ErrSyncTooFarPeriod(uint256 period, uint256 latestRewardedPeriod);\\\\n/**\\\\n * @dev Error thrown when an address is expected to be an already created externally owned account (EOA).\\\\n * This error indicates that the provided address is invalid for certain contract operations that require already created EOA.\\\\n */\\\\nerror ErrAddressIsNotCreatedEOA(address addr, bytes32 codehash);\\\\n/**\\\\n * @dev Error raised when a bridge operator update operation fails.\\\\n * @param bridgeOperator The address of the bridge operator that failed to update.\\\\n */\\\\nerror ErrBridgeOperatorUpdateFailed(address bridgeOperator);\\\\n/**\\\\n * @dev Error thrown when attempting to add a bridge operator that already exists in the contract.\\\\n * This error indicates that the provided bridge operator address is already registered as a bridge operator in the contract.\\\\n */\\\\nerror ErrBridgeOperatorAlreadyExisted(address bridgeOperator);\\\\n/**\\\\n * @dev The error indicating an unsupported interface.\\\\n * @param interfaceId The bytes4 interface identifier that is not supported.\\\\n * @param addr The address where the unsupported interface was encountered.\\\\n */\\\\nerror ErrUnsupportedInterface(bytes4 interfaceId, address addr);\\\\n/**\\\\n * @dev Error thrown when the return data from a callback function is invalid.\\\\n * @param callbackFnSig The signature of the callback function that returned invalid data.\\\\n * @param register The address of the register where the callback function was invoked.\\\\n * @param returnData The invalid return data received from the callback function.\\\\n */\\\\nerror ErrInvalidReturnData(bytes4 callbackFnSig, address register, bytes returnData);\\\\n/**\\\\n * @dev Error of set to non-contract.\\\\n */\\\\nerror ErrZeroCodeContract(address addr);\\\\n/**\\\\n * @dev Error indicating that arguments are invalid.\\\\n */\\\\nerror ErrInvalidArguments(bytes4 msgSig);\\\\n/**\\\\n * @dev Error indicating that given address is null when it should not.\\\\n */\\\\nerror ErrZeroAddress(bytes4 msgSig);\\\\n/**\\\\n * @dev Error indicating that the provided threshold is invalid for a specific function signature.\\\\n * @param msgSig The function signature (bytes4) that the invalid threshold applies to.\\\\n */\\\\nerror ErrInvalidThreshold(bytes4 msgSig);\\\\n\\\\n/**\\\\n * @dev Error indicating that a function can only be called by the contract itself.\\\\n * @param msgSig The function signature (bytes4) that can only be called by the contract itself.\\\\n */\\\\nerror ErrOnlySelfCall(bytes4 msgSig);\\\\n\\\\n/**\\\\n * @dev Error indicating that the caller is unauthorized to perform a specific function.\\\\n * @param msgSig The function signature (bytes4) that the caller is unauthorized to perform.\\\\n * @param expectedRole The role required to perform the function.\\\\n */\\\\nerror ErrUnauthorized(bytes4 msgSig, RoleAccess expectedRole);\\\\n\\\\n/**\\\\n * @dev Error indicating that the caller is unauthorized to perform a specific function.\\\\n * @param msgSig The function signature (bytes4) that the caller is unauthorized to perform.\\\\n */\\\\nerror ErrUnauthorizedCall(bytes4 msgSig);\\\\n\\\\n/**\\\\n * @dev Error indicating that the caller is unauthorized to perform a specific function.\\\\n * @param msgSig The function signature (bytes4).\\\\n * @param expectedContractType The contract type required to perform the function.\\\\n * @param actual The actual address that called to the function.\\\\n */\\\\nerror ErrUnexpectedInternalCall(bytes4 msgSig, ContractType expectedContractType, address actual);\\\\n\\\\n/**\\\\n * @dev Error indicating that an array is empty when it should contain elements.\\\\n */\\\\nerror ErrEmptyArray();\\\\n\\\\n/**\\\\n * @dev Error indicating a mismatch in the length of input parameters or arrays for a specific function.\\\\n * @param msgSig The function signature (bytes4) that has a length mismatch.\\\\n */\\\\nerror ErrLengthMismatch(bytes4 msgSig);\\\\n\\\\n/**\\\\n * @dev Error indicating that a proxy call to an external contract has failed.\\\\n * @param msgSig The function signature (bytes4) of the proxy call that failed.\\\\n * @param extCallSig The function signature (bytes4) of the external contract call that failed.\\\\n */\\\\nerror ErrProxyCallFailed(bytes4 msgSig, bytes4 extCallSig);\\\\n\\\\n/**\\\\n * @dev Error indicating that a function tried to call a precompiled contract that is not allowed.\\\\n * @param msgSig The function signature (bytes4) that attempted to call a precompiled contract.\\\\n */\\\\nerror ErrCallPrecompiled(bytes4 msgSig);\\\\n\\\\n/**\\\\n * @dev Error indicating that a native token transfer has failed.\\\\n * @param msgSig The function signature (bytes4) of the token transfer that failed.\\\\n */\\\\nerror ErrNativeTransferFailed(bytes4 msgSig);\\\\n\\\\n/**\\\\n * @dev Error indicating that an order is invalid.\\\\n * @param msgSig The function signature (bytes4) of the operation that encountered an invalid order.\\\\n */\\\\nerror ErrInvalidOrder(bytes4 msgSig);\\\\n\\\\n/**\\\\n * @dev Error indicating that the chain ID is invalid.\\\\n * @param msgSig The function signature (bytes4) of the operation that encountered an invalid chain ID.\\\\n * @param actual Current chain ID that executing function.\\\\n * @param expected Expected chain ID required for the tx to success.\\\\n */\\\\nerror ErrInvalidChainId(bytes4 msgSig, uint256 actual, uint256 expected);\\\\n\\\\n/**\\\\n * @dev Error indicating that a vote type is not supported.\\\\n * @param msgSig The function signature (bytes4) of the operation that encountered an unsupported vote type.\\\\n */\\\\nerror ErrUnsupportedVoteType(bytes4 msgSig);\\\\n\\\\n/**\\\\n * @dev Error indicating that the proposal nonce is invalid.\\\\n * @param msgSig The function signature (bytes4) of the operation that encountered an invalid proposal nonce.\\\\n */\\\\nerror ErrInvalidProposalNonce(bytes4 msgSig);\\\\n\\\\n/**\\\\n * @dev Error indicating that a voter has already voted.\\\\n * @param voter The address of the voter who has already voted.\\\\n */\\\\nerror ErrAlreadyVoted(address voter);\\\\n\\\\n/**\\\\n * @dev Error indicating that a signature is invalid for a specific function signature.\\\\n * @param msgSig The function signature (bytes4) that encountered an invalid signature.\\\\n */\\\\nerror ErrInvalidSignatures(bytes4 msgSig);\\\\n\\\\n/**\\\\n * @dev Error indicating that a relay call has failed.\\\\n * @param msgSig The function signature (bytes4) of the relay call that failed.\\\\n */\\\\nerror ErrRelayFailed(bytes4 msgSig);\\\\n/**\\\\n * @dev Error indicating that a vote weight is invalid for a specific function signature.\\\\n * @param msgSig The function signature (bytes4) that encountered an invalid vote weight.\\\\n */\\\\nerror ErrInvalidVoteWeight(bytes4 msgSig);\\\\n\\\\n/**\\\\n * @dev Error indicating that a query was made for an outdated bridge operator set.\\\\n */\\\\nerror ErrQueryForOutdatedBridgeOperatorSet();\\\\n\\\\n/**\\\\n * @dev Error indicating that a request is invalid.\\\\n */\\\\nerror ErrInvalidRequest();\\\\n\\\\n/**\\\\n * @dev Error indicating that a token standard is invalid.\\\\n */\\\\nerror ErrInvalidTokenStandard();\\\\n\\\\n/**\\\\n * @dev Error indicating that a token is not supported.\\\\n */\\\\nerror ErrUnsupportedToken();\\\\n\\\\n/**\\\\n * @dev Error indicating that a receipt kind is invalid.\\\\n */\\\\nerror ErrInvalidReceiptKind();\\\\n\\\\n/**\\\\n * @dev Error indicating that a receipt is invalid.\\\\n */\\\\nerror ErrInvalidReceipt();\\\\n\\\\n/**\\\\n * @dev Error indicating that an address is not payable.\\\\n */\\\\nerror ErrNonpayableAddress(address);\\\\n\\\\n/**\\\\n * @dev Error indicating that the period is already processed, i.e. scattered reward.\\\\n */\\\\nerror ErrPeriodAlreadyProcessed(uint256 requestingPeriod, uint256 latestPeriod);\\\\n\\\\n/**\\\\n * @dev Error thrown when an invalid vote hash is provided.\\\\n */\\\\nerror ErrInvalidVoteHash();\\\\n\\\\n/**\\\\n * @dev Error thrown when querying for an empty vote.\\\\n */\\\\nerror ErrQueryForEmptyVote();\\\\n\\\\n/**\\\\n * @dev Error thrown when querying for an expired vote.\\\\n */\\\\nerror ErrQueryForExpiredVote();\\\\n\\\\n/**\\\\n * @dev Error thrown when querying for a non-existent vote.\\\\n */\\\\nerror ErrQueryForNonExistentVote();\\\\n\\\\n/**\\\\n * @dev Error indicating that the method is only called once per block.\\\\n */\\\\nerror ErrOncePerBlock();\\\\n\\\\n/**\\\\n * @dev Error of method caller must be coinbase\\\\n */\\\\nerror ErrCallerMustBeCoinbase();\\\\n\\\\n/**\\\\n * @dev Error thrown when an invalid proposal is encountered.\\\\n * @param actual The actual value of the proposal.\\\\n * @param expected The expected value of the proposal.\\\\n */\\\\nerror ErrInvalidProposal(bytes32 actual, bytes32 expected);\\\\n\\\\n/**\\\\n * @dev Error of proposal is not approved for executing.\\\\n */\\\\nerror ErrProposalNotApproved();\\\\n\\\\n/**\\\\n * @dev Error of the caller is not the specified executor.\\\\n */\\\\nerror ErrInvalidExecutor();\\\\n\\\\n/**\\\\n * @dev Error of the `caller` to relay is not the specified `executor`.\\\\n */\\\\nerror ErrNonExecutorCannotRelay(address executor, address caller);\\\\n\\\",\\\"keccak256\\\":\\\"0x0d9e2fd98f6b704273faad707ed9eadbd4c79551ee3f902bff5b29213a204679\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/utils/ContractType.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nenum ContractType {\\\\n UNKNOWN, // 0\\\\n PAUSE_ENFORCER, // 1\\\\n BRIDGE, // 2\\\\n BRIDGE_TRACKING, // 3\\\\n GOVERNANCE_ADMIN, // 4\\\\n MAINTENANCE, // 5\\\\n SLASH_INDICATOR, // 6\\\\n STAKING_VESTING, // 7\\\\n VALIDATOR, // 8\\\\n STAKING, // 9\\\\n RONIN_TRUSTED_ORGANIZATION, // 10\\\\n BRIDGE_MANAGER, // 11\\\\n BRIDGE_SLASH, // 12\\\\n BRIDGE_REWARD, // 13\\\\n FAST_FINALITY_TRACKING, // 14\\\\n PROFILE // 15\\\\n\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xec088aa939cd885dbe84e944942d7ea674e1fff8802c1f2ae5d8e84e4578357d\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/utils/IdentityGuard.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport { AddressArrayUtils } from \\\\\\\"../libraries/AddressArrayUtils.sol\\\\\\\";\\\\nimport { IERC165 } from \\\\\\\"@openzeppelin/contracts/utils/introspection/IERC165.sol\\\\\\\";\\\\nimport { TransparentUpgradeableProxyV2 } from \\\\\\\"../extensions/TransparentUpgradeableProxyV2.sol\\\\\\\";\\\\nimport { ErrAddressIsNotCreatedEOA, ErrZeroAddress, ErrOnlySelfCall, ErrZeroCodeContract, ErrUnsupportedInterface } from \\\\\\\"./CommonErrors.sol\\\\\\\";\\\\n\\\\nabstract contract IdentityGuard {\\\\n using AddressArrayUtils for address[];\\\\n\\\\n /// @dev value is equal to keccak256(abi.encode())\\\\n /// @dev see: https://eips.ethereum.org/EIPS/eip-1052\\\\n bytes32 internal constant CREATED_ACCOUNT_HASH = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;\\\\n\\\\n /**\\\\n * @dev Modifier to restrict functions to only be called by this contract.\\\\n * @dev Reverts if the caller is not this contract.\\\\n */\\\\n modifier onlySelfCall() virtual {\\\\n _requireSelfCall();\\\\n _;\\\\n }\\\\n\\\\n /**\\\\n * @dev Modifier to ensure that the elements in the `arr` array are non-duplicates.\\\\n * It calls the internal `_checkDuplicate` function to perform the duplicate check.\\\\n *\\\\n * Requirements:\\\\n * - The elements in the `arr` array must not contain any duplicates.\\\\n */\\\\n modifier nonDuplicate(address[] memory arr) virtual {\\\\n _requireNonDuplicate(arr);\\\\n _;\\\\n }\\\\n\\\\n /**\\\\n * @dev Internal method to check the method caller.\\\\n * @dev Reverts if the method caller is not this contract.\\\\n */\\\\n function _requireSelfCall() internal view virtual {\\\\n if (msg.sender != address(this)) revert ErrOnlySelfCall(msg.sig);\\\\n }\\\\n\\\\n /**\\\\n * @dev Internal function to check if a contract address has code.\\\\n * @param addr The address of the contract to check.\\\\n * @dev Throws an error if the contract address has no code.\\\\n */\\\\n function _requireHasCode(address addr) internal view {\\\\n if (addr.code.length == 0) revert ErrZeroCodeContract(addr);\\\\n }\\\\n\\\\n /**\\\\n * @dev Checks if an address is zero and reverts if it is.\\\\n * @param addr The address to check.\\\\n */\\\\n function _requireNonZeroAddress(address addr) internal pure {\\\\n if (addr == address(0)) revert ErrZeroAddress(msg.sig);\\\\n }\\\\n\\\\n /**\\\\n * @dev Check if arr is empty and revert if it is.\\\\n * Checks if an array contains any duplicate addresses and reverts if duplicates are found.\\\\n * @param arr The array of addresses to check.\\\\n */\\\\n function _requireNonDuplicate(address[] memory arr) internal pure {\\\\n if (arr.hasDuplicate()) revert AddressArrayUtils.ErrDuplicated(msg.sig);\\\\n }\\\\n\\\\n /**\\\\n * @dev Internal function to require that the provided address is a created externally owned account (EOA).\\\\n * This internal function is used to ensure that the provided address is a valid externally owned account (EOA).\\\\n * It checks the codehash of the address against a predefined constant to confirm that the address is a created EOA.\\\\n * @notice This method only works with non-state EOA accounts\\\\n */\\\\n function _requireCreatedEOA(address addr) internal view {\\\\n _requireNonZeroAddress(addr);\\\\n bytes32 codehash = addr.codehash;\\\\n if (codehash != CREATED_ACCOUNT_HASH) revert ErrAddressIsNotCreatedEOA(addr, codehash);\\\\n }\\\\n\\\\n /**\\\\n * @dev Internal function to require that the specified contract supports the given interface. This method handle in\\\\n * both case that the callee is either or not the proxy admin of the caller. If the contract does not support the\\\\n * interface `interfaceId` or EIP165, a revert with the corresponding error message is triggered.\\\\n *\\\\n * @param contractAddr The address of the contract to check for interface support.\\\\n * @param interfaceId The interface ID to check for support.\\\\n */\\\\n function _requireSupportsInterface(address contractAddr, bytes4 interfaceId) internal view {\\\\n bytes memory supportsInterfaceParams = abi.encodeCall(IERC165.supportsInterface, (interfaceId));\\\\n (bool success, bytes memory returnOrRevertData) = contractAddr.staticcall(supportsInterfaceParams);\\\\n if (!success) {\\\\n (success, returnOrRevertData) = contractAddr.staticcall(abi.encodeCall(TransparentUpgradeableProxyV2.functionDelegateCall, (supportsInterfaceParams)));\\\\n if (!success) revert ErrUnsupportedInterface(interfaceId, contractAddr);\\\\n }\\\\n if (!abi.decode(returnOrRevertData, (bool))) revert ErrUnsupportedInterface(interfaceId, contractAddr);\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x546ab4c9cdb0e7f8e650f140349225305ba1d0706dcaceeb9180c96aa765da59\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/utils/RoleAccess.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nenum RoleAccess {\\\\n UNKNOWN, // 0\\\\n ADMIN, // 1\\\\n COINBASE, // 2\\\\n GOVERNOR, // 3\\\\n CANDIDATE_ADMIN, // 4\\\\n WITHDRAWAL_MIGRATOR, // 5\\\\n __DEPRECATED_BRIDGE_OPERATOR, // 6\\\\n BLOCK_PRODUCER, // 7\\\\n VALIDATOR_CANDIDATE, // 8\\\\n CONSENSUS, // 9\\\\n TREASURY // 10\\\\n\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x671ff40dd874c508c4b3879a580996c7987fc018669256f47151e420a55c0e51\\\",\\\"license\\\":\\\"MIT\\\"}},\\\"version\\\":1}\"", + "nonce": 1, "storageLayout": { "storage": [ { - "astId": 52191, + "astId": 50938, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "_paused", "offset": 0, @@ -394,7 +411,7 @@ "type": "t_bool" }, { - "astId": 68096, + "astId": 65465, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "_num", "offset": 0, @@ -402,7 +419,7 @@ "type": "t_uint256" }, { - "astId": 68098, + "astId": 65467, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "_denom", "offset": 0, @@ -410,7 +427,7 @@ "type": "t_uint256" }, { - "astId": 68100, + "astId": 65469, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "______deprecated", "offset": 0, @@ -418,7 +435,7 @@ "type": "t_address" }, { - "astId": 68102, + "astId": 65471, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "nonce", "offset": 0, @@ -426,7 +443,7 @@ "type": "t_uint256" }, { - "astId": 68104, + "astId": 65473, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "emergencyPauser", "offset": 0, @@ -434,7 +451,7 @@ "type": "t_address" }, { - "astId": 68109, + "astId": 65478, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "______gap", "offset": 0, @@ -442,7 +459,7 @@ "type": "t_array(t_uint256)49_storage" }, { - "astId": 68831, + "astId": 66223, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "_highTierVWNum", "offset": 0, @@ -450,7 +467,7 @@ "type": "t_uint256" }, { - "astId": 68833, + "astId": 66225, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "_highTierVWDenom", "offset": 0, @@ -458,7 +475,7 @@ "type": "t_uint256" }, { - "astId": 68838, + "astId": 66230, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "highTierThreshold", "offset": 0, @@ -466,7 +483,7 @@ "type": "t_mapping(t_address,t_uint256)" }, { - "astId": 68843, + "astId": 66235, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "lockedThreshold", "offset": 0, @@ -474,7 +491,7 @@ "type": "t_mapping(t_address,t_uint256)" }, { - "astId": 68848, + "astId": 66240, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "unlockFeePercentages", "offset": 0, @@ -482,7 +499,7 @@ "type": "t_mapping(t_address,t_uint256)" }, { - "astId": 68853, + "astId": 66245, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "dailyWithdrawalLimit", "offset": 0, @@ -490,7 +507,7 @@ "type": "t_mapping(t_address,t_uint256)" }, { - "astId": 68858, + "astId": 66250, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "lastSyncedWithdrawal", "offset": 0, @@ -498,7 +515,7 @@ "type": "t_mapping(t_address,t_uint256)" }, { - "astId": 68863, + "astId": 66255, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "lastDateSynced", "offset": 0, @@ -506,7 +523,7 @@ "type": "t_mapping(t_address,t_uint256)" }, { - "astId": 68868, + "astId": 66260, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "______gap", "offset": 0, @@ -514,7 +531,7 @@ "type": "t_array(t_uint256)50_storage" }, { - "astId": 52029, + "astId": 50776, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "_initialized", "offset": 0, @@ -522,7 +539,7 @@ "type": "t_uint8" }, { - "astId": 52032, + "astId": 50779, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "_initializing", "offset": 1, @@ -530,31 +547,31 @@ "type": "t_bool" }, { - "astId": 50680, + "astId": 49676, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "_roles", "offset": 0, "slot": "114", - "type": "t_mapping(t_bytes32,t_struct(RoleData)50675_storage)" + "type": "t_mapping(t_bytes32,t_struct(RoleData)49671_storage)" }, { - "astId": 50994, + "astId": 49990, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "_roleMembers", "offset": 0, "slot": "115", - "type": "t_mapping(t_bytes32,t_struct(AddressSet)57395_storage)" + "type": "t_mapping(t_bytes32,t_struct(AddressSet)56142_storage)" }, { - "astId": 79449, + "astId": 76934, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "wrappedNativeToken", "offset": 0, "slot": "116", - "type": "t_contract(IWETH)74614" + "type": "t_contract(IWETH)72097" }, { - "astId": 79452, + "astId": 76937, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "roninChainId", "offset": 0, @@ -562,7 +579,7 @@ "type": "t_uint256" }, { - "astId": 79455, + "astId": 76940, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "depositCount", "offset": 0, @@ -570,7 +587,7 @@ "type": "t_uint256" }, { - "astId": 79458, + "astId": 76943, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "_domainSeparator", "offset": 0, @@ -578,15 +595,15 @@ "type": "t_bytes32" }, { - "astId": 79464, + "astId": 76949, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "_roninToken", "offset": 0, "slot": "120", - "type": "t_mapping(t_address,t_struct(MappedToken)75329_storage)" + "type": "t_mapping(t_address,t_struct(MappedToken)72812_storage)" }, { - "astId": 79469, + "astId": 76954, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "withdrawalHash", "offset": 0, @@ -594,7 +611,7 @@ "type": "t_mapping(t_uint256,t_bytes32)" }, { - "astId": 79474, + "astId": 76959, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "withdrawalLocked", "offset": 0, @@ -602,7 +619,7 @@ "type": "t_mapping(t_uint256,t_bool)" }, { - "astId": 79477, + "astId": 76962, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "______deprecatedBridgeOperatorAddedBlock", "offset": 0, @@ -610,7 +627,7 @@ "type": "t_uint256" }, { - "astId": 79480, + "astId": 76965, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "______deprecatedBridgeOperators", "offset": 0, @@ -618,7 +635,7 @@ "type": "t_uint256" }, { - "astId": 79482, + "astId": 76967, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "_totalOperatorWeight", "offset": 0, @@ -626,7 +643,7 @@ "type": "t_uint96" }, { - "astId": 79486, + "astId": 76971, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "_operatorWeight", "offset": 0, @@ -634,12 +651,12 @@ "type": "t_mapping(t_address,t_uint96)" }, { - "astId": 79489, + "astId": 76974, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", - "label": "wethUnwrapper", + "label": "______deprecatedWethUnwrapper", "offset": 0, "slot": "127", - "type": "t_contract(WethUnwrapper)68769" + "type": "t_uint256" } ], "types": { @@ -676,17 +693,12 @@ "label": "bytes32", "numberOfBytes": "32" }, - "t_contract(IWETH)74614": { + "t_contract(IWETH)72097": { "encoding": "inplace", "label": "contract IWETH", "numberOfBytes": "20" }, - "t_contract(WethUnwrapper)68769": { - "encoding": "inplace", - "label": "contract WethUnwrapper", - "numberOfBytes": "20" - }, - "t_enum(TokenStandard)76941": { + "t_enum(TokenStandard)74424": { "encoding": "inplace", "label": "enum TokenStandard", "numberOfBytes": "1" @@ -698,12 +710,12 @@ "numberOfBytes": "32", "value": "t_bool" }, - "t_mapping(t_address,t_struct(MappedToken)75329_storage)": { + "t_mapping(t_address,t_struct(MappedToken)72812_storage)": { "encoding": "mapping", "key": "t_address", "label": "mapping(address => struct MappedTokenConsumer.MappedToken)", "numberOfBytes": "32", - "value": "t_struct(MappedToken)75329_storage" + "value": "t_struct(MappedToken)72812_storage" }, "t_mapping(t_address,t_uint256)": { "encoding": "mapping", @@ -719,19 +731,19 @@ "numberOfBytes": "32", "value": "t_uint96" }, - "t_mapping(t_bytes32,t_struct(AddressSet)57395_storage)": { + "t_mapping(t_bytes32,t_struct(AddressSet)56142_storage)": { "encoding": "mapping", "key": "t_bytes32", "label": "mapping(bytes32 => struct EnumerableSet.AddressSet)", "numberOfBytes": "32", - "value": "t_struct(AddressSet)57395_storage" + "value": "t_struct(AddressSet)56142_storage" }, - "t_mapping(t_bytes32,t_struct(RoleData)50675_storage)": { + "t_mapping(t_bytes32,t_struct(RoleData)49671_storage)": { "encoding": "mapping", "key": "t_bytes32", "label": "mapping(bytes32 => struct AccessControl.RoleData)", "numberOfBytes": "32", - "value": "t_struct(RoleData)50675_storage" + "value": "t_struct(RoleData)49671_storage" }, "t_mapping(t_bytes32,t_uint256)": { "encoding": "mapping", @@ -754,36 +766,36 @@ "numberOfBytes": "32", "value": "t_bytes32" }, - "t_struct(AddressSet)57395_storage": { + "t_struct(AddressSet)56142_storage": { "encoding": "inplace", "label": "struct EnumerableSet.AddressSet", "numberOfBytes": "64", "members": [ { - "astId": 57394, + "astId": 56141, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "_inner", "offset": 0, "slot": "0", - "type": "t_struct(Set)57094_storage" + "type": "t_struct(Set)55841_storage" } ] }, - "t_struct(MappedToken)75329_storage": { + "t_struct(MappedToken)72812_storage": { "encoding": "inplace", "label": "struct MappedTokenConsumer.MappedToken", "numberOfBytes": "32", "members": [ { - "astId": 75326, + "astId": 72809, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "erc", "offset": 0, "slot": "0", - "type": "t_enum(TokenStandard)76941" + "type": "t_enum(TokenStandard)74424" }, { - "astId": 75328, + "astId": 72811, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "tokenAddr", "offset": 1, @@ -792,13 +804,13 @@ } ] }, - "t_struct(RoleData)50675_storage": { + "t_struct(RoleData)49671_storage": { "encoding": "inplace", "label": "struct AccessControl.RoleData", "numberOfBytes": "64", "members": [ { - "astId": 50672, + "astId": 49668, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "members", "offset": 0, @@ -806,7 +818,7 @@ "type": "t_mapping(t_address,t_bool)" }, { - "astId": 50674, + "astId": 49670, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "adminRole", "offset": 0, @@ -815,13 +827,13 @@ } ] }, - "t_struct(Set)57094_storage": { + "t_struct(Set)55841_storage": { "encoding": "inplace", "label": "struct EnumerableSet.Set", "numberOfBytes": "64", "members": [ { - "astId": 57089, + "astId": 55836, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "_values", "offset": 0, @@ -829,7 +841,7 @@ "type": "t_array(t_bytes32)dyn_storage" }, { - "astId": 57093, + "astId": 55840, "contract": "src/mainchain/MainchainGatewayV3.sol:MainchainGatewayV3", "label": "_indexes", "offset": 0, @@ -855,7 +867,7 @@ } } }, - "timestamp": 1722414311, + "timestamp": 1724753795, "userdoc": { "version": 1, "kind": "user", diff --git a/script/20240807-ir-recover/20240807-ir-deploy-mainchain-gw-logic.s.sol b/script/20240807-ir-recover/20240807-ir-deploy-mainchain-gw-logic.s.sol new file mode 100644 index 00000000..dce04698 --- /dev/null +++ b/script/20240807-ir-recover/20240807-ir-deploy-mainchain-gw-logic.s.sol @@ -0,0 +1,11 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.23; + +import { Contract } from "../utils/Contract.sol"; +import { Migration } from "../Migration.s.sol"; + +contract Migration__20240807_DeployMainchainGW is Migration { + function run() public { + _deployLogic(Contract.MainchainGatewayV3.key()); + } +} From 78cd2ef306ecdbe138ae32e8fa02a7a82009bb79 Mon Sep 17 00:00:00 2001 From: tringuyenskymavis Date: Wed, 28 Aug 2024 01:38:44 +0700 Subject: [PATCH 69/74] script: rework factory script allow provide pks via terminal --- .../20240626-maptoken-anima-mainchain.s.sol | 4 ---- .../factory-maptoken-mainchain-ethereum.s.sol | 6 ++---- .../factory-maptoken-mainchain-sepolia.s.sol | 14 +++----------- .../mainchain/factory-maptoken-mainchain.s.sol | 12 +++--------- .../factory-maptoken-ronin-mainnet.s.sol | 1 + .../factory-maptoken-ronin-testnet.s.sol | 1 + .../roninchain/factory-maptoken-roninchain.s.sol | 4 +--- 7 files changed, 11 insertions(+), 31 deletions(-) diff --git a/script/20240626-maptoken-anima/20240626-maptoken-anima-mainchain.s.sol b/script/20240626-maptoken-anima/20240626-maptoken-anima-mainchain.s.sol index 4584161c..231c0e30 100644 --- a/script/20240626-maptoken-anima/20240626-maptoken-anima-mainchain.s.sol +++ b/script/20240626-maptoken-anima/20240626-maptoken-anima-mainchain.s.sol @@ -25,10 +25,6 @@ contract Migration__20242606_MapTokenAnimaMainchain is Base__MapToken, Factory__ return Base__MapToken._initGovernors(); } - function _initGovernorPKs() internal override(Base__MapToken, Factory__MapTokensMainchain_Sepolia) returns (uint256[] memory) { - return Base__MapToken._initGovernorPKs(); - } - function run() public override { Factory__MapTokensMainchain_Sepolia.run(); } diff --git a/script/factories/mainchain/factory-maptoken-mainchain-ethereum.s.sol b/script/factories/mainchain/factory-maptoken-mainchain-ethereum.s.sol index 7238de33..a3329c61 100644 --- a/script/factories/mainchain/factory-maptoken-mainchain-ethereum.s.sol +++ b/script/factories/mainchain/factory-maptoken-mainchain-ethereum.s.sol @@ -13,14 +13,12 @@ import "../simulation/factory-maptoken-simulation-mainchain.s.sol"; abstract contract Factory__MapTokensMainchain_Ethereum is Factory__MapTokensMainchain { using LibCompanionNetwork for *; - function setUp() public override { - super.setUp(); + function run() public virtual override { + super.run(); _roninBridgeManager = RoninBridgeManager(config.getAddressFromCurrentNetwork(Contract.RoninBridgeManager.key())); _mainchainGatewayV3 = config.getAddress(network().companionNetwork(), Contract.MainchainGatewayV3.key()); _mainchainBridgeManager = config.getAddress(network().companionNetwork(), Contract.MainchainBridgeManager.key()); - } - function run() public virtual override { uint256 chainId = network().companionChainId(); uint256 nonce = _roninBridgeManager.round(chainId) + 1; Proposal.ProposalDetail memory proposal = _createAndVerifyProposalOnMainchain(chainId, nonce); diff --git a/script/factories/mainchain/factory-maptoken-mainchain-sepolia.s.sol b/script/factories/mainchain/factory-maptoken-mainchain-sepolia.s.sol index 63266612..1adced06 100644 --- a/script/factories/mainchain/factory-maptoken-mainchain-sepolia.s.sol +++ b/script/factories/mainchain/factory-maptoken-mainchain-sepolia.s.sol @@ -12,25 +12,17 @@ import "./factory-maptoken-mainchain.s.sol"; import "../simulation/factory-maptoken-simulation-mainchain.s.sol"; abstract contract Factory__MapTokensMainchain_Sepolia is Factory__MapTokensMainchain { - function setUp() public override { - super.setUp(); - _mainchainGatewayV3 = config.getAddressFromCurrentNetwork(Contract.MainchainGatewayV3.key()); - _mainchainBridgeManager = config.getAddressFromCurrentNetwork(Contract.MainchainBridgeManager.key()); - } - - function _initGovernorPKs() internal virtual returns (uint256[] memory); function _initGovernors() internal virtual returns (address[] memory); function run() public virtual override { + super.run(); + _mainchainGatewayV3 = config.getAddressFromCurrentNetwork(Contract.MainchainGatewayV3.key()); + _mainchainBridgeManager = config.getAddressFromCurrentNetwork(Contract.MainchainBridgeManager.key()); address[] memory mGovernors; - uint256[] memory mGovernorsPk; - mGovernors = _initGovernors(); - mGovernorsPk = _initGovernorPKs(); for (uint256 i; i < mGovernors.length; ++i) { _governors.push(mGovernors[i]); - _governorPKs.push(mGovernorsPk[i]); } uint256 chainId = block.chainid; diff --git a/script/factories/mainchain/factory-maptoken-mainchain.s.sol b/script/factories/mainchain/factory-maptoken-mainchain.s.sol index 99abfe87..d84884d4 100644 --- a/script/factories/mainchain/factory-maptoken-mainchain.s.sol +++ b/script/factories/mainchain/factory-maptoken-mainchain.s.sol @@ -31,14 +31,11 @@ abstract contract Factory__MapTokensMainchain is Migration { address internal _mainchainBridgeManager; address internal _specifiedCaller; address[] internal _governors; - uint256[] internal _governorPKs; - function setUp() public virtual override { - super.setUp(); + function run() public virtual { _specifiedCaller = _initCaller(); } - function run() public virtual; function _initCaller() internal virtual returns (address); function _initTokenList() internal virtual returns (uint256 totalToken, MapTokenInfo[] memory infos); @@ -50,17 +47,14 @@ abstract contract Factory__MapTokensMainchain is Migration { } function _relayProposal(Proposal.ProposalDetail memory proposal) internal { - MainchainBridgeAdminUtils mainchainProposalUtils = - new MainchainBridgeAdminUtils(2021, _governorPKs, IMainchainBridgeManager(_mainchainBridgeManager), _governors[0]); - Ballot.VoteType[] memory supports_ = new Ballot.VoteType[](_governors.length); - require(_governors.length > 0 && _governors.length == _governorPKs.length, "Invalid governors information"); + require(_governors.length > 0, "Invalid number of governors"); for (uint256 i; i < _governors.length; ++i) { supports_[i] = Ballot.VoteType.For; } - Signature[] memory signatures = mainchainProposalUtils.generateSignatures(proposal, _governorPKs); + Signature[] memory signatures = LibProposal.generateSignatures(proposal, _governors, Ballot.VoteType.For); uint256 gasAmounts = 1_000_000; for (uint256 i; i < proposal.gasAmounts.length; ++i) { diff --git a/script/factories/roninchain/factory-maptoken-ronin-mainnet.s.sol b/script/factories/roninchain/factory-maptoken-ronin-mainnet.s.sol index bafcb28a..4d45575c 100644 --- a/script/factories/roninchain/factory-maptoken-ronin-mainnet.s.sol +++ b/script/factories/roninchain/factory-maptoken-ronin-mainnet.s.sol @@ -14,6 +14,7 @@ abstract contract Factory__MapTokensRonin_Mainnet is Factory__MapTokensRoninchai using LibCompanionNetwork for *; function run() public virtual override { + super.run(); Proposal.ProposalDetail memory proposal = _createAndVerifyProposalOnRonin(); // Simulate execute proposal new Factory__MapTokensSimulation_Roninchain().simulate(proposal); diff --git a/script/factories/roninchain/factory-maptoken-ronin-testnet.s.sol b/script/factories/roninchain/factory-maptoken-ronin-testnet.s.sol index 01e71143..93aa6e87 100644 --- a/script/factories/roninchain/factory-maptoken-ronin-testnet.s.sol +++ b/script/factories/roninchain/factory-maptoken-ronin-testnet.s.sol @@ -16,6 +16,7 @@ abstract contract Factory__MapTokensRonin_Testnet is Factory__MapTokensRoninchai function _initGovernors() internal virtual returns (address[] memory); function run() public virtual override { + super.run(); address[] memory mGovernors = _initGovernors(); for (uint256 i; i < mGovernors.length; ++i) { diff --git a/script/factories/roninchain/factory-maptoken-roninchain.s.sol b/script/factories/roninchain/factory-maptoken-roninchain.s.sol index 3ca0ce3d..c72bd13f 100644 --- a/script/factories/roninchain/factory-maptoken-roninchain.s.sol +++ b/script/factories/roninchain/factory-maptoken-roninchain.s.sol @@ -27,14 +27,12 @@ abstract contract Factory__MapTokensRoninchain is Migration { address internal _specifiedCaller; address[] internal _governors; - function setUp() public virtual override { - super.setUp(); + function run() public virtual { _roninBridgeManager = RoninBridgeManager(config.getAddressFromCurrentNetwork(Contract.RoninBridgeManager.key())); _roninGatewayV3 = config.getAddressFromCurrentNetwork(Contract.RoninGatewayV3.key()); _specifiedCaller = _initCaller(); } - function run() public virtual; function _initCaller() internal virtual returns (address); function _initTokenList() internal virtual returns (uint256 totalToken, MapTokenInfo[] memory infos); From 81b12db5ca3f6ea02f40b14ec80f16c4a3a53be4 Mon Sep 17 00:00:00 2001 From: tringuyenskymavis Date: Wed, 28 Aug 2024 15:58:56 +0700 Subject: [PATCH 70/74] chore: specify foundry version in CI --- .github/workflows/post-check.yml | 2 ++ .github/workflows/slither-analyze.yml | 6 ++++-- .github/workflows/test.yml | 6 ++++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/post-check.yml b/.github/workflows/post-check.yml index fb553ee4..5c7d9e4a 100644 --- a/.github/workflows/post-check.yml +++ b/.github/workflows/post-check.yml @@ -41,6 +41,8 @@ jobs: - name: Install Foundry uses: foundry-rs/foundry-toolchain@v1 + with: + version: nightly-2b1f8d6dd90f9790faf0528e05e60e573a7569ce - name: Update package with soldeer run: forge soldeer update diff --git a/.github/workflows/slither-analyze.yml b/.github/workflows/slither-analyze.yml index f1acdd8e..78b4b52a 100644 --- a/.github/workflows/slither-analyze.yml +++ b/.github/workflows/slither-analyze.yml @@ -41,9 +41,11 @@ jobs: - name: Install Foundry uses: foundry-rs/foundry-toolchain@v1 + with: + version: nightly-2b1f8d6dd90f9790faf0528e05e60e573a7569ce - - name: Update package with soldeer - run: forge soldeer update + - name: Install package with soldeer + run: forge soldeer install - name: Recursively update dependencies run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f3945f03..f771464d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,9 +41,11 @@ jobs: - name: Install Foundry uses: foundry-rs/foundry-toolchain@v1 + with: + version: nightly-2b1f8d6dd90f9790faf0528e05e60e573a7569ce - - name: Update package with soldeer - run: forge soldeer update + - name: Install package with soldeer + run: forge soldeer install - name: Recursively update dependencies run: | From 2a69b28ebd4bbf8e78f6f08d19973108f1d3b91f Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Tue, 27 Aug 2024 12:06:33 +0700 Subject: [PATCH 71/74] chore: add wbtc testnet artifact --- .../2021/run-1724731787.json | 38 ++ .../2021/run-1724731847.json | 101 ++++++ .../WBTCDeploy.s.sol/2021/run-1724733411.json | 32 ++ .../WBTCDeploy.s.sol/2021/run-1724733474.json | 32 ++ .../WBTCDeploy.s.sol/2021/run-1724733491.json | 28 ++ .../WBTCDeploy.s.sol/2021/run-1724733772.json | 190 ++++++++++ .../11155111/run-1724734596.json | 29 ++ .../11155111/run-1724734695.json | 62 ++++ deployments/ronin-testnet/WBTC.json | 330 ++++++++++++++++++ deployments/sepolia/WBTC.json | 144 ++++++++ script/GeneralConfig.sol | 3 + script/contracts/WBTCDeploy.s.sol | 22 ++ script/contracts/WBTC_SepoliaDeploy.s.sol | 16 + src/tokens/erc20/WBTC_Sepolia.sol | 17 + 14 files changed, 1044 insertions(+) create mode 100644 broadcast/20240807-random-proposal.s.sol/2021/run-1724731787.json create mode 100644 broadcast/20240807-random-proposal.s.sol/2021/run-1724731847.json create mode 100644 broadcast/WBTCDeploy.s.sol/2021/run-1724733411.json create mode 100644 broadcast/WBTCDeploy.s.sol/2021/run-1724733474.json create mode 100644 broadcast/WBTCDeploy.s.sol/2021/run-1724733491.json create mode 100644 broadcast/WBTCDeploy.s.sol/2021/run-1724733772.json create mode 100644 broadcast/WBTC_SepoliaDeploy.s.sol/11155111/run-1724734596.json create mode 100644 broadcast/WBTC_SepoliaDeploy.s.sol/11155111/run-1724734695.json create mode 100644 deployments/ronin-testnet/WBTC.json create mode 100644 deployments/sepolia/WBTC.json create mode 100644 script/contracts/WBTCDeploy.s.sol create mode 100644 script/contracts/WBTC_SepoliaDeploy.s.sol create mode 100644 src/tokens/erc20/WBTC_Sepolia.sol diff --git a/broadcast/20240807-random-proposal.s.sol/2021/run-1724731787.json b/broadcast/20240807-random-proposal.s.sol/2021/run-1724731787.json new file mode 100644 index 00000000..0f2eb08d --- /dev/null +++ b/broadcast/20240807-random-proposal.s.sol/2021/run-1724731787.json @@ -0,0 +1,38 @@ +{ + "transactions": [ + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "proposeProposalForCurrentNetwork(uint256,address,address[],uint256[],bytes[],uint256[],uint8)", + "arguments": [ + "1724818166", + "0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa", + "[0x0000000000000000000000000000000000000000]", + "[0]", + "[0x]", + "[0]", + "0" + ], + "transaction": { + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x6e592", + "value": "0x0", + "input": "0xdd1f89140000000000000000000000000000000000000000000000000000000066cea2f6000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000", + "nonce": "0x272", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": false + } + ], + "receipts": [], + "libraries": [], + "pending": [], + "returns": {}, + "timestamp": 1724731787, + "chain": 2021, + "commit": "77b3b4c" +} \ No newline at end of file diff --git a/broadcast/20240807-random-proposal.s.sol/2021/run-1724731847.json b/broadcast/20240807-random-proposal.s.sol/2021/run-1724731847.json new file mode 100644 index 00000000..a281ffde --- /dev/null +++ b/broadcast/20240807-random-proposal.s.sol/2021/run-1724731847.json @@ -0,0 +1,101 @@ +{ + "transactions": [ + { + "hash": "0x43113e3e96a385785edc5e71c18aae40ea6050bd09b04c0afdcd93274243be39", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "function": "proposeProposalForCurrentNetwork(uint256,address,address[],uint256[],bytes[],uint256[],uint8)", + "arguments": [ + "1724818220", + "0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa", + "[0x0000000000000000000000000000000000000000]", + "[0]", + "[0x]", + "[0]", + "0" + ], + "transaction": { + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "gas": "0x6e592", + "value": "0x0", + "input": "0xdd1f89140000000000000000000000000000000000000000000000000000000066cea32c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000", + "nonce": "0x272", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": false + } + ], + "receipts": [ + { + "status": "0x1", + "cumulativeGasUsed": "0x3c539", + "logs": [ + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x58f98006a7f2f253f8ae8f8b7cec9008ca05359633561cd7c22f3005682d4a55", + "0x0000000000000000000000000000000000000000000000000000000000000000" + ], + "data": "0x", + "blockHash": "0x79f3cda27dec1679059ef0be6829fab97ab767d402475084f79f11f072f99ae2", + "blockNumber": "0x1ceccae", + "transactionHash": "0x43113e3e96a385785edc5e71c18aae40ea6050bd09b04c0afdcd93274243be39", + "transactionIndex": "0x1", + "logIndex": "0x1", + "removed": false + }, + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0xd1221ffb98610024a29755d7db3c71692310f43a7cfcce7ee488a8c7e9e0bfa4", + "0x00000000000000000000000000000000000000000000000000000000000007e5", + "0x0000000000000000000000000000000000000000000000000000000000000006", + "0xf25c395a99ca363e43d15bedccc359f8c471b9883dbbc2fa8f49e829f9848d09" + ], + "data": "0x0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000007e50000000000000000000000000000000000000000000000000000000066cea32c000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000", + "blockHash": "0x79f3cda27dec1679059ef0be6829fab97ab767d402475084f79f11f072f99ae2", + "blockNumber": "0x1ceccae", + "transactionHash": "0x43113e3e96a385785edc5e71c18aae40ea6050bd09b04c0afdcd93274243be39", + "transactionIndex": "0x1", + "logIndex": "0x2", + "removed": false + }, + { + "address": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "topics": [ + "0x1203f9e81c814a35f5f4cc24087b2a24c6fb7986a9f1406b68a9484882c93a23", + "0xf25c395a99ca363e43d15bedccc359f8c471b9883dbbc2fa8f49e829f9848d09", + "0x000000000000000000000000d24d87ddc1917165435b306aac68d99e0f49a3fa" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064", + "blockHash": "0x79f3cda27dec1679059ef0be6829fab97ab767d402475084f79f11f072f99ae2", + "blockNumber": "0x1ceccae", + "transactionHash": "0x43113e3e96a385785edc5e71c18aae40ea6050bd09b04c0afdcd93274243be39", + "transactionIndex": "0x1", + "logIndex": "0x3", + "removed": false + } + ], + "logsBloom": "0x00000000000400010000000000100000000040000000000000000000000000000000000000000000100000000000000000000000000400000000010000000000000000000004000000400000000000000000000000000000000000000000000000000000020080000000000000000800000000040000000000000000000000000000000400000000000000000000000000000000000000000000000005000000000000000000000000008000000000000000020400008000000000080000000000000000000000000010000000000000000000002000000000000000000020000000000000004000000000000000000000000000040000000000080000000000", + "type": "0x0", + "transactionHash": "0x43113e3e96a385785edc5e71c18aae40ea6050bd09b04c0afdcd93274243be39", + "transactionIndex": "0x1", + "blockHash": "0x79f3cda27dec1679059ef0be6829fab97ab767d402475084f79f11f072f99ae2", + "blockNumber": "0x1ceccae", + "gasUsed": "0x33edc", + "effectiveGasPrice": "0x4a817c800", + "from": "0xd24d87ddc1917165435b306aac68d99e0f49a3fa", + "to": "0x8aaad4782890eb879a0fc132a6adf9e5ee708faf", + "contractAddress": null + } + ], + "libraries": [], + "pending": [], + "returns": {}, + "timestamp": 1724731847, + "chain": 2021, + "commit": "77b3b4c" +} \ No newline at end of file diff --git a/broadcast/WBTCDeploy.s.sol/2021/run-1724733411.json b/broadcast/WBTCDeploy.s.sol/2021/run-1724733411.json new file mode 100644 index 00000000..a9d10731 --- /dev/null +++ b/broadcast/WBTCDeploy.s.sol/2021/run-1724733411.json @@ -0,0 +1,32 @@ +{ + "transactions": [ + { + "hash": "0xf17b5b0957f2f1ea75a495205dd9ac7808df8d750dfd7f001d3a666fbd9a5c9d", + "transactionType": "CREATE", + "contractName": "WBTC", + "contractAddress": "0x7b08eb7be015c2e7e2a2c95c1e9ff5f5927437b8", + "function": null, + "arguments": [ + "0xCee681C9108c42C710c6A8A949307D5F13C9F3ca", + "0x1aD54D61F47acBcBA99fb6540A1694EB2F47AB95" + ], + "transaction": { + "from": "0x968d0cd7343f711216817e617d3f92a23dc91c07", + "gas": "0x383b50", + "value": "0x0", + "input": "0x60a060405234801562000010575f80fd5b50604051620020123803806200201283398101604081905262000033916200048e565b6040518060400160405280600f81526020016e2bb930b83832b2102134ba31b7b4b760891b815250604051806040016040528060048152602001635742544360e01b815250818181600590816200008b919062000561565b5060066200009a828262000561565b50506007805460ff1916905550620000b35f336200017f565b620000cd5f8051602062001ff2833981519152336200017f565b620000e75f8051602062001fd2833981519152336200017f565b50620000f690505f826200017f565b620001105f8051602062001fd2833981519152826200017f565b6001600160a01b038216608052620001375f8051602062001ff2833981519152836200017f565b620001435f336200018f565b6200015d5f8051602062001ff2833981519152336200018f565b620001775f8051602062001fd2833981519152336200018f565b505062000675565b6200018b8282620001b9565b5050565b6200019b8282620001de565b5f828152600160205260409020620001b490826200025c565b505050565b620001c582826200027b565b5f828152600160205260409020620001b4908262000319565b5f828152602081815260408083206001600160a01b038516845290915290205460ff16156200018b575f828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b5f62000272836001600160a01b0384166200032f565b90505b92915050565b5f828152602081815260408083206001600160a01b038516845290915290205460ff166200018b575f828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620002d53390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b5f62000272836001600160a01b03841662000423565b5f818152600183016020526040812054801562000419575f620003546001836200062d565b85549091505f9062000369906001906200062d565b9050818114620003cf575f865f0182815481106200038b576200038b6200064d565b905f5260205f200154905080875f018481548110620003ae57620003ae6200064d565b5f918252602080832090910192909255918252600188019052604090208390555b8554869080620003e357620003e362000661565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f90556001935050505062000275565b5f91505062000275565b5f8181526001830160205260408120546200046a57508154600181810184555f84815260208082209093018490558454848252828601909352604090209190915562000275565b505f62000275565b80516001600160a01b038116811462000489575f80fd5b919050565b5f8060408385031215620004a0575f80fd5b620004ab8362000472565b9150620004bb6020840162000472565b90509250929050565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680620004ed57607f821691505b6020821081036200050c57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620001b457805f5260205f20601f840160051c81016020851015620005395750805b601f840160051c820191505b818110156200055a575f815560010162000545565b5050505050565b81516001600160401b038111156200057d576200057d620004c4565b62000595816200058e8454620004d8565b8462000512565b602080601f831160018114620005cb575f8415620005b35750858301515b5f19600386901b1c1916600185901b17855562000625565b5f85815260208120601f198616915b82811015620005fb57888601518255948401946001909101908401620005da565b50858210156200061957878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b818103818111156200027557634e487b7160e01b5f52601160045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52603160045260245ffd5b60805161193d620006955f395f81816104260152611037015261193d5ff3fe608060405234801561000f575f80fd5b50600436106101c6575f3560e01c806370a08231116100fe578063a457c2d71161009e578063d547741f1161006e578063d547741f146103d4578063dd62ed3e146103e7578063e63ab1e9146103fa578063f56c84e514610421575f80fd5b8063a457c2d714610374578063a9059cbb14610387578063ca15c8731461039a578063d5391393146103ad575f80fd5b80639010d07c116100d95780639010d07c1461032757806391d148541461035257806395d89b4114610365578063a217fddf1461036d575f80fd5b806370a08231146102e457806379cc67901461030c5780638456cb591461031f575f80fd5b8063313ce567116101695780633f4ba83a116101445780633f4ba83a146102ab57806340c10f19146102b357806342966c68146102c65780635c975abb146102d9575f80fd5b8063313ce5671461027657806336568abe146102855780633950935114610298575f80fd5b806318160ddd116101a457806318160ddd1461021a57806323b872dd1461022c578063248a9ca31461023f5780632f2ff15d14610261575f80fd5b806301ffc9a7146101ca57806306fdde03146101f2578063095ea7b314610207575b5f80fd5b6101dd6101d8366004611620565b610448565b60405190151581526020015b60405180910390f35b6101fa610472565b6040516101e99190611669565b6101dd6102153660046116b6565b610502565b6004545b6040519081526020016101e9565b6101dd61023a3660046116de565b610519565b61021e61024d366004611717565b5f9081526020819052604090206001015490565b61027461026f36600461172e565b61053c565b005b604051600881526020016101e9565b61027461029336600461172e565b610565565b6101dd6102a63660046116b6565b6105e8565b610274610609565b6102746102c13660046116b6565b6106af565b6102746102d4366004611717565b61074e565b60075460ff166101dd565b61021e6102f2366004611758565b6001600160a01b03165f9081526002602052604090205490565b61027461031a3660046116b6565b61075b565b610274610770565b61033a610335366004611771565b610814565b6040516001600160a01b0390911681526020016101e9565b6101dd61036036600461172e565b610832565b6101fa61085a565b61021e5f81565b6101dd6103823660046116b6565b610869565b6101dd6103953660046116b6565b6108e3565b61021e6103a8366004611717565b6108f0565b61021e7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6102746103e236600461172e565b610906565b61021e6103f5366004611791565b61092a565b61021e7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b61033a7f000000000000000000000000000000000000000000000000000000000000000081565b5f6001600160e01b03198216635a05180f60e01b148061046c575061046c82610954565b92915050565b606060058054610481906117b9565b80601f01602080910402602001604051908101604052809291908181526020018280546104ad906117b9565b80156104f85780601f106104cf576101008083540402835291602001916104f8565b820191905f5260205f20905b8154815290600101906020018083116104db57829003601f168201915b5050505050905090565b5f3361050f818585610988565b5060019392505050565b5f33610526858285610aab565b610531858585610b23565b506001949350505050565b5f8281526020819052604090206001015461055681610cfa565b6105608383610d04565b505050565b6001600160a01b03811633146105da5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6105e48282610d25565b5050565b5f3361050f8185856105fa838361092a565b6106049190611805565b610988565b6106337f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33610832565b6106a55760405162461bcd60e51b815260206004820152603960248201527f45524332305072657365744d696e7465725061757365723a206d75737420686160448201527f76652070617573657220726f6c6520746f20756e70617573650000000000000060648201526084016105d1565b6106ad610d46565b565b6106d97f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610832565b6107445760405162461bcd60e51b815260206004820152603660248201527f45524332305072657365744d696e7465725061757365723a206d7573742068616044820152751d99481b5a5b9d195c881c9bdb19481d1bc81b5a5b9d60521b60648201526084016105d1565b6105e48282610d98565b6107583382610e7f565b50565b610766823383610aab565b6105e48282610e7f565b61079a7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33610832565b61080c5760405162461bcd60e51b815260206004820152603760248201527f45524332305072657365744d696e7465725061757365723a206d75737420686160448201527f76652070617573657220726f6c6520746f20706175736500000000000000000060648201526084016105d1565b6106ad610fd5565b5f82815260016020526040812061082b9083611012565b9392505050565b5f918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b606060068054610481906117b9565b5f3381610876828661092a565b9050838110156108d65760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105d1565b6105318286868403610988565b5f3361050f818585610b23565b5f81815260016020526040812061046c9061101d565b5f8281526020819052604090206001015461092081610cfa565b6105608383610d25565b6001600160a01b039182165f90815260036020908152604080832093909416825291909152205490565b5f6001600160e01b03198216637965db0b60e01b148061046c57506301ffc9a760e01b6001600160e01b031983161461046c565b6001600160a01b0383166109ea5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105d1565b6001600160a01b038216610a4b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105d1565b6001600160a01b038381165f8181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f610ab6848461092a565b90505f198114610b1d5781811015610b105760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016105d1565b610b1d8484848403610988565b50505050565b6001600160a01b038316610b875760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105d1565b6001600160a01b038216610be95760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105d1565b610bf4838383611026565b6001600160a01b0383165f9081526002602052604090205481811015610c6b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105d1565b6001600160a01b038085165f90815260026020526040808220858503905591851681529081208054849290610ca1908490611805565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610ced91815260200190565b60405180910390a3610b1d565b61075881336110c2565b610d0e8282611126565b5f82815260016020526040902061056090826111a9565b610d2f82826111bd565b5f8281526001602052604090206105609082611221565b610d4e611235565b6007805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b038216610dee5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105d1565b610df95f8383611026565b8060045f828254610e0a9190611805565b90915550506001600160a01b0382165f9081526002602052604081208054839290610e36908490611805565b90915550506040518181526001600160a01b038316905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038216610edf5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105d1565b610eea825f83611026565b6001600160a01b0382165f9081526002602052604090205481811015610f5d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105d1565b6001600160a01b0383165f908152600260205260408120838303905560048054849290610f8b908490611818565b90915550506040518281525f906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b610fdd61127e565b6007805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610d7b3390565b5f61082b83836112c4565b5f61046c825490565b6001600160a01b0382166110b757337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146110b75760405162461bcd60e51b815260206004820152602260248201527f574254433a206f6e6c7920676174657761792063616e206275726e20746f6b656044820152616e7360f01b60648201526084016105d1565b6105608383836112ea565b6110cc8282610832565b6105e4576110e4816001600160a01b031660146112f5565b6110ef8360206112f5565b60405160200161110092919061182b565b60408051601f198184030181529082905262461bcd60e51b82526105d191600401611669565b6111308282610832565b6105e4575f828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556111653390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b5f61082b836001600160a01b03841661148b565b6111c78282610832565b156105e4575f828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b5f61082b836001600160a01b0384166114d7565b60075460ff166106ad5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016105d1565b60075460ff16156106ad5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016105d1565b5f825f0182815481106112d9576112d961189f565b905f5260205f200154905092915050565b6105608383836115ba565b60605f6113038360026118b3565b61130e906002611805565b67ffffffffffffffff811115611326576113266118ca565b6040519080825280601f01601f191660200182016040528015611350576020820181803683370190505b509050600360fc1b815f8151811061136a5761136a61189f565b60200101906001600160f81b03191690815f1a905350600f60fb1b816001815181106113985761139861189f565b60200101906001600160f81b03191690815f1a9053505f6113ba8460026118b3565b6113c5906001611805565b90505b600181111561143c576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106113f9576113f961189f565b1a60f81b82828151811061140f5761140f61189f565b60200101906001600160f81b03191690815f1a90535060049490941c93611435816118de565b90506113c8565b50831561082b5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016105d1565b5f8181526001830160205260408120546114d057508154600181810184555f84815260208082209093018490558454848252828601909352604090209190915561046c565b505f61046c565b5f81815260018301602052604081205480156115b1575f6114f9600183611818565b85549091505f9061150c90600190611818565b905081811461156b575f865f01828154811061152a5761152a61189f565b905f5260205f200154905080875f01848154811061154a5761154a61189f565b5f918252602080832090910192909255918252600188019052604090208390555b855486908061157c5761157c6118f3565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f90556001935050505061046c565b5f91505061046c565b60075460ff16156105605760405162461bcd60e51b815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e736665722077686044820152691a5b19481c185d5cd95960b21b60648201526084016105d1565b5f60208284031215611630575f80fd5b81356001600160e01b03198116811461082b575f80fd5b5f5b83811015611661578181015183820152602001611649565b50505f910152565b602081525f8251806020840152611687816040850160208701611647565b601f01601f19169190910160400192915050565b80356001600160a01b03811681146116b1575f80fd5b919050565b5f80604083850312156116c7575f80fd5b6116d08361169b565b946020939093013593505050565b5f805f606084860312156116f0575f80fd5b6116f98461169b565b92506117076020850161169b565b9150604084013590509250925092565b5f60208284031215611727575f80fd5b5035919050565b5f806040838503121561173f575f80fd5b8235915061174f6020840161169b565b90509250929050565b5f60208284031215611768575f80fd5b61082b8261169b565b5f8060408385031215611782575f80fd5b50508035926020909101359150565b5f80604083850312156117a2575f80fd5b6117ab8361169b565b915061174f6020840161169b565b600181811c908216806117cd57607f821691505b6020821081036117eb57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561046c5761046c6117f1565b8181038181111561046c5761046c6117f1565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081525f8351611862816017850160208801611647565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611893816028840160208801611647565b01602801949350505050565b634e487b7160e01b5f52603260045260245ffd5b808202811582820484141761046c5761046c6117f1565b634e487b7160e01b5f52604160045260245ffd5b5f816118ec576118ec6117f1565b505f190190565b634e487b7160e01b5f52603160045260245ffdfea2646970667358221220e35b77cb07a857bc312d350b01ab89b055e5923d9e774776a1e0241dd6fcce9c64736f6c6343000817003365d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6000000000000000000000000cee681c9108c42c710c6a8a949307d5f13c9f3ca0000000000000000000000001ad54d61f47acbcba99fb6540a1694eb2f47ab95", + "nonce": "0x2fbcb", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": false + } + ], + "receipts": [], + "libraries": [], + "pending": [], + "returns": {}, + "timestamp": 1724733411, + "chain": 2021, + "commit": "77b3b4c" +} \ No newline at end of file diff --git a/broadcast/WBTCDeploy.s.sol/2021/run-1724733474.json b/broadcast/WBTCDeploy.s.sol/2021/run-1724733474.json new file mode 100644 index 00000000..47b0f5a1 --- /dev/null +++ b/broadcast/WBTCDeploy.s.sol/2021/run-1724733474.json @@ -0,0 +1,32 @@ +{ + "transactions": [ + { + "hash": "0x916886b3a266c1e0d458e952d12071dbac3dc6079d76316b30c4a607ad99868b", + "transactionType": "CREATE", + "contractName": "WBTC", + "contractAddress": "0xb3603fe1dd9cbce8a4b0a6626763f524b8cacff6", + "function": null, + "arguments": [ + "0xCee681C9108c42C710c6A8A949307D5F13C9F3ca", + "0x1aD54D61F47acBcBA99fb6540A1694EB2F47AB95" + ], + "transaction": { + "from": "0x968d0cd7343f711216817e617d3f92a23dc91c07", + "gas": "0x383b50", + "value": "0x0", + "input": "0x60a060405234801562000010575f80fd5b50604051620020123803806200201283398101604081905262000033916200048e565b6040518060400160405280600f81526020016e2bb930b83832b2102134ba31b7b4b760891b815250604051806040016040528060048152602001635742544360e01b815250818181600590816200008b919062000561565b5060066200009a828262000561565b50506007805460ff1916905550620000b35f336200017f565b620000cd5f8051602062001ff2833981519152336200017f565b620000e75f8051602062001fd2833981519152336200017f565b50620000f690505f826200017f565b620001105f8051602062001fd2833981519152826200017f565b6001600160a01b038216608052620001375f8051602062001ff2833981519152836200017f565b620001435f336200018f565b6200015d5f8051602062001ff2833981519152336200018f565b620001775f8051602062001fd2833981519152336200018f565b505062000675565b6200018b8282620001b9565b5050565b6200019b8282620001de565b5f828152600160205260409020620001b490826200025c565b505050565b620001c582826200027b565b5f828152600160205260409020620001b4908262000319565b5f828152602081815260408083206001600160a01b038516845290915290205460ff16156200018b575f828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b5f62000272836001600160a01b0384166200032f565b90505b92915050565b5f828152602081815260408083206001600160a01b038516845290915290205460ff166200018b575f828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620002d53390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b5f62000272836001600160a01b03841662000423565b5f818152600183016020526040812054801562000419575f620003546001836200062d565b85549091505f9062000369906001906200062d565b9050818114620003cf575f865f0182815481106200038b576200038b6200064d565b905f5260205f200154905080875f018481548110620003ae57620003ae6200064d565b5f918252602080832090910192909255918252600188019052604090208390555b8554869080620003e357620003e362000661565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f90556001935050505062000275565b5f91505062000275565b5f8181526001830160205260408120546200046a57508154600181810184555f84815260208082209093018490558454848252828601909352604090209190915562000275565b505f62000275565b80516001600160a01b038116811462000489575f80fd5b919050565b5f8060408385031215620004a0575f80fd5b620004ab8362000472565b9150620004bb6020840162000472565b90509250929050565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680620004ed57607f821691505b6020821081036200050c57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620001b457805f5260205f20601f840160051c81016020851015620005395750805b601f840160051c820191505b818110156200055a575f815560010162000545565b5050505050565b81516001600160401b038111156200057d576200057d620004c4565b62000595816200058e8454620004d8565b8462000512565b602080601f831160018114620005cb575f8415620005b35750858301515b5f19600386901b1c1916600185901b17855562000625565b5f85815260208120601f198616915b82811015620005fb57888601518255948401946001909101908401620005da565b50858210156200061957878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b818103818111156200027557634e487b7160e01b5f52601160045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52603160045260245ffd5b60805161193d620006955f395f81816104260152611037015261193d5ff3fe608060405234801561000f575f80fd5b50600436106101c6575f3560e01c806370a08231116100fe578063a457c2d71161009e578063d547741f1161006e578063d547741f146103d4578063dd62ed3e146103e7578063e63ab1e9146103fa578063f56c84e514610421575f80fd5b8063a457c2d714610374578063a9059cbb14610387578063ca15c8731461039a578063d5391393146103ad575f80fd5b80639010d07c116100d95780639010d07c1461032757806391d148541461035257806395d89b4114610365578063a217fddf1461036d575f80fd5b806370a08231146102e457806379cc67901461030c5780638456cb591461031f575f80fd5b8063313ce567116101695780633f4ba83a116101445780633f4ba83a146102ab57806340c10f19146102b357806342966c68146102c65780635c975abb146102d9575f80fd5b8063313ce5671461027657806336568abe146102855780633950935114610298575f80fd5b806318160ddd116101a457806318160ddd1461021a57806323b872dd1461022c578063248a9ca31461023f5780632f2ff15d14610261575f80fd5b806301ffc9a7146101ca57806306fdde03146101f2578063095ea7b314610207575b5f80fd5b6101dd6101d8366004611620565b610448565b60405190151581526020015b60405180910390f35b6101fa610472565b6040516101e99190611669565b6101dd6102153660046116b6565b610502565b6004545b6040519081526020016101e9565b6101dd61023a3660046116de565b610519565b61021e61024d366004611717565b5f9081526020819052604090206001015490565b61027461026f36600461172e565b61053c565b005b604051600881526020016101e9565b61027461029336600461172e565b610565565b6101dd6102a63660046116b6565b6105e8565b610274610609565b6102746102c13660046116b6565b6106af565b6102746102d4366004611717565b61074e565b60075460ff166101dd565b61021e6102f2366004611758565b6001600160a01b03165f9081526002602052604090205490565b61027461031a3660046116b6565b61075b565b610274610770565b61033a610335366004611771565b610814565b6040516001600160a01b0390911681526020016101e9565b6101dd61036036600461172e565b610832565b6101fa61085a565b61021e5f81565b6101dd6103823660046116b6565b610869565b6101dd6103953660046116b6565b6108e3565b61021e6103a8366004611717565b6108f0565b61021e7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6102746103e236600461172e565b610906565b61021e6103f5366004611791565b61092a565b61021e7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b61033a7f000000000000000000000000000000000000000000000000000000000000000081565b5f6001600160e01b03198216635a05180f60e01b148061046c575061046c82610954565b92915050565b606060058054610481906117b9565b80601f01602080910402602001604051908101604052809291908181526020018280546104ad906117b9565b80156104f85780601f106104cf576101008083540402835291602001916104f8565b820191905f5260205f20905b8154815290600101906020018083116104db57829003601f168201915b5050505050905090565b5f3361050f818585610988565b5060019392505050565b5f33610526858285610aab565b610531858585610b23565b506001949350505050565b5f8281526020819052604090206001015461055681610cfa565b6105608383610d04565b505050565b6001600160a01b03811633146105da5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6105e48282610d25565b5050565b5f3361050f8185856105fa838361092a565b6106049190611805565b610988565b6106337f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33610832565b6106a55760405162461bcd60e51b815260206004820152603960248201527f45524332305072657365744d696e7465725061757365723a206d75737420686160448201527f76652070617573657220726f6c6520746f20756e70617573650000000000000060648201526084016105d1565b6106ad610d46565b565b6106d97f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610832565b6107445760405162461bcd60e51b815260206004820152603660248201527f45524332305072657365744d696e7465725061757365723a206d7573742068616044820152751d99481b5a5b9d195c881c9bdb19481d1bc81b5a5b9d60521b60648201526084016105d1565b6105e48282610d98565b6107583382610e7f565b50565b610766823383610aab565b6105e48282610e7f565b61079a7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33610832565b61080c5760405162461bcd60e51b815260206004820152603760248201527f45524332305072657365744d696e7465725061757365723a206d75737420686160448201527f76652070617573657220726f6c6520746f20706175736500000000000000000060648201526084016105d1565b6106ad610fd5565b5f82815260016020526040812061082b9083611012565b9392505050565b5f918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b606060068054610481906117b9565b5f3381610876828661092a565b9050838110156108d65760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105d1565b6105318286868403610988565b5f3361050f818585610b23565b5f81815260016020526040812061046c9061101d565b5f8281526020819052604090206001015461092081610cfa565b6105608383610d25565b6001600160a01b039182165f90815260036020908152604080832093909416825291909152205490565b5f6001600160e01b03198216637965db0b60e01b148061046c57506301ffc9a760e01b6001600160e01b031983161461046c565b6001600160a01b0383166109ea5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105d1565b6001600160a01b038216610a4b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105d1565b6001600160a01b038381165f8181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f610ab6848461092a565b90505f198114610b1d5781811015610b105760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016105d1565b610b1d8484848403610988565b50505050565b6001600160a01b038316610b875760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105d1565b6001600160a01b038216610be95760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105d1565b610bf4838383611026565b6001600160a01b0383165f9081526002602052604090205481811015610c6b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105d1565b6001600160a01b038085165f90815260026020526040808220858503905591851681529081208054849290610ca1908490611805565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610ced91815260200190565b60405180910390a3610b1d565b61075881336110c2565b610d0e8282611126565b5f82815260016020526040902061056090826111a9565b610d2f82826111bd565b5f8281526001602052604090206105609082611221565b610d4e611235565b6007805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b038216610dee5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105d1565b610df95f8383611026565b8060045f828254610e0a9190611805565b90915550506001600160a01b0382165f9081526002602052604081208054839290610e36908490611805565b90915550506040518181526001600160a01b038316905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038216610edf5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105d1565b610eea825f83611026565b6001600160a01b0382165f9081526002602052604090205481811015610f5d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105d1565b6001600160a01b0383165f908152600260205260408120838303905560048054849290610f8b908490611818565b90915550506040518281525f906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b610fdd61127e565b6007805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610d7b3390565b5f61082b83836112c4565b5f61046c825490565b6001600160a01b0382166110b757337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146110b75760405162461bcd60e51b815260206004820152602260248201527f574254433a206f6e6c7920676174657761792063616e206275726e20746f6b656044820152616e7360f01b60648201526084016105d1565b6105608383836112ea565b6110cc8282610832565b6105e4576110e4816001600160a01b031660146112f5565b6110ef8360206112f5565b60405160200161110092919061182b565b60408051601f198184030181529082905262461bcd60e51b82526105d191600401611669565b6111308282610832565b6105e4575f828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556111653390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b5f61082b836001600160a01b03841661148b565b6111c78282610832565b156105e4575f828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b5f61082b836001600160a01b0384166114d7565b60075460ff166106ad5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016105d1565b60075460ff16156106ad5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016105d1565b5f825f0182815481106112d9576112d961189f565b905f5260205f200154905092915050565b6105608383836115ba565b60605f6113038360026118b3565b61130e906002611805565b67ffffffffffffffff811115611326576113266118ca565b6040519080825280601f01601f191660200182016040528015611350576020820181803683370190505b509050600360fc1b815f8151811061136a5761136a61189f565b60200101906001600160f81b03191690815f1a905350600f60fb1b816001815181106113985761139861189f565b60200101906001600160f81b03191690815f1a9053505f6113ba8460026118b3565b6113c5906001611805565b90505b600181111561143c576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106113f9576113f961189f565b1a60f81b82828151811061140f5761140f61189f565b60200101906001600160f81b03191690815f1a90535060049490941c93611435816118de565b90506113c8565b50831561082b5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016105d1565b5f8181526001830160205260408120546114d057508154600181810184555f84815260208082209093018490558454848252828601909352604090209190915561046c565b505f61046c565b5f81815260018301602052604081205480156115b1575f6114f9600183611818565b85549091505f9061150c90600190611818565b905081811461156b575f865f01828154811061152a5761152a61189f565b905f5260205f200154905080875f01848154811061154a5761154a61189f565b5f918252602080832090910192909255918252600188019052604090208390555b855486908061157c5761157c6118f3565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f90556001935050505061046c565b5f91505061046c565b60075460ff16156105605760405162461bcd60e51b815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e736665722077686044820152691a5b19481c185d5cd95960b21b60648201526084016105d1565b5f60208284031215611630575f80fd5b81356001600160e01b03198116811461082b575f80fd5b5f5b83811015611661578181015183820152602001611649565b50505f910152565b602081525f8251806020840152611687816040850160208701611647565b601f01601f19169190910160400192915050565b80356001600160a01b03811681146116b1575f80fd5b919050565b5f80604083850312156116c7575f80fd5b6116d08361169b565b946020939093013593505050565b5f805f606084860312156116f0575f80fd5b6116f98461169b565b92506117076020850161169b565b9150604084013590509250925092565b5f60208284031215611727575f80fd5b5035919050565b5f806040838503121561173f575f80fd5b8235915061174f6020840161169b565b90509250929050565b5f60208284031215611768575f80fd5b61082b8261169b565b5f8060408385031215611782575f80fd5b50508035926020909101359150565b5f80604083850312156117a2575f80fd5b6117ab8361169b565b915061174f6020840161169b565b600181811c908216806117cd57607f821691505b6020821081036117eb57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561046c5761046c6117f1565b8181038181111561046c5761046c6117f1565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081525f8351611862816017850160208801611647565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611893816028840160208801611647565b01602801949350505050565b634e487b7160e01b5f52603260045260245ffd5b808202811582820484141761046c5761046c6117f1565b634e487b7160e01b5f52604160045260245ffd5b5f816118ec576118ec6117f1565b505f190190565b634e487b7160e01b5f52603160045260245ffdfea2646970667358221220e35b77cb07a857bc312d350b01ab89b055e5923d9e774776a1e0241dd6fcce9c64736f6c6343000817003365d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6000000000000000000000000cee681c9108c42c710c6a8a949307d5f13c9f3ca0000000000000000000000001ad54d61f47acbcba99fb6540a1694eb2f47ab95", + "nonce": "0x2fbcc", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": false + } + ], + "receipts": [], + "libraries": [], + "pending": [], + "returns": {}, + "timestamp": 1724733474, + "chain": 2021, + "commit": "77b3b4c" +} \ No newline at end of file diff --git a/broadcast/WBTCDeploy.s.sol/2021/run-1724733491.json b/broadcast/WBTCDeploy.s.sol/2021/run-1724733491.json new file mode 100644 index 00000000..54a10bdc --- /dev/null +++ b/broadcast/WBTCDeploy.s.sol/2021/run-1724733491.json @@ -0,0 +1,28 @@ +{ + "transactions": [ + { + "hash": null, + "transactionType": "CALL", + "contractName": null, + "contractAddress": null, + "function": null, + "arguments": null, + "transaction": { + "from": "0x968d0cd7343f711216817e617d3f92a23dc91c07", + "value": "0x0", + "input": "0x60a060405234801562000010575f80fd5b50604051620020123803806200201283398101604081905262000033916200048e565b6040518060400160405280600f81526020016e2bb930b83832b2102134ba31b7b4b760891b815250604051806040016040528060048152602001635742544360e01b815250818181600590816200008b919062000561565b5060066200009a828262000561565b50506007805460ff1916905550620000b35f336200017f565b620000cd5f8051602062001ff2833981519152336200017f565b620000e75f8051602062001fd2833981519152336200017f565b50620000f690505f826200017f565b620001105f8051602062001fd2833981519152826200017f565b6001600160a01b038216608052620001375f8051602062001ff2833981519152836200017f565b620001435f336200018f565b6200015d5f8051602062001ff2833981519152336200018f565b620001775f8051602062001fd2833981519152336200018f565b505062000675565b6200018b8282620001b9565b5050565b6200019b8282620001de565b5f828152600160205260409020620001b490826200025c565b505050565b620001c582826200027b565b5f828152600160205260409020620001b4908262000319565b5f828152602081815260408083206001600160a01b038516845290915290205460ff16156200018b575f828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b5f62000272836001600160a01b0384166200032f565b90505b92915050565b5f828152602081815260408083206001600160a01b038516845290915290205460ff166200018b575f828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620002d53390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b5f62000272836001600160a01b03841662000423565b5f818152600183016020526040812054801562000419575f620003546001836200062d565b85549091505f9062000369906001906200062d565b9050818114620003cf575f865f0182815481106200038b576200038b6200064d565b905f5260205f200154905080875f018481548110620003ae57620003ae6200064d565b5f918252602080832090910192909255918252600188019052604090208390555b8554869080620003e357620003e362000661565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f90556001935050505062000275565b5f91505062000275565b5f8181526001830160205260408120546200046a57508154600181810184555f84815260208082209093018490558454848252828601909352604090209190915562000275565b505f62000275565b80516001600160a01b038116811462000489575f80fd5b919050565b5f8060408385031215620004a0575f80fd5b620004ab8362000472565b9150620004bb6020840162000472565b90509250929050565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680620004ed57607f821691505b6020821081036200050c57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620001b457805f5260205f20601f840160051c81016020851015620005395750805b601f840160051c820191505b818110156200055a575f815560010162000545565b5050505050565b81516001600160401b038111156200057d576200057d620004c4565b62000595816200058e8454620004d8565b8462000512565b602080601f831160018114620005cb575f8415620005b35750858301515b5f19600386901b1c1916600185901b17855562000625565b5f85815260208120601f198616915b82811015620005fb57888601518255948401946001909101908401620005da565b50858210156200061957878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b818103818111156200027557634e487b7160e01b5f52601160045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52603160045260245ffd5b60805161193d620006955f395f81816104260152611037015261193d5ff3fe608060405234801561000f575f80fd5b50600436106101c6575f3560e01c806370a08231116100fe578063a457c2d71161009e578063d547741f1161006e578063d547741f146103d4578063dd62ed3e146103e7578063e63ab1e9146103fa578063f56c84e514610421575f80fd5b8063a457c2d714610374578063a9059cbb14610387578063ca15c8731461039a578063d5391393146103ad575f80fd5b80639010d07c116100d95780639010d07c1461032757806391d148541461035257806395d89b4114610365578063a217fddf1461036d575f80fd5b806370a08231146102e457806379cc67901461030c5780638456cb591461031f575f80fd5b8063313ce567116101695780633f4ba83a116101445780633f4ba83a146102ab57806340c10f19146102b357806342966c68146102c65780635c975abb146102d9575f80fd5b8063313ce5671461027657806336568abe146102855780633950935114610298575f80fd5b806318160ddd116101a457806318160ddd1461021a57806323b872dd1461022c578063248a9ca31461023f5780632f2ff15d14610261575f80fd5b806301ffc9a7146101ca57806306fdde03146101f2578063095ea7b314610207575b5f80fd5b6101dd6101d8366004611620565b610448565b60405190151581526020015b60405180910390f35b6101fa610472565b6040516101e99190611669565b6101dd6102153660046116b6565b610502565b6004545b6040519081526020016101e9565b6101dd61023a3660046116de565b610519565b61021e61024d366004611717565b5f9081526020819052604090206001015490565b61027461026f36600461172e565b61053c565b005b604051600881526020016101e9565b61027461029336600461172e565b610565565b6101dd6102a63660046116b6565b6105e8565b610274610609565b6102746102c13660046116b6565b6106af565b6102746102d4366004611717565b61074e565b60075460ff166101dd565b61021e6102f2366004611758565b6001600160a01b03165f9081526002602052604090205490565b61027461031a3660046116b6565b61075b565b610274610770565b61033a610335366004611771565b610814565b6040516001600160a01b0390911681526020016101e9565b6101dd61036036600461172e565b610832565b6101fa61085a565b61021e5f81565b6101dd6103823660046116b6565b610869565b6101dd6103953660046116b6565b6108e3565b61021e6103a8366004611717565b6108f0565b61021e7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6102746103e236600461172e565b610906565b61021e6103f5366004611791565b61092a565b61021e7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b61033a7f000000000000000000000000000000000000000000000000000000000000000081565b5f6001600160e01b03198216635a05180f60e01b148061046c575061046c82610954565b92915050565b606060058054610481906117b9565b80601f01602080910402602001604051908101604052809291908181526020018280546104ad906117b9565b80156104f85780601f106104cf576101008083540402835291602001916104f8565b820191905f5260205f20905b8154815290600101906020018083116104db57829003601f168201915b5050505050905090565b5f3361050f818585610988565b5060019392505050565b5f33610526858285610aab565b610531858585610b23565b506001949350505050565b5f8281526020819052604090206001015461055681610cfa565b6105608383610d04565b505050565b6001600160a01b03811633146105da5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6105e48282610d25565b5050565b5f3361050f8185856105fa838361092a565b6106049190611805565b610988565b6106337f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33610832565b6106a55760405162461bcd60e51b815260206004820152603960248201527f45524332305072657365744d696e7465725061757365723a206d75737420686160448201527f76652070617573657220726f6c6520746f20756e70617573650000000000000060648201526084016105d1565b6106ad610d46565b565b6106d97f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610832565b6107445760405162461bcd60e51b815260206004820152603660248201527f45524332305072657365744d696e7465725061757365723a206d7573742068616044820152751d99481b5a5b9d195c881c9bdb19481d1bc81b5a5b9d60521b60648201526084016105d1565b6105e48282610d98565b6107583382610e7f565b50565b610766823383610aab565b6105e48282610e7f565b61079a7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33610832565b61080c5760405162461bcd60e51b815260206004820152603760248201527f45524332305072657365744d696e7465725061757365723a206d75737420686160448201527f76652070617573657220726f6c6520746f20706175736500000000000000000060648201526084016105d1565b6106ad610fd5565b5f82815260016020526040812061082b9083611012565b9392505050565b5f918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b606060068054610481906117b9565b5f3381610876828661092a565b9050838110156108d65760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105d1565b6105318286868403610988565b5f3361050f818585610b23565b5f81815260016020526040812061046c9061101d565b5f8281526020819052604090206001015461092081610cfa565b6105608383610d25565b6001600160a01b039182165f90815260036020908152604080832093909416825291909152205490565b5f6001600160e01b03198216637965db0b60e01b148061046c57506301ffc9a760e01b6001600160e01b031983161461046c565b6001600160a01b0383166109ea5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105d1565b6001600160a01b038216610a4b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105d1565b6001600160a01b038381165f8181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f610ab6848461092a565b90505f198114610b1d5781811015610b105760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016105d1565b610b1d8484848403610988565b50505050565b6001600160a01b038316610b875760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105d1565b6001600160a01b038216610be95760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105d1565b610bf4838383611026565b6001600160a01b0383165f9081526002602052604090205481811015610c6b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105d1565b6001600160a01b038085165f90815260026020526040808220858503905591851681529081208054849290610ca1908490611805565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610ced91815260200190565b60405180910390a3610b1d565b61075881336110c2565b610d0e8282611126565b5f82815260016020526040902061056090826111a9565b610d2f82826111bd565b5f8281526001602052604090206105609082611221565b610d4e611235565b6007805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b038216610dee5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105d1565b610df95f8383611026565b8060045f828254610e0a9190611805565b90915550506001600160a01b0382165f9081526002602052604081208054839290610e36908490611805565b90915550506040518181526001600160a01b038316905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038216610edf5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105d1565b610eea825f83611026565b6001600160a01b0382165f9081526002602052604090205481811015610f5d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105d1565b6001600160a01b0383165f908152600260205260408120838303905560048054849290610f8b908490611818565b90915550506040518281525f906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b610fdd61127e565b6007805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610d7b3390565b5f61082b83836112c4565b5f61046c825490565b6001600160a01b0382166110b757337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146110b75760405162461bcd60e51b815260206004820152602260248201527f574254433a206f6e6c7920676174657761792063616e206275726e20746f6b656044820152616e7360f01b60648201526084016105d1565b6105608383836112ea565b6110cc8282610832565b6105e4576110e4816001600160a01b031660146112f5565b6110ef8360206112f5565b60405160200161110092919061182b565b60408051601f198184030181529082905262461bcd60e51b82526105d191600401611669565b6111308282610832565b6105e4575f828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556111653390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b5f61082b836001600160a01b03841661148b565b6111c78282610832565b156105e4575f828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b5f61082b836001600160a01b0384166114d7565b60075460ff166106ad5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016105d1565b60075460ff16156106ad5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016105d1565b5f825f0182815481106112d9576112d961189f565b905f5260205f200154905092915050565b6105608383836115ba565b60605f6113038360026118b3565b61130e906002611805565b67ffffffffffffffff811115611326576113266118ca565b6040519080825280601f01601f191660200182016040528015611350576020820181803683370190505b509050600360fc1b815f8151811061136a5761136a61189f565b60200101906001600160f81b03191690815f1a905350600f60fb1b816001815181106113985761139861189f565b60200101906001600160f81b03191690815f1a9053505f6113ba8460026118b3565b6113c5906001611805565b90505b600181111561143c576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106113f9576113f961189f565b1a60f81b82828151811061140f5761140f61189f565b60200101906001600160f81b03191690815f1a90535060049490941c93611435816118de565b90506113c8565b50831561082b5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016105d1565b5f8181526001830160205260408120546114d057508154600181810184555f84815260208082209093018490558454848252828601909352604090209190915561046c565b505f61046c565b5f81815260018301602052604081205480156115b1575f6114f9600183611818565b85549091505f9061150c90600190611818565b905081811461156b575f865f01828154811061152a5761152a61189f565b905f5260205f200154905080875f01848154811061154a5761154a61189f565b5f918252602080832090910192909255918252600188019052604090208390555b855486908061157c5761157c6118f3565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f90556001935050505061046c565b5f91505061046c565b60075460ff16156105605760405162461bcd60e51b815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e736665722077686044820152691a5b19481c185d5cd95960b21b60648201526084016105d1565b5f60208284031215611630575f80fd5b81356001600160e01b03198116811461082b575f80fd5b5f5b83811015611661578181015183820152602001611649565b50505f910152565b602081525f8251806020840152611687816040850160208701611647565b601f01601f19169190910160400192915050565b80356001600160a01b03811681146116b1575f80fd5b919050565b5f80604083850312156116c7575f80fd5b6116d08361169b565b946020939093013593505050565b5f805f606084860312156116f0575f80fd5b6116f98461169b565b92506117076020850161169b565b9150604084013590509250925092565b5f60208284031215611727575f80fd5b5035919050565b5f806040838503121561173f575f80fd5b8235915061174f6020840161169b565b90509250929050565b5f60208284031215611768575f80fd5b61082b8261169b565b5f8060408385031215611782575f80fd5b50508035926020909101359150565b5f80604083850312156117a2575f80fd5b6117ab8361169b565b915061174f6020840161169b565b600181811c908216806117cd57607f821691505b6020821081036117eb57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561046c5761046c6117f1565b8181038181111561046c5761046c6117f1565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081525f8351611862816017850160208801611647565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611893816028840160208801611647565b01602801949350505050565b634e487b7160e01b5f52603260045260245ffd5b808202811582820484141761046c5761046c6117f1565b634e487b7160e01b5f52604160045260245ffd5b5f816118ec576118ec6117f1565b505f190190565b634e487b7160e01b5f52603160045260245ffdfea2646970667358221220e35b77cb07a857bc312d350b01ab89b055e5923d9e774776a1e0241dd6fcce9c64736f6c6343000817003365d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6000000000000000000000000cee681c9108c42c710c6a8a949307d5f13c9f3ca0000000000000000000000001ad54d61f47acbcba99fb6540a1694eb2f47ab95", + "nonce": "0x2fbcd", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": false + } + ], + "receipts": [], + "libraries": [], + "pending": [], + "returns": {}, + "timestamp": 1724733491, + "chain": 2021, + "commit": "77b3b4c" +} \ No newline at end of file diff --git a/broadcast/WBTCDeploy.s.sol/2021/run-1724733772.json b/broadcast/WBTCDeploy.s.sol/2021/run-1724733772.json new file mode 100644 index 00000000..0ee7dd99 --- /dev/null +++ b/broadcast/WBTCDeploy.s.sol/2021/run-1724733772.json @@ -0,0 +1,190 @@ +{ + "transactions": [ + { + "hash": "0x500085b5bb075847e555d6cc31733b8a71d42202d4378d6af166b204f1f8ded7", + "transactionType": "CALL", + "contractName": null, + "contractAddress": null, + "function": null, + "arguments": null, + "transaction": { + "from": "0x968d0cd7343f711216817e617d3f92a23dc91c07", + "value": "0x0", + "input": "0x60a06040523480156200001157600080fd5b50604051620020bd380380620020bd8339810160408190526200003491620004b4565b6040518060400160405280600f81526020016e2bb930b83832b2102134ba31b7b4b760891b815250604051806040016040528060048152602001635742544360e01b815250818181600590816200008c919062000592565b5060066200009b828262000592565b50506007805460ff1916905550620000b560003362000189565b620000d06000805160206200209d8339815191523362000189565b620000eb6000805160206200207d8339815191523362000189565b50620000fb905060008262000189565b620001166000805160206200207d8339815191528262000189565b6001600160a01b0382166080526200013e6000805160206200209d8339815191528362000189565b6200014b60003362000199565b620001666000805160206200209d8339815191523362000199565b620001816000805160206200207d8339815191523362000199565b5050620006ac565b620001958282620001c4565b5050565b620001a58282620001ea565b6000828152600160205260409020620001bf90826200026a565b505050565b620001d082826200028a565b6000828152600160205260409020620001bf90826200032a565b6000828152602081815260408083206001600160a01b038516845290915290205460ff161562000195576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600062000281836001600160a01b03841662000341565b90505b92915050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1662000195576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620002e63390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600062000281836001600160a01b03841662000445565b600081815260018301602052604081205480156200043a576000620003686001836200065e565b85549091506000906200037e906001906200065e565b9050818114620003ea576000866000018281548110620003a257620003a262000680565b9060005260206000200154905080876000018481548110620003c857620003c862000680565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080620003fe57620003fe62000696565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505062000284565b600091505062000284565b60008181526001830160205260408120546200048e5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000284565b50600062000284565b80516001600160a01b0381168114620004af57600080fd5b919050565b60008060408385031215620004c857600080fd5b620004d38362000497565b9150620004e36020840162000497565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200051757607f821691505b6020821081036200053857634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001bf576000816000526020600020601f850160051c81016020861015620005695750805b601f850160051c820191505b818110156200058a5782815560010162000575565b505050505050565b81516001600160401b03811115620005ae57620005ae620004ec565b620005c681620005bf845462000502565b846200053e565b602080601f831160018114620005fe5760008415620005e55750858301515b600019600386901b1c1916600185901b1785556200058a565b600085815260208120601f198616915b828110156200062f578886015182559484019460019091019084016200060e565b50858210156200064e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b818103818111156200028457634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b6080516119ae620006cf60003960008181610433015261106401526119ae6000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c806370a0823111610104578063a457c2d7116100a2578063d547741f11610071578063d547741f146103e1578063dd62ed3e146103f4578063e63ab1e914610407578063f56c84e51461042e57600080fd5b8063a457c2d714610381578063a9059cbb14610394578063ca15c873146103a7578063d5391393146103ba57600080fd5b80639010d07c116100de5780639010d07c1461033357806391d148541461035e57806395d89b4114610371578063a217fddf1461037957600080fd5b806370a08231146102ef57806379cc6790146103185780638456cb591461032b57600080fd5b8063313ce567116101715780633f4ba83a1161014b5780633f4ba83a146102b657806340c10f19146102be57806342966c68146102d15780635c975abb146102e457600080fd5b8063313ce5671461028157806336568abe1461029057806339509351146102a357600080fd5b806318160ddd116101ad57806318160ddd1461022457806323b872dd14610236578063248a9ca3146102495780632f2ff15d1461026c57600080fd5b806301ffc9a7146101d457806306fdde03146101fc578063095ea7b314610211575b600080fd5b6101e76101e236600461166e565b610455565b60405190151581526020015b60405180910390f35b610204610480565b6040516101f391906116bc565b6101e761021f36600461170b565b610512565b6004545b6040519081526020016101f3565b6101e7610244366004611735565b61052a565b610228610257366004611771565b60009081526020819052604090206001015490565b61027f61027a36600461178a565b61054e565b005b604051600881526020016101f3565b61027f61029e36600461178a565b610578565b6101e76102b136600461170b565b6105fb565b61027f61061d565b61027f6102cc36600461170b565b6106c3565b61027f6102df366004611771565b610762565b60075460ff166101e7565b6102286102fd3660046117b6565b6001600160a01b031660009081526002602052604090205490565b61027f61032636600461170b565b61076f565b61027f610784565b6103466103413660046117d1565b610828565b6040516001600160a01b0390911681526020016101f3565b6101e761036c36600461178a565b610847565b610204610870565b610228600081565b6101e761038f36600461170b565b61087f565b6101e76103a236600461170b565b6108fa565b6102286103b5366004611771565b610908565b6102287f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61027f6103ef36600461178a565b61091f565b6102286104023660046117f3565b610944565b6102287f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6103467f000000000000000000000000000000000000000000000000000000000000000081565b60006001600160e01b03198216635a05180f60e01b148061047a575061047a8261096f565b92915050565b60606005805461048f9061181d565b80601f01602080910402602001604051908101604052809291908181526020018280546104bb9061181d565b80156105085780601f106104dd57610100808354040283529160200191610508565b820191906000526020600020905b8154815290600101906020018083116104eb57829003601f168201915b5050505050905090565b6000336105208185856109a4565b5060019392505050565b600033610538858285610ac8565b610543858585610b42565b506001949350505050565b60008281526020819052604090206001015461056981610d1b565b6105738383610d25565b505050565b6001600160a01b03811633146105ed5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6105f78282610d47565b5050565b60003361052081858561060e8383610944565b610618919061186d565b6109a4565b6106477f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33610847565b6106b95760405162461bcd60e51b815260206004820152603960248201527f45524332305072657365744d696e7465725061757365723a206d75737420686160448201527f76652070617573657220726f6c6520746f20756e70617573650000000000000060648201526084016105e4565b6106c1610d69565b565b6106ed7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610847565b6107585760405162461bcd60e51b815260206004820152603660248201527f45524332305072657365744d696e7465725061757365723a206d7573742068616044820152751d99481b5a5b9d195c881c9bdb19481d1bc81b5a5b9d60521b60648201526084016105e4565b6105f78282610dbb565b61076c3382610ea6565b50565b61077a823383610ac8565b6105f78282610ea6565b6107ae7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33610847565b6108205760405162461bcd60e51b815260206004820152603760248201527f45524332305072657365744d696e7465725061757365723a206d75737420686160448201527f76652070617573657220726f6c6520746f20706175736500000000000000000060648201526084016105e4565b6106c1611000565b6000828152600160205260408120610840908361103d565b9392505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60606006805461048f9061181d565b6000338161088d8286610944565b9050838110156108ed5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105e4565b61054382868684036109a4565b600033610520818585610b42565b600081815260016020526040812061047a90611049565b60008281526020819052604090206001015461093a81610d1b565b6105738383610d47565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b60006001600160e01b03198216637965db0b60e01b148061047a57506301ffc9a760e01b6001600160e01b031983161461047a565b6001600160a01b038316610a065760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105e4565b6001600160a01b038216610a675760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105e4565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610ad48484610944565b90506000198114610b3c5781811015610b2f5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016105e4565b610b3c84848484036109a4565b50505050565b6001600160a01b038316610ba65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105e4565b6001600160a01b038216610c085760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105e4565b610c13838383611053565b6001600160a01b03831660009081526002602052604090205481811015610c8b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105e4565b6001600160a01b03808516600090815260026020526040808220858503905591851681529081208054849290610cc290849061186d565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610d0e91815260200190565b60405180910390a3610b3c565b61076c81336110ef565b610d2f8282611153565b600082815260016020526040902061057390826111d7565b610d5182826111ec565b60008281526001602052604090206105739082611251565b610d71611266565b6007805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b038216610e115760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105e4565b610e1d60008383611053565b8060046000828254610e2f919061186d565b90915550506001600160a01b03821660009081526002602052604081208054839290610e5c90849061186d565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038216610f065760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105e4565b610f1282600083611053565b6001600160a01b03821660009081526002602052604090205481811015610f865760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105e4565b6001600160a01b0383166000908152600260205260408120838303905560048054849290610fb5908490611880565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6110086112af565b6007805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610d9e3390565b600061084083836112f5565b600061047a825490565b6001600160a01b0382166110e457337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146110e45760405162461bcd60e51b815260206004820152602260248201527f574254433a206f6e6c7920676174657761792063616e206275726e20746f6b656044820152616e7360f01b60648201526084016105e4565b61057383838361131f565b6110f98282610847565b6105f757611111816001600160a01b0316601461132a565b61111c83602061132a565b60405160200161112d929190611893565b60408051601f198184030181529082905262461bcd60e51b82526105e4916004016116bc565b61115d8282610847565b6105f7576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556111933390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000610840836001600160a01b0384166114c6565b6111f68282610847565b156105f7576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000610840836001600160a01b038416611515565b60075460ff166106c15760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016105e4565b60075460ff16156106c15760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016105e4565b600082600001828154811061130c5761130c611908565b9060005260206000200154905092915050565b610573838383611608565b6060600061133983600261191e565b61134490600261186d565b67ffffffffffffffff81111561135c5761135c611935565b6040519080825280601f01601f191660200182016040528015611386576020820181803683370190505b509050600360fc1b816000815181106113a1576113a1611908565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106113d0576113d0611908565b60200101906001600160f81b031916908160001a90535060006113f484600261191e565b6113ff90600161186d565b90505b6001811115611477576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061143357611433611908565b1a60f81b82828151811061144957611449611908565b60200101906001600160f81b031916908160001a90535060049490941c936114708161194b565b9050611402565b5083156108405760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016105e4565b600081815260018301602052604081205461150d5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561047a565b50600061047a565b600081815260018301602052604081205480156115fe576000611539600183611880565b855490915060009061154d90600190611880565b90508181146115b257600086600001828154811061156d5761156d611908565b906000526020600020015490508087600001848154811061159057611590611908565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806115c3576115c3611962565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061047a565b600091505061047a565b60075460ff16156105735760405162461bcd60e51b815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e736665722077686044820152691a5b19481c185d5cd95960b21b60648201526084016105e4565b60006020828403121561168057600080fd5b81356001600160e01b03198116811461084057600080fd5b60005b838110156116b357818101518382015260200161169b565b50506000910152565b60208152600082518060208401526116db816040850160208701611698565b601f01601f19169190910160400192915050565b80356001600160a01b038116811461170657600080fd5b919050565b6000806040838503121561171e57600080fd5b611727836116ef565b946020939093013593505050565b60008060006060848603121561174a57600080fd5b611753846116ef565b9250611761602085016116ef565b9150604084013590509250925092565b60006020828403121561178357600080fd5b5035919050565b6000806040838503121561179d57600080fd5b823591506117ad602084016116ef565b90509250929050565b6000602082840312156117c857600080fd5b610840826116ef565b600080604083850312156117e457600080fd5b50508035926020909101359150565b6000806040838503121561180657600080fd5b61180f836116ef565b91506117ad602084016116ef565b600181811c9082168061183157607f821691505b60208210810361185157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561047a5761047a611857565b8181038181111561047a5761047a611857565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516118cb816017850160208801611698565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516118fc816028840160208801611698565b01602801949350505050565b634e487b7160e01b600052603260045260246000fd5b808202811582820484141761047a5761047a611857565b634e487b7160e01b600052604160045260246000fd5b60008161195a5761195a611857565b506000190190565b634e487b7160e01b600052603160045260246000fdfea26469706673582212205dd86ef16ff308f621837f32d9154fe528badd8fc9e1f3cb5643801a53b7ead864736f6c6343000817003365d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6000000000000000000000000cee681c9108c42c710c6a8a949307d5f13c9f3ca0000000000000000000000001ad54d61f47acbcba99fb6540a1694eb2f47ab95", + "nonce": "0x2fbcd", + "chainId": "0x7e5" + }, + "additionalContracts": [], + "isFixedGasLimit": false + } + ], + "receipts": [ + { + "status": "0x1", + "cumulativeGasUsed": "0x1c7713", + "logs": [ + { + "address": "0xb94c5ff7049f41bea35d9f5f93dacd91467be669", + "topics": [ + "0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d", + "0x0000000000000000000000000000000000000000000000000000000000000000", + "0x000000000000000000000000968d0cd7343f711216817e617d3f92a23dc91c07", + "0x000000000000000000000000968d0cd7343f711216817e617d3f92a23dc91c07" + ], + "data": "0x", + "blockHash": "0x30ee49b9fcbb98b3d4f1f3c8a887437328e9feb6be38b1069dc955cbffbacec3", + "blockNumber": "0x1cecf2e", + "transactionHash": "0x500085b5bb075847e555d6cc31733b8a71d42202d4378d6af166b204f1f8ded7", + "transactionIndex": "0x0", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0xb94c5ff7049f41bea35d9f5f93dacd91467be669", + "topics": [ + "0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d", + "0x9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6", + "0x000000000000000000000000968d0cd7343f711216817e617d3f92a23dc91c07", + "0x000000000000000000000000968d0cd7343f711216817e617d3f92a23dc91c07" + ], + "data": "0x", + "blockHash": "0x30ee49b9fcbb98b3d4f1f3c8a887437328e9feb6be38b1069dc955cbffbacec3", + "blockNumber": "0x1cecf2e", + "transactionHash": "0x500085b5bb075847e555d6cc31733b8a71d42202d4378d6af166b204f1f8ded7", + "transactionIndex": "0x0", + "logIndex": "0x1", + "removed": false + }, + { + "address": "0xb94c5ff7049f41bea35d9f5f93dacd91467be669", + "topics": [ + "0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d", + "0x65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a", + "0x000000000000000000000000968d0cd7343f711216817e617d3f92a23dc91c07", + "0x000000000000000000000000968d0cd7343f711216817e617d3f92a23dc91c07" + ], + "data": "0x", + "blockHash": "0x30ee49b9fcbb98b3d4f1f3c8a887437328e9feb6be38b1069dc955cbffbacec3", + "blockNumber": "0x1cecf2e", + "transactionHash": "0x500085b5bb075847e555d6cc31733b8a71d42202d4378d6af166b204f1f8ded7", + "transactionIndex": "0x0", + "logIndex": "0x2", + "removed": false + }, + { + "address": "0xb94c5ff7049f41bea35d9f5f93dacd91467be669", + "topics": [ + "0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d", + "0x0000000000000000000000000000000000000000000000000000000000000000", + "0x0000000000000000000000001ad54d61f47acbcba99fb6540a1694eb2f47ab95", + "0x000000000000000000000000968d0cd7343f711216817e617d3f92a23dc91c07" + ], + "data": "0x", + "blockHash": "0x30ee49b9fcbb98b3d4f1f3c8a887437328e9feb6be38b1069dc955cbffbacec3", + "blockNumber": "0x1cecf2e", + "transactionHash": "0x500085b5bb075847e555d6cc31733b8a71d42202d4378d6af166b204f1f8ded7", + "transactionIndex": "0x0", + "logIndex": "0x3", + "removed": false + }, + { + "address": "0xb94c5ff7049f41bea35d9f5f93dacd91467be669", + "topics": [ + "0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d", + "0x65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a", + "0x0000000000000000000000001ad54d61f47acbcba99fb6540a1694eb2f47ab95", + "0x000000000000000000000000968d0cd7343f711216817e617d3f92a23dc91c07" + ], + "data": "0x", + "blockHash": "0x30ee49b9fcbb98b3d4f1f3c8a887437328e9feb6be38b1069dc955cbffbacec3", + "blockNumber": "0x1cecf2e", + "transactionHash": "0x500085b5bb075847e555d6cc31733b8a71d42202d4378d6af166b204f1f8ded7", + "transactionIndex": "0x0", + "logIndex": "0x4", + "removed": false + }, + { + "address": "0xb94c5ff7049f41bea35d9f5f93dacd91467be669", + "topics": [ + "0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d", + "0x9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6", + "0x000000000000000000000000cee681c9108c42c710c6a8a949307d5f13c9f3ca", + "0x000000000000000000000000968d0cd7343f711216817e617d3f92a23dc91c07" + ], + "data": "0x", + "blockHash": "0x30ee49b9fcbb98b3d4f1f3c8a887437328e9feb6be38b1069dc955cbffbacec3", + "blockNumber": "0x1cecf2e", + "transactionHash": "0x500085b5bb075847e555d6cc31733b8a71d42202d4378d6af166b204f1f8ded7", + "transactionIndex": "0x0", + "logIndex": "0x5", + "removed": false + }, + { + "address": "0xb94c5ff7049f41bea35d9f5f93dacd91467be669", + "topics": [ + "0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b", + "0x0000000000000000000000000000000000000000000000000000000000000000", + "0x000000000000000000000000968d0cd7343f711216817e617d3f92a23dc91c07", + "0x000000000000000000000000968d0cd7343f711216817e617d3f92a23dc91c07" + ], + "data": "0x", + "blockHash": "0x30ee49b9fcbb98b3d4f1f3c8a887437328e9feb6be38b1069dc955cbffbacec3", + "blockNumber": "0x1cecf2e", + "transactionHash": "0x500085b5bb075847e555d6cc31733b8a71d42202d4378d6af166b204f1f8ded7", + "transactionIndex": "0x0", + "logIndex": "0x6", + "removed": false + }, + { + "address": "0xb94c5ff7049f41bea35d9f5f93dacd91467be669", + "topics": [ + "0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b", + "0x9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6", + "0x000000000000000000000000968d0cd7343f711216817e617d3f92a23dc91c07", + "0x000000000000000000000000968d0cd7343f711216817e617d3f92a23dc91c07" + ], + "data": "0x", + "blockHash": "0x30ee49b9fcbb98b3d4f1f3c8a887437328e9feb6be38b1069dc955cbffbacec3", + "blockNumber": "0x1cecf2e", + "transactionHash": "0x500085b5bb075847e555d6cc31733b8a71d42202d4378d6af166b204f1f8ded7", + "transactionIndex": "0x0", + "logIndex": "0x7", + "removed": false + }, + { + "address": "0xb94c5ff7049f41bea35d9f5f93dacd91467be669", + "topics": [ + "0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b", + "0x65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a", + "0x000000000000000000000000968d0cd7343f711216817e617d3f92a23dc91c07", + "0x000000000000000000000000968d0cd7343f711216817e617d3f92a23dc91c07" + ], + "data": "0x", + "blockHash": "0x30ee49b9fcbb98b3d4f1f3c8a887437328e9feb6be38b1069dc955cbffbacec3", + "blockNumber": "0x1cecf2e", + "transactionHash": "0x500085b5bb075847e555d6cc31733b8a71d42202d4378d6af166b204f1f8ded7", + "transactionIndex": "0x0", + "logIndex": "0x8", + "removed": false + } + ], + "logsBloom": "0x000000040000000000000000000000000000000000000000000000000000000000001000000000000000000020000040002000000000000000000000000000000000000000000000000000800000000000000000000800000000000000000000400000000200000000000000000008000000000001000000000000000010000000000000400000000000000000001080000000000000000000000000000000000000000000000000000000000000000a0000000000000000001000000000000000000040000080000000000000000000001000000000000100002000000120000010000000000000000000000000000000000400000000000000000000000000", + "type": "0x0", + "transactionHash": "0x500085b5bb075847e555d6cc31733b8a71d42202d4378d6af166b204f1f8ded7", + "transactionIndex": "0x0", + "blockHash": "0x30ee49b9fcbb98b3d4f1f3c8a887437328e9feb6be38b1069dc955cbffbacec3", + "blockNumber": "0x1cecf2e", + "gasUsed": "0x1c7713", + "effectiveGasPrice": "0x4a817c800", + "from": "0x968d0cd7343f711216817e617d3f92a23dc91c07", + "to": null, + "contractAddress": "0xb94c5ff7049f41bea35d9f5f93dacd91467be669" + } + ], + "libraries": [], + "pending": [], + "returns": {}, + "timestamp": 1724733772, + "chain": 2021, + "commit": "77b3b4c" +} \ No newline at end of file diff --git a/broadcast/WBTC_SepoliaDeploy.s.sol/11155111/run-1724734596.json b/broadcast/WBTC_SepoliaDeploy.s.sol/11155111/run-1724734596.json new file mode 100644 index 00000000..b8c77215 --- /dev/null +++ b/broadcast/WBTC_SepoliaDeploy.s.sol/11155111/run-1724734596.json @@ -0,0 +1,29 @@ +{ + "transactions": [ + { + "hash": null, + "transactionType": "CREATE", + "contractName": "WBTC_Sepolia", + "contractAddress": "0x9b137463d4e7986d7f535f9b79e28b4ef1938e9b", + "function": null, + "arguments": null, + "transaction": { + "from": "0x000000000000000000000000000000000000dead", + "gas": "0x131a9a", + "value": "0x0", + "input": "0x60806040523480156200001157600080fd5b506040518060400160405280600f81526020016e2bb930b83832b2102134ba31b7b4b760891b815250604051806040016040528060048152602001635742544360e01b81525081600390816200006891906200022f565b5060046200007782826200022f565b50505062000096336969e10de76676d08000006200009c60201b60201c565b62000323565b6001600160a01b038216620000f75760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b80600260008282546200010b9190620002fb565b90915550506001600160a01b038216600090815260208190526040812080548392906200013a908490620002fb565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001b457607f821691505b602082108103620001d557634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000184576000816000526020600020601f850160051c81016020861015620002065750805b601f850160051c820191505b81811015620002275782815560010162000212565b505050505050565b81516001600160401b038111156200024b576200024b62000189565b62000263816200025c84546200019f565b84620001db565b602080601f8311600181146200029b5760008415620002825750858301515b600019600386901b1c1916600185901b17855562000227565b600085815260208120601f198616915b82811015620002cc57888601518255948401946001909101908401620002ab565b5085821015620002eb5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200031d57634e487b7160e01b600052601160045260246000fd5b92915050565b61087d80620003336000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80633950935111610071578063395093511461012357806370a082311461013657806395d89b411461015f578063a457c2d714610167578063a9059cbb1461017a578063dd62ed3e1461018d57600080fd5b806306fdde03146100ae578063095ea7b3146100cc57806318160ddd146100ef57806323b872dd14610101578063313ce56714610114575b600080fd5b6100b66101a0565b6040516100c391906106c6565b60405180910390f35b6100df6100da366004610731565b610232565b60405190151581526020016100c3565b6002545b6040519081526020016100c3565b6100df61010f36600461075b565b61024c565b604051600881526020016100c3565b6100df610131366004610731565b610270565b6100f3610144366004610797565b6001600160a01b031660009081526020819052604090205490565b6100b6610292565b6100df610175366004610731565b6102a1565b6100df610188366004610731565b610321565b6100f361019b3660046107b9565b61032f565b6060600380546101af906107ec565b80601f01602080910402602001604051908101604052809291908181526020018280546101db906107ec565b80156102285780601f106101fd57610100808354040283529160200191610228565b820191906000526020600020905b81548152906001019060200180831161020b57829003601f168201915b5050505050905090565b60003361024081858561035a565b60019150505b92915050565b60003361025a85828561047e565b6102658585856104f8565b506001949350505050565b600033610240818585610283838361032f565b61028d9190610826565b61035a565b6060600480546101af906107ec565b600033816102af828661032f565b9050838110156103145760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b610265828686840361035a565b6000336102408185856104f8565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166103bc5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161030b565b6001600160a01b03821661041d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161030b565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061048a848461032f565b905060001981146104f257818110156104e55760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161030b565b6104f2848484840361035a565b50505050565b6001600160a01b03831661055c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161030b565b6001600160a01b0382166105be5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161030b565b6001600160a01b038316600090815260208190526040902054818110156106365760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161030b565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061066d908490610826565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516106b991815260200190565b60405180910390a36104f2565b60006020808352835180602085015260005b818110156106f4578581018301518582016040015282016106d8565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461072c57600080fd5b919050565b6000806040838503121561074457600080fd5b61074d83610715565b946020939093013593505050565b60008060006060848603121561077057600080fd5b61077984610715565b925061078760208501610715565b9150604084013590509250925092565b6000602082840312156107a957600080fd5b6107b282610715565b9392505050565b600080604083850312156107cc57600080fd5b6107d583610715565b91506107e360208401610715565b90509250929050565b600181811c9082168061080057607f821691505b60208210810361082057634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561024657634e487b7160e01b600052601160045260246000fdfea26469706673582212203180a6863b12a2ea61310de44db31cb65d795558a269ee3ba8e5c7f2b38bbea764736f6c63430008170033", + "nonce": "0x0", + "chainId": "0xaa36a7" + }, + "additionalContracts": [], + "isFixedGasLimit": false + } + ], + "receipts": [], + "libraries": [], + "pending": [], + "returns": {}, + "timestamp": 1724734596, + "chain": 11155111, + "commit": "77b3b4c" +} \ No newline at end of file diff --git a/broadcast/WBTC_SepoliaDeploy.s.sol/11155111/run-1724734695.json b/broadcast/WBTC_SepoliaDeploy.s.sol/11155111/run-1724734695.json new file mode 100644 index 00000000..83af6f28 --- /dev/null +++ b/broadcast/WBTC_SepoliaDeploy.s.sol/11155111/run-1724734695.json @@ -0,0 +1,62 @@ +{ + "transactions": [ + { + "hash": "0xddb37c46399d4d8d58513ee428cdd513e84767fed256e8e702c2a6c058d1a20b", + "transactionType": "CREATE", + "contractName": "WBTC_Sepolia", + "contractAddress": "0xc65dec9c627e636e32e0c84bc08c30395f2dc4ad", + "function": null, + "arguments": null, + "transaction": { + "from": "0xd90bb8ed38bcde74889d66a5d346f6e0e1a244a7", + "gas": "0x131a9a", + "value": "0x0", + "input": "0x60806040523480156200001157600080fd5b506040518060400160405280600f81526020016e2bb930b83832b2102134ba31b7b4b760891b815250604051806040016040528060048152602001635742544360e01b81525081600390816200006891906200022f565b5060046200007782826200022f565b50505062000096336969e10de76676d08000006200009c60201b60201c565b62000323565b6001600160a01b038216620000f75760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b80600260008282546200010b9190620002fb565b90915550506001600160a01b038216600090815260208190526040812080548392906200013a908490620002fb565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001b457607f821691505b602082108103620001d557634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000184576000816000526020600020601f850160051c81016020861015620002065750805b601f850160051c820191505b81811015620002275782815560010162000212565b505050505050565b81516001600160401b038111156200024b576200024b62000189565b62000263816200025c84546200019f565b84620001db565b602080601f8311600181146200029b5760008415620002825750858301515b600019600386901b1c1916600185901b17855562000227565b600085815260208120601f198616915b82811015620002cc57888601518255948401946001909101908401620002ab565b5085821015620002eb5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200031d57634e487b7160e01b600052601160045260246000fd5b92915050565b61087d80620003336000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80633950935111610071578063395093511461012357806370a082311461013657806395d89b411461015f578063a457c2d714610167578063a9059cbb1461017a578063dd62ed3e1461018d57600080fd5b806306fdde03146100ae578063095ea7b3146100cc57806318160ddd146100ef57806323b872dd14610101578063313ce56714610114575b600080fd5b6100b66101a0565b6040516100c391906106c6565b60405180910390f35b6100df6100da366004610731565b610232565b60405190151581526020016100c3565b6002545b6040519081526020016100c3565b6100df61010f36600461075b565b61024c565b604051600881526020016100c3565b6100df610131366004610731565b610270565b6100f3610144366004610797565b6001600160a01b031660009081526020819052604090205490565b6100b6610292565b6100df610175366004610731565b6102a1565b6100df610188366004610731565b610321565b6100f361019b3660046107b9565b61032f565b6060600380546101af906107ec565b80601f01602080910402602001604051908101604052809291908181526020018280546101db906107ec565b80156102285780601f106101fd57610100808354040283529160200191610228565b820191906000526020600020905b81548152906001019060200180831161020b57829003601f168201915b5050505050905090565b60003361024081858561035a565b60019150505b92915050565b60003361025a85828561047e565b6102658585856104f8565b506001949350505050565b600033610240818585610283838361032f565b61028d9190610826565b61035a565b6060600480546101af906107ec565b600033816102af828661032f565b9050838110156103145760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b610265828686840361035a565b6000336102408185856104f8565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166103bc5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161030b565b6001600160a01b03821661041d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161030b565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061048a848461032f565b905060001981146104f257818110156104e55760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161030b565b6104f2848484840361035a565b50505050565b6001600160a01b03831661055c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161030b565b6001600160a01b0382166105be5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161030b565b6001600160a01b038316600090815260208190526040902054818110156106365760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161030b565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061066d908490610826565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516106b991815260200190565b60405180910390a36104f2565b60006020808352835180602085015260005b818110156106f4578581018301518582016040015282016106d8565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461072c57600080fd5b919050565b6000806040838503121561074457600080fd5b61074d83610715565b946020939093013593505050565b60008060006060848603121561077057600080fd5b61077984610715565b925061078760208501610715565b9150604084013590509250925092565b6000602082840312156107a957600080fd5b6107b282610715565b9392505050565b600080604083850312156107cc57600080fd5b6107d583610715565b91506107e360208401610715565b90509250929050565b600181811c9082168061080057607f821691505b60208210810361082057634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561024657634e487b7160e01b600052601160045260246000fdfea26469706673582212203180a6863b12a2ea61310de44db31cb65d795558a269ee3ba8e5c7f2b38bbea764736f6c63430008170033", + "nonce": "0x2", + "chainId": "0xaa36a7" + }, + "additionalContracts": [], + "isFixedGasLimit": false + } + ], + "receipts": [ + { + "status": "0x1", + "cumulativeGasUsed": "0xe4ee35", + "logs": [ + { + "address": "0xc65dec9c627e636e32e0c84bc08c30395f2dc4ad", + "topics": [ + "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", + "0x0000000000000000000000000000000000000000000000000000000000000000", + "0x000000000000000000000000d90bb8ed38bcde74889d66a5d346f6e0e1a244a7" + ], + "data": "0x0000000000000000000000000000000000000000000069e10de76676d0800000", + "blockHash": "0x608f0075bb69f3a95accc702dfb3a6e320d454e32d390deb34b870b635b2cf68", + "blockNumber": "0x64642e", + "transactionHash": "0xddb37c46399d4d8d58513ee428cdd513e84767fed256e8e702c2a6c058d1a20b", + "transactionIndex": "0x4d", + "logIndex": "0x87", + "removed": false + } + ], + "logsBloom": "0x00040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000008000000000000000000000000000000000000000000000080020000000000000000000800000000000000000000000010000000000008000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000100000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000", + "type": "0x2", + "transactionHash": "0xddb37c46399d4d8d58513ee428cdd513e84767fed256e8e702c2a6c058d1a20b", + "transactionIndex": "0x4d", + "blockHash": "0x608f0075bb69f3a95accc702dfb3a6e320d454e32d390deb34b870b635b2cf68", + "blockNumber": "0x64642e", + "gasUsed": "0x98e09", + "effectiveGasPrice": "0x234323d51", + "from": "0xd90bb8ed38bcde74889d66a5d346f6e0e1a244a7", + "to": null, + "contractAddress": "0xc65dec9c627e636e32e0c84bc08c30395f2dc4ad" + } + ], + "libraries": [], + "pending": [], + "returns": {}, + "timestamp": 1724734695, + "chain": 11155111, + "commit": "77b3b4c" +} \ No newline at end of file diff --git a/deployments/ronin-testnet/WBTC.json b/deployments/ronin-testnet/WBTC.json new file mode 100644 index 00000000..e11082e9 --- /dev/null +++ b/deployments/ronin-testnet/WBTC.json @@ -0,0 +1,330 @@ +{ + "abi": "[{\"type\":\"constructor\",\"inputs\":[{\"name\":\"gateway\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"pauser\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"DEFAULT_ADMIN_ROLE\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"GATEWAY_ADDRESS\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"MINTER_ROLE\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"PAUSER_ROLE\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"allowance\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"spender\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"approve\",\"inputs\":[{\"name\":\"spender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"balanceOf\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"burn\",\"inputs\":[{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"burnFrom\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"decimals\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint8\",\"internalType\":\"uint8\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"decreaseAllowance\",\"inputs\":[{\"name\":\"spender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"subtractedValue\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"getRoleAdmin\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getRoleMember\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"index\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getRoleMemberCount\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"grantRole\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"hasRole\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"increaseAllowance\",\"inputs\":[{\"name\":\"spender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"addedValue\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"mint\",\"inputs\":[{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"name\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"pause\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"paused\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"renounceRole\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"revokeRole\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"supportsInterface\",\"inputs\":[{\"name\":\"interfaceId\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"symbol\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"totalSupply\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"transfer\",\"inputs\":[{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"transferFrom\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"unpause\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"Approval\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"spender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Paused\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"RoleAdminChanged\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"previousAdminRole\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"newAdminRole\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"RoleGranted\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"sender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"RoleRevoked\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"sender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Transfer\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Unpaused\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false}]", + "absolutePath": "WBTC.sol", + "address": "0xb94C5fF7049F41BEa35d9f5F93DaCD91467BE669", + "ast": "", + "blockNumber": 30330666, + "bytecode": "\"0x60a06040523480156200001157600080fd5b50604051620020bd380380620020bd8339810160408190526200003491620004b4565b6040518060400160405280600f81526020016e2bb930b83832b2102134ba31b7b4b760891b815250604051806040016040528060048152602001635742544360e01b815250818181600590816200008c919062000592565b5060066200009b828262000592565b50506007805460ff1916905550620000b560003362000189565b620000d06000805160206200209d8339815191523362000189565b620000eb6000805160206200207d8339815191523362000189565b50620000fb905060008262000189565b620001166000805160206200207d8339815191528262000189565b6001600160a01b0382166080526200013e6000805160206200209d8339815191528362000189565b6200014b60003362000199565b620001666000805160206200209d8339815191523362000199565b620001816000805160206200207d8339815191523362000199565b5050620006ac565b620001958282620001c4565b5050565b620001a58282620001ea565b6000828152600160205260409020620001bf90826200026a565b505050565b620001d082826200028a565b6000828152600160205260409020620001bf90826200032a565b6000828152602081815260408083206001600160a01b038516845290915290205460ff161562000195576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600062000281836001600160a01b03841662000341565b90505b92915050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1662000195576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620002e63390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600062000281836001600160a01b03841662000445565b600081815260018301602052604081205480156200043a576000620003686001836200065e565b85549091506000906200037e906001906200065e565b9050818114620003ea576000866000018281548110620003a257620003a262000680565b9060005260206000200154905080876000018481548110620003c857620003c862000680565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080620003fe57620003fe62000696565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505062000284565b600091505062000284565b60008181526001830160205260408120546200048e5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000284565b50600062000284565b80516001600160a01b0381168114620004af57600080fd5b919050565b60008060408385031215620004c857600080fd5b620004d38362000497565b9150620004e36020840162000497565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200051757607f821691505b6020821081036200053857634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001bf576000816000526020600020601f850160051c81016020861015620005695750805b601f850160051c820191505b818110156200058a5782815560010162000575565b505050505050565b81516001600160401b03811115620005ae57620005ae620004ec565b620005c681620005bf845462000502565b846200053e565b602080601f831160018114620005fe5760008415620005e55750858301515b600019600386901b1c1916600185901b1785556200058a565b600085815260208120601f198616915b828110156200062f578886015182559484019460019091019084016200060e565b50858210156200064e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b818103818111156200028457634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b6080516119ae620006cf60003960008181610433015261106401526119ae6000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c806370a0823111610104578063a457c2d7116100a2578063d547741f11610071578063d547741f146103e1578063dd62ed3e146103f4578063e63ab1e914610407578063f56c84e51461042e57600080fd5b8063a457c2d714610381578063a9059cbb14610394578063ca15c873146103a7578063d5391393146103ba57600080fd5b80639010d07c116100de5780639010d07c1461033357806391d148541461035e57806395d89b4114610371578063a217fddf1461037957600080fd5b806370a08231146102ef57806379cc6790146103185780638456cb591461032b57600080fd5b8063313ce567116101715780633f4ba83a1161014b5780633f4ba83a146102b657806340c10f19146102be57806342966c68146102d15780635c975abb146102e457600080fd5b8063313ce5671461028157806336568abe1461029057806339509351146102a357600080fd5b806318160ddd116101ad57806318160ddd1461022457806323b872dd14610236578063248a9ca3146102495780632f2ff15d1461026c57600080fd5b806301ffc9a7146101d457806306fdde03146101fc578063095ea7b314610211575b600080fd5b6101e76101e236600461166e565b610455565b60405190151581526020015b60405180910390f35b610204610480565b6040516101f391906116bc565b6101e761021f36600461170b565b610512565b6004545b6040519081526020016101f3565b6101e7610244366004611735565b61052a565b610228610257366004611771565b60009081526020819052604090206001015490565b61027f61027a36600461178a565b61054e565b005b604051600881526020016101f3565b61027f61029e36600461178a565b610578565b6101e76102b136600461170b565b6105fb565b61027f61061d565b61027f6102cc36600461170b565b6106c3565b61027f6102df366004611771565b610762565b60075460ff166101e7565b6102286102fd3660046117b6565b6001600160a01b031660009081526002602052604090205490565b61027f61032636600461170b565b61076f565b61027f610784565b6103466103413660046117d1565b610828565b6040516001600160a01b0390911681526020016101f3565b6101e761036c36600461178a565b610847565b610204610870565b610228600081565b6101e761038f36600461170b565b61087f565b6101e76103a236600461170b565b6108fa565b6102286103b5366004611771565b610908565b6102287f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61027f6103ef36600461178a565b61091f565b6102286104023660046117f3565b610944565b6102287f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6103467f000000000000000000000000000000000000000000000000000000000000000081565b60006001600160e01b03198216635a05180f60e01b148061047a575061047a8261096f565b92915050565b60606005805461048f9061181d565b80601f01602080910402602001604051908101604052809291908181526020018280546104bb9061181d565b80156105085780601f106104dd57610100808354040283529160200191610508565b820191906000526020600020905b8154815290600101906020018083116104eb57829003601f168201915b5050505050905090565b6000336105208185856109a4565b5060019392505050565b600033610538858285610ac8565b610543858585610b42565b506001949350505050565b60008281526020819052604090206001015461056981610d1b565b6105738383610d25565b505050565b6001600160a01b03811633146105ed5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6105f78282610d47565b5050565b60003361052081858561060e8383610944565b610618919061186d565b6109a4565b6106477f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33610847565b6106b95760405162461bcd60e51b815260206004820152603960248201527f45524332305072657365744d696e7465725061757365723a206d75737420686160448201527f76652070617573657220726f6c6520746f20756e70617573650000000000000060648201526084016105e4565b6106c1610d69565b565b6106ed7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610847565b6107585760405162461bcd60e51b815260206004820152603660248201527f45524332305072657365744d696e7465725061757365723a206d7573742068616044820152751d99481b5a5b9d195c881c9bdb19481d1bc81b5a5b9d60521b60648201526084016105e4565b6105f78282610dbb565b61076c3382610ea6565b50565b61077a823383610ac8565b6105f78282610ea6565b6107ae7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33610847565b6108205760405162461bcd60e51b815260206004820152603760248201527f45524332305072657365744d696e7465725061757365723a206d75737420686160448201527f76652070617573657220726f6c6520746f20706175736500000000000000000060648201526084016105e4565b6106c1611000565b6000828152600160205260408120610840908361103d565b9392505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60606006805461048f9061181d565b6000338161088d8286610944565b9050838110156108ed5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105e4565b61054382868684036109a4565b600033610520818585610b42565b600081815260016020526040812061047a90611049565b60008281526020819052604090206001015461093a81610d1b565b6105738383610d47565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b60006001600160e01b03198216637965db0b60e01b148061047a57506301ffc9a760e01b6001600160e01b031983161461047a565b6001600160a01b038316610a065760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105e4565b6001600160a01b038216610a675760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105e4565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610ad48484610944565b90506000198114610b3c5781811015610b2f5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016105e4565b610b3c84848484036109a4565b50505050565b6001600160a01b038316610ba65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105e4565b6001600160a01b038216610c085760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105e4565b610c13838383611053565b6001600160a01b03831660009081526002602052604090205481811015610c8b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105e4565b6001600160a01b03808516600090815260026020526040808220858503905591851681529081208054849290610cc290849061186d565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610d0e91815260200190565b60405180910390a3610b3c565b61076c81336110ef565b610d2f8282611153565b600082815260016020526040902061057390826111d7565b610d5182826111ec565b60008281526001602052604090206105739082611251565b610d71611266565b6007805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b038216610e115760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105e4565b610e1d60008383611053565b8060046000828254610e2f919061186d565b90915550506001600160a01b03821660009081526002602052604081208054839290610e5c90849061186d565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038216610f065760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105e4565b610f1282600083611053565b6001600160a01b03821660009081526002602052604090205481811015610f865760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105e4565b6001600160a01b0383166000908152600260205260408120838303905560048054849290610fb5908490611880565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6110086112af565b6007805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610d9e3390565b600061084083836112f5565b600061047a825490565b6001600160a01b0382166110e457337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146110e45760405162461bcd60e51b815260206004820152602260248201527f574254433a206f6e6c7920676174657761792063616e206275726e20746f6b656044820152616e7360f01b60648201526084016105e4565b61057383838361131f565b6110f98282610847565b6105f757611111816001600160a01b0316601461132a565b61111c83602061132a565b60405160200161112d929190611893565b60408051601f198184030181529082905262461bcd60e51b82526105e4916004016116bc565b61115d8282610847565b6105f7576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556111933390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000610840836001600160a01b0384166114c6565b6111f68282610847565b156105f7576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000610840836001600160a01b038416611515565b60075460ff166106c15760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016105e4565b60075460ff16156106c15760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016105e4565b600082600001828154811061130c5761130c611908565b9060005260206000200154905092915050565b610573838383611608565b6060600061133983600261191e565b61134490600261186d565b67ffffffffffffffff81111561135c5761135c611935565b6040519080825280601f01601f191660200182016040528015611386576020820181803683370190505b509050600360fc1b816000815181106113a1576113a1611908565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106113d0576113d0611908565b60200101906001600160f81b031916908160001a90535060006113f484600261191e565b6113ff90600161186d565b90505b6001811115611477576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061143357611433611908565b1a60f81b82828151811061144957611449611908565b60200101906001600160f81b031916908160001a90535060049490941c936114708161194b565b9050611402565b5083156108405760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016105e4565b600081815260018301602052604081205461150d5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561047a565b50600061047a565b600081815260018301602052604081205480156115fe576000611539600183611880565b855490915060009061154d90600190611880565b90508181146115b257600086600001828154811061156d5761156d611908565b906000526020600020015490508087600001848154811061159057611590611908565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806115c3576115c3611962565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061047a565b600091505061047a565b60075460ff16156105735760405162461bcd60e51b815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e736665722077686044820152691a5b19481c185d5cd95960b21b60648201526084016105e4565b60006020828403121561168057600080fd5b81356001600160e01b03198116811461084057600080fd5b60005b838110156116b357818101518382015260200161169b565b50506000910152565b60208152600082518060208401526116db816040850160208701611698565b601f01601f19169190910160400192915050565b80356001600160a01b038116811461170657600080fd5b919050565b6000806040838503121561171e57600080fd5b611727836116ef565b946020939093013593505050565b60008060006060848603121561174a57600080fd5b611753846116ef565b9250611761602085016116ef565b9150604084013590509250925092565b60006020828403121561178357600080fd5b5035919050565b6000806040838503121561179d57600080fd5b823591506117ad602084016116ef565b90509250929050565b6000602082840312156117c857600080fd5b610840826116ef565b600080604083850312156117e457600080fd5b50508035926020909101359150565b6000806040838503121561180657600080fd5b61180f836116ef565b91506117ad602084016116ef565b600181811c9082168061183157607f821691505b60208210810361185157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561047a5761047a611857565b8181038181111561047a5761047a611857565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516118cb816017850160208801611698565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516118fc816028840160208801611698565b01602801949350505050565b634e487b7160e01b600052603260045260246000fd5b808202811582820484141761047a5761047a611857565b634e487b7160e01b600052604160045260246000fd5b60008161195a5761195a611857565b506000190190565b634e487b7160e01b600052603160045260246000fdfea26469706673582212205dd86ef16ff308f621837f32d9154fe528badd8fc9e1f3cb5643801a53b7ead864736f6c6343000817003365d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6\"", + "callValue": 0, + "chainId": 2021, + "constructorArgs": "0x000000000000000000000000cee681c9108c42c710c6a8a949307d5f13c9f3ca0000000000000000000000001ad54d61f47acbcba99fb6540a1694eb2f47ab95", + "contractName": "WBTC", + "deployedBytecode": "\"0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c806370a0823111610104578063a457c2d7116100a2578063d547741f11610071578063d547741f146103e1578063dd62ed3e146103f4578063e63ab1e914610407578063f56c84e51461042e57600080fd5b8063a457c2d714610381578063a9059cbb14610394578063ca15c873146103a7578063d5391393146103ba57600080fd5b80639010d07c116100de5780639010d07c1461033357806391d148541461035e57806395d89b4114610371578063a217fddf1461037957600080fd5b806370a08231146102ef57806379cc6790146103185780638456cb591461032b57600080fd5b8063313ce567116101715780633f4ba83a1161014b5780633f4ba83a146102b657806340c10f19146102be57806342966c68146102d15780635c975abb146102e457600080fd5b8063313ce5671461028157806336568abe1461029057806339509351146102a357600080fd5b806318160ddd116101ad57806318160ddd1461022457806323b872dd14610236578063248a9ca3146102495780632f2ff15d1461026c57600080fd5b806301ffc9a7146101d457806306fdde03146101fc578063095ea7b314610211575b600080fd5b6101e76101e236600461166e565b610455565b60405190151581526020015b60405180910390f35b610204610480565b6040516101f391906116bc565b6101e761021f36600461170b565b610512565b6004545b6040519081526020016101f3565b6101e7610244366004611735565b61052a565b610228610257366004611771565b60009081526020819052604090206001015490565b61027f61027a36600461178a565b61054e565b005b604051600881526020016101f3565b61027f61029e36600461178a565b610578565b6101e76102b136600461170b565b6105fb565b61027f61061d565b61027f6102cc36600461170b565b6106c3565b61027f6102df366004611771565b610762565b60075460ff166101e7565b6102286102fd3660046117b6565b6001600160a01b031660009081526002602052604090205490565b61027f61032636600461170b565b61076f565b61027f610784565b6103466103413660046117d1565b610828565b6040516001600160a01b0390911681526020016101f3565b6101e761036c36600461178a565b610847565b610204610870565b610228600081565b6101e761038f36600461170b565b61087f565b6101e76103a236600461170b565b6108fa565b6102286103b5366004611771565b610908565b6102287f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61027f6103ef36600461178a565b61091f565b6102286104023660046117f3565b610944565b6102287f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6103467f000000000000000000000000000000000000000000000000000000000000000081565b60006001600160e01b03198216635a05180f60e01b148061047a575061047a8261096f565b92915050565b60606005805461048f9061181d565b80601f01602080910402602001604051908101604052809291908181526020018280546104bb9061181d565b80156105085780601f106104dd57610100808354040283529160200191610508565b820191906000526020600020905b8154815290600101906020018083116104eb57829003601f168201915b5050505050905090565b6000336105208185856109a4565b5060019392505050565b600033610538858285610ac8565b610543858585610b42565b506001949350505050565b60008281526020819052604090206001015461056981610d1b565b6105738383610d25565b505050565b6001600160a01b03811633146105ed5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6105f78282610d47565b5050565b60003361052081858561060e8383610944565b610618919061186d565b6109a4565b6106477f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33610847565b6106b95760405162461bcd60e51b815260206004820152603960248201527f45524332305072657365744d696e7465725061757365723a206d75737420686160448201527f76652070617573657220726f6c6520746f20756e70617573650000000000000060648201526084016105e4565b6106c1610d69565b565b6106ed7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610847565b6107585760405162461bcd60e51b815260206004820152603660248201527f45524332305072657365744d696e7465725061757365723a206d7573742068616044820152751d99481b5a5b9d195c881c9bdb19481d1bc81b5a5b9d60521b60648201526084016105e4565b6105f78282610dbb565b61076c3382610ea6565b50565b61077a823383610ac8565b6105f78282610ea6565b6107ae7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33610847565b6108205760405162461bcd60e51b815260206004820152603760248201527f45524332305072657365744d696e7465725061757365723a206d75737420686160448201527f76652070617573657220726f6c6520746f20706175736500000000000000000060648201526084016105e4565b6106c1611000565b6000828152600160205260408120610840908361103d565b9392505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60606006805461048f9061181d565b6000338161088d8286610944565b9050838110156108ed5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105e4565b61054382868684036109a4565b600033610520818585610b42565b600081815260016020526040812061047a90611049565b60008281526020819052604090206001015461093a81610d1b565b6105738383610d47565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b60006001600160e01b03198216637965db0b60e01b148061047a57506301ffc9a760e01b6001600160e01b031983161461047a565b6001600160a01b038316610a065760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105e4565b6001600160a01b038216610a675760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105e4565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610ad48484610944565b90506000198114610b3c5781811015610b2f5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016105e4565b610b3c84848484036109a4565b50505050565b6001600160a01b038316610ba65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105e4565b6001600160a01b038216610c085760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105e4565b610c13838383611053565b6001600160a01b03831660009081526002602052604090205481811015610c8b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105e4565b6001600160a01b03808516600090815260026020526040808220858503905591851681529081208054849290610cc290849061186d565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610d0e91815260200190565b60405180910390a3610b3c565b61076c81336110ef565b610d2f8282611153565b600082815260016020526040902061057390826111d7565b610d5182826111ec565b60008281526001602052604090206105739082611251565b610d71611266565b6007805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b038216610e115760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105e4565b610e1d60008383611053565b8060046000828254610e2f919061186d565b90915550506001600160a01b03821660009081526002602052604081208054839290610e5c90849061186d565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038216610f065760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105e4565b610f1282600083611053565b6001600160a01b03821660009081526002602052604090205481811015610f865760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105e4565b6001600160a01b0383166000908152600260205260408120838303905560048054849290610fb5908490611880565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6110086112af565b6007805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610d9e3390565b600061084083836112f5565b600061047a825490565b6001600160a01b0382166110e457337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146110e45760405162461bcd60e51b815260206004820152602260248201527f574254433a206f6e6c7920676174657761792063616e206275726e20746f6b656044820152616e7360f01b60648201526084016105e4565b61057383838361131f565b6110f98282610847565b6105f757611111816001600160a01b0316601461132a565b61111c83602061132a565b60405160200161112d929190611893565b60408051601f198184030181529082905262461bcd60e51b82526105e4916004016116bc565b61115d8282610847565b6105f7576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556111933390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000610840836001600160a01b0384166114c6565b6111f68282610847565b156105f7576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000610840836001600160a01b038416611515565b60075460ff166106c15760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016105e4565b60075460ff16156106c15760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016105e4565b600082600001828154811061130c5761130c611908565b9060005260206000200154905092915050565b610573838383611608565b6060600061133983600261191e565b61134490600261186d565b67ffffffffffffffff81111561135c5761135c611935565b6040519080825280601f01601f191660200182016040528015611386576020820181803683370190505b509050600360fc1b816000815181106113a1576113a1611908565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106113d0576113d0611908565b60200101906001600160f81b031916908160001a90535060006113f484600261191e565b6113ff90600161186d565b90505b6001811115611477576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061143357611433611908565b1a60f81b82828151811061144957611449611908565b60200101906001600160f81b031916908160001a90535060049490941c936114708161194b565b9050611402565b5083156108405760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016105e4565b600081815260018301602052604081205461150d5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561047a565b50600061047a565b600081815260018301602052604081205480156115fe576000611539600183611880565b855490915060009061154d90600190611880565b90508181146115b257600086600001828154811061156d5761156d611908565b906000526020600020015490508087600001848154811061159057611590611908565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806115c3576115c3611962565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061047a565b600091505061047a565b60075460ff16156105735760405162461bcd60e51b815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e736665722077686044820152691a5b19481c185d5cd95960b21b60648201526084016105e4565b60006020828403121561168057600080fd5b81356001600160e01b03198116811461084057600080fd5b60005b838110156116b357818101518382015260200161169b565b50506000910152565b60208152600082518060208401526116db816040850160208701611698565b601f01601f19169190910160400192915050565b80356001600160a01b038116811461170657600080fd5b919050565b6000806040838503121561171e57600080fd5b611727836116ef565b946020939093013593505050565b60008060006060848603121561174a57600080fd5b611753846116ef565b9250611761602085016116ef565b9150604084013590509250925092565b60006020828403121561178357600080fd5b5035919050565b6000806040838503121561179d57600080fd5b823591506117ad602084016116ef565b90509250929050565b6000602082840312156117c857600080fd5b610840826116ef565b600080604083850312156117e457600080fd5b50508035926020909101359150565b6000806040838503121561180657600080fd5b61180f836116ef565b91506117ad602084016116ef565b600181811c9082168061183157607f821691505b60208210810361185157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561047a5761047a611857565b8181038181111561047a5761047a611857565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516118cb816017850160208801611698565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516118fc816028840160208801611698565b01602801949350505050565b634e487b7160e01b600052603260045260246000fd5b808202811582820484141761047a5761047a611857565b634e487b7160e01b600052604160045260246000fd5b60008161195a5761195a611857565b506000190190565b634e487b7160e01b600052603160045260246000fdfea26469706673582212205dd86ef16ff308f621837f32d9154fe528badd8fc9e1f3cb5643801a53b7ead864736f6c63430008170033\"", + "deployer": "0x968D0Cd7343f711216817E617d3f92a23dC91c07", + "devdoc": { + "version": 1, + "kind": "dev", + "methods": { + "allowance(address,address)": { + "details": "See {IERC20-allowance}." + }, + "approve(address,uint256)": { + "details": "See {IERC20-approve}. NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address." + }, + "balanceOf(address)": { + "details": "See {IERC20-balanceOf}." + }, + "burn(uint256)": { + "details": "Destroys `amount` tokens from the caller. See {ERC20-_burn}." + }, + "burnFrom(address,uint256)": { + "details": "Destroys `amount` tokens from `account`, deducting from the caller's allowance. See {ERC20-_burn} and {ERC20-allowance}. Requirements: - the caller must have allowance for ``accounts``'s tokens of at least `amount`." + }, + "decimals()": { + "details": "Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). Tokens usually opt for a value of 18, imitating the relationship between Ether and Wei. This is the value {ERC20} uses, unless this function is overridden; NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}." + }, + "decreaseAllowance(address,uint256)": { + "details": "Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`." + }, + "getRoleAdmin(bytes32)": { + "details": "Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}." + }, + "getRoleMember(bytes32,uint256)": { + "details": "Returns one of the accounts that have `role`. `index` must be a value between 0 and {getRoleMemberCount}, non-inclusive. Role bearers are not sorted in any particular way, and their ordering may change at any point. WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure you perform all queries on the same block. See the following https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] for more information." + }, + "getRoleMemberCount(bytes32)": { + "details": "Returns the number of accounts that have `role`. Can be used together with {getRoleMember} to enumerate all bearers of a role." + }, + "grantRole(bytes32,address)": { + "details": "Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleGranted} event." + }, + "hasRole(bytes32,address)": { + "details": "Returns `true` if `account` has been granted `role`." + }, + "increaseAllowance(address,uint256)": { + "details": "Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address." + }, + "mint(address,uint256)": { + "details": "Creates `amount` new tokens for `to`. See {ERC20-_mint}. Requirements: - the caller must have the `MINTER_ROLE`." + }, + "name()": { + "details": "Returns the name of the token." + }, + "pause()": { + "details": "Pauses all token transfers. See {ERC20Pausable} and {Pausable-_pause}. Requirements: - the caller must have the `PAUSER_ROLE`." + }, + "paused()": { + "details": "Returns true if the contract is paused, and false otherwise." + }, + "renounceRole(bytes32,address)": { + "details": "Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`. May emit a {RoleRevoked} event." + }, + "revokeRole(bytes32,address)": { + "details": "Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleRevoked} event." + }, + "supportsInterface(bytes4)": { + "details": "See {IERC165-supportsInterface}." + }, + "symbol()": { + "details": "Returns the symbol of the token, usually a shorter version of the name." + }, + "totalSupply()": { + "details": "See {IERC20-totalSupply}." + }, + "transfer(address,uint256)": { + "details": "See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `amount`." + }, + "transferFrom(address,address,uint256)": { + "details": "See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `amount`. - the caller must have allowance for ``from``'s tokens of at least `amount`." + }, + "unpause()": { + "details": "Unpauses all token transfers. See {ERC20Pausable} and {Pausable-_unpause}. Requirements: - the caller must have the `PAUSER_ROLE`." + } + }, + "events": { + "Approval(address,address,uint256)": { + "details": "Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance." + }, + "Paused(address)": { + "details": "Emitted when the pause is triggered by `account`." + }, + "RoleAdminChanged(bytes32,bytes32,bytes32)": { + "details": "Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite {RoleAdminChanged} not being emitted signaling this. _Available since v3.1._" + }, + "RoleGranted(bytes32,address,address)": { + "details": "Emitted when `account` is granted `role`. `sender` is the account that originated the contract call, an admin role bearer except when using {AccessControl-_setupRole}." + }, + "RoleRevoked(bytes32,address,address)": { + "details": "Emitted when `account` is revoked `role`. `sender` is the account that originated the contract call: - if using `revokeRole`, it is the admin role bearer - if using `renounceRole`, it is the role bearer (i.e. `account`)" + }, + "Transfer(address,address,uint256)": { + "details": "Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero." + }, + "Unpaused(address)": { + "details": "Emitted when the pause is lifted by `account`." + } + } + }, + "isFoundry": true, + "metadata": "\"{\\\"compiler\\\":{\\\"version\\\":\\\"0.8.23+commit.f704f362\\\"},\\\"language\\\":\\\"Solidity\\\",\\\"output\\\":{\\\"abi\\\":[{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"gateway\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"pauser\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"constructor\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"owner\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"value\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"Approval\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"Paused\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"previousAdminRole\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"newAdminRole\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"name\\\":\\\"RoleAdminChanged\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"sender\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"RoleGranted\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"sender\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"RoleRevoked\\\",\\\"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\\\":\\\"value\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"Transfer\\\",\\\"type\\\":\\\"event\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"Unpaused\\\",\\\"type\\\":\\\"event\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"DEFAULT_ADMIN_ROLE\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"GATEWAY_ADDRESS\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"MINTER_ROLE\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"PAUSER_ROLE\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"owner\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"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\\\":\\\"approve\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"balanceOf\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"burn\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"burnFrom\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"decimals\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"subtractedValue\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"decreaseAllowance\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"name\\\":\\\"getRoleAdmin\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"index\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"getRoleMember\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"address\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"name\\\":\\\"getRoleMemberCount\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"grantRole\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"hasRole\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"addedValue\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"increaseAllowance\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"mint\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"name\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"string\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"string\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"pause\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"paused\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"renounceRole\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes32\\\",\\\"name\\\":\\\"role\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"revokeRole\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"bytes4\\\",\\\"name\\\":\\\"interfaceId\\\",\\\"type\\\":\\\"bytes4\\\"}],\\\"name\\\":\\\"supportsInterface\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"symbol\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"string\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"string\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"totalSupply\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"transfer\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"from\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"transferFrom\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"unpause\\\",\\\"outputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"}],\\\"devdoc\\\":{\\\"events\\\":{\\\"Approval(address,address,uint256)\\\":{\\\"details\\\":\\\"Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance.\\\"},\\\"Paused(address)\\\":{\\\"details\\\":\\\"Emitted when the pause is triggered by `account`.\\\"},\\\"RoleAdminChanged(bytes32,bytes32,bytes32)\\\":{\\\"details\\\":\\\"Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite {RoleAdminChanged} not being emitted signaling this. _Available since v3.1._\\\"},\\\"RoleGranted(bytes32,address,address)\\\":{\\\"details\\\":\\\"Emitted when `account` is granted `role`. `sender` is the account that originated the contract call, an admin role bearer except when using {AccessControl-_setupRole}.\\\"},\\\"RoleRevoked(bytes32,address,address)\\\":{\\\"details\\\":\\\"Emitted when `account` is revoked `role`. `sender` is the account that originated the contract call: - if using `revokeRole`, it is the admin role bearer - if using `renounceRole`, it is the role bearer (i.e. `account`)\\\"},\\\"Transfer(address,address,uint256)\\\":{\\\"details\\\":\\\"Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero.\\\"},\\\"Unpaused(address)\\\":{\\\"details\\\":\\\"Emitted when the pause is lifted by `account`.\\\"}},\\\"kind\\\":\\\"dev\\\",\\\"methods\\\":{\\\"allowance(address,address)\\\":{\\\"details\\\":\\\"See {IERC20-allowance}.\\\"},\\\"approve(address,uint256)\\\":{\\\"details\\\":\\\"See {IERC20-approve}. NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address.\\\"},\\\"balanceOf(address)\\\":{\\\"details\\\":\\\"See {IERC20-balanceOf}.\\\"},\\\"burn(uint256)\\\":{\\\"details\\\":\\\"Destroys `amount` tokens from the caller. See {ERC20-_burn}.\\\"},\\\"burnFrom(address,uint256)\\\":{\\\"details\\\":\\\"Destroys `amount` tokens from `account`, deducting from the caller's allowance. See {ERC20-_burn} and {ERC20-allowance}. Requirements: - the caller must have allowance for ``accounts``'s tokens of at least `amount`.\\\"},\\\"decimals()\\\":{\\\"details\\\":\\\"Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). Tokens usually opt for a value of 18, imitating the relationship between Ether and Wei. This is the value {ERC20} uses, unless this function is overridden; NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}.\\\"},\\\"decreaseAllowance(address,uint256)\\\":{\\\"details\\\":\\\"Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`.\\\"},\\\"getRoleAdmin(bytes32)\\\":{\\\"details\\\":\\\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\\\"},\\\"getRoleMember(bytes32,uint256)\\\":{\\\"details\\\":\\\"Returns one of the accounts that have `role`. `index` must be a value between 0 and {getRoleMemberCount}, non-inclusive. Role bearers are not sorted in any particular way, and their ordering may change at any point. WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure you perform all queries on the same block. See the following https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] for more information.\\\"},\\\"getRoleMemberCount(bytes32)\\\":{\\\"details\\\":\\\"Returns the number of accounts that have `role`. Can be used together with {getRoleMember} to enumerate all bearers of a role.\\\"},\\\"grantRole(bytes32,address)\\\":{\\\"details\\\":\\\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleGranted} event.\\\"},\\\"hasRole(bytes32,address)\\\":{\\\"details\\\":\\\"Returns `true` if `account` has been granted `role`.\\\"},\\\"increaseAllowance(address,uint256)\\\":{\\\"details\\\":\\\"Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address.\\\"},\\\"mint(address,uint256)\\\":{\\\"details\\\":\\\"Creates `amount` new tokens for `to`. See {ERC20-_mint}. Requirements: - the caller must have the `MINTER_ROLE`.\\\"},\\\"name()\\\":{\\\"details\\\":\\\"Returns the name of the token.\\\"},\\\"pause()\\\":{\\\"details\\\":\\\"Pauses all token transfers. See {ERC20Pausable} and {Pausable-_pause}. Requirements: - the caller must have the `PAUSER_ROLE`.\\\"},\\\"paused()\\\":{\\\"details\\\":\\\"Returns true if the contract is paused, and false otherwise.\\\"},\\\"renounceRole(bytes32,address)\\\":{\\\"details\\\":\\\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`. May emit a {RoleRevoked} event.\\\"},\\\"revokeRole(bytes32,address)\\\":{\\\"details\\\":\\\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleRevoked} event.\\\"},\\\"supportsInterface(bytes4)\\\":{\\\"details\\\":\\\"See {IERC165-supportsInterface}.\\\"},\\\"symbol()\\\":{\\\"details\\\":\\\"Returns the symbol of the token, usually a shorter version of the name.\\\"},\\\"totalSupply()\\\":{\\\"details\\\":\\\"See {IERC20-totalSupply}.\\\"},\\\"transfer(address,uint256)\\\":{\\\"details\\\":\\\"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `amount`.\\\"},\\\"transferFrom(address,address,uint256)\\\":{\\\"details\\\":\\\"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `amount`. - the caller must have allowance for ``from``'s tokens of at least `amount`.\\\"},\\\"unpause()\\\":{\\\"details\\\":\\\"Unpauses all token transfers. See {ERC20Pausable} and {Pausable-_unpause}. Requirements: - the caller must have the `PAUSER_ROLE`.\\\"}},\\\"version\\\":1},\\\"userdoc\\\":{\\\"kind\\\":\\\"user\\\",\\\"methods\\\":{},\\\"version\\\":1}},\\\"settings\\\":{\\\"compilationTarget\\\":{\\\"src/tokens/erc20/WBTC.sol\\\":\\\"WBTC\\\"},\\\"evmVersion\\\":\\\"london\\\",\\\"libraries\\\":{},\\\"metadata\\\":{\\\"bytecodeHash\\\":\\\"ipfs\\\",\\\"useLiteralContent\\\":true},\\\"optimizer\\\":{\\\"enabled\\\":true,\\\"runs\\\":200},\\\"remappings\\\":[\\\":@fdk/=dependencies/@fdk-0.3.1-beta/script/\\\",\\\":@openzeppelin/=dependencies/@openzeppelin-4.7.3/\\\",\\\":@prb/math/=lib/prb-math/\\\",\\\":@prb/test/=dependencies/@prb-test-0.6.5/src/\\\",\\\":@ronin/contracts/=src/\\\",\\\":@ronin/test/=test/\\\",\\\":ds-test/=lib/prb-math/lib/forge-std/lib/ds-test/src/\\\",\\\":forge-std/=dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/\\\",\\\":hardhat-deploy/=node_modules/hardhat-deploy/\\\",\\\":hardhat/=node_modules/hardhat/\\\",\\\":prb-math/=lib/prb-math/src/\\\",\\\":prb-test/=lib/prb-math/lib/prb-test/src/\\\",\\\":solady/=dependencies/@fdk-0.3.1-beta/dependencies/@solady-0.0.228/src/\\\"]},\\\"sources\\\":{\\\"dependencies/@openzeppelin-4.7.3/contracts/access/AccessControl.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (access/AccessControl.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./IAccessControl.sol\\\\\\\";\\\\nimport \\\\\\\"../utils/Context.sol\\\\\\\";\\\\nimport \\\\\\\"../utils/Strings.sol\\\\\\\";\\\\nimport \\\\\\\"../utils/introspection/ERC165.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Contract module that allows children to implement role-based access\\\\n * control mechanisms. This is a lightweight version that doesn't allow enumerating role\\\\n * members except through off-chain means by accessing the contract event logs. Some\\\\n * applications may benefit from on-chain enumerability, for those cases see\\\\n * {AccessControlEnumerable}.\\\\n *\\\\n * Roles are referred to by their `bytes32` identifier. These should be exposed\\\\n * in the external API and be unique. The best way to achieve this is by\\\\n * using `public constant` hash digests:\\\\n *\\\\n * ```\\\\n * bytes32 public constant MY_ROLE = keccak256(\\\\\\\"MY_ROLE\\\\\\\");\\\\n * ```\\\\n *\\\\n * Roles can be used to represent a set of permissions. To restrict access to a\\\\n * function call, use {hasRole}:\\\\n *\\\\n * ```\\\\n * function foo() public {\\\\n * require(hasRole(MY_ROLE, msg.sender));\\\\n * ...\\\\n * }\\\\n * ```\\\\n *\\\\n * Roles can be granted and revoked dynamically via the {grantRole} and\\\\n * {revokeRole} functions. Each role has an associated admin role, and only\\\\n * accounts that have a role's admin role can call {grantRole} and {revokeRole}.\\\\n *\\\\n * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means\\\\n * that only accounts with this role will be able to grant or revoke other\\\\n * roles. More complex role relationships can be created by using\\\\n * {_setRoleAdmin}.\\\\n *\\\\n * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to\\\\n * grant and revoke this role. Extra precautions should be taken to secure\\\\n * accounts that have been granted it.\\\\n */\\\\nabstract contract AccessControl is Context, IAccessControl, ERC165 {\\\\n struct RoleData {\\\\n mapping(address => bool) members;\\\\n bytes32 adminRole;\\\\n }\\\\n\\\\n mapping(bytes32 => RoleData) private _roles;\\\\n\\\\n bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;\\\\n\\\\n /**\\\\n * @dev Modifier that checks that an account has a specific role. Reverts\\\\n * with a standardized message including the required role.\\\\n *\\\\n * The format of the revert reason is given by the following regular expression:\\\\n *\\\\n * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/\\\\n *\\\\n * _Available since v4.1._\\\\n */\\\\n modifier onlyRole(bytes32 role) {\\\\n _checkRole(role);\\\\n _;\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC165-supportsInterface}.\\\\n */\\\\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\\\\n return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns `true` if `account` has been granted `role`.\\\\n */\\\\n function hasRole(bytes32 role, address account) public view virtual override returns (bool) {\\\\n return _roles[role].members[account];\\\\n }\\\\n\\\\n /**\\\\n * @dev Revert with a standard message if `_msgSender()` is missing `role`.\\\\n * Overriding this function changes the behavior of the {onlyRole} modifier.\\\\n *\\\\n * Format of the revert message is described in {_checkRole}.\\\\n *\\\\n * _Available since v4.6._\\\\n */\\\\n function _checkRole(bytes32 role) internal view virtual {\\\\n _checkRole(role, _msgSender());\\\\n }\\\\n\\\\n /**\\\\n * @dev Revert with a standard message if `account` is missing `role`.\\\\n *\\\\n * The format of the revert reason is given by the following regular expression:\\\\n *\\\\n * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/\\\\n */\\\\n function _checkRole(bytes32 role, address account) internal view virtual {\\\\n if (!hasRole(role, account)) {\\\\n revert(\\\\n string(\\\\n abi.encodePacked(\\\\n \\\\\\\"AccessControl: account \\\\\\\",\\\\n Strings.toHexString(uint160(account), 20),\\\\n \\\\\\\" is missing role \\\\\\\",\\\\n Strings.toHexString(uint256(role), 32)\\\\n )\\\\n )\\\\n );\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the admin role that controls `role`. See {grantRole} and\\\\n * {revokeRole}.\\\\n *\\\\n * To change a role's admin, use {_setRoleAdmin}.\\\\n */\\\\n function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {\\\\n return _roles[role].adminRole;\\\\n }\\\\n\\\\n /**\\\\n * @dev Grants `role` to `account`.\\\\n *\\\\n * If `account` had not been already granted `role`, emits a {RoleGranted}\\\\n * event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the caller must have ``role``'s admin role.\\\\n *\\\\n * May emit a {RoleGranted} event.\\\\n */\\\\n function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {\\\\n _grantRole(role, account);\\\\n }\\\\n\\\\n /**\\\\n * @dev Revokes `role` from `account`.\\\\n *\\\\n * If `account` had been granted `role`, emits a {RoleRevoked} event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the caller must have ``role``'s admin role.\\\\n *\\\\n * May emit a {RoleRevoked} event.\\\\n */\\\\n function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {\\\\n _revokeRole(role, account);\\\\n }\\\\n\\\\n /**\\\\n * @dev Revokes `role` from the calling account.\\\\n *\\\\n * Roles are often managed via {grantRole} and {revokeRole}: this function's\\\\n * purpose is to provide a mechanism for accounts to lose their privileges\\\\n * if they are compromised (such as when a trusted device is misplaced).\\\\n *\\\\n * If the calling account had been revoked `role`, emits a {RoleRevoked}\\\\n * event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the caller must be `account`.\\\\n *\\\\n * May emit a {RoleRevoked} event.\\\\n */\\\\n function renounceRole(bytes32 role, address account) public virtual override {\\\\n require(account == _msgSender(), \\\\\\\"AccessControl: can only renounce roles for self\\\\\\\");\\\\n\\\\n _revokeRole(role, account);\\\\n }\\\\n\\\\n /**\\\\n * @dev Grants `role` to `account`.\\\\n *\\\\n * If `account` had not been already granted `role`, emits a {RoleGranted}\\\\n * event. Note that unlike {grantRole}, this function doesn't perform any\\\\n * checks on the calling account.\\\\n *\\\\n * May emit a {RoleGranted} event.\\\\n *\\\\n * [WARNING]\\\\n * ====\\\\n * This function should only be called from the constructor when setting\\\\n * up the initial roles for the system.\\\\n *\\\\n * Using this function in any other way is effectively circumventing the admin\\\\n * system imposed by {AccessControl}.\\\\n * ====\\\\n *\\\\n * NOTE: This function is deprecated in favor of {_grantRole}.\\\\n */\\\\n function _setupRole(bytes32 role, address account) internal virtual {\\\\n _grantRole(role, account);\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets `adminRole` as ``role``'s admin role.\\\\n *\\\\n * Emits a {RoleAdminChanged} event.\\\\n */\\\\n function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {\\\\n bytes32 previousAdminRole = getRoleAdmin(role);\\\\n _roles[role].adminRole = adminRole;\\\\n emit RoleAdminChanged(role, previousAdminRole, adminRole);\\\\n }\\\\n\\\\n /**\\\\n * @dev Grants `role` to `account`.\\\\n *\\\\n * Internal function without access restriction.\\\\n *\\\\n * May emit a {RoleGranted} event.\\\\n */\\\\n function _grantRole(bytes32 role, address account) internal virtual {\\\\n if (!hasRole(role, account)) {\\\\n _roles[role].members[account] = true;\\\\n emit RoleGranted(role, account, _msgSender());\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Revokes `role` from `account`.\\\\n *\\\\n * Internal function without access restriction.\\\\n *\\\\n * May emit a {RoleRevoked} event.\\\\n */\\\\n function _revokeRole(bytes32 role, address account) internal virtual {\\\\n if (hasRole(role, account)) {\\\\n _roles[role].members[account] = false;\\\\n emit RoleRevoked(role, account, _msgSender());\\\\n }\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x5b35d8e68aeaccc685239bd9dd79b9ba01a0357930f8a3307ab85511733d9724\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/access/AccessControlEnumerable.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControlEnumerable.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./IAccessControlEnumerable.sol\\\\\\\";\\\\nimport \\\\\\\"./AccessControl.sol\\\\\\\";\\\\nimport \\\\\\\"../utils/structs/EnumerableSet.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Extension of {AccessControl} that allows enumerating the members of each role.\\\\n */\\\\nabstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl {\\\\n using EnumerableSet for EnumerableSet.AddressSet;\\\\n\\\\n mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers;\\\\n\\\\n /**\\\\n * @dev See {IERC165-supportsInterface}.\\\\n */\\\\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\\\\n return interfaceId == type(IAccessControlEnumerable).interfaceId || super.supportsInterface(interfaceId);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns one of the accounts that have `role`. `index` must be a\\\\n * value between 0 and {getRoleMemberCount}, non-inclusive.\\\\n *\\\\n * Role bearers are not sorted in any particular way, and their ordering may\\\\n * change at any point.\\\\n *\\\\n * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure\\\\n * you perform all queries on the same block. See the following\\\\n * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]\\\\n * for more information.\\\\n */\\\\n function getRoleMember(bytes32 role, uint256 index) public view virtual override returns (address) {\\\\n return _roleMembers[role].at(index);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the number of accounts that have `role`. Can be used\\\\n * together with {getRoleMember} to enumerate all bearers of a role.\\\\n */\\\\n function getRoleMemberCount(bytes32 role) public view virtual override returns (uint256) {\\\\n return _roleMembers[role].length();\\\\n }\\\\n\\\\n /**\\\\n * @dev Overload {_grantRole} to track enumerable memberships\\\\n */\\\\n function _grantRole(bytes32 role, address account) internal virtual override {\\\\n super._grantRole(role, account);\\\\n _roleMembers[role].add(account);\\\\n }\\\\n\\\\n /**\\\\n * @dev Overload {_revokeRole} to track enumerable memberships\\\\n */\\\\n function _revokeRole(bytes32 role, address account) internal virtual override {\\\\n super._revokeRole(role, account);\\\\n _roleMembers[role].remove(account);\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x13f5e15f2a0650c0b6aaee2ef19e89eaf4870d6e79662d572a393334c1397247\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/access/IAccessControl.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev External interface of AccessControl declared to support ERC165 detection.\\\\n */\\\\ninterface IAccessControl {\\\\n /**\\\\n * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`\\\\n *\\\\n * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite\\\\n * {RoleAdminChanged} not being emitted signaling this.\\\\n *\\\\n * _Available since v3.1._\\\\n */\\\\n event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);\\\\n\\\\n /**\\\\n * @dev Emitted when `account` is granted `role`.\\\\n *\\\\n * `sender` is the account that originated the contract call, an admin role\\\\n * bearer except when using {AccessControl-_setupRole}.\\\\n */\\\\n event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);\\\\n\\\\n /**\\\\n * @dev Emitted when `account` is revoked `role`.\\\\n *\\\\n * `sender` is the account that originated the contract call:\\\\n * - if using `revokeRole`, it is the admin role bearer\\\\n * - if using `renounceRole`, it is the role bearer (i.e. `account`)\\\\n */\\\\n event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);\\\\n\\\\n /**\\\\n * @dev Returns `true` if `account` has been granted `role`.\\\\n */\\\\n function hasRole(bytes32 role, address account) external view returns (bool);\\\\n\\\\n /**\\\\n * @dev Returns the admin role that controls `role`. See {grantRole} and\\\\n * {revokeRole}.\\\\n *\\\\n * To change a role's admin, use {AccessControl-_setRoleAdmin}.\\\\n */\\\\n function getRoleAdmin(bytes32 role) external view returns (bytes32);\\\\n\\\\n /**\\\\n * @dev Grants `role` to `account`.\\\\n *\\\\n * If `account` had not been already granted `role`, emits a {RoleGranted}\\\\n * event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the caller must have ``role``'s admin role.\\\\n */\\\\n function grantRole(bytes32 role, address account) external;\\\\n\\\\n /**\\\\n * @dev Revokes `role` from `account`.\\\\n *\\\\n * If `account` had been granted `role`, emits a {RoleRevoked} event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the caller must have ``role``'s admin role.\\\\n */\\\\n function revokeRole(bytes32 role, address account) external;\\\\n\\\\n /**\\\\n * @dev Revokes `role` from the calling account.\\\\n *\\\\n * Roles are often managed via {grantRole} and {revokeRole}: this function's\\\\n * purpose is to provide a mechanism for accounts to lose their privileges\\\\n * if they are compromised (such as when a trusted device is misplaced).\\\\n *\\\\n * If the calling account had been granted `role`, emits a {RoleRevoked}\\\\n * event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the caller must be `account`.\\\\n */\\\\n function renounceRole(bytes32 role, address account) external;\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/access/IAccessControlEnumerable.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (access/IAccessControlEnumerable.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./IAccessControl.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.\\\\n */\\\\ninterface IAccessControlEnumerable is IAccessControl {\\\\n /**\\\\n * @dev Returns one of the accounts that have `role`. `index` must be a\\\\n * value between 0 and {getRoleMemberCount}, non-inclusive.\\\\n *\\\\n * Role bearers are not sorted in any particular way, and their ordering may\\\\n * change at any point.\\\\n *\\\\n * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure\\\\n * you perform all queries on the same block. See the following\\\\n * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]\\\\n * for more information.\\\\n */\\\\n function getRoleMember(bytes32 role, uint256 index) external view returns (address);\\\\n\\\\n /**\\\\n * @dev Returns the number of accounts that have `role`. Can be used\\\\n * together with {getRoleMember} to enumerate all bearers of a role.\\\\n */\\\\n function getRoleMemberCount(bytes32 role) external view returns (uint256);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xba4459ab871dfa300f5212c6c30178b63898c03533a1ede28436f11546626676\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/security/Pausable.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../utils/Context.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Contract module which allows children to implement an emergency stop\\\\n * mechanism that can be triggered by an authorized account.\\\\n *\\\\n * This module is used through inheritance. It will make available the\\\\n * modifiers `whenNotPaused` and `whenPaused`, which can be applied to\\\\n * the functions of your contract. Note that they will not be pausable by\\\\n * simply including this module, only once the modifiers are put in place.\\\\n */\\\\nabstract contract Pausable is Context {\\\\n /**\\\\n * @dev Emitted when the pause is triggered by `account`.\\\\n */\\\\n event Paused(address account);\\\\n\\\\n /**\\\\n * @dev Emitted when the pause is lifted by `account`.\\\\n */\\\\n event Unpaused(address account);\\\\n\\\\n bool private _paused;\\\\n\\\\n /**\\\\n * @dev Initializes the contract in unpaused state.\\\\n */\\\\n constructor() {\\\\n _paused = false;\\\\n }\\\\n\\\\n /**\\\\n * @dev Modifier to make a function callable only when the contract is not paused.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - The contract must not be paused.\\\\n */\\\\n modifier whenNotPaused() {\\\\n _requireNotPaused();\\\\n _;\\\\n }\\\\n\\\\n /**\\\\n * @dev Modifier to make a function callable only when the contract is paused.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - The contract must be paused.\\\\n */\\\\n modifier whenPaused() {\\\\n _requirePaused();\\\\n _;\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns true if the contract is paused, and false otherwise.\\\\n */\\\\n function paused() public view virtual returns (bool) {\\\\n return _paused;\\\\n }\\\\n\\\\n /**\\\\n * @dev Throws if the contract is paused.\\\\n */\\\\n function _requireNotPaused() internal view virtual {\\\\n require(!paused(), \\\\\\\"Pausable: paused\\\\\\\");\\\\n }\\\\n\\\\n /**\\\\n * @dev Throws if the contract is not paused.\\\\n */\\\\n function _requirePaused() internal view virtual {\\\\n require(paused(), \\\\\\\"Pausable: not paused\\\\\\\");\\\\n }\\\\n\\\\n /**\\\\n * @dev Triggers stopped state.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - The contract must not be paused.\\\\n */\\\\n function _pause() internal virtual whenNotPaused {\\\\n _paused = true;\\\\n emit Paused(_msgSender());\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns to normal state.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - The contract must be paused.\\\\n */\\\\n function _unpause() internal virtual whenPaused {\\\\n _paused = false;\\\\n emit Unpaused(_msgSender());\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x0849d93b16c9940beb286a7864ed02724b248b93e0d80ef6355af5ef15c64773\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/token/ERC20/ERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./IERC20.sol\\\\\\\";\\\\nimport \\\\\\\"./extensions/IERC20Metadata.sol\\\\\\\";\\\\nimport \\\\\\\"../../utils/Context.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Implementation of the {IERC20} interface.\\\\n *\\\\n * This implementation is agnostic to the way tokens are created. This means\\\\n * that a supply mechanism has to be added in a derived contract using {_mint}.\\\\n * For a generic mechanism see {ERC20PresetMinterPauser}.\\\\n *\\\\n * TIP: For a detailed writeup see our guide\\\\n * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How\\\\n * to implement supply mechanisms].\\\\n *\\\\n * We have followed general OpenZeppelin Contracts guidelines: functions revert\\\\n * instead returning `false` on failure. This behavior is nonetheless\\\\n * conventional and does not conflict with the expectations of ERC20\\\\n * applications.\\\\n *\\\\n * Additionally, an {Approval} event is emitted on calls to {transferFrom}.\\\\n * This allows applications to reconstruct the allowance for all accounts just\\\\n * by listening to said events. Other implementations of the EIP may not emit\\\\n * these events, as it isn't required by the specification.\\\\n *\\\\n * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}\\\\n * functions have been added to mitigate the well-known issues around setting\\\\n * allowances. See {IERC20-approve}.\\\\n */\\\\ncontract ERC20 is Context, IERC20, IERC20Metadata {\\\\n mapping(address => uint256) private _balances;\\\\n\\\\n mapping(address => mapping(address => uint256)) private _allowances;\\\\n\\\\n uint256 private _totalSupply;\\\\n\\\\n string private _name;\\\\n string private _symbol;\\\\n\\\\n /**\\\\n * @dev Sets the values for {name} and {symbol}.\\\\n *\\\\n * The default value of {decimals} is 18. To select a different value for\\\\n * {decimals} you should overload it.\\\\n *\\\\n * All two of these values are immutable: they can only be set once during\\\\n * construction.\\\\n */\\\\n constructor(string memory name_, string memory symbol_) {\\\\n _name = name_;\\\\n _symbol = symbol_;\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the name of the token.\\\\n */\\\\n function name() public view virtual override returns (string memory) {\\\\n return _name;\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the symbol of the token, usually a shorter version of the\\\\n * name.\\\\n */\\\\n function symbol() public view virtual override returns (string memory) {\\\\n return _symbol;\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the number of decimals used to get its user representation.\\\\n * For example, if `decimals` equals `2`, a balance of `505` tokens should\\\\n * be displayed to a user as `5.05` (`505 / 10 ** 2`).\\\\n *\\\\n * Tokens usually opt for a value of 18, imitating the relationship between\\\\n * Ether and Wei. This is the value {ERC20} uses, unless this function is\\\\n * overridden;\\\\n *\\\\n * NOTE: This information is only used for _display_ purposes: it in\\\\n * no way affects any of the arithmetic of the contract, including\\\\n * {IERC20-balanceOf} and {IERC20-transfer}.\\\\n */\\\\n function decimals() public view virtual override returns (uint8) {\\\\n return 18;\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC20-totalSupply}.\\\\n */\\\\n function totalSupply() public view virtual override returns (uint256) {\\\\n return _totalSupply;\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC20-balanceOf}.\\\\n */\\\\n function balanceOf(address account) public view virtual override returns (uint256) {\\\\n return _balances[account];\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC20-transfer}.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `to` cannot be the zero address.\\\\n * - the caller must have a balance of at least `amount`.\\\\n */\\\\n function transfer(address to, uint256 amount) public virtual override returns (bool) {\\\\n address owner = _msgSender();\\\\n _transfer(owner, to, amount);\\\\n return true;\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC20-allowance}.\\\\n */\\\\n function allowance(address owner, address spender) public view virtual override returns (uint256) {\\\\n return _allowances[owner][spender];\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC20-approve}.\\\\n *\\\\n * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on\\\\n * `transferFrom`. This is semantically equivalent to an infinite approval.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `spender` cannot be the zero address.\\\\n */\\\\n function approve(address spender, uint256 amount) public virtual override returns (bool) {\\\\n address owner = _msgSender();\\\\n _approve(owner, spender, amount);\\\\n return true;\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC20-transferFrom}.\\\\n *\\\\n * Emits an {Approval} event indicating the updated allowance. This is not\\\\n * required by the EIP. See the note at the beginning of {ERC20}.\\\\n *\\\\n * NOTE: Does not update the allowance if the current allowance\\\\n * is the maximum `uint256`.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `from` and `to` cannot be the zero address.\\\\n * - `from` must have a balance of at least `amount`.\\\\n * - the caller must have allowance for ``from``'s tokens of at least\\\\n * `amount`.\\\\n */\\\\n function transferFrom(\\\\n address from,\\\\n address to,\\\\n uint256 amount\\\\n ) public virtual override returns (bool) {\\\\n address spender = _msgSender();\\\\n _spendAllowance(from, spender, amount);\\\\n _transfer(from, to, amount);\\\\n return true;\\\\n }\\\\n\\\\n /**\\\\n * @dev Atomically increases the allowance granted to `spender` by the caller.\\\\n *\\\\n * This is an alternative to {approve} that can be used as a mitigation for\\\\n * problems described in {IERC20-approve}.\\\\n *\\\\n * Emits an {Approval} event indicating the updated allowance.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `spender` cannot be the zero address.\\\\n */\\\\n function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {\\\\n address owner = _msgSender();\\\\n _approve(owner, spender, allowance(owner, spender) + addedValue);\\\\n return true;\\\\n }\\\\n\\\\n /**\\\\n * @dev Atomically decreases the allowance granted to `spender` by the caller.\\\\n *\\\\n * This is an alternative to {approve} that can be used as a mitigation for\\\\n * problems described in {IERC20-approve}.\\\\n *\\\\n * Emits an {Approval} event indicating the updated allowance.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `spender` cannot be the zero address.\\\\n * - `spender` must have allowance for the caller of at least\\\\n * `subtractedValue`.\\\\n */\\\\n function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {\\\\n address owner = _msgSender();\\\\n uint256 currentAllowance = allowance(owner, spender);\\\\n require(currentAllowance >= subtractedValue, \\\\\\\"ERC20: decreased allowance below zero\\\\\\\");\\\\n unchecked {\\\\n _approve(owner, spender, currentAllowance - subtractedValue);\\\\n }\\\\n\\\\n return true;\\\\n }\\\\n\\\\n /**\\\\n * @dev Moves `amount` of tokens from `from` to `to`.\\\\n *\\\\n * This internal function is equivalent to {transfer}, and can be used to\\\\n * e.g. implement automatic token fees, slashing mechanisms, etc.\\\\n *\\\\n * Emits a {Transfer} event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `from` cannot be the zero address.\\\\n * - `to` cannot be the zero address.\\\\n * - `from` must have a balance of at least `amount`.\\\\n */\\\\n function _transfer(\\\\n address from,\\\\n address to,\\\\n uint256 amount\\\\n ) internal virtual {\\\\n require(from != address(0), \\\\\\\"ERC20: transfer from the zero address\\\\\\\");\\\\n require(to != address(0), \\\\\\\"ERC20: transfer to the zero address\\\\\\\");\\\\n\\\\n _beforeTokenTransfer(from, to, amount);\\\\n\\\\n uint256 fromBalance = _balances[from];\\\\n require(fromBalance >= amount, \\\\\\\"ERC20: transfer amount exceeds balance\\\\\\\");\\\\n unchecked {\\\\n _balances[from] = fromBalance - amount;\\\\n }\\\\n _balances[to] += amount;\\\\n\\\\n emit Transfer(from, to, amount);\\\\n\\\\n _afterTokenTransfer(from, to, amount);\\\\n }\\\\n\\\\n /** @dev Creates `amount` tokens and assigns them to `account`, increasing\\\\n * the total supply.\\\\n *\\\\n * Emits a {Transfer} event with `from` set to the zero address.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `account` cannot be the zero address.\\\\n */\\\\n function _mint(address account, uint256 amount) internal virtual {\\\\n require(account != address(0), \\\\\\\"ERC20: mint to the zero address\\\\\\\");\\\\n\\\\n _beforeTokenTransfer(address(0), account, amount);\\\\n\\\\n _totalSupply += amount;\\\\n _balances[account] += amount;\\\\n emit Transfer(address(0), account, amount);\\\\n\\\\n _afterTokenTransfer(address(0), account, amount);\\\\n }\\\\n\\\\n /**\\\\n * @dev Destroys `amount` tokens from `account`, reducing the\\\\n * total supply.\\\\n *\\\\n * Emits a {Transfer} event with `to` set to the zero address.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `account` cannot be the zero address.\\\\n * - `account` must have at least `amount` tokens.\\\\n */\\\\n function _burn(address account, uint256 amount) internal virtual {\\\\n require(account != address(0), \\\\\\\"ERC20: burn from the zero address\\\\\\\");\\\\n\\\\n _beforeTokenTransfer(account, address(0), amount);\\\\n\\\\n uint256 accountBalance = _balances[account];\\\\n require(accountBalance >= amount, \\\\\\\"ERC20: burn amount exceeds balance\\\\\\\");\\\\n unchecked {\\\\n _balances[account] = accountBalance - amount;\\\\n }\\\\n _totalSupply -= amount;\\\\n\\\\n emit Transfer(account, address(0), amount);\\\\n\\\\n _afterTokenTransfer(account, address(0), amount);\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.\\\\n *\\\\n * This internal function is equivalent to `approve`, and can be used to\\\\n * e.g. set automatic allowances for certain subsystems, etc.\\\\n *\\\\n * Emits an {Approval} event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `owner` cannot be the zero address.\\\\n * - `spender` cannot be the zero address.\\\\n */\\\\n function _approve(\\\\n address owner,\\\\n address spender,\\\\n uint256 amount\\\\n ) internal virtual {\\\\n require(owner != address(0), \\\\\\\"ERC20: approve from the zero address\\\\\\\");\\\\n require(spender != address(0), \\\\\\\"ERC20: approve to the zero address\\\\\\\");\\\\n\\\\n _allowances[owner][spender] = amount;\\\\n emit Approval(owner, spender, amount);\\\\n }\\\\n\\\\n /**\\\\n * @dev Updates `owner` s allowance for `spender` based on spent `amount`.\\\\n *\\\\n * Does not update the allowance amount in case of infinite allowance.\\\\n * Revert if not enough allowance is available.\\\\n *\\\\n * Might emit an {Approval} event.\\\\n */\\\\n function _spendAllowance(\\\\n address owner,\\\\n address spender,\\\\n uint256 amount\\\\n ) internal virtual {\\\\n uint256 currentAllowance = allowance(owner, spender);\\\\n if (currentAllowance != type(uint256).max) {\\\\n require(currentAllowance >= amount, \\\\\\\"ERC20: insufficient allowance\\\\\\\");\\\\n unchecked {\\\\n _approve(owner, spender, currentAllowance - amount);\\\\n }\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Hook that is called before any transfer of tokens. This includes\\\\n * minting and burning.\\\\n *\\\\n * Calling conditions:\\\\n *\\\\n * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\\\n * will be transferred to `to`.\\\\n * - when `from` is zero, `amount` tokens will be minted for `to`.\\\\n * - when `to` is zero, `amount` of ``from``'s tokens will be burned.\\\\n * - `from` and `to` are never both zero.\\\\n *\\\\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\\\n */\\\\n function _beforeTokenTransfer(\\\\n address from,\\\\n address to,\\\\n uint256 amount\\\\n ) internal virtual {}\\\\n\\\\n /**\\\\n * @dev Hook that is called after any transfer of tokens. This includes\\\\n * minting and burning.\\\\n *\\\\n * Calling conditions:\\\\n *\\\\n * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\\\n * has been transferred to `to`.\\\\n * - when `from` is zero, `amount` tokens have been minted for `to`.\\\\n * - when `to` is zero, `amount` of ``from``'s tokens have been burned.\\\\n * - `from` and `to` are never both zero.\\\\n *\\\\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\\\n */\\\\n function _afterTokenTransfer(\\\\n address from,\\\\n address to,\\\\n uint256 amount\\\\n ) internal virtual {}\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/token/ERC20/IERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\\\n */\\\\ninterface IERC20 {\\\\n /**\\\\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\\\\n * another (`to`).\\\\n *\\\\n * Note that `value` may be zero.\\\\n */\\\\n event Transfer(address indexed from, address indexed to, uint256 value);\\\\n\\\\n /**\\\\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\\\n * a call to {approve}. `value` is the new allowance.\\\\n */\\\\n event Approval(address indexed owner, address indexed spender, uint256 value);\\\\n\\\\n /**\\\\n * @dev Returns the amount of tokens in existence.\\\\n */\\\\n function totalSupply() external view returns (uint256);\\\\n\\\\n /**\\\\n * @dev Returns the amount of tokens owned by `account`.\\\\n */\\\\n function balanceOf(address account) external view returns (uint256);\\\\n\\\\n /**\\\\n * @dev Moves `amount` tokens from the caller's account to `to`.\\\\n *\\\\n * Returns a boolean value indicating whether the operation succeeded.\\\\n *\\\\n * Emits a {Transfer} event.\\\\n */\\\\n function transfer(address to, uint256 amount) external returns (bool);\\\\n\\\\n /**\\\\n * @dev Returns the remaining number of tokens that `spender` will be\\\\n * allowed to spend on behalf of `owner` through {transferFrom}. This is\\\\n * zero by default.\\\\n *\\\\n * This value changes when {approve} or {transferFrom} are called.\\\\n */\\\\n function allowance(address owner, address spender) external view returns (uint256);\\\\n\\\\n /**\\\\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\\\n *\\\\n * Returns a boolean value indicating whether the operation succeeded.\\\\n *\\\\n * IMPORTANT: Beware that changing an allowance with this method brings the risk\\\\n * that someone may use both the old and the new allowance by unfortunate\\\\n * transaction ordering. One possible solution to mitigate this race\\\\n * condition is to first reduce the spender's allowance to 0 and set the\\\\n * desired value afterwards:\\\\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\\\n *\\\\n * Emits an {Approval} event.\\\\n */\\\\n function approve(address spender, uint256 amount) external returns (bool);\\\\n\\\\n /**\\\\n * @dev Moves `amount` tokens from `from` to `to` using the\\\\n * allowance mechanism. `amount` is then deducted from the caller's\\\\n * allowance.\\\\n *\\\\n * Returns a boolean value indicating whether the operation succeeded.\\\\n *\\\\n * Emits a {Transfer} event.\\\\n */\\\\n function transferFrom(\\\\n address from,\\\\n address to,\\\\n uint256 amount\\\\n ) external returns (bool);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/token/ERC20/extensions/ERC20Burnable.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../ERC20.sol\\\\\\\";\\\\nimport \\\\\\\"../../../utils/Context.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Extension of {ERC20} that allows token holders to destroy both their own\\\\n * tokens and those that they have an allowance for, in a way that can be\\\\n * recognized off-chain (via event analysis).\\\\n */\\\\nabstract contract ERC20Burnable is Context, ERC20 {\\\\n /**\\\\n * @dev Destroys `amount` tokens from the caller.\\\\n *\\\\n * See {ERC20-_burn}.\\\\n */\\\\n function burn(uint256 amount) public virtual {\\\\n _burn(_msgSender(), amount);\\\\n }\\\\n\\\\n /**\\\\n * @dev Destroys `amount` tokens from `account`, deducting from the caller's\\\\n * allowance.\\\\n *\\\\n * See {ERC20-_burn} and {ERC20-allowance}.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the caller must have allowance for ``accounts``'s tokens of at least\\\\n * `amount`.\\\\n */\\\\n function burnFrom(address account, uint256 amount) public virtual {\\\\n _spendAllowance(account, _msgSender(), amount);\\\\n _burn(account, amount);\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x0d19410453cda55960a818e02bd7c18952a5c8fe7a3036e81f0d599f34487a7b\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/token/ERC20/extensions/ERC20Pausable.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/ERC20Pausable.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../ERC20.sol\\\\\\\";\\\\nimport \\\\\\\"../../../security/Pausable.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev ERC20 token with pausable token transfers, minting and burning.\\\\n *\\\\n * Useful for scenarios such as preventing trades until the end of an evaluation\\\\n * period, or having an emergency switch for freezing all token transfers in the\\\\n * event of a large bug.\\\\n */\\\\nabstract contract ERC20Pausable is ERC20, Pausable {\\\\n /**\\\\n * @dev See {ERC20-_beforeTokenTransfer}.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the contract must not be paused.\\\\n */\\\\n function _beforeTokenTransfer(\\\\n address from,\\\\n address to,\\\\n uint256 amount\\\\n ) internal virtual override {\\\\n super._beforeTokenTransfer(from, to, amount);\\\\n\\\\n require(!paused(), \\\\\\\"ERC20Pausable: token transfer while paused\\\\\\\");\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x978847fbff92d66d27d8767402a90ba996970b1936b372406aa17f5492bd8dc5\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/token/ERC20/extensions/IERC20Metadata.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../IERC20.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Interface for the optional metadata functions from the ERC20 standard.\\\\n *\\\\n * _Available since v4.1._\\\\n */\\\\ninterface IERC20Metadata is IERC20 {\\\\n /**\\\\n * @dev Returns the name of the token.\\\\n */\\\\n function name() external view returns (string memory);\\\\n\\\\n /**\\\\n * @dev Returns the symbol of the token.\\\\n */\\\\n function symbol() external view returns (string memory);\\\\n\\\\n /**\\\\n * @dev Returns the decimals places of the token.\\\\n */\\\\n function decimals() external view returns (uint8);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/token/ERC20/presets/ERC20PresetMinterPauser.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/presets/ERC20PresetMinterPauser.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../ERC20.sol\\\\\\\";\\\\nimport \\\\\\\"../extensions/ERC20Burnable.sol\\\\\\\";\\\\nimport \\\\\\\"../extensions/ERC20Pausable.sol\\\\\\\";\\\\nimport \\\\\\\"../../../access/AccessControlEnumerable.sol\\\\\\\";\\\\nimport \\\\\\\"../../../utils/Context.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev {ERC20} token, including:\\\\n *\\\\n * - ability for holders to burn (destroy) their tokens\\\\n * - a minter role that allows for token minting (creation)\\\\n * - a pauser role that allows to stop all token transfers\\\\n *\\\\n * This contract uses {AccessControl} to lock permissioned functions using the\\\\n * different roles - head to its documentation for details.\\\\n *\\\\n * The account that deploys the contract will be granted the minter and pauser\\\\n * roles, as well as the default admin role, which will let it grant both minter\\\\n * and pauser roles to other accounts.\\\\n *\\\\n * _Deprecated in favor of https://wizard.openzeppelin.com/[Contracts Wizard]._\\\\n */\\\\ncontract ERC20PresetMinterPauser is Context, AccessControlEnumerable, ERC20Burnable, ERC20Pausable {\\\\n bytes32 public constant MINTER_ROLE = keccak256(\\\\\\\"MINTER_ROLE\\\\\\\");\\\\n bytes32 public constant PAUSER_ROLE = keccak256(\\\\\\\"PAUSER_ROLE\\\\\\\");\\\\n\\\\n /**\\\\n * @dev Grants `DEFAULT_ADMIN_ROLE`, `MINTER_ROLE` and `PAUSER_ROLE` to the\\\\n * account that deploys the contract.\\\\n *\\\\n * See {ERC20-constructor}.\\\\n */\\\\n constructor(string memory name, string memory symbol) ERC20(name, symbol) {\\\\n _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());\\\\n\\\\n _setupRole(MINTER_ROLE, _msgSender());\\\\n _setupRole(PAUSER_ROLE, _msgSender());\\\\n }\\\\n\\\\n /**\\\\n * @dev Creates `amount` new tokens for `to`.\\\\n *\\\\n * See {ERC20-_mint}.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the caller must have the `MINTER_ROLE`.\\\\n */\\\\n function mint(address to, uint256 amount) public virtual {\\\\n require(hasRole(MINTER_ROLE, _msgSender()), \\\\\\\"ERC20PresetMinterPauser: must have minter role to mint\\\\\\\");\\\\n _mint(to, amount);\\\\n }\\\\n\\\\n /**\\\\n * @dev Pauses all token transfers.\\\\n *\\\\n * See {ERC20Pausable} and {Pausable-_pause}.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the caller must have the `PAUSER_ROLE`.\\\\n */\\\\n function pause() public virtual {\\\\n require(hasRole(PAUSER_ROLE, _msgSender()), \\\\\\\"ERC20PresetMinterPauser: must have pauser role to pause\\\\\\\");\\\\n _pause();\\\\n }\\\\n\\\\n /**\\\\n * @dev Unpauses all token transfers.\\\\n *\\\\n * See {ERC20Pausable} and {Pausable-_unpause}.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - the caller must have the `PAUSER_ROLE`.\\\\n */\\\\n function unpause() public virtual {\\\\n require(hasRole(PAUSER_ROLE, _msgSender()), \\\\\\\"ERC20PresetMinterPauser: must have pauser role to unpause\\\\\\\");\\\\n _unpause();\\\\n }\\\\n\\\\n function _beforeTokenTransfer(\\\\n address from,\\\\n address to,\\\\n uint256 amount\\\\n ) internal virtual override(ERC20, ERC20Pausable) {\\\\n super._beforeTokenTransfer(from, to, amount);\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x2cd54808b851c4db22f459065af0b7a952262741a85a73923e7a660767cd7baa\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/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\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/utils/Strings.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev String operations.\\\\n */\\\\nlibrary Strings {\\\\n bytes16 private constant _HEX_SYMBOLS = \\\\\\\"0123456789abcdef\\\\\\\";\\\\n uint8 private constant _ADDRESS_LENGTH = 20;\\\\n\\\\n /**\\\\n * @dev Converts a `uint256` to its ASCII `string` decimal representation.\\\\n */\\\\n function toString(uint256 value) internal pure returns (string memory) {\\\\n // Inspired by OraclizeAPI's implementation - MIT licence\\\\n // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\\\\n\\\\n if (value == 0) {\\\\n return \\\\\\\"0\\\\\\\";\\\\n }\\\\n uint256 temp = value;\\\\n uint256 digits;\\\\n while (temp != 0) {\\\\n digits++;\\\\n temp /= 10;\\\\n }\\\\n bytes memory buffer = new bytes(digits);\\\\n while (value != 0) {\\\\n digits -= 1;\\\\n buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));\\\\n value /= 10;\\\\n }\\\\n return string(buffer);\\\\n }\\\\n\\\\n /**\\\\n * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.\\\\n */\\\\n function toHexString(uint256 value) internal pure returns (string memory) {\\\\n if (value == 0) {\\\\n return \\\\\\\"0x00\\\\\\\";\\\\n }\\\\n uint256 temp = value;\\\\n uint256 length = 0;\\\\n while (temp != 0) {\\\\n length++;\\\\n temp >>= 8;\\\\n }\\\\n return toHexString(value, length);\\\\n }\\\\n\\\\n /**\\\\n * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.\\\\n */\\\\n function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {\\\\n bytes memory buffer = new bytes(2 * length + 2);\\\\n buffer[0] = \\\\\\\"0\\\\\\\";\\\\n buffer[1] = \\\\\\\"x\\\\\\\";\\\\n for (uint256 i = 2 * length + 1; i > 1; --i) {\\\\n buffer[i] = _HEX_SYMBOLS[value & 0xf];\\\\n value >>= 4;\\\\n }\\\\n require(value == 0, \\\\\\\"Strings: hex length insufficient\\\\\\\");\\\\n return string(buffer);\\\\n }\\\\n\\\\n /**\\\\n * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.\\\\n */\\\\n function toHexString(address addr) internal pure returns (string memory) {\\\\n return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xaf159a8b1923ad2a26d516089bceca9bdeaeacd04be50983ea00ba63070f08a3\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/utils/introspection/ERC165.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./IERC165.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Implementation of the {IERC165} interface.\\\\n *\\\\n * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check\\\\n * for the additional interface id that will be supported. For example:\\\\n *\\\\n * ```solidity\\\\n * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\\\\n * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);\\\\n * }\\\\n * ```\\\\n *\\\\n * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.\\\\n */\\\\nabstract contract ERC165 is IERC165 {\\\\n /**\\\\n * @dev See {IERC165-supportsInterface}.\\\\n */\\\\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\\\\n return interfaceId == type(IERC165).interfaceId;\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/utils/introspection/IERC165.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Interface of the ERC165 standard, as defined in the\\\\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\\\\n *\\\\n * Implementers can declare support of contract interfaces, which can then be\\\\n * queried by others ({ERC165Checker}).\\\\n *\\\\n * For an implementation, see {ERC165}.\\\\n */\\\\ninterface IERC165 {\\\\n /**\\\\n * @dev Returns true if this contract implements the interface defined by\\\\n * `interfaceId`. See the corresponding\\\\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\\\\n * to learn more about how these ids are created.\\\\n *\\\\n * This function call must use less than 30 000 gas.\\\\n */\\\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/utils/structs/EnumerableSet.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/structs/EnumerableSet.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Library for managing\\\\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\\\\n * types.\\\\n *\\\\n * Sets have the following properties:\\\\n *\\\\n * - Elements are added, removed, and checked for existence in constant time\\\\n * (O(1)).\\\\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\\\\n *\\\\n * ```\\\\n * contract Example {\\\\n * // Add the library methods\\\\n * using EnumerableSet for EnumerableSet.AddressSet;\\\\n *\\\\n * // Declare a set state variable\\\\n * EnumerableSet.AddressSet private mySet;\\\\n * }\\\\n * ```\\\\n *\\\\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\\\\n * and `uint256` (`UintSet`) are supported.\\\\n *\\\\n * [WARNING]\\\\n * ====\\\\n * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure unusable.\\\\n * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.\\\\n *\\\\n * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an array of EnumerableSet.\\\\n * ====\\\\n */\\\\nlibrary EnumerableSet {\\\\n // To implement this library for multiple types with as little code\\\\n // repetition as possible, we write it in terms of a generic Set type with\\\\n // bytes32 values.\\\\n // The Set implementation uses private functions, and user-facing\\\\n // implementations (such as AddressSet) are just wrappers around the\\\\n // underlying Set.\\\\n // This means that we can only create new EnumerableSets for types that fit\\\\n // in bytes32.\\\\n\\\\n struct Set {\\\\n // Storage of set values\\\\n bytes32[] _values;\\\\n // Position of the value in the `values` array, plus 1 because index 0\\\\n // means a value is not in the set.\\\\n mapping(bytes32 => uint256) _indexes;\\\\n }\\\\n\\\\n /**\\\\n * @dev Add a value to a set. O(1).\\\\n *\\\\n * Returns true if the value was added to the set, that is if it was not\\\\n * already present.\\\\n */\\\\n function _add(Set storage set, bytes32 value) private returns (bool) {\\\\n if (!_contains(set, value)) {\\\\n set._values.push(value);\\\\n // The value is stored at length-1, but we add 1 to all indexes\\\\n // and use 0 as a sentinel value\\\\n set._indexes[value] = set._values.length;\\\\n return true;\\\\n } else {\\\\n return false;\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Removes a value from a set. O(1).\\\\n *\\\\n * Returns true if the value was removed from the set, that is if it was\\\\n * present.\\\\n */\\\\n function _remove(Set storage set, bytes32 value) private returns (bool) {\\\\n // We read and store the value's index to prevent multiple reads from the same storage slot\\\\n uint256 valueIndex = set._indexes[value];\\\\n\\\\n if (valueIndex != 0) {\\\\n // Equivalent to contains(set, value)\\\\n // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\\\\n // the array, and then remove the last element (sometimes called as 'swap and pop').\\\\n // This modifies the order of the array, as noted in {at}.\\\\n\\\\n uint256 toDeleteIndex = valueIndex - 1;\\\\n uint256 lastIndex = set._values.length - 1;\\\\n\\\\n if (lastIndex != toDeleteIndex) {\\\\n bytes32 lastValue = set._values[lastIndex];\\\\n\\\\n // Move the last value to the index where the value to delete is\\\\n set._values[toDeleteIndex] = lastValue;\\\\n // Update the index for the moved value\\\\n set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex\\\\n }\\\\n\\\\n // Delete the slot where the moved value was stored\\\\n set._values.pop();\\\\n\\\\n // Delete the index for the deleted slot\\\\n delete set._indexes[value];\\\\n\\\\n return true;\\\\n } else {\\\\n return false;\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns true if the value is in the set. O(1).\\\\n */\\\\n function _contains(Set storage set, bytes32 value) private view returns (bool) {\\\\n return set._indexes[value] != 0;\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the number of values on the set. O(1).\\\\n */\\\\n function _length(Set storage set) private view returns (uint256) {\\\\n return set._values.length;\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the value stored at position `index` in the set. O(1).\\\\n *\\\\n * Note that there are no guarantees on the ordering of values inside the\\\\n * array, and it may change when more values are added or removed.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `index` must be strictly less than {length}.\\\\n */\\\\n function _at(Set storage set, uint256 index) private view returns (bytes32) {\\\\n return set._values[index];\\\\n }\\\\n\\\\n /**\\\\n * @dev Return the entire set in an array\\\\n *\\\\n * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\\\\n * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\\\\n * this function has an unbounded cost, and using it as part of a state-changing function may render the function\\\\n * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\\\\n */\\\\n function _values(Set storage set) private view returns (bytes32[] memory) {\\\\n return set._values;\\\\n }\\\\n\\\\n // Bytes32Set\\\\n\\\\n struct Bytes32Set {\\\\n Set _inner;\\\\n }\\\\n\\\\n /**\\\\n * @dev Add a value to a set. O(1).\\\\n *\\\\n * Returns true if the value was added to the set, that is if it was not\\\\n * already present.\\\\n */\\\\n function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\\\\n return _add(set._inner, value);\\\\n }\\\\n\\\\n /**\\\\n * @dev Removes a value from a set. O(1).\\\\n *\\\\n * Returns true if the value was removed from the set, that is if it was\\\\n * present.\\\\n */\\\\n function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {\\\\n return _remove(set._inner, value);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns true if the value is in the set. O(1).\\\\n */\\\\n function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {\\\\n return _contains(set._inner, value);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the number of values in the set. O(1).\\\\n */\\\\n function length(Bytes32Set storage set) internal view returns (uint256) {\\\\n return _length(set._inner);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the value stored at position `index` in the set. O(1).\\\\n *\\\\n * Note that there are no guarantees on the ordering of values inside the\\\\n * array, and it may change when more values are added or removed.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `index` must be strictly less than {length}.\\\\n */\\\\n function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {\\\\n return _at(set._inner, index);\\\\n }\\\\n\\\\n /**\\\\n * @dev Return the entire set in an array\\\\n *\\\\n * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\\\\n * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\\\\n * this function has an unbounded cost, and using it as part of a state-changing function may render the function\\\\n * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\\\\n */\\\\n function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {\\\\n return _values(set._inner);\\\\n }\\\\n\\\\n // AddressSet\\\\n\\\\n struct AddressSet {\\\\n Set _inner;\\\\n }\\\\n\\\\n /**\\\\n * @dev Add a value to a set. O(1).\\\\n *\\\\n * Returns true if the value was added to the set, that is if it was not\\\\n * already present.\\\\n */\\\\n function add(AddressSet storage set, address value) internal returns (bool) {\\\\n return _add(set._inner, bytes32(uint256(uint160(value))));\\\\n }\\\\n\\\\n /**\\\\n * @dev Removes a value from a set. O(1).\\\\n *\\\\n * Returns true if the value was removed from the set, that is if it was\\\\n * present.\\\\n */\\\\n function remove(AddressSet storage set, address value) internal returns (bool) {\\\\n return _remove(set._inner, bytes32(uint256(uint160(value))));\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns true if the value is in the set. O(1).\\\\n */\\\\n function contains(AddressSet storage set, address value) internal view returns (bool) {\\\\n return _contains(set._inner, bytes32(uint256(uint160(value))));\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the number of values in the set. O(1).\\\\n */\\\\n function length(AddressSet storage set) internal view returns (uint256) {\\\\n return _length(set._inner);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the value stored at position `index` in the set. O(1).\\\\n *\\\\n * Note that there are no guarantees on the ordering of values inside the\\\\n * array, and it may change when more values are added or removed.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `index` must be strictly less than {length}.\\\\n */\\\\n function at(AddressSet storage set, uint256 index) internal view returns (address) {\\\\n return address(uint160(uint256(_at(set._inner, index))));\\\\n }\\\\n\\\\n /**\\\\n * @dev Return the entire set in an array\\\\n *\\\\n * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\\\\n * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\\\\n * this function has an unbounded cost, and using it as part of a state-changing function may render the function\\\\n * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\\\\n */\\\\n function values(AddressSet storage set) internal view returns (address[] memory) {\\\\n bytes32[] memory store = _values(set._inner);\\\\n address[] memory result;\\\\n\\\\n /// @solidity memory-safe-assembly\\\\n assembly {\\\\n result := store\\\\n }\\\\n\\\\n return result;\\\\n }\\\\n\\\\n // UintSet\\\\n\\\\n struct UintSet {\\\\n Set _inner;\\\\n }\\\\n\\\\n /**\\\\n * @dev Add a value to a set. O(1).\\\\n *\\\\n * Returns true if the value was added to the set, that is if it was not\\\\n * already present.\\\\n */\\\\n function add(UintSet storage set, uint256 value) internal returns (bool) {\\\\n return _add(set._inner, bytes32(value));\\\\n }\\\\n\\\\n /**\\\\n * @dev Removes a value from a set. O(1).\\\\n *\\\\n * Returns true if the value was removed from the set, that is if it was\\\\n * present.\\\\n */\\\\n function remove(UintSet storage set, uint256 value) internal returns (bool) {\\\\n return _remove(set._inner, bytes32(value));\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns true if the value is in the set. O(1).\\\\n */\\\\n function contains(UintSet storage set, uint256 value) internal view returns (bool) {\\\\n return _contains(set._inner, bytes32(value));\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the number of values on the set. O(1).\\\\n */\\\\n function length(UintSet storage set) internal view returns (uint256) {\\\\n return _length(set._inner);\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the value stored at position `index` in the set. O(1).\\\\n *\\\\n * Note that there are no guarantees on the ordering of values inside the\\\\n * array, and it may change when more values are added or removed.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `index` must be strictly less than {length}.\\\\n */\\\\n function at(UintSet storage set, uint256 index) internal view returns (uint256) {\\\\n return uint256(_at(set._inner, index));\\\\n }\\\\n\\\\n /**\\\\n * @dev Return the entire set in an array\\\\n *\\\\n * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\\\\n * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\\\\n * this function has an unbounded cost, and using it as part of a state-changing function may render the function\\\\n * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\\\\n */\\\\n function values(UintSet storage set) internal view returns (uint256[] memory) {\\\\n bytes32[] memory store = _values(set._inner);\\\\n uint256[] memory result;\\\\n\\\\n /// @solidity memory-safe-assembly\\\\n assembly {\\\\n result := store\\\\n }\\\\n\\\\n return result;\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x5050943b32b6a8f282573d166b2e9d87ab7eb4dbba4ab6acf36ecb54fe6995e4\\\",\\\"license\\\":\\\"MIT\\\"},\\\"src/tokens/erc20/WBTC.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"@openzeppelin/contracts/token/ERC20/presets/ERC20PresetMinterPauser.sol\\\\\\\";\\\\n\\\\ncontract WBTC is ERC20PresetMinterPauser {\\\\n address public immutable GATEWAY_ADDRESS;\\\\n\\\\n constructor(address gateway, address pauser) ERC20PresetMinterPauser(\\\\\\\"Wrapped Bitcoin\\\\\\\", \\\\\\\"WBTC\\\\\\\") {\\\\n _setupRole(DEFAULT_ADMIN_ROLE, pauser);\\\\n _setupRole(PAUSER_ROLE, pauser);\\\\n\\\\n GATEWAY_ADDRESS = gateway;\\\\n _setupRole(MINTER_ROLE, gateway);\\\\n\\\\n _revokeRole(DEFAULT_ADMIN_ROLE, _msgSender());\\\\n _revokeRole(MINTER_ROLE, _msgSender());\\\\n _revokeRole(PAUSER_ROLE, _msgSender());\\\\n }\\\\n\\\\n /**\\\\n * @inheritdoc ERC20\\\\n */\\\\n function decimals() public view virtual override returns (uint8) {\\\\n return 8;\\\\n }\\\\n\\\\n function _beforeTokenTransfer(address from, address to, uint256 amount) internal override(ERC20PresetMinterPauser) {\\\\n if (to == address(0)) {\\\\n if (_msgSender() != GATEWAY_ADDRESS) {\\\\n revert(\\\\\\\"WBTC: only gateway can burn tokens\\\\\\\");\\\\n }\\\\n }\\\\n\\\\n super._beforeTokenTransfer(from, to, amount);\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x8feda48d265897a859e1c55fce92250b0a75970819eb18588d29839c09a470ac\\\",\\\"license\\\":\\\"MIT\\\"}},\\\"version\\\":1}\"", + "nonce": 195533, + "storageLayout": { + "storage": [ + { + "astId": 51446, + "contract": "src/tokens/erc20/WBTC.sol:WBTC", + "label": "_roles", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_bytes32,t_struct(RoleData)51441_storage)" + }, + { + "astId": 51760, + "contract": "src/tokens/erc20/WBTC.sol:WBTC", + "label": "_roleMembers", + "offset": 0, + "slot": "1", + "type": "t_mapping(t_bytes32,t_struct(AddressSet)58416_storage)" + }, + { + "astId": 54655, + "contract": "src/tokens/erc20/WBTC.sol:WBTC", + "label": "_balances", + "offset": 0, + "slot": "2", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 54661, + "contract": "src/tokens/erc20/WBTC.sol:WBTC", + "label": "_allowances", + "offset": 0, + "slot": "3", + "type": "t_mapping(t_address,t_mapping(t_address,t_uint256))" + }, + { + "astId": 54663, + "contract": "src/tokens/erc20/WBTC.sol:WBTC", + "label": "_totalSupply", + "offset": 0, + "slot": "4", + "type": "t_uint256" + }, + { + "astId": 54665, + "contract": "src/tokens/erc20/WBTC.sol:WBTC", + "label": "_name", + "offset": 0, + "slot": "5", + "type": "t_string_storage" + }, + { + "astId": 54667, + "contract": "src/tokens/erc20/WBTC.sol:WBTC", + "label": "_symbol", + "offset": 0, + "slot": "6", + "type": "t_string_storage" + }, + { + "astId": 52708, + "contract": "src/tokens/erc20/WBTC.sol:WBTC", + "label": "_paused", + "offset": 0, + "slot": "7", + "type": "t_bool" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_array(t_bytes32)dyn_storage": { + "encoding": "dynamic_array", + "label": "bytes32[]", + "numberOfBytes": "32", + "base": "t_bytes32" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_bool)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_address,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_bytes32,t_struct(AddressSet)58416_storage)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => struct EnumerableSet.AddressSet)", + "numberOfBytes": "32", + "value": "t_struct(AddressSet)58416_storage" + }, + "t_mapping(t_bytes32,t_struct(RoleData)51441_storage)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => struct AccessControl.RoleData)", + "numberOfBytes": "32", + "value": "t_struct(RoleData)51441_storage" + }, + "t_mapping(t_bytes32,t_uint256)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_string_storage": { + "encoding": "bytes", + "label": "string", + "numberOfBytes": "32" + }, + "t_struct(AddressSet)58416_storage": { + "encoding": "inplace", + "label": "struct EnumerableSet.AddressSet", + "numberOfBytes": "64", + "members": [ + { + "astId": 58415, + "contract": "src/tokens/erc20/WBTC.sol:WBTC", + "label": "_inner", + "offset": 0, + "slot": "0", + "type": "t_struct(Set)58115_storage" + } + ] + }, + "t_struct(RoleData)51441_storage": { + "encoding": "inplace", + "label": "struct AccessControl.RoleData", + "numberOfBytes": "64", + "members": [ + { + "astId": 51438, + "contract": "src/tokens/erc20/WBTC.sol:WBTC", + "label": "members", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 51440, + "contract": "src/tokens/erc20/WBTC.sol:WBTC", + "label": "adminRole", + "offset": 0, + "slot": "1", + "type": "t_bytes32" + } + ] + }, + "t_struct(Set)58115_storage": { + "encoding": "inplace", + "label": "struct EnumerableSet.Set", + "numberOfBytes": "64", + "members": [ + { + "astId": 58110, + "contract": "src/tokens/erc20/WBTC.sol:WBTC", + "label": "_values", + "offset": 0, + "slot": "0", + "type": "t_array(t_bytes32)dyn_storage" + }, + { + "astId": 58114, + "contract": "src/tokens/erc20/WBTC.sol:WBTC", + "label": "_indexes", + "offset": 0, + "slot": "1", + "type": "t_mapping(t_bytes32,t_uint256)" + } + ] + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } + }, + "timestamp": 1724733752, + "userdoc": { + "version": 1, + "kind": "user" + } +} \ No newline at end of file diff --git a/deployments/sepolia/WBTC.json b/deployments/sepolia/WBTC.json new file mode 100644 index 00000000..960632bb --- /dev/null +++ b/deployments/sepolia/WBTC.json @@ -0,0 +1,144 @@ +{ + "abi": "[{\"type\":\"constructor\",\"inputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"allowance\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"spender\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"approve\",\"inputs\":[{\"name\":\"spender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"balanceOf\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"decimals\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint8\",\"internalType\":\"uint8\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"decreaseAllowance\",\"inputs\":[{\"name\":\"spender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"subtractedValue\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"increaseAllowance\",\"inputs\":[{\"name\":\"spender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"addedValue\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"name\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"symbol\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"totalSupply\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"transfer\",\"inputs\":[{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"transferFrom\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"Approval\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"spender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Transfer\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false}]", + "absolutePath": "WBTC_Sepolia.sol", + "address": "0xc65DEC9c627e636E32E0c84BC08C30395f2dc4AD", + "ast": "", + "blockNumber": 6579244, + "bytecode": "\"0x60806040523480156200001157600080fd5b506040518060400160405280600f81526020016e2bb930b83832b2102134ba31b7b4b760891b815250604051806040016040528060048152602001635742544360e01b81525081600390816200006891906200022f565b5060046200007782826200022f565b50505062000096336969e10de76676d08000006200009c60201b60201c565b62000323565b6001600160a01b038216620000f75760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b80600260008282546200010b9190620002fb565b90915550506001600160a01b038216600090815260208190526040812080548392906200013a908490620002fb565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001b457607f821691505b602082108103620001d557634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000184576000816000526020600020601f850160051c81016020861015620002065750805b601f850160051c820191505b81811015620002275782815560010162000212565b505050505050565b81516001600160401b038111156200024b576200024b62000189565b62000263816200025c84546200019f565b84620001db565b602080601f8311600181146200029b5760008415620002825750858301515b600019600386901b1c1916600185901b17855562000227565b600085815260208120601f198616915b82811015620002cc57888601518255948401946001909101908401620002ab565b5085821015620002eb5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200031d57634e487b7160e01b600052601160045260246000fd5b92915050565b61087d80620003336000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80633950935111610071578063395093511461012357806370a082311461013657806395d89b411461015f578063a457c2d714610167578063a9059cbb1461017a578063dd62ed3e1461018d57600080fd5b806306fdde03146100ae578063095ea7b3146100cc57806318160ddd146100ef57806323b872dd14610101578063313ce56714610114575b600080fd5b6100b66101a0565b6040516100c391906106c6565b60405180910390f35b6100df6100da366004610731565b610232565b60405190151581526020016100c3565b6002545b6040519081526020016100c3565b6100df61010f36600461075b565b61024c565b604051600881526020016100c3565b6100df610131366004610731565b610270565b6100f3610144366004610797565b6001600160a01b031660009081526020819052604090205490565b6100b6610292565b6100df610175366004610731565b6102a1565b6100df610188366004610731565b610321565b6100f361019b3660046107b9565b61032f565b6060600380546101af906107ec565b80601f01602080910402602001604051908101604052809291908181526020018280546101db906107ec565b80156102285780601f106101fd57610100808354040283529160200191610228565b820191906000526020600020905b81548152906001019060200180831161020b57829003601f168201915b5050505050905090565b60003361024081858561035a565b60019150505b92915050565b60003361025a85828561047e565b6102658585856104f8565b506001949350505050565b600033610240818585610283838361032f565b61028d9190610826565b61035a565b6060600480546101af906107ec565b600033816102af828661032f565b9050838110156103145760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b610265828686840361035a565b6000336102408185856104f8565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166103bc5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161030b565b6001600160a01b03821661041d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161030b565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061048a848461032f565b905060001981146104f257818110156104e55760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161030b565b6104f2848484840361035a565b50505050565b6001600160a01b03831661055c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161030b565b6001600160a01b0382166105be5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161030b565b6001600160a01b038316600090815260208190526040902054818110156106365760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161030b565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061066d908490610826565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516106b991815260200190565b60405180910390a36104f2565b60006020808352835180602085015260005b818110156106f4578581018301518582016040015282016106d8565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461072c57600080fd5b919050565b6000806040838503121561074457600080fd5b61074d83610715565b946020939093013593505050565b60008060006060848603121561077057600080fd5b61077984610715565b925061078760208501610715565b9150604084013590509250925092565b6000602082840312156107a957600080fd5b6107b282610715565b9392505050565b600080604083850312156107cc57600080fd5b6107d583610715565b91506107e360208401610715565b90509250929050565b600181811c9082168061080057607f821691505b60208210810361082057634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561024657634e487b7160e01b600052601160045260246000fdfea26469706673582212203180a6863b12a2ea61310de44db31cb65d795558a269ee3ba8e5c7f2b38bbea764736f6c63430008170033\"", + "callValue": 0, + "chainId": 11155111, + "constructorArgs": "0x", + "contractName": "WBTC", + "deployedBytecode": "\"0x608060405234801561001057600080fd5b50600436106100a95760003560e01c80633950935111610071578063395093511461012357806370a082311461013657806395d89b411461015f578063a457c2d714610167578063a9059cbb1461017a578063dd62ed3e1461018d57600080fd5b806306fdde03146100ae578063095ea7b3146100cc57806318160ddd146100ef57806323b872dd14610101578063313ce56714610114575b600080fd5b6100b66101a0565b6040516100c391906106c6565b60405180910390f35b6100df6100da366004610731565b610232565b60405190151581526020016100c3565b6002545b6040519081526020016100c3565b6100df61010f36600461075b565b61024c565b604051600881526020016100c3565b6100df610131366004610731565b610270565b6100f3610144366004610797565b6001600160a01b031660009081526020819052604090205490565b6100b6610292565b6100df610175366004610731565b6102a1565b6100df610188366004610731565b610321565b6100f361019b3660046107b9565b61032f565b6060600380546101af906107ec565b80601f01602080910402602001604051908101604052809291908181526020018280546101db906107ec565b80156102285780601f106101fd57610100808354040283529160200191610228565b820191906000526020600020905b81548152906001019060200180831161020b57829003601f168201915b5050505050905090565b60003361024081858561035a565b60019150505b92915050565b60003361025a85828561047e565b6102658585856104f8565b506001949350505050565b600033610240818585610283838361032f565b61028d9190610826565b61035a565b6060600480546101af906107ec565b600033816102af828661032f565b9050838110156103145760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b610265828686840361035a565b6000336102408185856104f8565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166103bc5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161030b565b6001600160a01b03821661041d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161030b565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061048a848461032f565b905060001981146104f257818110156104e55760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161030b565b6104f2848484840361035a565b50505050565b6001600160a01b03831661055c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161030b565b6001600160a01b0382166105be5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161030b565b6001600160a01b038316600090815260208190526040902054818110156106365760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161030b565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061066d908490610826565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516106b991815260200190565b60405180910390a36104f2565b60006020808352835180602085015260005b818110156106f4578581018301518582016040015282016106d8565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461072c57600080fd5b919050565b6000806040838503121561074457600080fd5b61074d83610715565b946020939093013593505050565b60008060006060848603121561077057600080fd5b61077984610715565b925061078760208501610715565b9150604084013590509250925092565b6000602082840312156107a957600080fd5b6107b282610715565b9392505050565b600080604083850312156107cc57600080fd5b6107d583610715565b91506107e360208401610715565b90509250929050565b600181811c9082168061080057607f821691505b60208210810361082057634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561024657634e487b7160e01b600052601160045260246000fdfea26469706673582212203180a6863b12a2ea61310de44db31cb65d795558a269ee3ba8e5c7f2b38bbea764736f6c63430008170033\"", + "deployer": "0xd90bB8ED38bcdE74889D66A5d346F6e0E1a244A7", + "devdoc": { + "version": 1, + "kind": "dev", + "methods": { + "allowance(address,address)": { + "details": "See {IERC20-allowance}." + }, + "approve(address,uint256)": { + "details": "See {IERC20-approve}. NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address." + }, + "balanceOf(address)": { + "details": "See {IERC20-balanceOf}." + }, + "decimals()": { + "details": "Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). Tokens usually opt for a value of 18, imitating the relationship between Ether and Wei. This is the value {ERC20} uses, unless this function is overridden; NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}." + }, + "decreaseAllowance(address,uint256)": { + "details": "Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`." + }, + "increaseAllowance(address,uint256)": { + "details": "Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address." + }, + "name()": { + "details": "Returns the name of the token." + }, + "symbol()": { + "details": "Returns the symbol of the token, usually a shorter version of the name." + }, + "totalSupply()": { + "details": "See {IERC20-totalSupply}." + }, + "transfer(address,uint256)": { + "details": "See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `amount`." + }, + "transferFrom(address,address,uint256)": { + "details": "See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `amount`. - the caller must have allowance for ``from``'s tokens of at least `amount`." + } + }, + "events": { + "Approval(address,address,uint256)": { + "details": "Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance." + }, + "Transfer(address,address,uint256)": { + "details": "Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero." + } + } + }, + "isFoundry": true, + "metadata": "\"{\\\"compiler\\\":{\\\"version\\\":\\\"0.8.23+commit.f704f362\\\"},\\\"language\\\":\\\"Solidity\\\",\\\"output\\\":{\\\"abi\\\":[{\\\"inputs\\\":[],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"constructor\\\"},{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"owner\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":true,\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"indexed\\\":false,\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"value\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"Approval\\\",\\\"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\\\":\\\"value\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"Transfer\\\",\\\"type\\\":\\\"event\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"owner\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"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\\\":\\\"approve\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"account\\\",\\\"type\\\":\\\"address\\\"}],\\\"name\\\":\\\"balanceOf\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"decimals\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint8\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint8\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"subtractedValue\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"decreaseAllowance\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"spender\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"addedValue\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"increaseAllowance\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"name\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"string\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"string\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"symbol\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"string\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"string\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[],\\\"name\\\":\\\"totalSupply\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"stateMutability\\\":\\\"view\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"transfer\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"},{\\\"inputs\\\":[{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"from\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"address\\\",\\\"name\\\":\\\"to\\\",\\\"type\\\":\\\"address\\\"},{\\\"internalType\\\":\\\"uint256\\\",\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint256\\\"}],\\\"name\\\":\\\"transferFrom\\\",\\\"outputs\\\":[{\\\"internalType\\\":\\\"bool\\\",\\\"name\\\":\\\"\\\",\\\"type\\\":\\\"bool\\\"}],\\\"stateMutability\\\":\\\"nonpayable\\\",\\\"type\\\":\\\"function\\\"}],\\\"devdoc\\\":{\\\"events\\\":{\\\"Approval(address,address,uint256)\\\":{\\\"details\\\":\\\"Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance.\\\"},\\\"Transfer(address,address,uint256)\\\":{\\\"details\\\":\\\"Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero.\\\"}},\\\"kind\\\":\\\"dev\\\",\\\"methods\\\":{\\\"allowance(address,address)\\\":{\\\"details\\\":\\\"See {IERC20-allowance}.\\\"},\\\"approve(address,uint256)\\\":{\\\"details\\\":\\\"See {IERC20-approve}. NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address.\\\"},\\\"balanceOf(address)\\\":{\\\"details\\\":\\\"See {IERC20-balanceOf}.\\\"},\\\"decimals()\\\":{\\\"details\\\":\\\"Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). Tokens usually opt for a value of 18, imitating the relationship between Ether and Wei. This is the value {ERC20} uses, unless this function is overridden; NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}.\\\"},\\\"decreaseAllowance(address,uint256)\\\":{\\\"details\\\":\\\"Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`.\\\"},\\\"increaseAllowance(address,uint256)\\\":{\\\"details\\\":\\\"Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address.\\\"},\\\"name()\\\":{\\\"details\\\":\\\"Returns the name of the token.\\\"},\\\"symbol()\\\":{\\\"details\\\":\\\"Returns the symbol of the token, usually a shorter version of the name.\\\"},\\\"totalSupply()\\\":{\\\"details\\\":\\\"See {IERC20-totalSupply}.\\\"},\\\"transfer(address,uint256)\\\":{\\\"details\\\":\\\"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `amount`.\\\"},\\\"transferFrom(address,address,uint256)\\\":{\\\"details\\\":\\\"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `amount`. - the caller must have allowance for ``from``'s tokens of at least `amount`.\\\"}},\\\"version\\\":1},\\\"userdoc\\\":{\\\"kind\\\":\\\"user\\\",\\\"methods\\\":{},\\\"version\\\":1}},\\\"settings\\\":{\\\"compilationTarget\\\":{\\\"src/tokens/erc20/WBTC_Sepolia.sol\\\":\\\"WBTC_Sepolia\\\"},\\\"evmVersion\\\":\\\"london\\\",\\\"libraries\\\":{},\\\"metadata\\\":{\\\"bytecodeHash\\\":\\\"ipfs\\\",\\\"useLiteralContent\\\":true},\\\"optimizer\\\":{\\\"enabled\\\":true,\\\"runs\\\":200},\\\"remappings\\\":[\\\":@fdk/=dependencies/@fdk-0.3.1-beta/script/\\\",\\\":@openzeppelin/=dependencies/@openzeppelin-4.7.3/\\\",\\\":@prb/math/=lib/prb-math/\\\",\\\":@prb/test/=dependencies/@prb-test-0.6.5/src/\\\",\\\":@ronin/contracts/=src/\\\",\\\":@ronin/test/=test/\\\",\\\":ds-test/=lib/prb-math/lib/forge-std/lib/ds-test/src/\\\",\\\":forge-std/=dependencies/@fdk-0.3.1-beta/dependencies/@forge-std-1.9.1/src/\\\",\\\":hardhat-deploy/=node_modules/hardhat-deploy/\\\",\\\":hardhat/=node_modules/hardhat/\\\",\\\":prb-math/=lib/prb-math/src/\\\",\\\":prb-test/=lib/prb-math/lib/prb-test/src/\\\",\\\":solady/=dependencies/@fdk-0.3.1-beta/dependencies/@solady-0.0.228/src/\\\"]},\\\"sources\\\":{\\\"dependencies/@openzeppelin-4.7.3/contracts/token/ERC20/ERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"./IERC20.sol\\\\\\\";\\\\nimport \\\\\\\"./extensions/IERC20Metadata.sol\\\\\\\";\\\\nimport \\\\\\\"../../utils/Context.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Implementation of the {IERC20} interface.\\\\n *\\\\n * This implementation is agnostic to the way tokens are created. This means\\\\n * that a supply mechanism has to be added in a derived contract using {_mint}.\\\\n * For a generic mechanism see {ERC20PresetMinterPauser}.\\\\n *\\\\n * TIP: For a detailed writeup see our guide\\\\n * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How\\\\n * to implement supply mechanisms].\\\\n *\\\\n * We have followed general OpenZeppelin Contracts guidelines: functions revert\\\\n * instead returning `false` on failure. This behavior is nonetheless\\\\n * conventional and does not conflict with the expectations of ERC20\\\\n * applications.\\\\n *\\\\n * Additionally, an {Approval} event is emitted on calls to {transferFrom}.\\\\n * This allows applications to reconstruct the allowance for all accounts just\\\\n * by listening to said events. Other implementations of the EIP may not emit\\\\n * these events, as it isn't required by the specification.\\\\n *\\\\n * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}\\\\n * functions have been added to mitigate the well-known issues around setting\\\\n * allowances. See {IERC20-approve}.\\\\n */\\\\ncontract ERC20 is Context, IERC20, IERC20Metadata {\\\\n mapping(address => uint256) private _balances;\\\\n\\\\n mapping(address => mapping(address => uint256)) private _allowances;\\\\n\\\\n uint256 private _totalSupply;\\\\n\\\\n string private _name;\\\\n string private _symbol;\\\\n\\\\n /**\\\\n * @dev Sets the values for {name} and {symbol}.\\\\n *\\\\n * The default value of {decimals} is 18. To select a different value for\\\\n * {decimals} you should overload it.\\\\n *\\\\n * All two of these values are immutable: they can only be set once during\\\\n * construction.\\\\n */\\\\n constructor(string memory name_, string memory symbol_) {\\\\n _name = name_;\\\\n _symbol = symbol_;\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the name of the token.\\\\n */\\\\n function name() public view virtual override returns (string memory) {\\\\n return _name;\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the symbol of the token, usually a shorter version of the\\\\n * name.\\\\n */\\\\n function symbol() public view virtual override returns (string memory) {\\\\n return _symbol;\\\\n }\\\\n\\\\n /**\\\\n * @dev Returns the number of decimals used to get its user representation.\\\\n * For example, if `decimals` equals `2`, a balance of `505` tokens should\\\\n * be displayed to a user as `5.05` (`505 / 10 ** 2`).\\\\n *\\\\n * Tokens usually opt for a value of 18, imitating the relationship between\\\\n * Ether and Wei. This is the value {ERC20} uses, unless this function is\\\\n * overridden;\\\\n *\\\\n * NOTE: This information is only used for _display_ purposes: it in\\\\n * no way affects any of the arithmetic of the contract, including\\\\n * {IERC20-balanceOf} and {IERC20-transfer}.\\\\n */\\\\n function decimals() public view virtual override returns (uint8) {\\\\n return 18;\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC20-totalSupply}.\\\\n */\\\\n function totalSupply() public view virtual override returns (uint256) {\\\\n return _totalSupply;\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC20-balanceOf}.\\\\n */\\\\n function balanceOf(address account) public view virtual override returns (uint256) {\\\\n return _balances[account];\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC20-transfer}.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `to` cannot be the zero address.\\\\n * - the caller must have a balance of at least `amount`.\\\\n */\\\\n function transfer(address to, uint256 amount) public virtual override returns (bool) {\\\\n address owner = _msgSender();\\\\n _transfer(owner, to, amount);\\\\n return true;\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC20-allowance}.\\\\n */\\\\n function allowance(address owner, address spender) public view virtual override returns (uint256) {\\\\n return _allowances[owner][spender];\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC20-approve}.\\\\n *\\\\n * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on\\\\n * `transferFrom`. This is semantically equivalent to an infinite approval.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `spender` cannot be the zero address.\\\\n */\\\\n function approve(address spender, uint256 amount) public virtual override returns (bool) {\\\\n address owner = _msgSender();\\\\n _approve(owner, spender, amount);\\\\n return true;\\\\n }\\\\n\\\\n /**\\\\n * @dev See {IERC20-transferFrom}.\\\\n *\\\\n * Emits an {Approval} event indicating the updated allowance. This is not\\\\n * required by the EIP. See the note at the beginning of {ERC20}.\\\\n *\\\\n * NOTE: Does not update the allowance if the current allowance\\\\n * is the maximum `uint256`.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `from` and `to` cannot be the zero address.\\\\n * - `from` must have a balance of at least `amount`.\\\\n * - the caller must have allowance for ``from``'s tokens of at least\\\\n * `amount`.\\\\n */\\\\n function transferFrom(\\\\n address from,\\\\n address to,\\\\n uint256 amount\\\\n ) public virtual override returns (bool) {\\\\n address spender = _msgSender();\\\\n _spendAllowance(from, spender, amount);\\\\n _transfer(from, to, amount);\\\\n return true;\\\\n }\\\\n\\\\n /**\\\\n * @dev Atomically increases the allowance granted to `spender` by the caller.\\\\n *\\\\n * This is an alternative to {approve} that can be used as a mitigation for\\\\n * problems described in {IERC20-approve}.\\\\n *\\\\n * Emits an {Approval} event indicating the updated allowance.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `spender` cannot be the zero address.\\\\n */\\\\n function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {\\\\n address owner = _msgSender();\\\\n _approve(owner, spender, allowance(owner, spender) + addedValue);\\\\n return true;\\\\n }\\\\n\\\\n /**\\\\n * @dev Atomically decreases the allowance granted to `spender` by the caller.\\\\n *\\\\n * This is an alternative to {approve} that can be used as a mitigation for\\\\n * problems described in {IERC20-approve}.\\\\n *\\\\n * Emits an {Approval} event indicating the updated allowance.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `spender` cannot be the zero address.\\\\n * - `spender` must have allowance for the caller of at least\\\\n * `subtractedValue`.\\\\n */\\\\n function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {\\\\n address owner = _msgSender();\\\\n uint256 currentAllowance = allowance(owner, spender);\\\\n require(currentAllowance >= subtractedValue, \\\\\\\"ERC20: decreased allowance below zero\\\\\\\");\\\\n unchecked {\\\\n _approve(owner, spender, currentAllowance - subtractedValue);\\\\n }\\\\n\\\\n return true;\\\\n }\\\\n\\\\n /**\\\\n * @dev Moves `amount` of tokens from `from` to `to`.\\\\n *\\\\n * This internal function is equivalent to {transfer}, and can be used to\\\\n * e.g. implement automatic token fees, slashing mechanisms, etc.\\\\n *\\\\n * Emits a {Transfer} event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `from` cannot be the zero address.\\\\n * - `to` cannot be the zero address.\\\\n * - `from` must have a balance of at least `amount`.\\\\n */\\\\n function _transfer(\\\\n address from,\\\\n address to,\\\\n uint256 amount\\\\n ) internal virtual {\\\\n require(from != address(0), \\\\\\\"ERC20: transfer from the zero address\\\\\\\");\\\\n require(to != address(0), \\\\\\\"ERC20: transfer to the zero address\\\\\\\");\\\\n\\\\n _beforeTokenTransfer(from, to, amount);\\\\n\\\\n uint256 fromBalance = _balances[from];\\\\n require(fromBalance >= amount, \\\\\\\"ERC20: transfer amount exceeds balance\\\\\\\");\\\\n unchecked {\\\\n _balances[from] = fromBalance - amount;\\\\n }\\\\n _balances[to] += amount;\\\\n\\\\n emit Transfer(from, to, amount);\\\\n\\\\n _afterTokenTransfer(from, to, amount);\\\\n }\\\\n\\\\n /** @dev Creates `amount` tokens and assigns them to `account`, increasing\\\\n * the total supply.\\\\n *\\\\n * Emits a {Transfer} event with `from` set to the zero address.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `account` cannot be the zero address.\\\\n */\\\\n function _mint(address account, uint256 amount) internal virtual {\\\\n require(account != address(0), \\\\\\\"ERC20: mint to the zero address\\\\\\\");\\\\n\\\\n _beforeTokenTransfer(address(0), account, amount);\\\\n\\\\n _totalSupply += amount;\\\\n _balances[account] += amount;\\\\n emit Transfer(address(0), account, amount);\\\\n\\\\n _afterTokenTransfer(address(0), account, amount);\\\\n }\\\\n\\\\n /**\\\\n * @dev Destroys `amount` tokens from `account`, reducing the\\\\n * total supply.\\\\n *\\\\n * Emits a {Transfer} event with `to` set to the zero address.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `account` cannot be the zero address.\\\\n * - `account` must have at least `amount` tokens.\\\\n */\\\\n function _burn(address account, uint256 amount) internal virtual {\\\\n require(account != address(0), \\\\\\\"ERC20: burn from the zero address\\\\\\\");\\\\n\\\\n _beforeTokenTransfer(account, address(0), amount);\\\\n\\\\n uint256 accountBalance = _balances[account];\\\\n require(accountBalance >= amount, \\\\\\\"ERC20: burn amount exceeds balance\\\\\\\");\\\\n unchecked {\\\\n _balances[account] = accountBalance - amount;\\\\n }\\\\n _totalSupply -= amount;\\\\n\\\\n emit Transfer(account, address(0), amount);\\\\n\\\\n _afterTokenTransfer(account, address(0), amount);\\\\n }\\\\n\\\\n /**\\\\n * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.\\\\n *\\\\n * This internal function is equivalent to `approve`, and can be used to\\\\n * e.g. set automatic allowances for certain subsystems, etc.\\\\n *\\\\n * Emits an {Approval} event.\\\\n *\\\\n * Requirements:\\\\n *\\\\n * - `owner` cannot be the zero address.\\\\n * - `spender` cannot be the zero address.\\\\n */\\\\n function _approve(\\\\n address owner,\\\\n address spender,\\\\n uint256 amount\\\\n ) internal virtual {\\\\n require(owner != address(0), \\\\\\\"ERC20: approve from the zero address\\\\\\\");\\\\n require(spender != address(0), \\\\\\\"ERC20: approve to the zero address\\\\\\\");\\\\n\\\\n _allowances[owner][spender] = amount;\\\\n emit Approval(owner, spender, amount);\\\\n }\\\\n\\\\n /**\\\\n * @dev Updates `owner` s allowance for `spender` based on spent `amount`.\\\\n *\\\\n * Does not update the allowance amount in case of infinite allowance.\\\\n * Revert if not enough allowance is available.\\\\n *\\\\n * Might emit an {Approval} event.\\\\n */\\\\n function _spendAllowance(\\\\n address owner,\\\\n address spender,\\\\n uint256 amount\\\\n ) internal virtual {\\\\n uint256 currentAllowance = allowance(owner, spender);\\\\n if (currentAllowance != type(uint256).max) {\\\\n require(currentAllowance >= amount, \\\\\\\"ERC20: insufficient allowance\\\\\\\");\\\\n unchecked {\\\\n _approve(owner, spender, currentAllowance - amount);\\\\n }\\\\n }\\\\n }\\\\n\\\\n /**\\\\n * @dev Hook that is called before any transfer of tokens. This includes\\\\n * minting and burning.\\\\n *\\\\n * Calling conditions:\\\\n *\\\\n * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\\\n * will be transferred to `to`.\\\\n * - when `from` is zero, `amount` tokens will be minted for `to`.\\\\n * - when `to` is zero, `amount` of ``from``'s tokens will be burned.\\\\n * - `from` and `to` are never both zero.\\\\n *\\\\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\\\n */\\\\n function _beforeTokenTransfer(\\\\n address from,\\\\n address to,\\\\n uint256 amount\\\\n ) internal virtual {}\\\\n\\\\n /**\\\\n * @dev Hook that is called after any transfer of tokens. This includes\\\\n * minting and burning.\\\\n *\\\\n * Calling conditions:\\\\n *\\\\n * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\\\\n * has been transferred to `to`.\\\\n * - when `from` is zero, `amount` tokens have been minted for `to`.\\\\n * - when `to` is zero, `amount` of ``from``'s tokens have been burned.\\\\n * - `from` and `to` are never both zero.\\\\n *\\\\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\\\\n */\\\\n function _afterTokenTransfer(\\\\n address from,\\\\n address to,\\\\n uint256 amount\\\\n ) internal virtual {}\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/token/ERC20/IERC20.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\n/**\\\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\\\n */\\\\ninterface IERC20 {\\\\n /**\\\\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\\\\n * another (`to`).\\\\n *\\\\n * Note that `value` may be zero.\\\\n */\\\\n event Transfer(address indexed from, address indexed to, uint256 value);\\\\n\\\\n /**\\\\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\\\n * a call to {approve}. `value` is the new allowance.\\\\n */\\\\n event Approval(address indexed owner, address indexed spender, uint256 value);\\\\n\\\\n /**\\\\n * @dev Returns the amount of tokens in existence.\\\\n */\\\\n function totalSupply() external view returns (uint256);\\\\n\\\\n /**\\\\n * @dev Returns the amount of tokens owned by `account`.\\\\n */\\\\n function balanceOf(address account) external view returns (uint256);\\\\n\\\\n /**\\\\n * @dev Moves `amount` tokens from the caller's account to `to`.\\\\n *\\\\n * Returns a boolean value indicating whether the operation succeeded.\\\\n *\\\\n * Emits a {Transfer} event.\\\\n */\\\\n function transfer(address to, uint256 amount) external returns (bool);\\\\n\\\\n /**\\\\n * @dev Returns the remaining number of tokens that `spender` will be\\\\n * allowed to spend on behalf of `owner` through {transferFrom}. This is\\\\n * zero by default.\\\\n *\\\\n * This value changes when {approve} or {transferFrom} are called.\\\\n */\\\\n function allowance(address owner, address spender) external view returns (uint256);\\\\n\\\\n /**\\\\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\\\n *\\\\n * Returns a boolean value indicating whether the operation succeeded.\\\\n *\\\\n * IMPORTANT: Beware that changing an allowance with this method brings the risk\\\\n * that someone may use both the old and the new allowance by unfortunate\\\\n * transaction ordering. One possible solution to mitigate this race\\\\n * condition is to first reduce the spender's allowance to 0 and set the\\\\n * desired value afterwards:\\\\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\\\n *\\\\n * Emits an {Approval} event.\\\\n */\\\\n function approve(address spender, uint256 amount) external returns (bool);\\\\n\\\\n /**\\\\n * @dev Moves `amount` tokens from `from` to `to` using the\\\\n * allowance mechanism. `amount` is then deducted from the caller's\\\\n * allowance.\\\\n *\\\\n * Returns a boolean value indicating whether the operation succeeded.\\\\n *\\\\n * Emits a {Transfer} event.\\\\n */\\\\n function transferFrom(\\\\n address from,\\\\n address to,\\\\n uint256 amount\\\\n ) external returns (bool);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/contracts/token/ERC20/extensions/IERC20Metadata.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)\\\\n\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport \\\\\\\"../IERC20.sol\\\\\\\";\\\\n\\\\n/**\\\\n * @dev Interface for the optional metadata functions from the ERC20 standard.\\\\n *\\\\n * _Available since v4.1._\\\\n */\\\\ninterface IERC20Metadata is IERC20 {\\\\n /**\\\\n * @dev Returns the name of the token.\\\\n */\\\\n function name() external view returns (string memory);\\\\n\\\\n /**\\\\n * @dev Returns the symbol of the token.\\\\n */\\\\n function symbol() external view returns (string memory);\\\\n\\\\n /**\\\\n * @dev Returns the decimals places of the token.\\\\n */\\\\n function decimals() external view returns (uint8);\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca\\\",\\\"license\\\":\\\"MIT\\\"},\\\"dependencies/@openzeppelin-4.7.3/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\\\"},\\\"src/tokens/erc20/WBTC_Sepolia.sol\\\":{\\\"content\\\":\\\"// SPDX-License-Identifier: MIT\\\\npragma solidity ^0.8.0;\\\\n\\\\nimport { ERC20 } from \\\\\\\"@openzeppelin/contracts/token/ERC20/ERC20.sol\\\\\\\";\\\\n\\\\ncontract WBTC_Sepolia is ERC20 {\\\\n /**\\\\n * @inheritdoc ERC20\\\\n */\\\\n function decimals() public view virtual override returns (uint8) {\\\\n return 8;\\\\n }\\\\n\\\\n constructor() ERC20(\\\\\\\"Wrapped Bitcoin\\\\\\\", \\\\\\\"WBTC\\\\\\\") {\\\\n _mint(msg.sender, 500_000 ether);\\\\n }\\\\n}\\\\n\\\",\\\"keccak256\\\":\\\"0x71e3a51a393fa774e2d10c37ffe167be0ed0fec741cd31a87430d4289a700120\\\",\\\"license\\\":\\\"MIT\\\"}},\\\"version\\\":1}\"", + "nonce": 2, + "storageLayout": { + "storage": [ + { + "astId": 15, + "contract": "src/tokens/erc20/WBTC_Sepolia.sol:WBTC_Sepolia", + "label": "_balances", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 21, + "contract": "src/tokens/erc20/WBTC_Sepolia.sol:WBTC_Sepolia", + "label": "_allowances", + "offset": 0, + "slot": "1", + "type": "t_mapping(t_address,t_mapping(t_address,t_uint256))" + }, + { + "astId": 23, + "contract": "src/tokens/erc20/WBTC_Sepolia.sol:WBTC_Sepolia", + "label": "_totalSupply", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 25, + "contract": "src/tokens/erc20/WBTC_Sepolia.sol:WBTC_Sepolia", + "label": "_name", + "offset": 0, + "slot": "3", + "type": "t_string_storage" + }, + { + "astId": 27, + "contract": "src/tokens/erc20/WBTC_Sepolia.sol:WBTC_Sepolia", + "label": "_symbol", + "offset": 0, + "slot": "4", + "type": "t_string_storage" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_string_storage": { + "encoding": "bytes", + "label": "string", + "numberOfBytes": "32" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } + }, + "timestamp": 1724734632, + "userdoc": { + "version": 1, + "kind": "user" + } +} \ No newline at end of file diff --git a/script/GeneralConfig.sol b/script/GeneralConfig.sol index 0be1691b..e76fa0cd 100644 --- a/script/GeneralConfig.sol +++ b/script/GeneralConfig.sol @@ -78,6 +78,9 @@ contract GeneralConfig is BaseGeneralConfig, Utils { _contractAddrMap[DefaultNetwork.RoninTestnet.key()][Contract.WETH.name()] = 0x29C6F8349A028E1bdfC68BFa08BDee7bC5D47E16; _contractAddrMap[DefaultNetwork.RoninTestnet.key()][Contract.WRON.name()] = 0xA959726154953bAe111746E265E6d754F48570E6; + + TNetwork currNetwork = getCurrentNetwork(); + if (currNetwork == Network.Sepolia.key()) _contractNameMap[Contract.WBTC.key()] = "WBTC_Sepolia"; } function _mapContractName(Contract contractEnum) internal { diff --git a/script/contracts/WBTCDeploy.s.sol b/script/contracts/WBTCDeploy.s.sol new file mode 100644 index 00000000..40825d4a --- /dev/null +++ b/script/contracts/WBTCDeploy.s.sol @@ -0,0 +1,22 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.19; + +import { WBTC } from "@ronin/contracts/tokens/erc20/WBTC.sol"; +import { Contract } from "../utils/Contract.sol"; +import { Migration } from "../Migration.s.sol"; + +import { BridgeSlashDeploy } from "./BridgeSlashDeploy.s.sol"; + +contract WBTCDeploy is Migration { + function _defaultArguments() internal virtual override returns (bytes memory) { + address gateway = loadContract(Contract.RoninGatewayV3.key()); + address pauseEnforcer = loadContract(Contract.RoninPauseEnforcer.key()); + + return abi.encode(gateway, pauseEnforcer); + } + + function run() public virtual returns (WBTC instance) { + instance = WBTC(_deployImmutable(Contract.WBTC.key())); + assertEq(instance.decimals(), 8, "WBTC: invalid decimals"); + } +} diff --git a/script/contracts/WBTC_SepoliaDeploy.s.sol b/script/contracts/WBTC_SepoliaDeploy.s.sol new file mode 100644 index 00000000..54e84234 --- /dev/null +++ b/script/contracts/WBTC_SepoliaDeploy.s.sol @@ -0,0 +1,16 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.19; + +import { WBTC_Sepolia } from "@ronin/contracts/tokens/erc20/WBTC_Sepolia.sol"; +import { Contract } from "../utils/Contract.sol"; +import { Network } from "../utils/Network.sol"; +import { Migration } from "../Migration.s.sol"; + +import { BridgeSlashDeploy } from "./BridgeSlashDeploy.s.sol"; + +contract WBTCSepolia_Deploy is Migration { + function run() public virtual onlyOn(Network.Sepolia.key()) returns (WBTC_Sepolia instance) { + instance = WBTC_Sepolia(_deployImmutable(Contract.WBTC.key())); + assertEq(instance.decimals(), 8, "WBTC: invalid decimals"); + } +} diff --git a/src/tokens/erc20/WBTC_Sepolia.sol b/src/tokens/erc20/WBTC_Sepolia.sol new file mode 100644 index 00000000..7eb08d84 --- /dev/null +++ b/src/tokens/erc20/WBTC_Sepolia.sol @@ -0,0 +1,17 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.0; + +import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; + +contract WBTC_Sepolia is ERC20 { + /** + * @inheritdoc ERC20 + */ + function decimals() public view virtual override returns (uint8) { + return 8; + } + + constructor() ERC20("Wrapped Bitcoin", "WBTC") { + _mint(msg.sender, 500_000 ether); + } +} From e06403a0cbb1a29a2bba16c8d825756e0490dff1 Mon Sep 17 00:00:00 2001 From: tringuyenskymavis Date: Wed, 28 Aug 2024 01:20:12 +0700 Subject: [PATCH 72/74] script: map wbtc script 27-08-2024 --- .../20240827-maptoken-wbtc-mainchain.s.sol | 31 +++++++++++++++++++ ...20240827-maptoken-wbtc-ronin-testnet.s.sol | 25 +++++++++++++++ .../base-maptoken.s.sol | 25 +++++++++++++++ .../caller-configs.s.sol | 6 ++++ .../governors-configs.s.sol | 23 ++++++++++++++ .../maptoken-wbtc-configs.s.sol | 21 +++++++++++++ 6 files changed, 131 insertions(+) create mode 100644 script/20240827-remap-wbct-testnet/20240827-maptoken-wbtc-mainchain.s.sol create mode 100644 script/20240827-remap-wbct-testnet/20240827-maptoken-wbtc-ronin-testnet.s.sol create mode 100644 script/20240827-remap-wbct-testnet/base-maptoken.s.sol create mode 100644 script/20240827-remap-wbct-testnet/caller-configs.s.sol create mode 100644 script/20240827-remap-wbct-testnet/governors-configs.s.sol create mode 100644 script/20240827-remap-wbct-testnet/maptoken-wbtc-configs.s.sol diff --git a/script/20240827-remap-wbct-testnet/20240827-maptoken-wbtc-mainchain.s.sol b/script/20240827-remap-wbct-testnet/20240827-maptoken-wbtc-mainchain.s.sol new file mode 100644 index 00000000..6dc00820 --- /dev/null +++ b/script/20240827-remap-wbct-testnet/20240827-maptoken-wbtc-mainchain.s.sol @@ -0,0 +1,31 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.19; + +import "../factories/mainchain/factory-maptoken-mainchain-sepolia.s.sol"; +import "./base-maptoken.s.sol"; +import "@ronin/contracts/libraries/Ballot.sol"; +import { StdStyle } from "forge-std/StdStyle.sol"; +import { MainchainBridgeAdminUtils } from "test/helpers/MainchainBridgeAdminUtils.t.sol"; +import { SignatureConsumer } from "@ronin/contracts/interfaces/consumers/SignatureConsumer.sol"; +import { Proposal } from "@ronin/contracts/libraries/Proposal.sol"; +import { MainchainBridgeManager } from "@ronin/contracts/mainchain/MainchainBridgeManager.sol"; + +contract Migration__20240827_MapTokenWBTCMainchain is Base__MapToken, Factory__MapTokensMainchain_Sepolia { + MainchainBridgeAdminUtils _mainchainProposalUtils; + + function _initCaller() internal override(Base__MapToken, Factory__MapTokensMainchain) returns (address) { + return Base__MapToken._initCaller(); + } + + function _initTokenList() internal override(Base__MapToken, Factory__MapTokensMainchain) returns (uint256 totalToken, MapTokenInfo[] memory infos) { + return Base__MapToken._initTokenList(); + } + + function _initGovernors() internal override(Base__MapToken, Factory__MapTokensMainchain_Sepolia) returns (address[] memory) { + return Base__MapToken._initGovernors(); + } + + function run() public override { + Factory__MapTokensMainchain_Sepolia.run(); + } +} diff --git a/script/20240827-remap-wbct-testnet/20240827-maptoken-wbtc-ronin-testnet.s.sol b/script/20240827-remap-wbct-testnet/20240827-maptoken-wbtc-ronin-testnet.s.sol new file mode 100644 index 00000000..53729616 --- /dev/null +++ b/script/20240827-remap-wbct-testnet/20240827-maptoken-wbtc-ronin-testnet.s.sol @@ -0,0 +1,25 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.19; + +import { console2 } from "forge-std/console2.sol"; +import "../factories/roninchain/factory-maptoken-ronin-testnet.s.sol"; +import "./base-maptoken.s.sol"; +import { Proposal } from "@ronin/contracts/libraries/Proposal.sol"; + +contract Migration__20240827_MapTokenWBTCRoninTestnet is Base__MapToken, Factory__MapTokensRonin_Testnet { + function _initCaller() internal override(Base__MapToken, Factory__MapTokensRoninchain) returns (address) { + return Base__MapToken._initCaller(); + } + + function _initTokenList() internal override(Base__MapToken, Factory__MapTokensRoninchain) returns (uint256 totalToken, MapTokenInfo[] memory infos) { + return Base__MapToken._initTokenList(); + } + + function _initGovernors() internal override(Base__MapToken, Factory__MapTokensRonin_Testnet) returns (address[] memory) { + return Base__MapToken._initGovernors(); + } + + function run() public override { + Factory__MapTokensRonin_Testnet.run(); + } +} diff --git a/script/20240827-remap-wbct-testnet/base-maptoken.s.sol b/script/20240827-remap-wbct-testnet/base-maptoken.s.sol new file mode 100644 index 00000000..8969fb7f --- /dev/null +++ b/script/20240827-remap-wbct-testnet/base-maptoken.s.sol @@ -0,0 +1,25 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.19; + +import "forge-std/console2.sol"; + +import "./caller-configs.s.sol"; +import "./maptoken-wbtc-configs.s.sol"; +import "./governors-configs.s.sol"; + +contract Base__MapToken is Migration__Caller_Config, Migration__MapToken_WBTC_Config, Migration__Governors_Config { + function _initCaller() internal virtual returns (address) { + return SM_GOVERNOR; + } + + function _initGovernors() internal virtual returns (address[] memory) { + return governors; + } + + function _initTokenList() internal virtual returns (uint256 totalToken, MapTokenInfo[] memory infos) { + totalToken = 1; + + infos = new MapTokenInfo[](totalToken); + infos[0] = _wbtcInfo; + } +} diff --git a/script/20240827-remap-wbct-testnet/caller-configs.s.sol b/script/20240827-remap-wbct-testnet/caller-configs.s.sol new file mode 100644 index 00000000..1e3428d5 --- /dev/null +++ b/script/20240827-remap-wbct-testnet/caller-configs.s.sol @@ -0,0 +1,6 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.19; + +contract Migration__Caller_Config { + address internal SM_GOVERNOR = 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa; // TODO: replace by address of the SV governor +} diff --git a/script/20240827-remap-wbct-testnet/governors-configs.s.sol b/script/20240827-remap-wbct-testnet/governors-configs.s.sol new file mode 100644 index 00000000..b259ee75 --- /dev/null +++ b/script/20240827-remap-wbct-testnet/governors-configs.s.sol @@ -0,0 +1,23 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.19; + +import { LibSharedAddress } from "@fdk/libraries/LibSharedAddress.sol"; +import { Vm } from "forge-std/Vm.sol"; +import { LibArray } from "script/shared/libraries/LibArray.sol"; + +contract Migration__Governors_Config { + Vm private constant vm = Vm(LibSharedAddress.VM); + + address[] internal governors = new address[](4); + string[] internal pkOpSecretRefs = new string[](4); + + constructor() { + // TODO: replace by address of the testnet governors + governors[0] = 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa; + governors[1] = 0xb033ba62EC622dC54D0ABFE0254e79692147CA26; + governors[2] = 0x087D08e3ba42e64E3948962dd1371F906D1278b9; + governors[3] = 0x52ec2e6BBcE45AfFF8955Da6410bb13812F4289F; + + governors = LibArray.inplaceAscSort(governors); + } +} diff --git a/script/20240827-remap-wbct-testnet/maptoken-wbtc-configs.s.sol b/script/20240827-remap-wbct-testnet/maptoken-wbtc-configs.s.sol new file mode 100644 index 00000000..cb2799ad --- /dev/null +++ b/script/20240827-remap-wbct-testnet/maptoken-wbtc-configs.s.sol @@ -0,0 +1,21 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.19; + +import { MapTokenInfo } from "../libraries/MapTokenInfo.sol"; +import { LibTokenInfo, TokenStandard } from "@ronin/contracts/libraries/LibTokenInfo.sol"; + +contract Migration__MapToken_WBTC_Config { + MapTokenInfo _wbtcInfo; + + constructor() { + _wbtcInfo.roninToken = address(0xb94C5fF7049F41BEa35d9f5F93DaCD91467BE669); + _wbtcInfo.mainchainToken = address(0xc65DEC9c627e636E32E0c84BC08C30395f2dc4AD); + _wbtcInfo.standard = TokenStandard.ERC20; + // Todo: multiply with token's decimals. + _wbtcInfo.minThreshold = 1 * 1e8; + _wbtcInfo.highTierThreshold = 20 * 1e8; + _wbtcInfo.lockedThreshold = 100 * 1e8; + _wbtcInfo.dailyWithdrawalLimit = 110 * 1e8; + _wbtcInfo.unlockFeePercentages = 10; // 0.001%. Max percentage is 100_0000, so 10 is 0.001% (`10 / 1e6 = 0.001 * 100`) + } +} From 6703c743ea85654311441ec301218077f68a3842 Mon Sep 17 00:00:00 2001 From: tringuyenskymavis Date: Wed, 28 Aug 2024 16:15:07 +0700 Subject: [PATCH 73/74] chore: storage layout --- logs/contract-code-sizes.log | 3 ++- logs/storage/WBTC_Sepolia.sol:WBTC_Sepolia.log | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 logs/storage/WBTC_Sepolia.sol:WBTC_Sepolia.log diff --git a/logs/contract-code-sizes.log b/logs/contract-code-sizes.log index b0a4d6df..87b48622 100644 --- a/logs/contract-code-sizes.log +++ b/logs/contract-code-sizes.log @@ -19,7 +19,7 @@ | ERC721 | 4,363 | 20,213 | | EnumerableSet | 86 | 24,490 | | ErrorHandler | 86 | 24,490 | -| GeneralConfig | 32,890 | -8,314 | +| GeneralConfig | 32,968 | -8,392 | | GlobalProposal | 86 | 24,490 | | HasBridgeDeprecated | 63 | 24,513 | | HasValidatorDeprecated | 63 | 24,513 | @@ -81,6 +81,7 @@ | TransparentUpgradeableProxyV2 | 2,361 | 22,215 | | Uint96ArrayUtils | 86 | 24,490 | | WBTC | 6,574 | 18,002 | +| WBTC_Sepolia | 2,173 | 22,403 | | WethUnwrapper | 1,218 | 23,358 | | console | 86 | 24,490 | | safeconsole | 86 | 24,490 | diff --git a/logs/storage/WBTC_Sepolia.sol:WBTC_Sepolia.log b/logs/storage/WBTC_Sepolia.sol:WBTC_Sepolia.log new file mode 100644 index 00000000..1cb43297 --- /dev/null +++ b/logs/storage/WBTC_Sepolia.sol:WBTC_Sepolia.log @@ -0,0 +1,5 @@ +src/tokens/erc20/WBTC_Sepolia.sol:WBTC_Sepolia:_balances (storage_slot: 0) (offset: 0) (type: mapping(address => uint256)) (numberOfBytes: 32) +src/tokens/erc20/WBTC_Sepolia.sol:WBTC_Sepolia:_allowances (storage_slot: 1) (offset: 0) (type: mapping(address => mapping(address => uint256))) (numberOfBytes: 32) +src/tokens/erc20/WBTC_Sepolia.sol:WBTC_Sepolia:_totalSupply (storage_slot: 2) (offset: 0) (type: uint256) (numberOfBytes: 32) +src/tokens/erc20/WBTC_Sepolia.sol:WBTC_Sepolia:_name (storage_slot: 3) (offset: 0) (type: string) (numberOfBytes: 32) +src/tokens/erc20/WBTC_Sepolia.sol:WBTC_Sepolia:_symbol (storage_slot: 4) (offset: 0) (type: string) (numberOfBytes: 32) \ No newline at end of file From 23a7f319b60a80bd417f0bf4f7fe274398c2b61e Mon Sep 17 00:00:00 2001 From: nxqbao Date: Fri, 30 Aug 2024 14:51:50 +0700 Subject: [PATCH 74/74] script: simulate reimburse bridge reward --- .../20240830-reimburse-bridge-reward.s.sol | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 script/20240807-ir-recover/20240830-reimburse-bridge-reward.s.sol diff --git a/script/20240807-ir-recover/20240830-reimburse-bridge-reward.s.sol b/script/20240807-ir-recover/20240830-reimburse-bridge-reward.s.sol new file mode 100644 index 00000000..11c6964f --- /dev/null +++ b/script/20240807-ir-recover/20240830-reimburse-bridge-reward.s.sol @@ -0,0 +1,35 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.19; + +import { console } from "forge-std/console.sol"; +import { DefaultNetwork } from "@fdk/utils/DefaultNetwork.sol"; +import { IBridgeReward } from "@ronin/contracts/interfaces/bridge/IBridgeReward.sol"; + +import { Contract } from "../utils/Contract.sol"; +import { Migration } from "../Migration.s.sol"; + +interface IRoninValidatorSet { + function currentPeriod() external view returns (uint); +} + +contract Migration__20240830_Reimburse_Bridge_Reward is Migration { + IBridgeReward _bridgeReward; + IRoninValidatorSet _roninValidatorSet; + address _smOperator; + + function run() public virtual onlyOn(DefaultNetwork.RoninMainnet.key()) { + _bridgeReward = IBridgeReward(loadContract(Contract.BridgeReward.key())); + _roninValidatorSet = IRoninValidatorSet(0x617c5d73662282EA7FfD231E020eCa6D2B0D552f); + _smOperator = 0x4b3844A29CFA5824F53e2137Edb6dc2b54501BeA; + + uint lastRewardedPeriod = _bridgeReward.getLatestRewardedPeriod(); + uint currentPeriod = _roninValidatorSet.currentPeriod(); + + console.log("Last rewarded period:", lastRewardedPeriod); + console.log("Current period:", currentPeriod); + + vm.startBroadcast(_smOperator); + _bridgeReward.syncRewardManual(currentPeriod - lastRewardedPeriod - 1); + vm.stopBroadcast(); + } +}