From fbfd508223983c46c9d2446b9c83c2e094b4e3b8 Mon Sep 17 00:00:00 2001 From: nikhilbajaj31 Date: Sat, 9 Aug 2025 00:45:54 +0530 Subject: [PATCH 01/16] feat: add migration logic --- contracts/governance/locker/BaseLocker.sol | 25 +++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/contracts/governance/locker/BaseLocker.sol b/contracts/governance/locker/BaseLocker.sol index b25922b..a835f9f 100644 --- a/contracts/governance/locker/BaseLocker.sol +++ b/contracts/governance/locker/BaseLocker.sol @@ -21,6 +21,7 @@ import { } from "@openzeppelin/contracts-upgradeable/token/ERC721/extensions/ERC721EnumerableUpgradeable.sol"; import {ReentrancyGuardUpgradeable} from "@openzeppelin/contracts-upgradeable/utils/ReentrancyGuardUpgradeable.sol"; import {IERC20} from "@openzeppelin/contracts/interfaces/IERC20.sol"; +import {OwnableUpgradeable} from "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; /** * @title Voting Escrow @@ -28,7 +29,7 @@ import {IERC20} from "@openzeppelin/contracts/interfaces/IERC20.sol"; * @notice Votes have a weight depending on time, so that users are * committed to the future of (whatever they are voting for) */ -abstract contract BaseLocker is ReentrancyGuardUpgradeable, ERC721EnumerableUpgradeable, ILocker { +abstract contract BaseLocker is ReentrancyGuardUpgradeable, ERC721EnumerableUpgradeable, ILocker, OwnableUpgradeable { uint256 internal WEEK; uint256 internal MAXTIME; uint256 public supply; @@ -51,6 +52,7 @@ abstract contract BaseLocker is ReentrancyGuardUpgradeable, ERC721EnumerableUpgr ) internal { __ERC721_init(_name, _symbol); __ReentrancyGuard_init(); + __Ownable_init(msg.sender); version = "1.0.0"; decimals = 18; WEEK = 1 weeks; @@ -299,4 +301,25 @@ abstract contract BaseLocker is ReentrancyGuardUpgradeable, ERC721EnumerableUpgr // todo return ""; } + + function migrateLock( + uint256 _value, + uint256 _duration, + address _who, + bool _stakeNFT + ) public onlyOwner returns (uint256) { + return _createLock(_value, _duration, _who, _stakeNFT); + } + + function migrateLocks( + uint256[] memory _value, + uint256[] memory _duration, + address[] memory _who, + bool[] memory _stakeNFT + ) external onlyOwner { + for (uint256 i = 0; i < _value.length; i++) { + migrateLock(_value[i], _duration[i], _who[i], _stakeNFT[i]); + } + } + } From 445bfb45c82717eb33711b0624407fc144cd3c27 Mon Sep 17 00:00:00 2001 From: nikhilbajaj31 Date: Sat, 9 Aug 2025 00:46:21 +0530 Subject: [PATCH 02/16] feat: add setLocker function to OmnichainStaking --- .../governance/locker/staking/OmnichainStakingBase.sol | 5 +++++ contracts/interfaces/governance/IOmnichainStaking.sol | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/contracts/governance/locker/staking/OmnichainStakingBase.sol b/contracts/governance/locker/staking/OmnichainStakingBase.sol index 7157058..a951edc 100644 --- a/contracts/governance/locker/staking/OmnichainStakingBase.sol +++ b/contracts/governance/locker/staking/OmnichainStakingBase.sol @@ -129,6 +129,11 @@ abstract contract OmnichainStakingBase is return totalSupply(); } + /// @inheritdoc IOmnichainStaking + function setLocker(ILocker _locker) external onlyOwner { + locker = _locker; + } + /// @inheritdoc IOmnichainStaking function getLockedNftDetails(address _user) external view returns (uint256[] memory, ILocker.LockedBalance[] memory) { uint256 tokenIdsLength = lockedTokenIdNfts[_user].length; diff --git a/contracts/interfaces/governance/IOmnichainStaking.sol b/contracts/interfaces/governance/IOmnichainStaking.sol index 08173cc..16c0d6d 100644 --- a/contracts/interfaces/governance/IOmnichainStaking.sol +++ b/contracts/interfaces/governance/IOmnichainStaking.sol @@ -69,6 +69,12 @@ interface IOmnichainStaking is IMultiTokenRewards, IVotes { */ function getLockedNftDetails(address _user) external view returns (uint256[] memory, ILocker.LockedBalance[] memory); + /** + * @notice Sets the locker contract. + * @param _locker The address of the locker contract. + */ + function setLocker(ILocker _locker) external; + /** * @notice Receives an ERC721 token from the lockers and grants voting power accordingly. * @param from The address sending the ERC721 token. From 585664dfc1b3ab854ef188068bb0482b30c49cdd Mon Sep 17 00:00:00 2001 From: nikhilbajaj31 Date: Sat, 9 Aug 2025 00:46:39 +0530 Subject: [PATCH 03/16] feat: add upgradeProxy function for contract upgrades --- scripts/utils.ts | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/scripts/utils.ts b/scripts/utils.ts index 657cd32..82439f8 100644 --- a/scripts/utils.ts +++ b/scripts/utils.ts @@ -92,6 +92,51 @@ export async function deployProxy( return proxy; } +export async function upgradeProxy( + hre: HardhatRuntimeEnvironment, + proxyAddress: string, + implementation: string, + proxyAdmin: string, + sender?: string, + skipInit = true, + initArgs: any[] = [] +) { + const { deploy } = hre.deployments; + const { deployer } = await hre.getNamedAccounts(); + + // 1) Deploy or fetch the new implementation + const implementationD = await deploy(`${implementation}-Impl`, { + from: deployer, + contract: implementation, + skipIfAlreadyDeployed: true, + autoMine: true, + log: true, + }); + + // 2) Encode optional initializer call + const implContract = await hre.ethers.getContractAt( + implementation, + implementationD.address + ); + const initData = skipInit + ? "0x" + : implContract.interface.encodeFunctionData("initialize", initArgs); + + // 3) Perform upgrade via ProxyAdmin + const signer = await hre.ethers.getSigner(sender || deployer); + const proxyAdminC = await hre.ethers.getContractAt( + "@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol:ProxyAdmin", + proxyAdmin, + signer + ); + + await waitForTx( + await proxyAdminC.upgradeAndCall(proxyAddress, implementationD.address, initData) + ); + + return implementationD; +} + export async function deployContract( hre: HardhatRuntimeEnvironment, implementation: string, From 8a52b04494d53975c26e1b0f14279c5db2236de6 Mon Sep 17 00:00:00 2001 From: nikhilbajaj31 Date: Sat, 9 Aug 2025 00:47:17 +0530 Subject: [PATCH 04/16] feat: add fork testing for migration --- .../governance/LockerMigrationTest.sol | 204 ++++++++++++++++++ 1 file changed, 204 insertions(+) create mode 100644 test/foundry/governance/LockerMigrationTest.sol diff --git a/test/foundry/governance/LockerMigrationTest.sol b/test/foundry/governance/LockerMigrationTest.sol new file mode 100644 index 0000000..88290bb --- /dev/null +++ b/test/foundry/governance/LockerMigrationTest.sol @@ -0,0 +1,204 @@ +// SPDX-License-Identifier: GPL-3.0 + +// ███╗ ███╗ █████╗ ██╗ ██╗ █████╗ +// ████╗ ████║██╔══██╗██║ ██║██╔══██╗ +// ██╔████╔██║███████║███████║███████║ +// ██║╚██╔╝██║██╔══██║██╔══██║██╔══██║ +// ██║ ╚═╝ ██║██║ ██║██║ ██║██║ ██║ +// ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ + +// Website: https://maha.xyz +// Discord: https://discord.gg/mahadao +// Twitter: https://twitter.com/mahaxyz_ + +pragma solidity 0.8.21; + +import "forge-std/Test.sol"; +import {LockerToken} from "../../../contracts/governance/locker/LockerToken.sol"; +import {OmnichainStakingToken} from "../../../contracts/governance/locker/staking/OmnichainStakingToken.sol"; +import {ILocker} from "../../../contracts/interfaces/governance/ILocker.sol"; +import {IERC20} from "@openzeppelin/contracts/interfaces/IERC20.sol"; +import {MockERC20} from "../../../contracts/mocks/MockERC20.sol"; +import {IMAHAProxy} from "../../../contracts/governance/MAHAProxy.sol"; +import {console} from "forge-std/console.sol"; +import { ITransparentUpgradeableProxy} from "@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol"; + +// ProxyAdmin interface +interface IProxyAdmin { + function upgradeAndCall(ITransparentUpgradeableProxy proxy, address implementation, bytes memory data) external payable; + function owner() external view returns (address); +} + +/** + * @title LockerMigrationTest + * @notice Foundry fork test for the locker migration script on Base mainnet + * @dev Tests migration from old LockerToken to new BaseLocker implementation + * + * To run this test: + * 1. Set BASE_RPC_URL in your environment variables or .env file + * 2. Run: forge test --match-contract LockerMigrationTest --fork-url $BASE_RPC_URL -vvv + * 3. For specific tests: forge test --match-test testFullMigrationProcess --fork-url $BASE_RPC_URL -vvv + */ +contract LockerMigrationTest is Test { + // Base mainnet fork + uint256 baseFork; + + // Deployed contract addresses on Base mainnet + address constant OLD_LOCKER_ADDRESS = 0xDAe7CD5AA310C66c555543886DFcD454896Ae2C0; + address constant STAKING_ADDRESS = 0xfD487AC8de6520263D57bb41253682874Dc0276E; + address constant MAHA_TOKEN = 0x554bba833518793056CF105E66aBEA330672c0dE; + address constant MAHA_OWNER = 0x7202136d70026DA33628dD3f3eFccb43F62a2469; + // ProxyAdmin contract that is the actual admin of the staking proxy on Base + address constant PROXY_ADMIN = 0xF5dfbB44ED2bfe32953c8237eC03B5AE20a089c4; + address constant STAKING_OWNER = 0x7202136d70026DA33628dD3f3eFccb43F62a2469; + + // Contract instances + LockerToken oldLocker; + OmnichainStakingToken staking; + LockerToken newLocker; + MockERC20 underlyingToken; + + // Test actors + address deployer; + + // Migration data structures + struct MigrationData { + uint256[] values; + uint256[] durations; + address[] owners; + bool[] stakeNFTs; + } + + function setUp() public { + // Create Base mainnet fork + baseFork = vm.createFork("https://mainnet.base.org", 25296075); + vm.selectFork(baseFork); + + // Set up test actors + deployer = makeAddr("deployer"); + + // Connect to deployed contracts + oldLocker = LockerToken(OLD_LOCKER_ADDRESS); + staking = OmnichainStakingToken(STAKING_ADDRESS); + + // Deploy mock MAHA token for testing + underlyingToken = new MockERC20("MAHA", "MAHA", 18); + + // Deploy new BaseLocker implementation for testing + vm.prank(deployer); + newLocker = new LockerToken(); + + // Deploy new staking implementation + OmnichainStakingToken newStakingImpl = new OmnichainStakingToken(); + + IProxyAdmin proxyAdmin = IProxyAdmin(PROXY_ADMIN); + + address proxyAdminOwner = proxyAdmin.owner(); + + // The staking contract uses MAHAProxy, so we need to call upgradeToAndCall from the proxy admin + vm.prank(proxyAdminOwner); + proxyAdmin.upgradeAndCall( + ITransparentUpgradeableProxy(STAKING_ADDRESS), + address(newStakingImpl), + "" + ); + + // Initialize new locker + vm.prank(deployer); + newLocker.initialize( + address(underlyingToken), + STAKING_ADDRESS + ); + + address stakingOwner = staking.owner(); + vm.prank(stakingOwner); + staking.setLocker(ILocker(address(newLocker))); + + // Label contracts for better debugging + vm.label(OLD_LOCKER_ADDRESS, "OldLocker"); + vm.label(STAKING_ADDRESS, "Staking"); + vm.label(address(newLocker), "NewLocker"); + vm.label(MAHA_TOKEN, "MAHA"); + vm.label(MAHA_OWNER, "MAHA Owner"); + vm.label(PROXY_ADMIN, "ProxyAdmin"); + vm.label(STAKING_OWNER, "Staking Owner"); + vm.label(deployer, "Deployer"); + } + + /** + * @notice Test the complete migration process with real Base mainnet data + */ + function testFullMigrationProcess() public { + // Prepare migration data by scanning the old locker + MigrationData memory migrationData = _prepareMigrationData(); + + // Approve once for the total migration to avoid per-iteration allowance overwrites + vm.startPrank(deployer); + underlyingToken.approve(address(newLocker), type(uint256).max); + + // Execute migration + newLocker.migrateLocks(migrationData.values, migrationData.durations, migrationData.owners, migrationData.stakeNFTs); + vm.stopPrank(); + + // Verify migration results + _verifyMigrationResults(migrationData); + } + + // ============ Helper Functions ============ + + /** + * @notice Prepare migration data by scanning the old locker (simplified version) + */ + function _prepareMigrationData() internal returns (MigrationData memory) { + uint256 validTokenCount = 10; + + uint256[] memory values = new uint256[](validTokenCount); + uint256[] memory durations = new uint256[](validTokenCount); + address[] memory owners = new address[](validTokenCount); + bool[] memory stakeNFTs = new bool[](validTokenCount); + + for (uint256 tokenIdLoop = 1; tokenIdLoop <= validTokenCount; tokenIdLoop++) { + + ILocker.LockedBalance memory lockedBalance = oldLocker.locked(tokenIdLoop); + address actualOwner = oldLocker.ownerOf(tokenIdLoop); + bool shouldStake = false; + + if (actualOwner == STAKING_ADDRESS) { + actualOwner = staking.lockedByToken(tokenIdLoop); + shouldStake = true; + } + + values[tokenIdLoop-1] = lockedBalance.amount; + + uint256 remaining = lockedBalance.end - block.timestamp; + + require(remaining > 0, "lock expired"); + durations[tokenIdLoop-1] = remaining; + + owners[tokenIdLoop-1] = actualOwner; + stakeNFTs[tokenIdLoop-1] = shouldStake; + + //mint MAHA to the owner + vm.prank(MAHA_OWNER); + underlyingToken.mint(deployer, lockedBalance.amount); + + } + + return MigrationData(values, durations, owners, stakeNFTs); + } + + + /** + * @notice Verify migration results + */ + function _verifyMigrationResults(MigrationData memory data) internal view { + + for (uint256 i = 0; i < data.values.length; i++) { + uint256 newTokenId = i + 1; + ILocker.LockedBalance memory newLock = newLocker.locked(newTokenId); + + assertEq(newLock.amount, data.values[i], "Amount should match"); + assertApproxEqAbs(newLock.end - newLock.start, data.durations[i], 1 weeks, "Duration should roughly match"); + } + } +} \ No newline at end of file From 040de7bb5b01a01c6ecd8caaeb614201d6cd15f6 Mon Sep 17 00:00:00 2001 From: nikhilbajaj31 Date: Sat, 9 Aug 2025 00:50:36 +0530 Subject: [PATCH 05/16] feat: implement migration script for LockerToken --- scripts/governance/migrate-locker.ts | 192 +++++++++++++++++++++++++++ 1 file changed, 192 insertions(+) create mode 100644 scripts/governance/migrate-locker.ts diff --git a/scripts/governance/migrate-locker.ts b/scripts/governance/migrate-locker.ts new file mode 100644 index 0000000..785ab9f --- /dev/null +++ b/scripts/governance/migrate-locker.ts @@ -0,0 +1,192 @@ +import hre from "hardhat"; +import { deployProxy, upgradeProxy, waitForTx } from "../utils"; +import { MaxUint256 } from "ethers"; + +async function main() { + const { deployments, getNamedAccounts } = hre; + const { deployer } = await getNamedAccounts(); + + const oldLockerAddress = "0xDAe7CD5AA310C66c555543886DFcD454896Ae2C0"; + const stakingAddress = "0xfD487AC8de6520263D57bb41253682874Dc0276E"; + const mahatokenAddress = "0x554bba833518793056CF105E66aBEA330672c0dE"; + const proxyAdminAddress = "0xF5dfbB44ED2bfe32953c8237eC03B5AE20a089c4"; + const totalTokens = 1109; + + const staking = await hre.ethers.getContractAt( + "OmnichainStakingToken", + stakingAddress + ); + + // Connect to the old locker contract + const oldLocker = await hre.ethers.getContractAt( + "LockerToken", + oldLockerAddress + ); + + // deploy new locker + const newLockerD = await deployProxy( + hre, + "LockerToken", + [mahatokenAddress, stakingAddress], + proxyAdminAddress, + "LockerToken", + deployer, + true + ); + + // const newLockerD = await deployContract( + // hre, + // "TransparentUpgradeableProxy", + // [lockerTokenImpl.address, proxyAdminD.address, "0x"], + // "LockerToken" + // ); + + const newLocker = await hre.ethers.getContractAt( + "LockerToken", + newLockerD.address + ); + + //upgrade omnichain staking + await upgradeProxy( + hre, + stakingAddress, + "OmnichainStakingToken", + proxyAdminAddress, + deployer, + true + ); + + // const proxyAdmin = await hre.ethers.getContractAt( + // "ProxyAdmin", + // proxyAdminAddress + // ); + + // await waitForTx( + // await proxyAdmin.upgradeAndCall( + // stakingAddress, + // "OmnichainStakingToken", + // "" + // ) + // ); + + // set new locker + await staking.setLocker(newLocker.target as string); + + console.log("Starting migration process for 1109 tokens..."); + + // Arrays to store migration data + const values: bigint[] = []; + const durations: bigint[] = []; + const owners: string[] = []; + const stakeNFTs: boolean[] = []; + + // Cache current timestamp to compute durations + const latestBlock = await hre.ethers.provider.getBlock("latest"); + const now = BigInt(latestBlock!.timestamp); + + console.log("Gathering token data from old locker contract..."); + + // Iterate through all token IDs (assuming they start from 1) + for (let tokenId = 1; tokenId <= totalTokens; tokenId++) { + try { + if (tokenId % 50 === 0) console.log(`Processing token ${tokenId}/${totalTokens}`); + + // Get locked balance details from old locker + const lockedBalance = await oldLocker.locked(tokenId); + + // Check if the token exists (has non-zero amount) + if (lockedBalance.amount === 0n) { + continue; + } + + // Get the current owner of the NFT + let actualOwner: string; + let shouldStake = false; + + try { + const nftOwner = await oldLocker.ownerOf(tokenId); + + // If owned by staking, fetch the mapped owner + if (nftOwner.toLowerCase() === stakingAddress.toLowerCase()) { + actualOwner = await staking.lockedByToken(tokenId); + shouldStake = true; + } else { + // NFT is directly owned by user + actualOwner = nftOwner; + shouldStake = false; + } + } catch (error) { + console.log(`Error getting for token ${tokenId}: ${error}`); + continue; + } + + // Ensure we have a valid owner + if (!actualOwner || actualOwner === "0x0000000000000000000000000000000000000000") { + console.log(`No owner found for token ${tokenId}`); + continue; + } + + const end = BigInt(lockedBalance.end); + if (end <= now) { + console.log(`Lock expired for token ${tokenId}`); + continue; + } + + const duration = end - now; + + // Add to migration arrays + values.push(BigInt(lockedBalance.amount)); + durations.push(duration); + owners.push(actualOwner); + stakeNFTs.push(shouldStake); + } catch (_error) { + console.log(`Error processing token ${tokenId}: ${_error}`); + continue; + } + } + + console.log(`\nPrepared ${values.length} tokens for migration`); + + if (values.length === 0) { + console.log("No tokens to migrate!"); + return; + } + + // Approve underlying MAHA to the locker for pulling funds during migration + const underlyingAddress: string = await newLocker.underlying(); + const underlying = await hre.ethers.getContractAt( + "MAHA", + underlyingAddress + ); + + // approve underlying to new locker + await waitForTx(await underlying.approve(newLocker.target as string, MaxUint256)); + + // Execute migration in batches to avoid gas limit issues + const batchSize = 100; + for (let i = 0; i < values.length; i += batchSize) { + const batchValues = values.slice(i, i + batchSize); + const batchDurations = durations.slice(i, i + batchSize); + const batchOwners = owners.slice(i, i + batchSize); + const batchStakeNFTs = stakeNFTs.slice(i, i + batchSize); + + console.log(`\nProcessing batch ${i / batchSize + 1} of ${Math.ceil(values.length / batchSize)}`); + + // Execute migration for this batch + const tx = await newLocker.migrateLocks( + batchValues, + batchDurations, + batchOwners, + batchStakeNFTs + ); + + await waitForTx(tx); + } + + console.log("\n✅ Migration completed successfully!"); +} + +main().catch((err) => { + console.error(err); + process.exitCode = 1; +}); From 283779e44a8fe4265f1f5692714bb32c8c911ae7 Mon Sep 17 00:00:00 2001 From: nikhilbajaj31 Date: Sat, 9 Aug 2025 20:40:52 +0530 Subject: [PATCH 06/16] feat: add locker-snapshot CSV file --- scripts/governance/locker-snapshot.csv | 1110 ++++++++++++++++++++++++ 1 file changed, 1110 insertions(+) create mode 100644 scripts/governance/locker-snapshot.csv diff --git a/scripts/governance/locker-snapshot.csv b/scripts/governance/locker-snapshot.csv new file mode 100644 index 0000000..9eeb918 --- /dev/null +++ b/scripts/governance/locker-snapshot.csv @@ -0,0 +1,1110 @@ +token,amount,start,end,owner,stakednft +1,519000000000000000000,1661233865,1804118400,0xe93b89feF7cBcE1593Bc6b504308666Db0605996,true +2,2080000000000000000000,1661085986,1803513600,0x4ee470E115B1EB569920725093C41430EB528e95,true +3,1796000000000000000000,1661835786,1804118400,0xDFc4D86c6AE7fE48d995246557368519447E6387,true +4,156239000000000000000000,1660939489,1802908800,0x7202136d70026DA33628dD3f3eFccb43F62a2469,true +5,6000000000000000000000,1686738587,1813795200,0xC9485CD3BED4d3F841adC35889591Fd4e94C987A,true +6,200000000000000000000,1678440383,1804723200,0xb695010Aa556bCd55aD096234a0a0816C6efEE44,true +7,305000000000000000000,1708217771,1834358400,0x7c64E824E5784Cdf9d96F5FD2892A4bb02B10799,true +8,2505000000000000000000,1690679435,1816819200,0xa68d28655fB1e54Abd417B37e8c288Caec31daB6,true +9,100000000000000000000,1678590875,1804723200,0xa1a3331CC412fc9B4bE1f6e8E0fe2DB20775Fe42,true +10,100000000000000000000,1678591283,1804723200,0x51eCc9e8EfDd18f740cc1791f6d55109EBec7aC1,true +11,100000000000000000000,1678598579,1804723200,0xa1a3331CC412fc9B4bE1f6e8E0fe2DB20775Fe42,true +12,100000000000000000000,1678601051,1804723200,0xd0D18801e55c24793d062989661EF219B8821e25,true +13,102000000000000000000,1714285307,1840406400,0xB98803fa64b2618bEb46aAA10b40B6b277AC1772,true +14,100000000000000000000,1678603787,1804723200,0xE87F7D66607baB70fc30812177EDdd85725a2925,true +15,130000000000000000000,1714290323,1840406400,0x3a08ca9E3A394c7b947b9CA56493E38176F3428c,true +16,100000000000000000000,1678607123,1804723200,0xa1a3331CC412fc9B4bE1f6e8E0fe2DB20775Fe42,true +17,171000000000000000000,1714290911,1840406400,0x216B0544725ba5927867e071521B64fE664c5CE1,true +18,102000000000000000000,1714294547,1840406400,0xeadEcbBF63B24a648fbC534a00a30e7cEA2e3e82,true +19,100000000000000000000,1678612187,1804723200,0x4305559385aC38558235A9E198379bdf8Fdcb7BE,true +20,100000000000000000000,1707643859,1833753600,0x6bEd82137Efd1adC5000b313d76F3BC0b4737167,true +21,101000000000000000000,1714296683,1840406400,0x587ee76eD838e4D73d14FC702d1a44F12f68A9bE,true +22,105000000000000000000,1670753879,1796860800,0xA31bE566BcE0159B67F73310876c62F76d507a1e,true +23,100000000000000000000,1678616903,1804723200,0xd9E4f4cFE02539164480d8368A11eE1f10B35174,true +24,103000000000000000000,1674988343,1801094400,0xb6dcDDfB71A65D697248C37C8828FB010a8b5aFa,true +25,100000000000000000000,1678618775,1804723200,0x19200aF6dDb1e1338A1A3b5EA191aCDcCfE26546,true +26,10335000000000000000000,1661082214,1787184000,0x42aaF70A09e9385Dfa70b3D573D021C79EA1c901,true +27,2520000000000000000000,1661083690,1787184000,0x7c1e8970b36E6A327255035314f6F7b57C20Eb58,true +28,100000000000000000000,1696770119,1822867200,0xF661eE1A3dC61Ff13AD52583833EA0d95fa00F96,true +29,100000000000000000000,1696770155,1822867200,0x39F5489d66FF5e257e2B565bF374A0Ec2d8192D8,true +30,100000000000000000000,1696770215,1822867200,0x733694A472a23af007936eAbfbD426C5f849DdeF,true +31,100000000000000000000,1678023515,1804118400,0xd9E4f4cFE02539164480d8368A11eE1f10B35174,true +32,100000000000000000000,1692539219,1818633600,0x875ed369D6C1C4Ef9C7Bf2Bd8190aCB1263cCe21,true +33,100000000000000000000,1692540011,1818633600,0xbCe83b1f74AD4AA0c2F2e8E5185A74Dcb7518056,true +34,100000000000000000000,1692540059,1818633600,0x9319851540f41686cd4f5Faf2Ca6932494E576Af,true +35,100000000000000000000,1692540107,1818633600,0xAcF8820fF5FDB5900b24f9abe0f3Dcc83d24b80f,true +36,100000000000000000000,1692540155,1818633600,0x19A6abC0f791f58254D9F76acF94B735D6D0BEa2,true +37,100000000000000000000,1692540191,1818633600,0xd34074d79c66ae072D06e34B8e7C524E53D5a16e,true +38,100000000000000000000,1678630439,1804723200,0xff98F3cFa8F203e760c7c24CFc71b1BaC9E5670D,true +39,250000000000000000000,1664721059,1790812800,0x58F51054Dd23C19b9CC1E59461beDbF85757Df0b,true +40,1559000000000000000000,1661093858,1787184000,0xC403400832e973011516DE452bDf14B4F8266c6e,true +41,100000000000000000000,1676214443,1802304000,0x6b9a5A31Af69C6c704A9b705E4EFf0D7a0A2e20e,true +42,150000000000000000000,1676214635,1802304000,0x831D9794bA02A2fA81cAEf8202dff99030cf0415,true +43,100000000000000000000,1714317263,1840406400,0x9EAfccadA37F9f52C54cc16E8ED980C6FC0a395d,true +44,100000000000000000000,1676819819,1802908800,0x40C6372885e15429acDC39671C11Fe847a166501,true +45,2000000000000000000000,1671376979,1797465600,0x5372ACcb490a498F9a0EA9d1050932C32E306D8d,true +46,500000000000000000000,1671377615,1797465600,0x5372ACcb490a498F9a0EA9d1050932C32E306D8d,true +47,309000000000000000000,1669565003,1795651200,0xd8361bbE5F11272A387BdB9262713bC1A9429Ea1,true +48,300000000000000000000,1680453383,1806537600,0x6A38966a2D1E52c423f16Af0Dd6B2B6351f2A88e,true +49,100000000000000000000,1696785755,1822867200,0xF4716f517eC8f4B32fC1e26AAE8FBe3A5C8C5aD9,true +50,100000000000000000000,1696785803,1822867200,0xf142a12b848865Dd6d6A8Ccc43ae624618A541db,true +51,100000000000000000000,1696785851,1822867200,0xFC851991A95Eb64fa9d4D015c78D3BB172bd8Ec6,true +52,100000000000000000000,1696785875,1822867200,0xE866D12131B458E2cE37281F2C44fe83346B7ff6,true +53,101000000000000000000,1706464487,1832544000,0xb4Eb7610C445d25f616EDb02E8034C6FDd997CC9,true +54,4000000000000000000000,1661106860,1787184000,0x5372ACcb490a498F9a0EA9d1050932C32E306D8d,true +55,100000000000000000000,1678647455,1804723200,0x872dD89B6BF055F8890f379D797eEe22224a005c,true +56,101000000000000000000,1714331027,1840406400,0x255d297864377bD4F4BEf1c7a55453F986E5201F,true +57,100000000000000000000,1678648007,1804723200,0xf3c60D902F57AB0C36473D7421238DAcfD38d1dF,true +58,112000000000000000000,1665950531,1792022400,0x44933fcD38823510B05671E97B4a5C873EF03827,true +59,101000000000000000000,1671394811,1797465600,0x4dca6e7FaE1eB0EA6110B542657b82e7fe7566e2,true +60,101000000000000000000,1671395399,1797465600,0x2Bd2C9611ccAB6A9bE98063BF8a2766d94640728,true +61,102000000000000000000,1671396287,1797465600,0x14975cB536F511E3119D5622c2c2a1054045E29B,true +62,108000000000000000000,1680468599,1806537600,0x058321f16D41F40A4d07fE53FA9b049e63DAee15,true +63,102000000000000000000,1671397487,1797465600,0x2c450B71Fb3152B7247a857aCB8a37880982c79E,true +64,104000000000000000000,1675027019,1801094400,0x33D1C806c1CE8258553581F30687A15fFc6D145d,true +65,2335000000000000000000,1665959483,1792022400,0xDe9fA8b792BaBB6d6D22AF3cf2525ff88aC0661e,true +66,696000000000000000000,1678059191,1804118400,0x5637B65a9b56b2d6615E4F847EBE832CeEF50bA1,true +67,110000000000000000000,1665976895,1792022400,0x5e2Aca5b732a350080be3499e6660b6E227847Bd,true +68,200000000000000000000,1667187179,1793232000,0x0Fb11728d48CE180538490b3a09Fa7C11Cf4a344,true +69,110000000000000000000,1665977651,1792022400,0xb62aCD318c60b61e2aDd10Fc4FFF3aA64CcD98bF,true +70,100000000000000000000,1712552123,1838592000,0xCB456BA96229b1cA68165D9eB42407c395933664,true +71,100000000000000000000,1677474203,1803513600,0x51eCc9e8EfDd18f740cc1791f6d55109EBec7aC1,true +72,107000000000000000000,1705904711,1831939200,0x11E7296c3c4A3FBCe8BfA56443f38447633220A1,true +73,100000000000000000000,1705906259,1831939200,0x5AB100F88458E1B137c1123fA9F298fa3EeD92af,true +74,103000000000000000000,1676271215,1802304000,0x2e86E031EdCe8E79750Deb6c7aFb61956b1eBEB5,true +75,489000000000000000000,1661758535,1787788800,0x7B5896437aFd3314eb0666EfF4af7026fFc04902,true +76,110000000000000000000,1675670543,1801699200,0x7Ed71581FcdE4E8F11952b73cCebEbCa15EaB6DD,true +77,100000000000000000000,1705914083,1831939200,0x5eCa2041FC3EcB27EdE6dF1fC17Db22EF1D5F52D,true +78,200000000000000000000,1662368933,1788393600,0x6610f5BbEB3789239c080C4819Dd96D5d731a2ee,true +79,1000000000000000000000,1678699931,1804723200,0xf3c60D902F57AB0C36473D7421238DAcfD38d1dF,true +80,100000000000000000000,1678707947,1804723200,0x4d10eD39382EfC7410cf3FD5928dd84599f019e4,true +81,100000000000000000000,1661777709,1787788800,0x5041fC8Ff3ecFfcC0644220401090E921E272B77,true +82,100000000000000000000,1687181183,1813190400,0x77cd66d59ac48a0E7CE54fF16D9235a5fffF335E,true +83,150000000000000000000,1681133987,1807142400,0x938FEbabd090cC0A4c70FEBB7Fc6D8229c9b9790,true +84,500000000000000000000,1687787111,1813795200,0x77cd66d59ac48a0E7CE54fF16D9235a5fffF335E,true +85,500000000000000000000,1687787159,1813795200,0x7c1e8970b36E6A327255035314f6F7b57C20Eb58,true +86,500000000000000000000,1687787255,1813795200,0x4415D2b6022634826976aB797fD26f1f7e7EA347,true +87,500000000000000000000,1687787291,1813795200,0x77cd66d59ac48a0E7CE54fF16D9235a5fffF335E,true +88,500000000000000000000,1687787519,1813795200,0x77cd66d59ac48a0E7CE54fF16D9235a5fffF335E,true +89,500000000000000000000,1687787627,1813795200,0x857Db2aa6295cCE3Bb4BA4f11f81C0fD58A37b6E,true +90,105000000000000000000,1714399355,1840406400,0x646bf56e1D87B353611f456826977A8BE2E04F6a,true +91,1000000000000000000000,1687788575,1813795200,0x77cd66d59ac48a0E7CE54fF16D9235a5fffF335E,true +92,100000000000000000000,1714402847,1840406400,0x870Da2AA00fCCD6f644397651f63fEf8d07d36f2,true +93,2941000000000000000000,1661180464,1787184000,0x2cAFe9CBA9da5a49E3FF28eB63958c2583CD552A,true +94,101000000000000000000,1714404083,1840406400,0x6015b9E6286C215F0Db0E0D81246d9F0B3667c5a,true +95,25000000000000000000000,1661183155,1787184000,0x0Fb11728d48CE180538490b3a09Fa7C11Cf4a344,true +96,200000000000000000000,1661788823,1787788800,0x19972F3dC1226E966fF4d7201E5c8125d50ff595,true +97,622000000000000000000,1661185509,1787184000,0xD821db770d6eFd8B2533BBa3ce33f5c3C71a2161,true +98,622000000000000000000,1661186415,1787184000,0x0162E0554f115DBF4e7CCCDE0b0cA15eD4C73d9E,true +99,519000000000000000000,1661186493,1787184000,0xB6a0b10D2E6f92197B877c064AdE6BBf592E1a60,true +100,510000000000000000000,1661186699,1787184000,0xA3d078c8048dE8695BC30Ff2001A37BC926f432d,true +101,100000000000000000000,1705942967,1831939200,0x13181687bbCd796B78FCe9489b46bb02b4Cd0C2D,true +102,100000000000000000000,1678728395,1804723200,0xc1879c9EEE3FC50b72e2e2E38E34E089bE5CA905,true +103,300000000000000000000,1677519011,1803513600,0x13B19fd63d34Be9d3D6d25ebd7142134C0cfc725,true +104,200000000000000000000,1677519047,1803513600,0x4892Db7037c4A4d1298Fb58cce082008263a8416,true +105,200000000000000000000,1677519107,1803513600,0xcf015336FAb19faCb207a21BDf0828766dB1e113,true +106,200000000000000000000,1677519155,1803513600,0x7Ed71581FcdE4E8F11952b73cCebEbCa15EaB6DD,true +107,200000000000000000000,1677519191,1803513600,0xB10fA39325432E618d819462836E689780F892d5,true +108,110000000000000000000,1671471287,1797465600,0x63C1d4CE3f0eA0a37Eda12376205e25D2298Af3a,true +109,105000000000000000000,1714412411,1840406400,0x9793D88fD35101EE9eCddb4719011653912294c9,true +110,105000000000000000000,1670866967,1796860800,0xe4667F558B23C22012a13E661F33481ef531E4A2,true +111,25000000000000000000000,1674496595,1800489600,0xDfA8A5aB3F157373Eeb4e8C2762E26F5B6a04395,true +112,250000000000000000000,1661194341,1787184000,0x0040DAAC32D83c78546ae36dA42A496B28ab09E1,true +113,103000000000000000000,1672081943,1798070400,0x3B93d21D687461E58a87Ec10BC8f2a2773F4e5E7,true +114,101000000000000000000,1676923991,1802908800,0xe0f0c1f4C1549CfE125D26AF190006D67087b53A,true +115,200000000000000000000,1666645679,1792627200,0x4bAB110Bd78822b7c87cEE470Ee520e57Df13938,true +116,416000000000000000000,1666645979,1792627200,0x4bAB110Bd78822b7c87cEE470Ee520e57Df13938,true +117,2515000000000000000000,1661203620,1787184000,0x831D9794bA02A2fA81cAEf8202dff99030cf0415,true +118,121000000000000000000,1676327747,1802304000,0x2439B286197100dCe010952548076EedD22a37e8,true +119,1000000000000000000000,1661208826,1787184000,0x941b6117f7059C484D66E8f24ED38cB40A1667Cd,true +120,100000000000000000000,1714431575,1840406400,0xeee9b28c0Bdb042c95a8C301fd88Eea256Fe184F,true +121,140000000000000000000,1704757391,1830729600,0xEb65b563D3A1cE05C4d793A58719B171ebE58581,true +122,304000000000000000000,1678751819,1804723200,0xc298585cB7BCa511bFe5f33A1AB44B56A7C9893E,true +123,104000000000000000000,1714435667,1840406400,0x4b6D25bBb5C0b7833A757af723f3D56181154f89,true +124,100000000000000000000,1667262839,1793232000,0x6FFd7EdE62328b3Af38FCD61461Bbfc52F5651fE,true +125,103000000000000000000,1680569903,1806537600,0xa43eE1a79368E2e37db97942bD7e41F6a23cD269,true +126,100000000000000000000,1705975127,1831939200,0x1FE1ebd5e9182e9cc9b3fC023326f97C2622292d,true +127,352000000000000000000,1714443815,1840406400,0x487c6480C33f32435F99cFa4b1E09C0D4e4165f7,true +128,100000000000000000000,1714444307,1840406400,0x399b8FDE7ef3F8aeD046825961e9f7305e14732a,true +129,100000000000000000000,1705977179,1831939200,0xbEFfddcf2E84106f77c2B60445Dc257D65e19a26,true +130,105000000000000000000,1707193547,1833148800,0x7999eB15CfC5e19cB6bF86b9e2C425836376c5b6,true +131,100000000000000000000,1705984847,1831939200,0xfd565a129bBD6cFAeba00e8Ea80a4d088e9D6A3B,true +132,25000000000000000000000,1674536675,1800489600,0x1B39Db8C6A1F8B4182a292e5126a6fc785DcE070,true +133,612000000000000000000,1661233950,1787184000,0x21287bc0F05285fE0D2242b5B3AE8cEe4A99b565,true +134,1004000000000000000000,1714457015,1840406400,0x0Ca31c1cf3d25f4E0179461f0D9F6Dc3011B0EF3,true +135,100000000000000000000,1678774511,1804723200,0x4639a3a9cA83F496aDaEF4D1E2BFa82BcEd7921f,true +136,344000000000000000000,1661237159,1787184000,0xEb471f3A4084504aD153bd0902d36181cD556BB1,true +137,103000000000000000000,1714465403,1840406400,0x52017ac1B425df0187B3Fe2Bd32e8cb2C4cE4C8F,true +138,8800000000000000000000,1678784999,1804723200,0xC9485CD3BED4d3F841adC35889591Fd4e94C987A,true +139,2000000000000000000000,1678785071,1804723200,0x4ee470E115B1EB569920725093C41430EB528e95,true +140,100000000000000000000,1678788011,1804723200,0xc1879c9EEE3FC50b72e2e2E38E34E089bE5CA905,true +141,302000000000000000000,1661248825,1787184000,0x4415D2b6022634826976aB797fD26f1f7e7EA347,true +142,100000000000000000000,1680602687,1806537600,0xF661eE1A3dC61Ff13AD52583833EA0d95fa00F96,true +143,100000000000000000000,1678788311,1804723200,0x4639a3a9cA83F496aDaEF4D1E2BFa82BcEd7921f,true +144,100000000000000000000,1680602723,1806537600,0x5e48DE61D7ee32c5ae30d434d792DD848d3Dde35,true +145,100000000000000000000,1680602759,1806537600,0x831D9794bA02A2fA81cAEf8202dff99030cf0415,true +146,1000000000000000000000,1676369351,1802304000,0x8D5BA2B764356Ddc9997FEd94DCf83367e8a10a2,true +147,100000000000000000000,1678788659,1804723200,0x4639a3a9cA83F496aDaEF4D1E2BFa82BcEd7921f,true +148,1400000000000000000000,1665484211,1791417600,0x4A89800FcBcA8F8f0F71D497716901a1cf84eBC7,true +149,106000000000000000000,1714473815,1840406400,0x3F7B6E14c4BAF794119BeF67979c9C2Cf2074851,true +150,105000000000000000000,1687257947,1813190400,0x5e5D46747100A6d10797D9432f78380AEfc6eebE,true +151,110000000000000000000,1661263741,1787184000,0x5dC5C981c07D2e25386E009A8e5e07cB1F121d08,true +152,2000000000000000000000,1669126319,1795046400,0x0b5665d637F45D6fFf6c4aFD4EA4191904ef38BB,true +153,313000000000000000000,1677596675,1803513600,0x73807A4E6EaB716e246265A2C7fc69920A690215,true +154,102000000000000000000,1665501239,1791417600,0x089f6AdC07A59014CCa51972f8f95bc0A68Bf78A,true +155,100000000000000000000,1686670079,1812585600,0x121933280434eaCA1f153781E01dCAb3F0Dbf30f,true +156,500000000000000000000,1686670115,1812585600,0x857Db2aa6295cCE3Bb4BA4f11f81C0fD58A37b6E,true +157,10451000000000000000000,1675789523,1801699200,0xf4383782E47A87560b19ce13c4Aae796A19c7623,true +158,1002000000000000000000,1706037851,1831939200,0x6833338b84EaDb845e4Db8DE6d9e4e378Df3794B,true +159,400000000000000000000,1666121531,1792022400,0x46adF4507A9eE9333418774628fc70347a6d119E,true +160,108000000000000000000,1669145963,1795046400,0x3E2e2272ecB90146Bf45fe36C939162C4c26543C,true +161,3000000000000000000000,1661284971,1787184000,0xF7fBA8a566DF2Cbc5ab0e46ed7B1D213fA07B7E8,true +162,293000000000000000000,1706041523,1831939200,0xc8dB552aF48842A13ebeDe1843f4E303Bcdfa184,true +163,510000000000000000000,1672173431,1798070400,0x9378C1C061235833E9e86a73d421ac4bFAbA45Ce,true +164,511000000000000000000,1672174367,1798070400,0x8AcE04A9aB843cBe14925e1eB80627EC548B1761,true +165,1400000000000000000000,1677618791,1803513600,0x33293Ae4890eEd51c49861Ddd9C042f8A6199fEa,true +166,523000000000000000000,1662505815,1788393600,0x7B5896437aFd3314eb0666EfF4af7026fFc04902,true +167,100000000000000000000,1714518851,1840406400,0x15e9Af27556A405de918504a83C307d194C71B39,true +168,185000000000000000000,1714519235,1840406400,0xCFD6eC2124469fFd88078524c388DCfd706E6a43,true +169,310000000000000000000,1664326067,1790208000,0x35C9a4ccEc094838CBAB8c2c143709bcB8dE03BE,true +170,500000000000000000000,1664935175,1790812800,0x4Eca693366258Da0E32e13c8c2E25F4B68779E9f,true +171,11530000000000000000000,1679454371,1805328000,0x51eCc9e8EfDd18f740cc1791f6d55109EBec7aC1,true +172,101000000000000000000,1677646835,1803513600,0x0000000000000000000000000000000000000000,false +173,105000000000000000000,1674624191,1800489600,0x6b9a5A31Af69C6c704A9b705E4EFf0D7a0A2e20e,true +174,277000000000000000000,1677649151,1803513600,0x4ee470E115B1EB569920725093C41430EB528e95,true +175,104000000000000000000,1714544771,1840406400,0x1B5B44fFA97f884Da0E939F5d4D1BD99342956E4,true +176,105000000000000000000,1674635627,1800489600,0x70e4b21F061a41F8dFbB9786B70FF0aa0834c2be,true +177,210000000000000000000,1678265939,1804118400,0x0dd44846a3cc5b4D82DCD29D78d7291112608f0c,true +178,101000000000000000000,1678267043,1804118400,0x0dd44846a3cc5b4D82DCD29D78d7291112608f0c,true +179,500000000000000000000,1676454587,1802304000,0x51eCc9e8EfDd18f740cc1791f6d55109EBec7aC1,true +180,100000000000000000000,1684317311,1810166400,0xF661eE1A3dC61Ff13AD52583833EA0d95fa00F96,true +181,100000000000000000000,1684317311,1810166400,0xF661eE1A3dC61Ff13AD52583833EA0d95fa00F96,true +182,100000000000000000000,1684317311,1810166400,0xBdBf020c5946e0b88B3EbA1cA33CC86627a25145,true +183,100000000000000000000,1684317311,1810166400,0xBdBf020c5946e0b88B3EbA1cA33CC86627a25145,true +184,100000000000000000000,1684317311,1810166400,0xBdBf020c5946e0b88B3EbA1cA33CC86627a25145,true +185,100000000000000000000,1684317311,1810166400,0xBdBf020c5946e0b88B3EbA1cA33CC86627a25145,true +186,100000000000000000000,1684317311,1810166400,0x2cAFe9CBA9da5a49E3FF28eB63958c2583CD552A,true +187,100000000000000000000,1684317311,1810166400,0x2cAFe9CBA9da5a49E3FF28eB63958c2583CD552A,true +188,100000000000000000000,1684317311,1810166400,0x6b9a5A31Af69C6c704A9b705E4EFf0D7a0A2e20e,true +189,100000000000000000000,1684317311,1810166400,0xBdBf020c5946e0b88B3EbA1cA33CC86627a25145,true +190,100000000000000000000,1684317311,1810166400,0xF661eE1A3dC61Ff13AD52583833EA0d95fa00F96,true +191,100000000000000000000,1684317311,1810166400,0x4ee470E115B1EB569920725093C41430EB528e95,true +192,100000000000000000000,1684317311,1810166400,0x7c1e8970b36E6A327255035314f6F7b57C20Eb58,true +193,100000000000000000000,1684317311,1810166400,0x7c1e8970b36E6A327255035314f6F7b57C20Eb58,true +194,100000000000000000000,1684317311,1810166400,0xF7fBA8a566DF2Cbc5ab0e46ed7B1D213fA07B7E8,true +195,100000000000000000000,1684317311,1810166400,0x964B2C3dF9F29DEd421ab05974306255f20a1F98,true +196,100000000000000000000,1684317311,1810166400,0xe2Cd812F36781609886139549719A59d746c63CA,true +197,738000000000000000000,1661083414,1761782400,0x7E3725aB300DCE7f6b47183232E44E538DfDAcaA,true +198,648000000000000000000,1661281931,1765411200,0x0862F5b6bD6F27ef606DC82f0EDbbCdaA43F4cBd,true +199,1637000000000000000000,1678684943,1741219200,0x3D82BD8155005DD721dfDC311534CFDe980Cd11C,true +200,835000000000000000000,1661282511,1761177600,0xe5DbD125Da82787b8413912B2676DCdC66dF7D7b,true +201,770000000000000000000,1678901891,1804723200,0xFc2A07c3c71B993a623BD33a9fCd6f5f8C3ba3da,true +202,100000000000000000000,1678913075,1804723200,0x175b1aA14EBF9E0761D998bAC8D7960Bf0705f45,true +203,2054000000000000000000,1661081454,1767830400,0xaD47C8B0D224C4a9dD431b2877ccDB886eb52949,true +204,1062000000000000000000,1661082069,1767830400,0x6Ae07F823e9BE3889DDd984716faD9faF3836d76,true +205,2009000000000000000000,1661082191,1751500800,0xDadd7DAC370072311e3166019fEB3D55877fe910,false +206,1076000000000000000000,1661082537,1766620800,0x7e44bA2f5f42Aa7c5da1Be152737d376A57b8377,true +207,624000000000000000000,1661084142,1765411200,0x37f31DE56cd8844c8170C54877a201AF3541ae12,true +208,8423000000000000000000,1661084481,1767830400,0xC9485CD3BED4d3F841adC35889591Fd4e94C987A,true +209,78694000000000000000000,1661085422,1767830400,0x75F74DE8C945725703F1a000521dC72A4f27701E,true +210,11000000000000000000000,1661085721,1761177600,0xC9485CD3BED4d3F841adC35889591Fd4e94C987A,true +211,5200000000000000000000,1661086467,1764806400,0x5372ACcb490a498F9a0EA9d1050932C32E306D8d,true +212,3000000000000000000000,1661086696,1780531200,0x5372ACcb490a498F9a0EA9d1050932C32E306D8d,true +213,2501000000000000000000,1661087861,1767225600,0x63b38CfD568b5BA7f3e124b5a70603262D834e5f,true +214,2377000000000000000000,1661088442,1762387200,0xdf46e7abec81C028aa5De7c71219a346F86b6c73,true +215,1107000000000000000000,1661089527,1760572800,0x11D72223368d5fC6f2Dbc63458c2141E7A108053,true +216,200000000000000000000,1661107787,1753315200,0x4ee470E115B1EB569920725093C41430EB528e95,true +217,110000000000000000000,1661107787,1779926400,0x5372ACcb490a498F9a0EA9d1050932C32E306D8d,true +218,120000000000000000000,1661107787,1767225600,0x5372ACcb490a498F9a0EA9d1050932C32E306D8d,true +219,110000000000000000000,1661107787,1775692800,0x5372ACcb490a498F9a0EA9d1050932C32E306D8d,true +220,7449000000000000000000,1661108487,1766620800,0x964B2C3dF9F29DEd421ab05974306255f20a1F98,true +221,4508000000000000000000,1661113053,1764201600,0x1bA2f1Eea3aC21cB53C88522Bfe32a051D601872,true +222,12741000000000000000000,1661126458,1761177600,0x29DFf89Ec15dD66D8C1B7B53325Ed1E90c2f9Fa6,false +223,35807000000000000000000,1661126543,1749686400,0x29DFf89Ec15dD66D8C1B7B53325Ed1E90c2f9Fa6,false +224,1315000000000000000000,1661151192,1764806400,0x16Dcf38af6bBd0C673CB1e6c05d2220965554a61,true +225,14100000000000000000000,1661183497,1765411200,0x77cd66d59ac48a0E7CE54fF16D9235a5fffF335E,true +226,3810000000000000000000,1661183627,1765411200,0x2574F8351A6a47493B48Fb6DF4Fd932521340DE0,true +227,15003000000000000000000,1661183930,1767830400,0x3bF43D5f01e2de17875111cd2b86AeA6A08e3704,true +228,7084000000000000000000,1661184071,1765411200,0xE48fF39B6811fD3bC5c81b8eb2D7A2C5B2604863,true +229,1058000000000000000000,1661185914,1768435200,0xa00706c3B08dB136A9E9300d0c5D22444B03b877,true +230,1196000000000000000000,1661187597,1764806400,0xF1e59A9E96AFAF1AE0e3E61a5560c977368B5e29,true +231,1125000000000000000000,1661191944,1767830400,0xC403400832e973011516DE452bDf14B4F8266c6e,true +232,1143000000000000000000,1661192147,1779926400,0x6945B43512CF7DaBf002533bc4a01a49fd920372,true +233,2815000000000000000000,1661192322,1764806400,0xfe655eC770E2b532c85E9867F79Fb4a8C2dCF4dE,true +234,1023000000000000000000,1661192690,1767830400,0x5372ACcb490a498F9a0EA9d1050932C32E306D8d,true +235,583000000000000000000,1661193864,1749081600,0x80f227A6f50D75F31e83E881d26Ad22d147e2fD3,true +236,0,0,0,0x0000000000000000000000000000000000000000,false +237,737000000000000000000,1661202238,1765411200,0x71fcD8ec340677d02EBc2BE62042D8b3D00c0590,true +238,546000000000000000000,1661203000,1767830400,0x9a5B081Fe82f47f56f6a81F9047cc5B39788E058,true +239,102000000000000000000,1661204382,1784764800,0xe44c3C04addEfdf462C0b0CF9069815F94f58d61,true +240,326000000000000000000,1661205340,1764806400,0xa42B37b50Fe7f1a4850E66881C22E80a80A08240,true +241,1095000000000000000000,1661205432,1763596800,0x604dcDa0f15ed0923b5AE66E5c6D1611019B794A,true +242,1035000000000000000000,1661205432,1783555200,0x626B918ef2625EB2D47ecA3fd8e7774C34613eE1,true +243,1000000000000000000000,1661205649,1763596800,0x9402229B147566037f850CDbb2f3a1bC58Bf6783,true +244,533000000000000000000,1661205781,1761177600,0x1F906aB7Bd49059d29cac759Bc84f9008dBF4112,true +245,615000000000000000000,1661206470,1766016000,0x77692EC8DFf80D651c4E27574234429861E06a8F,true +246,302000000000000000000,1661206697,1765411200,0x8CDF509f6D67Cd11379EDBE468F749Ca32a25176,true +247,500000000000000000000,1661210540,1780531200,0x4b8F2c23811Bb8D46538A3B2c6f4eAE4F9508cE9,true +248,5500000000000000000000,1661212330,1767830400,0x1ff4C0Ae0F386c16D297d7580B872Da90fadaE2c,true +249,304000000000000000000,1661214095,1767830400,0x60068459BB92D88aCbC4a2e9c0B21F2dDc41EE59,true +250,903000000000000000000,1661214186,1765411200,0xbEB439195367d87184733bAdb1f4F26A7df9C576,true +251,1180000000000000000000,1661219119,1767830400,0x350A885Ea8744C28A26e6b874dD7a50C5d0E72Be,true +252,1291000000000000000000,1661219329,1769644800,0x35d60A396672dFf5171becFfc59D4bFCb0FCb7Ab,true +253,5067000000000000000000,1661226189,1767830400,0x46DF537Be86be25e287404Ea2d8c204F45b27f3d,true +254,603000000000000000000,1661233180,1765411200,0x3A2Ed3fCB00814E325eadBAbA88bb903047c3Fed,true +255,558000000000000000000,1661233633,1777507200,0x44Fc2834cdAb3D22E885EF26ce1bCBe50C163ccf,true +256,3000000000000000000000,1661234309,1773273600,0xEd2B4FB23433814956FA8d47EbA537f1bEa98527,true +257,2000000000000000000000,1661234622,1762992000,0x830dc7165fB45d8A21cC40ce58E7BE48F54D7733,true +258,307000000000000000000,1661239609,1764806400,0x35642DE97d6376DD55240Ffd35FAfD2619515e54,true +259,1030000000000000000000,1661240258,1762387200,0x48731A48591B8A1869fa0f742334532A88b2cE92,true +260,307000000000000000000,1661244962,1778112000,0xF661eE1A3dC61Ff13AD52583833EA0d95fa00F96,true +261,408000000000000000000,1661246620,1767830400,0xe5b46eA6A8e364A31CF67cE32DdDB94C2B603D52,true +262,411000000000000000000,1661247026,1767225600,0x7e44bA2f5f42Aa7c5da1Be152737d376A57b8377,true +263,5205000000000000000000,1661249779,1764201600,0x857Db2aa6295cCE3Bb4BA4f11f81C0fD58A37b6E,true +264,1152000000000000000000,1661249977,1698278400,0xb3D7e2431a2e21Dd9474fD39062568eeB5d1dAE7,true +265,2068000000000000000000,1661254456,1768435200,0x753C46389eE4Df0e56F72822B998d04C8Fe19acb,true +266,351000000000000000000,1661254578,1761177600,0xF661eE1A3dC61Ff13AD52583833EA0d95fa00F96,true +267,998000000000000000000,1661254924,1765411200,0xB66747241E41f0F44D7Cd2d9ce0d08fEBBb7bf0E,true +268,137000000000000000000,1661260861,1765411200,0x2574F8351A6a47493B48Fb6DF4Fd932521340DE0,true +269,1154000000000000000000,1661261487,1765411200,0xacd67c3083B9e0e2d378b1eC77d6532571dc634E,true +270,571000000000000000000,1661261900,1765411200,0xbFcFF3aA2579219eA47bbdc783d3E5afB2174895,true +271,1335000000000000000000,1661285672,1761177600,0x4892Db7037c4A4d1298Fb58cce082008263a8416,true +272,997000000000000000000,1661285929,1772668800,0x42e86399Bf7A083C3fd967D0853A1DaC96854b14,true +273,997000000000000000000,1661286844,1772668800,0xfB1108B2B93E1CF84823a065f3d9507d8A34224A,true +274,304000000000000000000,1661290053,1765411200,0xD899Cba83CFA75D45B6c9E9196C3599C307320fe,true +275,108000000000000000000,1661298240,1782345600,0xb4C25F0f872D7A47603AD744DEd9459A685597e8,true +276,510000000000000000000,1661315514,1765411200,0x6CCFf7807fc71FD391C64ed2D77b1Ed91e576128,true +277,1014000000000000000000,1661316990,1767830400,0x94Ed315472c96b45763a7ca7991103972d94b8C4,true +278,1030000000000000000000,1661321722,1767830400,0x0213DC37e2bE77da1E0ED4FE78474051337F490E,true +279,142000000000000000000,1661326600,1767830400,0x3f547239849263f9E3383413Cb4742E098404d39,true +280,758000000000000000000,1661328053,1768435200,0xF9BF5735755319Da8cc648A392D58c0e639ebe28,true +281,500000000000000000000,1661335492,1779926400,0x918DeF53676ad8D5955C637c43983d1D7Db46DEA,true +282,1062000000000000000000,1661338591,1787184000,0xd9E4f4cFE02539164480d8368A11eE1f10B35174,true +283,310000000000000000000,1661341478,1764201600,0xcFcFfE706f54910DD3C98f9A7297B76BF663295D,true +284,343000000000000000000,1661359005,1764806400,0xba7cf268cd6F327f853f9cdf638548C033eD8888,true +285,310000000000000000000,1661359607,1765411200,0xa7780Ef36F99835a7973Cd0606713F505FC7C386,true +286,5045000000000000000000,1661360031,1767830400,0x06D7e91CA4337E1BCC2192996eeb205A93d4EBBB,true +287,7800000000000000000000,1661379489,1767830400,0x45B4F1d285e750E60408496459153E41AF174bE4,true +288,103000000000000000000,1661385091,1785369600,0xd67d38c6BD7861d84207bF6D8EE129acA42B5Acc,true +289,785000000000000000000,1661395912,1761177600,0x733AB147ef8F4efEA84ced248F1AFE74FBe21582,true +290,303000000000000000000,1661415488,1769040000,0x4e204d3FBa00BD8D2A7fFeAC94410671eFad211E,true +291,320000000000000000000,1661417154,1769644800,0x0C9A01a29d64A4c54497F2780A1F6A49BD89Ee97,true +292,677000000000000000000,1661425598,1764201600,0xeec117F77CBCdA67aeaD88d55f4dD9666Cd3b952,true +293,302000000000000000000,1661427952,1764806400,0x659082a1b071fe769fD4FC8aCc3c056986375081,true +294,373000000000000000000,1661429824,1772064000,0xC148aA677D894295E91873adE125Ba841c6a7D95,true +295,1071000000000000000000,1661450346,1787184000,0xD0EF643Cacb56Da91AeE474D103cc46f2080f56c,true +296,10200000000000000000000,1661455306,1767830400,0xa9E0DA4bA1B522b09D5f37ABab08C0EbeB324f58,true +297,400000000000000000000,1661461542,1758153600,0x90F0A3A6C197c7A603b4959513aA74EED5Ede044,true +298,305000000000000000000,1661461959,1767830400,0xb697ceA2DD7A0b9C90Be7DA172831D91C32B70F8,true +299,301000000000000000000,1661463791,1765411200,0xeC6F13D708dAc0afe4feEb1ecc643c720EAAD974,true +300,105000000000000000000,1661507550,1787184000,0xF152dA370FA509f08685Fa37a09BA997E41Fb65b,true +301,58019000000000000000000,1661526325,1692835200,0x1B39Db8C6A1F8B4182a292e5126a6fc785DcE070,true +302,54332000000000000000000,1661526484,1677110400,0x1B39Db8C6A1F8B4182a292e5126a6fc785DcE070,true +303,689000000000000000000,1661526889,1767830400,0xD4330bA82770aa55B808179Fa3553999929af90b,true +304,304000000000000000000,1661528367,1765411200,0xE2445F7773A059C33d70A1e4c6B4e96309D6A68C,true +305,39397000000000000000000,1661528662,1677110400,0x1B39Db8C6A1F8B4182a292e5126a6fc785DcE070,true +306,303000000000000000000,1661528774,1765411200,0xA20d478ec8a491D122B59Dce8BcdFE259a088b45,true +307,720000000000000000000,1661530403,1764806400,0xB9fbeF8f9eD5151348e3d1d6e27E4F8dd7912D49,true +308,1304000000000000000000,1661540890,1760572800,0x1eef89D0c6354902B06DaA3bdD2dDaDA2598Ab97,true +309,506000000000000000000,1661543386,1765411200,0x900AD759cefe96CAE74507e38446E7B642222cDa,true +310,729000000000000000000,1661603024,1767830400,0x175b1aA14EBF9E0761D998bAC8D7960Bf0705f45,true +311,318000000000000000000,1661605672,1764806400,0xCFA69E7E5bd20a12eB676A03A350925B296143C5,true +312,0,0,0,0x0000000000000000000000000000000000000000,false +313,310000000000000000000,1661606372,1764806400,0x0F52e9Eb237f384a46afdae58c497728Cf790dc7,true +314,0,0,0,0x0000000000000000000000000000000000000000,false +315,1614000000000000000000,1661611952,1787184000,0x73807A4E6EaB716e246265A2C7fc69920A690215,true +316,2496000000000000000000,1661613225,1760572800,0x9f28AF4c58d2E2b776c27D432409964Cb6C74891,true +317,673000000000000000000,1661613540,1761177600,0x04B243e950E0274cbd715Ad140C11757207d6191,true +318,974000000000000000000,1661618125,1787184000,0x19cf68B83128248Fe1A8d41B360baf0F31a6037E,true +319,1375000000000000000000,1661625192,1787184000,0x5372ACcb490a498F9a0EA9d1050932C32E306D8d,true +320,416000000000000000000,1661630937,1762992000,0xDCbC0EA6bEF5041068707d986c1e007c98Cec03d,true +321,5150000000000000000000,1661635538,1760572800,0x270595E1e45E4D28E8edA95747F2e222AAa755EA,true +322,250000000000000000000,1661638763,1787184000,0xCd9142CBa968D9AC2793671Ab5b4fd324b864d7d,true +323,3273000000000000000000,1661667744,1760572800,0x4c9c9606b4A05EaB15bfD5529d37901aa92adbAA,true +324,305000000000000000000,1661673171,1765411200,0x88F8346dB22d35Cd8eee861332D8e08A1e547dBD,true +325,1074000000000000000000,1661679076,1758153600,0x2f70642A50D74111bE3460f97C604359bc245Da8,true +326,552000000000000000000,1661679944,1765411200,0x4A786abfce88E92e343922e583E9241F3AC9c9fE,true +327,512000000000000000000,1661714115,1768435200,0xe1Fd26028A0DE4F2a26b100F1Ce0E98d5E669aa3,true +328,12800000000000000000000,1661717256,1759968000,0x8adDabF339c54Aa0c6e8Adb41C2CB2F1d68451f5,true +329,982000000000000000000,1661751289,1765411200,0x57F65790Fa373E1C74ec570048a2c7b10668ad93,true +330,908000000000000000000,1661751489,1761177600,0x3edd4601EF01EF4DE4F7a4EA265547580d519be5,true +331,612000000000000000000,1661756114,1767830400,0xdb88B11CF86dCd509e6204c8c007509516526309,true +332,303000000000000000000,1661756511,1767830400,0x33e64B201a02038F5380B2bc96130FE77c4e5419,true +333,407000000000000000000,1661764114,1764806400,0xfD487AC8de6520263D57bb41253682874Dc0276E,true +334,310000000000000000000,1661794132,1765411200,0x2E06Bb4DDbF3F14516E6fb65e94CB84944Aae8da,true +335,4018000000000000000000,1661808148,1765411200,0x336f2809f43fefb062a2b25F1C74a22a9bB26981,true +336,8187000000000000000000,1661848235,1778112000,0x5Ff39c8fE39eA1812e2b163E7e485eF70d8c05A8,true +337,2212000000000000000000,1661908880,1765411200,0x8689162187f25DB79a3c438c2836F75B09c4D65C,true +338,455000000000000000000,1661925455,1780531200,0x99AacDB295c6d6fae1D5c0f01a469430cf58E021,true +339,0,0,0,0x399a0AB358Cd880b7DF71896CdC8Cc233ec1134A,true +340,308000000000000000000,1661955821,1767830400,0x7fE33AFe1109a52D7f6311Cc0B8b8388d547eA5C,true +341,2021000000000000000000,1661980543,1787788800,0x17BC9331ff977cAB492d76a094683187B6BFbe48,true +342,10134000000000000000000,1662034448,1787788800,0xbda2703A6Fb1177598E616A44585295d3Af4E5F0,true +343,310000000000000000000,1662034471,1765411200,0xaE3feA1052471716F08e3F31b08a89B5bbf05265,true +344,592000000000000000000,1662059272,1765411200,0x04fB3712c8452a90896Ce7F49Fc6182636963aF6,true +345,312000000000000000000,1662099258,1764806400,0x47Fd044Fe4a240b193287C0bB564ef83C2011B98,true +346,380000000000000000000,1662141730,1765411200,0xB9Df650383d84F2AD7BA1652B904f922E69b552E,true +347,774000000000000000000,1662210001,1761782400,0x898bA0e92247d28E1b1d6E8d061D31e378594646,true +348,343000000000000000000,1662220926,1764806400,0xBC4F67B7A61accF235a3639079C60fbc36A9284C,true +349,305000000000000000000,1662225246,1764806400,0x5AB025dF2A86e324bbA4491b7BF4beE9c2181562,true +350,648000000000000000000,1662227116,1765411200,0x7dd4b7c7D60Ec09d77f504d4e5eaA8355F65DC75,true +351,310000000000000000000,1662244075,1765411200,0xbA12A4b0369400279E4276F1C6A72185399C6542,true +352,648000000000000000000,1662264276,1765411200,0xe9442731E5c6dB811b2efAeF1e0D9abE62Bf30dB,true +353,1035000000000000000000,1662281021,1767830400,0x66522fefA6355C8A391109640fD0439e5B2bf20E,true +354,605000000000000000000,1662330589,1765411200,0x1A82A2B89a4ccd38b34377a33eddD8C790eF4516,true +355,303000000000000000000,1662376620,1764806400,0x8eFd97Edf4169Af5a6299416D1D60378D5479066,true +356,301000000000000000000,1662415241,1767830400,0x617EeA439FF520FbDB8006d6c69E96422E958727,true +357,1600000000000000000000,1662454194,1735776000,0x2cAFe9CBA9da5a49E3FF28eB63958c2583CD552A,true +358,3240000000000000000000,1662545254,1788393600,0x77cd66d59ac48a0E7CE54fF16D9235a5fffF335E,false +359,100000000000000000000,1662563233,1788393600,0x061De1acDf149297451902415217f1b3C60c44BF,true +360,308000000000000000000,1662592127,1788393600,0x4C52364b7ed771912781f3796729573950e61f61,true +361,3000000000000000000000,1662674313,1730937600,0x5372ACcb490a498F9a0EA9d1050932C32E306D8d,true +362,2508000000000000000000,1662700090,1777507200,0x0000000000000000000000000000000000000000,false +363,150000000000000000000,1662712048,1762992000,0x964B2C3dF9F29DEd421ab05974306255f20a1F98,true +364,150000000000000000000,1662712153,1762992000,0x964B2C3dF9F29DEd421ab05974306255f20a1F98,true +365,4335000000000000000000,1662828928,1779926400,0x94bf811283077DAea3A193eB66A4519c7bDD7d49,true +366,305000000000000000000,1662881019,1775088000,0x1c79deaA038B68E2570D30B65a5F457b66669009,true +367,312000000000000000000,1662927465,1764806400,0xfD487AC8de6520263D57bb41253682874Dc0276E,true +368,822000000000000000000,1662931128,1767830400,0x61CF0470dA804fb52762Aa76B25e2B62266b90B8,true +369,1220000000000000000000,1663024293,1765411200,0xb3Dfdea360ae38779B8fD9645290a46f939CAEd0,true +370,1000000000000000000000,1663148772,1678924800,0xC15D36686a07449C178fFaA4d68712a20DC1968A,true +371,6679000000000000000000,1663191319,1767830400,0x86C1441CAeCdE1046bC3Ae0799f80051dB1edd4c,true +372,484000000000000000000,1663302815,1762387200,0x5078bD10Db4b5005004ad6b5910f025B33F18fb2,true +373,0,0,0,0xfb825828749435a66eB7710c0D743cb32Ae022dD,true +374,368000000000000000000,1663504799,1769644800,0x8c1F416ef5Cf6090Cb50CFF16e48B8Dc343E01c6,true +375,639000000000000000000,1663510175,1764806400,0x90774aB01BB5725d1CE10ADF47a1B791A594279c,true +376,0,0,0,0x0000000000000000000000000000000000000000,false +377,0,0,0,0x89dF8866FDCca92C27be1E8d9E312121188eA268,true +378,311000000000000000000,1663614551,1767830400,0x63c2827A62e3715CE9C4fA8ddb3c3E89116F6202,true +379,0,0,0,0xBAE304B1a1b5ed66b0C61291Ae012e171DBA067E,true +380,824000000000000000000,1663754339,1764806400,0x8A40435c3E62A8cB15570fa4e5587471F6b1B9F4,true +381,1377000000000000000000,1663763555,1760572800,0xc9EfbFaF6083c49c1741ab0B6946C0b5Ede8956C,true +382,639000000000000000000,1663862111,1765411200,0xB16885D54e8cA9730aa3Cc81f3f6Ab9EaC8aC766,true +383,144000000000000000000,1663904999,1768435200,0x2fF99b5D39759632827D44B4155e983ae816A284,true +384,302000000000000000000,1663922711,1765411200,0x99e546BF2E202Aa5453aA19Aa2BFC1D43e8C8939,true +385,301000000000000000000,1664105567,1765411200,0xbaBFABA353c05D882CFb2201F039Fa759B45F727,true +386,301000000000000000000,1664171843,1765411200,0x235e146f1D8c70B9D5D76BCe5744EA2AA95a0053,true +387,334000000000000000000,1665532295,1764806400,0xEF111E79D96AbE4634Ff22947D0902F43CdbeC6C,true +388,0,0,0,0x6FAB9385136904C884F3D9b3CA604cD337d81860,true +389,125000000000000000000,1665592511,1791417600,0x06C6C102a99aef64a89882f5f407F3C2De5aE9CC,true +390,301000000000000000000,1665785735,1764806400,0xb695010Aa556bCd55aD096234a0a0816C6efEE44,true +391,1142000000000000000000,1665913427,1767830400,0xC1C2D0860A213C630c7E285eB5b8B1ebDfa205B1,true +392,336000000000000000000,1665976475,1764806400,0x1D0cFc9B27FC08E70782c9B21C8dAb87870c1100,true +393,476000000000000000000,1665978995,1761782400,0x2561a222dD48539A18b9e4DD31Fb11E897fA1D86,true +394,174000000000000000000,1666317479,1792022400,0x6A339335AA10d65034aa51685dDFa3fd8Ae1779E,true +395,0,0,0,0x17F850f8b556B8a8f35d9dbA96a467f1f664aA5E,true +396,525000000000000000000,1666642463,1697673600,0x44933fcD38823510B05671E97B4a5C873EF03827,true +397,525000000000000000000,1666660871,1697673600,0x93beAA19D84c35D4E8f1b26bC1463653559c416c,true +398,530000000000000000000,1666702463,1697673600,0x06C6C102a99aef64a89882f5f407F3C2De5aE9CC,true +399,1083000000000000000000,1666738607,1729123200,0x57986E0f27ad2997f06f960c86f962b9e5dd4d00,true +400,538000000000000000000,1666756067,1698278400,0xC661384239E4099DF0E3FDe9F2Cc02B10C5C5387,true +401,600000000000000000000,1666920767,1698278400,0xCccC1aE0AA9846F44A5978942B266260C3b5B9cD,true +402,306000000000000000000,1667005223,1764806400,0xe3615C57339377Ca83B2A12a8cE30275c655FA28,true +403,318000000000000000000,1667127227,1768435200,0x21ea1d0b740f0d2dc02Fa93f828359fd196F800e,true +404,829000000000000000000,1664303039,1758758400,0x0000000000000000000000000000000000000000,false +405,320000000000000000000,1664406443,1782345600,0xc298585cB7BCa511bFe5f33A1AB44B56A7C9893E,true +406,21693000000000000000000,1664407355,1764806400,0xF853571a5437Af65dc4906580015f35eb55921c1,true +407,844000000000000000000,1664428703,1765411200,0xEc0847F840D3c6429acC6DA2612E9f05Ad8E9882,true +408,0,0,0,0x0000000000000000000000000000000000000000,false +409,130000000000000000000,1664436635,1778716800,0xCd605bb38BE6B08bB1CFFA1eCcbDD3Ead78A554d,true +410,317000000000000000000,1664621051,1778112000,0x9144FF76DA0E05fcF216D7b384A5e115b4eCE682,true +411,301000000000000000000,1664672363,1776902400,0xC6876C285D61758AB04d91f375174c517f6b3e1C,true +412,305000000000000000000,1664672471,1764806400,0x4248a3026A014555d22a5e3C21814B1B9397D352,true +413,305000000000000000000,1664672603,1765411200,0x112404725049132fcad66630799666f48A8552Ab,true +414,303000000000000000000,1664672723,1765411200,0x0C07ca2EdC1366F06f9A09c0e22Bf4344319744E,true +415,310000000000000000000,1664717987,1765411200,0xa7780Ef36F99835a7973Cd0606713F505FC7C386,true +416,307000000000000000000,1664832035,1761177600,0xfD487AC8de6520263D57bb41253682874Dc0276E,true +417,3350000000000000000000,1664832143,1760572800,0x0645842997CaF428ac9419eD52ddA96f51deb77F,true +418,1232000000000000000000,1664923091,1768435200,0xC403400832e973011516DE452bDf14B4F8266c6e,true +419,309000000000000000000,1664974367,1765411200,0xecF00d580Ec85d4bC5383EC2b904A1A3A7c5bB8e,true +420,344000000000000000000,1664979695,1764806400,0xBC4F67B7A61accF235a3639079C60fbc36A9284C,true +421,344000000000000000000,1664999543,1764806400,0xBC4F67B7A61accF235a3639079C60fbc36A9284C,true +422,400000000000000000000,1665109691,1765411200,0xaB418f230341ca4317FE8cb799856D4cF6D22D58,true +423,1000000000000000000000,1665134627,1790812800,0xB8221D5fb33C317CfBD912b8cE4Bd7C7740fAF88,true +424,183000000000000000000,1665142991,1769644800,0x23Ffb8Fc1Ef01b930361733F83b7aBDBdDD73dfE,true +425,150000000000000000000,1665163583,1759363200,0xE6c456E9d4EBf00d1b530260F0cAD30c369bf0e7,true +426,624000000000000000000,1665315227,1765411200,0xfEf869627e0020E8C13c8fC2C32c66EcB6cDA4B0,true +427,5097000000000000000000,1667298383,1767830400,0x3e55aA73120BC8035a61dBA7F9b55bA99056bD9B,true +428,944000000000000000000,1667468915,1765411200,0xf7C58dFEb06691c6b37b64DDb9ca50A587CaeB06,true +429,312000000000000000000,1667677787,1764806400,0x9210D63aA390865da213ff22DB8DAdfa042fb013,true +430,562000000000000000000,1667704307,1765411200,0x0000000000000000000000000000000000000000,false +431,301000000000000000000,1667706347,1765411200,0x568a87af131a1e303F6fE9380a41695aA0d9c773,true +432,301000000000000000000,1667706623,1765411200,0xb3474a6533D87E3452cb7b364f38BEEC800639ba,true +433,642000000000000000000,1667808791,1765411200,0xAC2D35cc47fa5833C838A5778EF520b3ca9D58c7,true +434,330000000000000000000,1667902907,1764806400,0x000000E5aE8F840C51FDBD43CbFC5e5654FDc1bE,true +435,303000000000000000000,1668172439,1765411200,0xfD487AC8de6520263D57bb41253682874Dc0276E,true +436,19240000000000000000000,1668203003,1670457600,0x842485AC1CF5d37d3cfd013745618561B2dA4B46,true +437,2922000000000000000000,1668355583,1769040000,0x94a80Bb792075DEb898673E6c1EF9e3cAd8CE33b,true +438,6668000000000000000000,1668357815,1768435200,0x2dC743f7d67101E46f0532F2FE60a34D9aD62C2e,true +439,593000000000000000000,1668587987,1769644800,0x37C9e073b8E3202DF6e0Ec46251886F1B71480fa,true +440,10003000000000000000000,1668593123,1794441600,0xC9485CD3BED4d3F841adC35889591Fd4e94C987A,true +441,444000000000000000000,1668764207,1760572800,0x5e89492CEd829cDd2faAA26D382993000d1C265d,true +442,330000000000000000000,1668948527,1765411200,0xce98a95f347e23BDB9f686512c8CF2D765E38195,true +443,328000000000000000000,1668949847,1765411200,0xcd867eA977Deb43a2090630C3ff10FA65700193a,true +444,73762000000000000000000,1669031039,1684972800,0x7202136d70026DA33628dD3f3eFccb43F62a2469,true +445,100000000000000000000000,1669491023,1669852800,0x0000000000000000000000000000000000000000,false +446,102000000000000000000,1669499147,1795046400,0x75C2d027c656e78d7822A008181BFBD3E3b180A9,true +447,100000000000000000000000,1669555739,1669852800,0x7202136d70026DA33628dD3f3eFccb43F62a2469,true +448,100000000000000000000000,1669555775,1669852800,0x7202136d70026DA33628dD3f3eFccb43F62a2469,true +449,100000000000000000000000,1669555859,1669852800,0x7202136d70026DA33628dD3f3eFccb43F62a2469,true +450,0,0,0,0x0000000000000000000000000000000000000000,false +451,0,0,0,0xfD487AC8de6520263D57bb41253682874Dc0276E,true +452,324000000000000000000,1669785659,1764806400,0x78529a5325a7CbFe0208A6fE99A829EA28b09946,true +453,105000000000000000000,1669835579,1795651200,0x701472C062D3437f74b282711Ca96da9F59Cb063,true +454,115000000000000000000,1669944467,1795651200,0x539b35a60Ce3e16A44C4Fd85B54928Fe756075CC,true +455,110000000000000000000,1669973915,1795651200,0x0dd44846a3cc5b4D82DCD29D78d7291112608f0c,true +456,2554000000000000000000,1670096015,1701907200,0xcC0c40F6dC3FBef6328da9b07f58A2211806d1A5,true +457,0,0,0,0x21699F05cd7FAf2165512703af577afaDDA0458f,true +458,333000000000000000000,1670243615,1761177600,0x58c959a4510E92097eE1697490167810C93Eb581,true +459,307000000000000000000,1670751527,1764806400,0xF661eE1A3dC61Ff13AD52583833EA0d95fa00F96,true +460,310000000000000000000,1670767079,1765411200,0xDE6910F4569646073EeeA6E021b835824ba77874,true +461,103000000000000000000,1671130283,1796860800,0x7CAf1190F45C68A3b5181c5d1D8C7F1d635bCf49,true +462,302000000000000000000,1671193727,1764806400,0x9bCE58CF9292b3C2eDF0fF5B056B8f4D570CeCF7,true +463,102000000000000000000,1671313415,1796860800,0x13b48d6b16f10883fe9246Edc61d3bE1b9cbBC78,true +464,500000000000000000000,1671377267,1793232000,0x5372ACcb490a498F9a0EA9d1050932C32E306D8d,true +465,674000000000000000000,1671570215,1764201600,0xF7B5D015d2aC3c8ec395FD3eE79EB3e8Dc4108F6,true +466,103000000000000000000,1671839795,1797465600,0xDbD4689FfE62cEde129aD3FA4EB902628a76dF8B,true +467,101000000000000000000,1671878399,1797465600,0x103B9947f46E033a3944e8f4cD7F9094C7e32BEC,true +468,50000000000000000000000,1672170587,1676505600,0x1B39Db8C6A1F8B4182a292e5126a6fc785DcE070,true +469,0,0,0,0x977223Ef93b8490E8E6d2dC28567360F489A3EE1,true +470,6013000000000000000000,1672170587,1761177600,0x9531647f5fFaf86cCC95307A2841d44864F50D2f,true +471,5049000000000000000000,1672170587,1767830400,0x39774983FC43A2Eec4E75886369da9021D33e103,true +472,3005000000000000000000,1672170587,1767830400,0x53143A1404277d27EF7007751739ce950896A3c2,true +473,2312000000000000000000,1672170587,1765411200,0xD7a7E8477AbbE7D0453083b79a1CFfEb67d8A5eD,true +474,1090000000000000000000,1672170587,1770249600,0xfD487AC8de6520263D57bb41253682874Dc0276E,true +475,1115000000000000000000,1672170587,1765411200,0xb8A953757b06d96396fB631E84115F8CD9D92113,true +476,1079000000000000000000,1672170587,1765411200,0xbD60d1A6BE7bC900Bd748d5eEaB7466770A685be,true +477,1055000000000000000000,1672170587,1767830400,0xaFb1F1d6A887Dec13c2c3FeeA7d7C24ff8A06A3c,true +478,310000000000000000000,1672173251,1765411200,0x9D276D8F19dFE76E9025E624A9210678cE6f3f2D,true +479,1000000000000000000000,1672173251,1767830400,0xfF59683661a5934748d92E71209C93f6a1F12b0C,true +480,531000000000000000000,1672173251,1767830400,0x696c7dfeb7ac0CC3E573Cc4363C0d982833155A3,true +481,347000000000000000000,1672173251,1761177600,0x44Eaa7C5f2939BFE3c16D595d0fCB498cd5B236E,true +482,325000000000000000000,1672173251,1763596800,0x14b026e654E0ff578434fAEEa9Ad58B2A31BC542,true +483,1027000000000000000000,1672173251,1767830400,0xb745AA0d86AB8CcAbD0721258C2b674e5c7b9152,true +484,301000000000000000000,1672173251,1767830400,0x1365B0F3f2e812FCAbD5972dED7621Fa7DC502d7,true +485,413000000000000000000,1672173251,1767830400,0x4f81dcD57874BeA635DDd33eBda1E6Cbbd177028,true +486,530000000000000000000,1672173251,1767830400,0xAB8cc4DA67b8B23456482891874a9128b850F6E5,true +487,634000000000000000000,1672173251,1767830400,0xAbb61b62Ef940CE72aE8feA044d48883A0523076,true +488,309000000000000000000,1672173251,1767830400,0xA9dDC986e7C4b2dfB5c10FE94Ab99e7c33FdFF54,true +489,305000000000000000000,1672173251,1767830400,0x16ed9183CDf7e75EE53A650c3CE09FC10CAe155b,true +490,305000000000000000000,1672173251,1767830400,0x8F1bcd4c2d00A88f78A82Ad942e823a8beC0fCc5,true +491,550000000000000000000,1672173251,1767830400,0x07A280e8a764B0cb493c7c5652Db248c828D2487,true +492,516000000000000000000,1672173251,1767830400,0xC380B79Db82cF37fD43d1Ebd9cA1b30C9Fc749F2,true +493,341000000000000000000,1672173251,1765411200,0x8Bea73Aac4F7EF9dadeD46359A544F0BB2d1364F,true +494,615000000000000000000,1672173251,1797465600,0x95263BAc044453E7d63347a399f8Cdea99f0d531,true +495,480000000000000000000,1672173251,1767830400,0x1DA216A65647056387F0ce215979F1A19668DB43,true +496,669000000000000000000,1672173251,1768435200,0xf96c30ffB5280B2030Df2aCaBd990e7d6f1cF7c7,true +497,509000000000000000000,1672173251,1768435200,0xa4aBA4b4bbEa97A3d14dA4f4F53b097a513E46CE,true +498,267000000000000000000,1672173251,1768435200,0x74566D9Dc4eec5cD8CC6Aab21a3195FdF15db97D,true +499,549000000000000000000,1672173251,1764806400,0xaC3a38771884b89650C9e59952A72Fa7895aD9fB,true +500,464000000000000000000,1672173251,1769040000,0xe0f0c1f4C1549CfE125D26AF190006D67087b53A,true +501,593000000000000000000,1672173251,1764201600,0x0B368F220A06e20c33339CD59E4f16B95666a37F,true +502,500000000000000000000,1672173251,1769644800,0xa292C5f77f50f606d35D165E541b45B79773a6C3,true +503,312000000000000000000,1672173251,1769644800,0x7Ba755A9535e7E2A870F8a05c430018AbfBC0974,true +504,312000000000000000000,1672173251,1769644800,0xceE53eCE8be2857743a96aE1922cF84ca5168d44,true +505,300000000000000000000,1672173251,1777507200,0xf669eA009BE1C43c47F44A62ba7454Bd7f544190,true +506,369000000000000000000,1672173251,1764201600,0x4870aaD38E762F0a95CbB34d95A2983551f3ebE5,true +507,500000000000000000000,1672173251,1769644800,0xb234Fc52aB006f283538c04D190837D2Dcd31b6f,true +508,312000000000000000000,1672173251,1776902400,0xe52029A8ae59433a67cDA5c005900089666b6Ddd,true +509,310000000000000000000,1672173251,1740614400,0x069A7f4ad699Fe56B6524996414e8dEf025485bd,true +510,352000000000000000000,1672173251,1765411200,0x14538b987e37e2CD0714b358C24E8661C67c9e81,true +511,360000000000000000000,1672173251,1770249600,0x3b917F458739D38fa9620054Eb5270cD51Cb134b,true +512,600000000000000000000,1672173251,1761782400,0x0f07c0197c2431054906FF50d04a6390A67D1bAa,true +513,301000000000000000000,1672173251,1767225600,0x96492d1b0e698F0Dd843aDBaDc029118E99631B1,true +514,428000000000000000000,1672173251,1760572800,0xfcb757fD178FA036d839Dbb5caA69005C4Da9dF7,true +515,317000000000000000000,1672173251,1765411200,0x3c64Ac34A6187f70658f4e444fcA143A460E523e,true +516,831000000000000000000,1672173251,1766016000,0xdA13F11a3D5e6A844A434A1acaa15Af954f398c9,true +517,511000000000000000000,1672173251,1765411200,0x725DaD5AdB139e3b5f2bC24c7a83A4d88f146EE0,true +518,312000000000000000000,1672173251,1761177600,0xF810F51674cf875A3E03A7B95c27B8Df3312d131,true +519,412000000000000000000,1672173251,1765411200,0x8254925c4Da21bcae450ED64cC97c42Bcb24CB13,true +520,326000000000000000000,1672173251,1761177600,0x6AA33d1F92f2b64db7Be6d8190390091dC69c8Ff,true +521,320000000000000000000,1672173251,1765411200,0xcaFd650401708ca4f65a22340D07f78E18f8C332,true +522,358000000000000000000,1672173251,1773273600,0x533065DA755A32D79edeE8628e05cAab46543a7b,true +523,321000000000000000000,1672173251,1765411200,0x75359fCd3b430284e5d5e24BDC23526C6DeDE9A7,true +524,317000000000000000000,1672173251,1765411200,0x8E9E4465CbE3De268A1E3E0C228D20923DBA3761,true +525,336000000000000000000,1672173251,1775692800,0x27009520FD9974f2815a611D5943e4d4b0495BEF,true +526,339000000000000000000,1672173251,1760572800,0xFA5179eb4fCDD12f47412F3f8AE38259BE3bD5EB,true +527,371000000000000000000,1672173431,1755129600,0x0C21bd323f4eFc78a292904608B719dF1EC4EA60,true +528,320000000000000000000,1672173431,1765411200,0xf0d7C528a50545821BcD7c3ACA978e2CFf2C89fF,true +529,315000000000000000000,1672173431,1765411200,0x4fCDE2A630171f299F487EC52C509a273Db03ea3,true +530,307000000000000000000,1672173431,1742428800,0x41DeE44551d49f419dE996E1bc10F18f5a9BE7e4,true +531,315000000000000000000,1672173431,1765411200,0x70CEF808E390c031aB75CDD4D8a289215388Bafd,true +532,319000000000000000000,1672173431,1764806400,0xfE57b767bd580c29CFDAfC66e6E175a45E0096a0,true +533,315000000000000000000,1672173431,1764806400,0xBf1a0Eb4518D1F75B7e15EE9Eb83A078E341A091,true +534,425000000000000000000,1672173431,1765411200,0xf12f98A0aa832987C9298E0E5D7152118e29dF41,true +535,307000000000000000000,1672173431,1765411200,0x97E5bC28402527276A9B1CEef2Ee7fEefcF7FEf1,true +536,411000000000000000000,1672173431,1765411200,0x794f4B5c738187224d0bc230F6a760023467789B,true +537,310000000000000000000,1672173431,1761177600,0xd84CaCf927DB765dDDdcA706351C60c20F2a22b5,true +538,315000000000000000000,1672173431,1765411200,0x11b88567aF82Af5Bba947B37EA3D353447E94b85,true +539,305000000000000000000,1672173431,1765411200,0x2748C10f7C6614679711fd35FbEb8E05A2e03419,true +540,516000000000000000000,1672173431,1764806400,0x0910AEd2f4a4b3E7F399F3d5Cf6EdacA132b83D0,true +541,613000000000000000000,1672173431,1765411200,0x21606eE18fc1c9B398c25f56e98E6035ab434299,true +542,315000000000000000000,1672173431,1765411200,0x1b0C9bb8f4502D6d8821E68Eab3Dcc2ee90B5a36,true +543,313000000000000000000,1672173431,1765411200,0xC4BfC5b8266aDE7507352Ed04A65e027d3596ff8,true +544,304000000000000000000,1672173431,1764806400,0xbe375b16a55E3323e22dE841235b84eFd557F09D,true +545,320000000000000000000,1672173431,1764201600,0x47414B09E1fC4ab0aef5F94505f907D42937Ae77,true +546,436000000000000000000,1672173431,1764806400,0x75D228291f2670546549563569d25AB1840fa897,true +547,571000000000000000000,1672173431,1765411200,0xEa93efa4a0F368b4e152FB7D7EBb2C1A14aC4465,true +548,337000000000000000000,1672173431,1765411200,0x1edAD11A8d1A0417E90AB30C32b24605b2f2720A,true +549,330000000000000000000,1672173431,1765411200,0x835021730E4Dc6374B58D23AB850D3bF5840aC7b,true +550,320000000000000000000,1672173431,1765411200,0xeF53EfC3f5753Bd18f99CC9B39CAe971B25bE218,true +551,330000000000000000000,1672173431,1764806400,0x7Ad8FfC6d9754cfB83C2BBB483380ff35cf7F247,true +552,300000000000000000000,1672173431,1758758400,0x4ee470E115B1EB569920725093C41430EB528e95,true +553,302000000000000000000,1672173431,1765411200,0x1AF39FB2578c1Fe55439840F586F7BeD40E8126C,true +554,308000000000000000000,1672173431,1764201600,0xE66B57614fa88FB9B9B0D40a99F896B518Bf6fbB,true +555,315000000000000000000,1672173431,1765411200,0x3dE6539CF5c0c72e381df8eB37b0718FAf8f3036,true +556,325000000000000000000,1672173431,1764806400,0xeb9Dc47E1822302803Cc7a583A6Fb4A162f31aC1,true +557,310000000000000000000,1672173431,1765411200,0xdbECf3231E9C42a63e0146250426E26C6aFD61ae,true +558,315000000000000000000,1672173431,1765411200,0xAC25424Dd34afCF4d1473CDaaCA019E573F9297c,true +559,321000000000000000000,1672173431,1765411200,0x75b23e8Da1ECCAa43BC7a4E23831bd46e559D22b,true +560,303000000000000000000,1672173431,1765411200,0xBcb8295D192B1ee9b61b0C89cff33f8d840966D4,true +561,561000000000000000000,1672173431,1767225600,0xD201ECBE85a32944464964A1e1C02F923e7c4DFE,true +562,411000000000000000000,1672173431,1765411200,0x30a30E458310bEDe783e53D8c5BBcC3C50D47617,true +563,310000000000000000000,1672173431,1764806400,0x7f5eb24c704dDB8d97F0bD6831608DE2A6E97985,true +564,301000000000000000000,1672173431,1761177600,0xDB2D78376960becbbb5010AB7502D2Ee948B1a49,true +565,303000000000000000000,1672173431,1765411200,0x3998fC81353f4b7aB8517254f1B91C244552f3a5,true +566,315000000000000000000,1672173431,1765411200,0x189C7f09d72a1d8233478751DdD3E7d7F4BB3055,true +567,303000000000000000000,1672173431,1765411200,0xFC2b0EA4F1910833Db4Fdc7ECaB54C8B93FB956f,true +568,604000000000000000000,1672173431,1701907200,0xa2E2fAf691Ac3f117d7Ea018a7F63065f2A92206,true +569,310000000000000000000,1672173431,1765411200,0x7Bcc9240a36fa860822BAdB3de68f5e35dD7cB2F,true +570,301000000000000000000,1672173431,1765411200,0x84400c5E12bCBf953Fb01f61695733cCC5f260Bc,true +571,305000000000000000000,1672173431,1764806400,0xBd63144C19379a62699F9544836CFdF05a3c31ED,true +572,409000000000000000000,1672173431,1764201600,0xAcEB82D900F3D8b3909DC5198E6974c23da732b4,true +573,350000000000000000000,1672173431,1761177600,0x323A24e105b292f01D89B616feF24D1a9Df9F513,true +574,301000000000000000000,1672173431,1761177600,0x839E270bA1e097004788857Df95b9C3CAE80E092,true +575,310000000000000000000,1672174367,1765411200,0xeDf64c14F8347301DFAa8A409Cf79FcbF5810ba5,true +576,300000000000000000000,1672174367,1765411200,0xe29432a36B4CFB52C05538a00352d4964F65520B,true +577,320000000000000000000,1672174367,1761177600,0x5FE2558dDFd8eF3335edf4815b29cCD54c6aa5d5,true +578,555000000000000000000,1672174367,1765411200,0xdEaE1Be6361cf08B6eEDEC70a25F165Fc990f2cA,true +579,315000000000000000000,1672174367,1765411200,0xf8E93eE17cd730eDe1b1bDf8Bd99AF313294Fc19,true +580,890000000000000000000,1672174367,1765411200,0xf05E6883f52Ff6Bf82f9d3120eA163E65dA32Bef,true +581,311000000000000000000,1672174367,1765411200,0xa17a1DEa325445028c459CB671b74D07C40eE6d2,true +582,330000000000000000000,1672174367,1765411200,0xad6F05857Ebb5a330773ac6741bE3C06b1Af2CF0,true +583,799000000000000000000,1672174367,1764806400,0x767631aBDC12c6ba6262D87e8d107DEa9ae0aF6f,true +584,310000000000000000000,1672174367,1765411200,0x39D8dBa2A0Be1839dB67E1203E31a626d72281b9,true +585,566000000000000000000,1672174367,1765411200,0xd61F2eCDb421625265DbCC2c90d4Dfd07f9931F0,true +586,303000000000000000000,1672174367,1765411200,0xa2eDa609De349128CF74b8cC96a113Cf7319521e,true +587,310000000000000000000,1672174367,1761177600,0xb0FB2ce51a7Cfe2aA9a3Ba0214E22405D764166A,true +588,301000000000000000000,1672174367,1764806400,0xF3b1C99Ff41836dbD20EAa1a5D502213A49EC997,true +589,301000000000000000000,1672174367,1765411200,0x813895135Ca56B2AaeA87beb196177c1AC8A2155,true +590,301000000000000000000,1672174367,1765411200,0x09df8e09C6Cb68c7832e215e9769F3140DA85673,true +591,301000000000000000000,1672174367,1765411200,0x172BBff18713cf812512E438BFC83CdAEFA38415,true +592,310000000000000000000,1672174367,1765411200,0x6fd1EFc2681b1fd5BF194762f564A73Af2828292,true +593,302000000000000000000,1672174367,1764806400,0x3CF8d5F814088A91e34a8aaF674Ec84f63027348,true +594,335000000000000000000,1672174367,1764806400,0x6293D2Ee946940200882dE0C6359662BC28097aD,true +595,320000000000000000000,1672174367,1764201600,0x39d49511F4b3f2eC4859FA0b36ED816147c1AEDd,true +596,534000000000000000000,1672174367,1796860800,0xbaBA55Af21E34F5209A83086c5C0156532A8D168,true +597,315000000000000000000,1672174367,1761177600,0x53cFBFe27706BB10F765e7Ef64912533e215D724,true +598,301000000000000000000,1672174367,1761177600,0xa014F0452a103E0b5B9B33E35aF6ccEe83b4AAE3,true +599,301000000000000000000,1672174367,1765411200,0x439102Bcb3045cB1e53b80434bB1c325F52d7969,true +600,315000000000000000000,1672174367,1765411200,0xe680413d0D88d5c50C2345C49Ee5B3dd06d52d22,true +601,435000000000000000000,1672174367,1765411200,0xa70624315649B95F160e6399c01567e862C9aa16,true +602,315000000000000000000,1672174367,1765411200,0xB8dDE2386a5E6c7F011815CcB83235dEE2D64C47,true +603,302000000000000000000,1672174367,1761177600,0x260470a4BE6970Ec94c094B2d7796cfed5ddf3ea,true +604,315000000000000000000,1672174367,1760572800,0xf13872188b1823cAb9Cef25845Fb9195532696Cc,true +605,321000000000000000000,1672174367,1761177600,0xC78d55FEf09278943227D0131Ae919A2620E67D1,true +606,301000000000000000000,1672174367,1764806400,0x4224c955bdc6B87d60F2eF4718c6c5022edb09E0,true +607,480000000000000000000,1672174367,1765411200,0x857Db2aa6295cCE3Bb4BA4f11f81C0fD58A37b6E,true +608,303000000000000000000,1672174367,1761177600,0xBdBf020c5946e0b88B3EbA1cA33CC86627a25145,true +609,310000000000000000000,1672174367,1765411200,0x24172B00D662326C2588b73D333237A321e4b87D,true +610,301000000000000000000,1672174367,1765411200,0x2cAFe9CBA9da5a49E3FF28eB63958c2583CD552A,true +611,310000000000000000000,1672174367,1765411200,0x51795B3acB74395EE4788a03492221c2328e4861,true +612,313000000000000000000,1672174367,1765411200,0x006EFb61a1FdC1972130Ee465012Bc0f7fB36787,true +613,330000000000000000000,1672174367,1765411200,0x403CaBb8217D965cA9376Df603AEABe0866e60f6,true +614,307000000000000000000,1672174367,1764806400,0xb15AbB115E40B404513FbFd57e590081E6131621,true +615,301000000000000000000,1672174367,1765411200,0xA7956b8EEb7a3838146F88bB32C7171cF4143345,true +616,301000000000000000000,1672174367,1765411200,0x872f1fFdeEe35a6074658B4FB185E2582Db7896A,true +617,310000000000000000000,1672174367,1765411200,0x9fb3e1FDF2523EF04F25d1C69Da2D12A9995e645,true +618,300000000000000000000,1672174367,1761177600,0xe6cDc77684634d400dcAA66165c51D9970262a3E,true +619,302000000000000000000,1672174367,1764806400,0xF488288a5DC55A2AA95318a47f848F573E719250,true +620,1954000000000000000000,1672174367,1765411200,0x813F739b02102990B03749ffBd00499366672f0f,true +621,305000000000000000000,1672174367,1765411200,0x091232706a5017D8a72cE69741184687556dE740,true +622,305000000000000000000,1672174367,1765411200,0xc0D3a8d939d8653F0Fd8fE7a0646DD3884293466,true +623,308000000000000000000,1672174367,1760572800,0x63e295E3fD59b6d9d2713D26fa91416EB0Bfed1e,true +624,1001000000000000000000,1672174655,1764806400,0xce83B6564fB0F528172E0823331375f4b4ca9daD,true +625,455000000000000000000,1672174655,1765411200,0xCE75Cc74E98Fd26C46D7006a9a535C18d8d0F9aA,true +626,350000000000000000000,1672174655,1765411200,0x91b456E682bA958d43B563A8146812Fbc1CedE20,true +627,305000000000000000000,1672174655,1764806400,0xFc7F98fCeA58E5FAFf55318408DB973568835585,true +628,405000000000000000000,1672174655,1760572800,0xf9a0B25695751476706AE7dCa58C2CA3e2614Cd3,true +629,310000000000000000000,1672174655,1765411200,0x9656c46300825ea522491cd2996c87ddCB826260,true +630,601000000000000000000,1672174655,1765411200,0x5F3fC0d59093DCa9a55A5561b0db0dFE84dBDe38,true +631,311000000000000000000,1672174655,1764806400,0x65b6Fe7B2851c1a8848DE6E93ce6C4d775521F84,true +632,315000000000000000000,1672174655,1765411200,0x02bBF01e772354228d0F66a720F48058E5f3d4C7,true +633,302000000000000000000,1672174655,1761177600,0x2f41C37E82FBb6B49Ca4A9d2451A2969BF1231d1,true +634,315000000000000000000,1672174655,1765411200,0xfcF756abC8e8294F7E69214799D1D20e031a3254,true +635,303000000000000000000,1672174655,1761177600,0x82a4cEC7be980A7Ae57513c79DcfEEd186260e99,true +636,310000000000000000000,1672174655,1761177600,0x0BEC57f310940Beed62897C6d7DE79A6Ca511a50,true +637,301000000000000000000,1672174655,1765411200,0x0d9eC0aD66D54c4245fc8C3Dc5F5263904054589,true +638,325000000000000000000,1672174655,1765411200,0x3fb955502aE19eb97A3CeDdc1699D9067adda20f,true +639,302000000000000000000,1672174655,1762387200,0xa75dEcF7d15d9226140df436405B8D1DC35cc2Cc,true +640,307000000000000000000,1672174655,1764806400,0x8D51d1ba95530988C53C08507bAB751406e52B02,true +641,325000000000000000000,1672174655,1764806400,0x7675c0BFbA0907E615121a6B39d0e3C870b73A0b,true +642,327000000000000000000,1672174655,1765411200,0xe9D289dce390906eD2E982278f9653f7B03c3DF7,true +643,330000000000000000000,1672174655,1765411200,0xE907E019D67E4002b191D5906b790f5F1ef98297,true +644,310000000000000000000,1672174655,1765411200,0xdA690DaB2aFF13983cB0aDEf3Dd24Bd49f761a0B,true +645,400000000000000000000,1672174655,1765411200,0x8873b2f5630C38bfed1c63768A6aAc9b4a1810D1,true +646,805000000000000000000,1672174655,1764806400,0x3D82BD8155005DD721dfDC311534CFDe980Cd11C,true +647,313000000000000000000,1672174655,1765411200,0xBf982f06f9282DCE1621f49C8D282eb257e24198,true +648,544000000000000000000,1672174655,1765411200,0x45F794104dd545b9C196fdc4623A6C1db4040ABc,true +649,319000000000000000000,1672174655,1761177600,0x7Bd9e55b4d927f474Fa76A52a55BeBad827d3fDe,true +650,303000000000000000000,1672174655,1765411200,0x82f5759a5C9d48E96864f988b2187150A9E89f56,true +651,410000000000000000000,1672174655,1765411200,0xf314BA7071efdf6E3E34808c520135C6c292AE2c,true +652,320000000000000000000,1672174655,1764201600,0x9144DCFD6336A185237d2aCF8A109C6aF5c2036f,true +653,310000000000000000000,1672174655,1796256000,0xBBE4Bf2D53A4A752c0eF21573FA0162BddafCD12,true +654,513000000000000000000,1672174655,1764806400,0x45d2c6e88dDA2ae0053F69335189D790580c5744,true +655,305000000000000000000,1672174655,1765411200,0x681a5C1b072EC5894B63305920419e35d899becA,true +656,520000000000000000000,1672174655,1764806400,0x543a27A01490Ab7913F491d7700014c0b3A3EcD9,true +657,301000000000000000000,1672174655,1766016000,0xdbd9a478F024193A26066Fea2EE1878d8AFF30f4,true +658,431000000000000000000,1672174655,1762992000,0x8Fc87c199203332c1cc43430b9FaD2B1868E44D0,true +659,315000000000000000000,1672174655,1765411200,0x0Eb6Fe4881bd57291f993220F0ec28486dF588a4,true +660,330000000000000000000,1672174655,1765411200,0x2809B5a5D66202622651580d05B7423B43dfC1e7,true +661,350000000000000000000,1672174655,1760572800,0x5D92D031024e368B5543c6da50F0cF392704511b,true +662,301000000000000000000,1672174655,1765411200,0xb75D94b05156938DF46Ab456e33CE4C9CDf93d73,true +663,306000000000000000000,1672174655,1765411200,0x7B803eD00796Ac589e3b5890d8DCC78578e62CD7,true +664,301000000000000000000,1672174655,1765411200,0xe320BEb7F381b33bD6Eb88EF1CDA0f3fA4fDd68B,true +665,562000000000000000000,1672174655,1764806400,0x97Cd05ee9f47c6AbA029c5ed4Fbce8CE817586e3,true +666,420000000000000000000,1672174655,1765411200,0x4d167FDe5B6677Ea1F539b4FdAb0d3a65b6c181e,true +667,303000000000000000000,1672174655,1765411200,0x5132649FDe3e0Bc9A207dce9ac44743247EFE3D1,true +668,502000000000000000000,1672174655,1765411200,0xD392D581E85C77F8720B53d68BE3Bed9aB5d7b8f,true +669,311000000000000000000,1672174655,1761177600,0xf2da64cF36E390957A912ae04342ebf70857EBAc,true +670,310000000000000000000,1672174655,1765411200,0x87Bad1868A2ffEf891EDA7F6DCbf061eC9f072f6,true +671,301000000000000000000,1672174655,1765411200,0xB0C3F2c3fA2CBBAF2f7d296bD41d8031672FDAF4,true +672,330000000000000000000,1672174655,1765411200,0x85aB4A97283663e191e6cfc7DfcFf4016E0c5c2b,true +673,304000000000000000000,1672174739,1765411200,0xE658CD453B6d54ba43f2A5b49284E2b82adbf560,true +674,310000000000000000000,1672174739,1765411200,0x032fAD39a3134834585E13D98cDAC4aC22fe814E,true +675,315000000000000000000,1672174739,1765411200,0xf3794A61651CDC90b9d80590BA5D413C50E664bB,true +676,330000000000000000000,1672174739,1761177600,0x24BAF3a6918d6feF1a4AB229d1d9B79BCB20fDB6,true +677,315000000000000000000,1672174739,1765411200,0x2868Dee7B17e478348EAAE54ad0A65aAB476C8Aa,true +678,669000000000000000000,1672174739,1761782400,0xEec8316B72e04FB22beB6c8a464FE8d730835c81,true +679,330000000000000000000,1672174739,1765411200,0xF661eE1A3dC61Ff13AD52583833EA0d95fa00F96,true +680,301000000000000000000,1672174739,1761177600,0x9347177014d3fEA775b5B29fFC96bF6B911686F9,true +681,300000000000000000000,1672174739,1781136000,0x341A8307dCdFBE53084a8e407839C4b8b5e24dd4,true +682,115000000000000000000,1672174739,1783555200,0x0619b194fFD03a6EbB633ebD1B77B5102FFBc3c9,true +683,480000000000000000000,1672174739,1784764800,0xbF6E8F71c48F65Fd28cC2baFf067FD289739C0EF,true +684,297000000000000000000,1672222067,1798070400,0x138AFB45FD6631d963Cf1106a300eB175449e34C,true +685,104000000000000000000,1672227947,1798070400,0xE87F7D66607baB70fc30812177EDdd85725a2925,true +686,123000000000000000000,1672228799,1798070400,0x90366C6F59B2Db217E638DFD4CB04d8142e2fC3A,true +687,103000000000000000000,1672250663,1798070400,0x7e1BcF2a18D210C317957b4b4Dfb92834066340D,true +688,102000000000000000000,1672500683,1798070400,0x3eA70316D050B4d20C050cc73299222e2E7f2af2,true +689,100000000000000000000,1672987007,1798675200,0x0dd44846a3cc5b4D82DCD29D78d7291112608f0c,true +690,198000000000000000000,1674101567,1799884800,0x5A39D5f00c0A0F25Cf866AE1524B429d0Ee0769d,true +691,1039000000000000000000,1674125795,1799884800,0x5372ACcb490a498F9a0EA9d1050932C32E306D8d,true +692,1500000000000000000000,1674322943,1799884800,0x5372ACcb490a498F9a0EA9d1050932C32E306D8d,true +693,1200000000000000000000,1674829703,1800489600,0x2cAFe9CBA9da5a49E3FF28eB63958c2583CD552A,true +694,1960000000000000000000,1674831155,1800489600,0xFE9e9F6896C7a8F4e63dCe153AA64ee01EEaba7c,true +695,152000000000000000000,1674842147,1800489600,0x77cd66d59ac48a0E7CE54fF16D9235a5fffF335E,true +696,122000000000000000000,1674933371,1800489600,0xcf015336FAb19faCb207a21BDf0828766dB1e113,true +697,148000000000000000000,1675250819,1801094400,0x2E739D0a09072e2Ea3fB071e6cE6b086021590Bd,true +698,205000000000000000000,1675255379,1801094400,0x6EeD6137fb4c54013B96C2956b3Ce2DCf582fa64,true +699,114000000000000000000,1675409039,1801094400,0xc800b3eFe34F5a095Abb46F7F6c2ef2169926048,true +700,131000000000000000000,1675450547,1801094400,0xC082F9b3741aaf5AC13F2e1e349e9D0Ad022e335,true +701,125000000000000000000,1675487219,1801094400,0xAC4a1C8C3633d1ac61b976236d33d781775cAd17,true +702,0,0,0,0x0000000000000000000000000000000000000000,false +703,1300000000000000000000,1675943255,1801699200,0xDfA8A5aB3F157373Eeb4e8C2762E26F5B6a04395,true +704,0,0,0,0x0000000000000000000000000000000000000000,false +705,5001000000000000000000,1676481707,1802304000,0x51eCc9e8EfDd18f740cc1791f6d55109EBec7aC1,true +706,100000000000000000000,1676556863,1802304000,0xC37682abEc53B0FdCc619B811561744EC6b2CBe3,true +707,500000000000000000000,1676558255,1719446400,0xeD420F5F00186Fa868aFF815f9f5725BE1CAdc6d,true +708,104000000000000000000,1676629979,1802304000,0xAE4aFE29504f999795227DA161b17675B178204a,true +709,513000000000000000000,1676719127,1802304000,0x3f547239849263f9E3383413Cb4742E098404d39,true +710,101000000000000000000,1676754995,1802304000,0xdA075478a7110b608bb857BE507f9E8769093D49,true +711,100000000000000000000,1677102995,1802908800,0x547283f06B4479FA8bF641cAA2ddc7276d4899bF,true +712,100000000000000000000,1677105395,1802908800,0x547283f06B4479FA8bF641cAA2ddc7276d4899bF,true +713,100000000000000000000,1677105395,1802908800,0x547283f06B4479FA8bF641cAA2ddc7276d4899bF,true +714,100000000000000000000,1677105395,1802908800,0x547283f06B4479FA8bF641cAA2ddc7276d4899bF,true +715,100000000000000000000,1677105395,1802908800,0x547283f06B4479FA8bF641cAA2ddc7276d4899bF,true +716,100000000000000000000,1677161375,1802908800,0x547283f06B4479FA8bF641cAA2ddc7276d4899bF,true +717,100000000000000000000,1677163511,1802908800,0x4639a3a9cA83F496aDaEF4D1E2BFa82BcEd7921f,true +718,100000000000000000000,1677163559,1802908800,0x57986E0f27ad2997f06f960c86f962b9e5dd4d00,true +719,100000000000000000000,1677163571,1802908800,0x57986E0f27ad2997f06f960c86f962b9e5dd4d00,true +720,100000000000000000000,1677164795,1802908800,0x57986E0f27ad2997f06f960c86f962b9e5dd4d00,true +721,100000000000000000000,1677165071,1802908800,0x19949919306c9c178Bd744A7B3013f3F101086eC,true +722,100000000000000000000,1677165275,1802908800,0x57986E0f27ad2997f06f960c86f962b9e5dd4d00,true +723,103000000000000000000,1677745067,1803513600,0xe48b9fee5CF3dC76B33e62293DC76c9BC337F326,true +724,5000000000000000000000,1677777875,1803513600,0x3C15422bbf572b7C9760E4D9f1f7144C38d63E3A,true +725,100000000000000000000,1677821579,1803513600,0x57986E0f27ad2997f06f960c86f962b9e5dd4d00,true +726,100000000000000000000,1677821579,1803513600,0x57986E0f27ad2997f06f960c86f962b9e5dd4d00,true +727,100000000000000000000,1677821579,1803513600,0xF3b1C99Ff41836dbD20EAa1a5D502213A49EC997,true +728,100000000000000000000,1677821579,1803513600,0xACa023BC7dbAbee8F12FaCA64e2EC4601BA278A5,true +729,100000000000000000000,1677821579,1803513600,0xb3Dfdea360ae38779B8fD9645290a46f939CAEd0,true +730,100000000000000000000,1677821579,1803513600,0x4639a3a9cA83F496aDaEF4D1E2BFa82BcEd7921f,true +731,100000000000000000000,1677821579,1803513600,0x2Fc01b8222b501E9478292481CD680c8D95518D6,true +732,100000000000000000000,1677821579,1803513600,0xAE4aFE29504f999795227DA161b17675B178204a,true +733,100000000000000000000,1677821579,1803513600,0x4639a3a9cA83F496aDaEF4D1E2BFa82BcEd7921f,true +734,100000000000000000000,1677821579,1803513600,0x4639a3a9cA83F496aDaEF4D1E2BFa82BcEd7921f,true +735,100000000000000000000,1677821579,1803513600,0x7e1BcF2a18D210C317957b4b4Dfb92834066340D,true +736,100000000000000000000,1677821579,1803513600,0x833c29Cb53296F486Ef96458aE6c9435834FEe6F,true +737,100000000000000000000,1677821579,1803513600,0xc1879c9EEE3FC50b72e2e2E38E34E089bE5CA905,true +738,100000000000000000000,1677821579,1803513600,0x7e1BcF2a18D210C317957b4b4Dfb92834066340D,true +739,100000000000000000000,1677821579,1803513600,0x103B9947f46E033a3944e8f4cD7F9094C7e32BEC,true +740,100000000000000000000,1677821711,1803513600,0x103B9947f46E033a3944e8f4cD7F9094C7e32BEC,true +741,103000000000000000000,1677847331,1803513600,0x8B9C90Edf20816342eB4704359899E471a2BEB67,true +742,101000000000000000000,1677922415,1803513600,0xA9f503d17d70a6393C258EEdd07Ba8766Faa1370,true +743,100000000000000000000,1678286003,1804118400,0x547283f06B4479FA8bF641cAA2ddc7276d4899bF,true +744,111000000000000000000,1678288967,1804118400,0x547283f06B4479FA8bF641cAA2ddc7276d4899bF,true +745,104000000000000000000,1678301903,1804118400,0x72806D4ce4Ae8E1db7e7ABd53ebC5da987f5a89b,true +746,100000000000000000000,1678374023,1804118400,0x5744018522Fa526Dd64009D213AC2009c339c6C0,true +747,100000000000000000000,1678374023,1804118400,0x0dd44846a3cc5b4D82DCD29D78d7291112608f0c,true +748,100000000000000000000,1678374023,1804118400,0x13B19fd63d34Be9d3D6d25ebd7142134C0cfc725,true +749,100000000000000000000,1678374035,1804118400,0xa42B37b50Fe7f1a4850E66881C22E80a80A08240,true +750,100000000000000000000,1678374035,1804118400,0x57986E0f27ad2997f06f960c86f962b9e5dd4d00,true +751,100000000000000000000,1678374035,1804118400,0x941b6117f7059C484D66E8f24ED38cB40A1667Cd,true +752,100000000000000000000,1678374035,1804118400,0x6Ae07F823e9BE3889DDd984716faD9faF3836d76,true +753,100000000000000000000,1678374035,1804118400,0x7E3725aB300DCE7f6b47183232E44E538DfDAcaA,true +754,100000000000000000000,1678374035,1804118400,0x57986E0f27ad2997f06f960c86f962b9e5dd4d00,true +755,100000000000000000000,1678374035,1804118400,0x857Db2aa6295cCE3Bb4BA4f11f81C0fD58A37b6E,true +756,100000000000000000000,1678374035,1804118400,0x1501063E74F751c4e64A8d9Fe539dbED75999999,true +757,100000000000000000000,1678374047,1804118400,0x4b8FCe0Ba733aB8E39bE19508706C1BdBB78987e,true +758,100000000000000000000,1678374047,1804118400,0x658522b217cD9761147977d7d91cdc851825deB0,true +759,100000000000000000000,1678374047,1804118400,0x57986E0f27ad2997f06f960c86f962b9e5dd4d00,true +760,100000000000000000000,1678374047,1804118400,0x4892Db7037c4A4d1298Fb58cce082008263a8416,true +761,100000000000000000000,1678374047,1804118400,0x6CCFf7807fc71FD391C64ed2D77b1Ed91e576128,true +762,100000000000000000000,1678374095,1804118400,0xB47A8Fd66Aa14c68B9ed1f5457E4870f512b194A,true +763,100000000000000000000,1678374095,1804118400,0x72ED66C70ab5e7598F6120e0E1c616c608bb7629,true +764,100000000000000000000,1678374095,1804118400,0xAC4a1C8C3633d1ac61b976236d33d781775cAd17,true +765,100000000000000000000,1678374095,1804118400,0xa00706c3B08dB136A9E9300d0c5D22444B03b877,true +766,100000000000000000000,1678374095,1804118400,0xddfB5F05589FCbFb99Cb7b5cE4D549980C65cF6a,true +767,100000000000000000000,1678374095,1804118400,0x5cf917f5Ca57960C17E7C8a935D97C9193939C84,true +768,100000000000000000000,1678374095,1804118400,0xCFA69E7E5bd20a12eB676A03A350925B296143C5,true +769,100000000000000000000,1678374107,1804118400,0xBB1EDB8c64D7BaA322FADfD13d4A5Db96d02A2E1,true +770,100000000000000000000,1678374107,1804118400,0xe20c7E2ac3813bB80070938C6D21FBc0f91b0C00,true +771,100000000000000000000,1678374119,1804118400,0xbEF65d1773b13c23fcF9B5eD1d48c9747F26A53f,true +772,100000000000000000000,1678374119,1804118400,0xa9D4665c1De37b9AED39cA855175eeDBb421a35a,true +773,100000000000000000000,1678374131,1804118400,0xbaBA55Af21E34F5209A83086c5C0156532A8D168,true +774,100000000000000000000,1678374179,1804118400,0x42e86399Bf7A083C3fd967D0853A1DaC96854b14,true +775,100000000000000000000,1678374179,1804118400,0x57986E0f27ad2997f06f960c86f962b9e5dd4d00,true +776,100000000000000000000,1678374179,1804118400,0x736106ae928a3325263117BD952cc877c07E37e6,true +777,100000000000000000000,1678374215,1804118400,0x57986E0f27ad2997f06f960c86f962b9e5dd4d00,true +778,100000000000000000000,1678374251,1804118400,0xd0D18801e55c24793d062989661EF219B8821e25,true +779,100000000000000000000,1678374251,1804118400,0xe5DbD125Da82787b8413912B2676DCdC66dF7D7b,true +780,100000000000000000000,1678374251,1804118400,0xfB1108B2B93E1CF84823a065f3d9507d8A34224A,true +781,100000000000000000000,1678374251,1804118400,0x57986E0f27ad2997f06f960c86f962b9e5dd4d00,true +782,400000000000000000000,1678374287,1804118400,0xe9442731E5c6dB811b2efAeF1e0D9abE62Bf30dB,true +783,100000000000000000000,1678374287,1804118400,0xE1eBB3C8f3d7976F993bA2dC15955B6Ea89DAa70,true +784,100000000000000000000,1678374299,1804118400,0xC184D2c0B2dFbeD1432a11054e451F1a469c5897,true +785,100000000000000000000,1678374299,1804118400,0x57986E0f27ad2997f06f960c86f962b9e5dd4d00,true +786,100000000000000000000,1678374347,1804118400,0x6945B43512CF7DaBf002533bc4a01a49fd920372,true +787,100000000000000000000,1678374419,1804118400,0x57986E0f27ad2997f06f960c86f962b9e5dd4d00,true +788,100000000000000000000,1678374431,1804118400,0xF9BF5735755319Da8cc648A392D58c0e639ebe28,true +789,100000000000000000000,1678374491,1804118400,0x8B9C90Edf20816342eB4704359899E471a2BEB67,true +790,100000000000000000000,1678374587,1804118400,0x857Db2aa6295cCE3Bb4BA4f11f81C0fD58A37b6E,true +791,100000000000000000000,1678374815,1804118400,0x5e48DE61D7ee32c5ae30d434d792DD848d3Dde35,true +792,115000000000000000000,1678374923,1804118400,0xFee97d0db443c825459F740e070BEB0d782457a5,true +793,100000000000000000000,1678374935,1804118400,0x4dFF6c3C5D0F3490B5f8874b1556E3360B5Bb93d,true +794,100000000000000000000,1678374971,1804118400,0x21606eE18fc1c9B398c25f56e98E6035ab434299,true +795,100000000000000000000,1678375007,1804118400,0x57986E0f27ad2997f06f960c86f962b9e5dd4d00,true +796,100000000000000000000,1678375055,1804118400,0x0040DAAC32D83c78546ae36dA42A496B28ab09E1,true +797,100000000000000000000,1678375115,1804118400,0x5C8762D3e00d60a2335220CA47DD5a7EE9f7F3d0,true +798,100000000000000000000,1678375211,1804118400,0x540E41e73f682e976Db5e6b85Fe11E7b438d30E9,true +799,100000000000000000000,1678375211,1804118400,0x103B9947f46E033a3944e8f4cD7F9094C7e32BEC,true +800,100000000000000000000,1678375259,1804118400,0xeD420F5F00186Fa868aFF815f9f5725BE1CAdc6d,true +801,100000000000000000000,1678375295,1804118400,0x57986E0f27ad2997f06f960c86f962b9e5dd4d00,true +802,100000000000000000000,1678375343,1804118400,0x4415D2b6022634826976aB797fD26f1f7e7EA347,true +803,100000000000000000000,1678375439,1804118400,0x41F8cD92EBC079cA8392C69cA72E30751DFdc166,true +804,100000000000000000000,1678375463,1804118400,0x5078bD10Db4b5005004ad6b5910f025B33F18fb2,true +805,100000000000000000000,1678375487,1804118400,0xC661384239E4099DF0E3FDe9F2Cc02B10C5C5387,true +806,100000000000000000000,1678375547,1804118400,0xaD47C8B0D224C4a9dD431b2877ccDB886eb52949,true +807,100000000000000000000,1678375811,1804118400,0x37f31DE56cd8844c8170C54877a201AF3541ae12,true +808,100000000000000000000,1678375955,1804118400,0x4dFF6c3C5D0F3490B5f8874b1556E3360B5Bb93d,true +809,100000000000000000000,1678375967,1804118400,0x4639a3a9cA83F496aDaEF4D1E2BFa82BcEd7921f,true +810,100000000000000000000,1678376039,1804118400,0x7e44bA2f5f42Aa7c5da1Be152737d376A57b8377,true +811,100000000000000000000,1678376051,1804118400,0x4dFF6c3C5D0F3490B5f8874b1556E3360B5Bb93d,true +812,100000000000000000000,1678376075,1804118400,0xF1e59A9E96AFAF1AE0e3E61a5560c977368B5e29,true +813,100000000000000000000,1678376147,1804118400,0x4dFF6c3C5D0F3490B5f8874b1556E3360B5Bb93d,true +814,100000000000000000000,1678376183,1804118400,0x216752d7d00A94dd4ebcC44d4559119b7dcff3a6,true +815,100000000000000000000,1678376195,1804118400,0x57F65790Fa373E1C74ec570048a2c7b10668ad93,true +816,100000000000000000000,1678376303,1804118400,0xD12F7B377a09b318ca6C5CC9c391638Fc913C9Ac,true +817,100000000000000000000,1678376351,1804118400,0x44933fcD38823510B05671E97B4a5C873EF03827,true +818,100000000000000000000,1678376399,1804118400,0x2C04892C550b7824eC3fb1c9C5a7f33BF6234128,true +819,100000000000000000000,1678376435,1804118400,0x350A885Ea8744C28A26e6b874dD7a50C5d0E72Be,true +820,100000000000000000000,1678376687,1804118400,0xe41fb5c86a81fF8A622Fcba514EF85AA8107AFb3,true +821,100000000000000000000,1678376699,1804118400,0xc234ed91e5A2Ba62D8b0202350B47e1Bb2611A83,true +822,100000000000000000000,1678376747,1804118400,0x1F906aB7Bd49059d29cac759Bc84f9008dBF4112,true +823,100000000000000000000,1678376783,1804118400,0xD23E5D6a6022Fdd32566F47F2A3Ddc3c8E9fe804,true +824,100000000000000000000,1678376783,1804118400,0xD1FacE6dE6666E36d4601D7A5A99F035cc05d7c3,true +825,100000000000000000000,1678376819,1804118400,0xC91E4c173F5A51E9aD48A06C54EdD69AAD535427,true +826,100000000000000000000,1678376903,1804118400,0xC76410870aa6157BA8b8852D1F79Ac74c39b043D,true +827,100000000000000000000,1678377059,1804118400,0x30c41aa8676A64F44A8B58ba92Fbd631E2D486B6,true +828,100000000000000000000,1678377095,1804118400,0xCccC1aE0AA9846F44A5978942B266260C3b5B9cD,true +829,100000000000000000000,1678377131,1804118400,0x11D90C7d8907F81Ff159C9C815B8c442f90Da6ce,true +830,100000000000000000000,1678377155,1804118400,0x12b8F1c47d93d7e74e5191ea11D653896686682f,true +831,100000000000000000000,1678377227,1804118400,0x0E14B09cD66728ae56580c00a5cbEFa4BCfB753F,true +832,100000000000000000000,1678377251,1804118400,0x06D7e91CA4337E1BCC2192996eeb205A93d4EBBB,true +833,100000000000000000000,1678377263,1804118400,0x77692EC8DFf80D651c4E27574234429861E06a8F,true +834,100000000000000000000,1678377323,1804118400,0xF954248fa88B5d0720611f4edfDc53DcEc984454,true +835,100000000000000000000,1678377503,1804118400,0x57986E0f27ad2997f06f960c86f962b9e5dd4d00,true +836,100000000000000000000,1678377719,1804118400,0xC7DaECb3B428FB1C450D311e2A558bD00E182C71,true +837,100000000000000000000,1678378271,1804118400,0x57986E0f27ad2997f06f960c86f962b9e5dd4d00,true +838,100000000000000000000,1678378343,1804118400,0x857Db2aa6295cCE3Bb4BA4f11f81C0fD58A37b6E,true +839,100000000000000000000,1678378475,1804118400,0xD5a8d8bDA463a5B36eA9C42605e5e3029ee49623,true +840,100000000000000000000,1678378871,1804118400,0xb3Dfdea360ae38779B8fD9645290a46f939CAEd0,true +841,100000000000000000000,1678379015,1804118400,0x103B9947f46E033a3944e8f4cD7F9094C7e32BEC,true +842,100000000000000000000,1678379051,1804118400,0xD967b64CEA8e40df4F03333679b39880579aEfE1,true +843,100000000000000000000,1678379423,1804118400,0x4ee470E115B1EB569920725093C41430EB528e95,true +844,100000000000000000000,1678379471,1804118400,0xCE8B14cEbe96AE229f05fBb47b12869E1e99b73E,true +845,100000000000000000000,1678379999,1804118400,0x3bF43D5f01e2de17875111cd2b86AeA6A08e3704,true +846,100000000000000000000,1678380191,1804118400,0x0C9A01a29d64A4c54497F2780A1F6A49BD89Ee97,true +847,100000000000000000000,1678380275,1804118400,0x1aFD6CCAE0866ad6ea739e40131D0EAA50dd1573,true +848,100000000000000000000,1678380611,1804118400,0x659082a1b071fe769fD4FC8aCc3c056986375081,true +849,100000000000000000000,1678382231,1804118400,0x33293Ae4890eEd51c49861Ddd9C042f8A6199fEa,true +850,100000000000000000000,1678382531,1804118400,0x78529a5325a7CbFe0208A6fE99A829EA28b09946,true +851,100000000000000000000,1678382783,1804118400,0xE48fF39B6811fD3bC5c81b8eb2D7A2C5B2604863,true +852,100000000000000000000,1678382843,1804118400,0x33293Ae4890eEd51c49861Ddd9C042f8A6199fEa,true +853,100000000000000000000,1678382927,1804118400,0x33293Ae4890eEd51c49861Ddd9C042f8A6199fEa,true +854,100000000000000000000,1678382987,1804118400,0x33293Ae4890eEd51c49861Ddd9C042f8A6199fEa,true +855,100000000000000000000,1678383611,1804118400,0x46DF537Be86be25e287404Ea2d8c204F45b27f3d,true +856,100000000000000000000,1678384091,1804118400,0x06C6C102a99aef64a89882f5f407F3C2De5aE9CC,true +857,100000000000000000000,1678384667,1804118400,0x270595E1e45E4D28E8edA95747F2e222AAa755EA,true +858,100000000000000000000,1678384967,1804118400,0x5637B65a9b56b2d6615E4F847EBE832CeEF50bA1,true +859,100000000000000000000,1678385027,1804118400,0x5637B65a9b56b2d6615E4F847EBE832CeEF50bA1,true +860,100000000000000000000,1678385891,1804118400,0x58F51054Dd23C19b9CC1E59461beDbF85757Df0b,true +861,100000000000000000000,1678389311,1804118400,0x686f945ea0ce22C6E30923FdD5F8802d277f938a,true +862,100000000000000000000,1678390571,1804118400,0x4712eE1EDcdd60a2D700609c02636E123c2a2F95,true +863,100000000000000000000,1678390631,1804118400,0x70008bA343CfE341473191bae00B169Bc834D77c,true +864,100000000000000000000,1678391003,1804118400,0x2cAFe9CBA9da5a49E3FF28eB63958c2583CD552A,true +865,100000000000000000000,1678391063,1804118400,0x103B9947f46E033a3944e8f4cD7F9094C7e32BEC,true +866,100000000000000000000,1678398227,1804118400,0x74464d7e3E8d4e89Efc8B526D9aFca0fd670Bf61,true +867,100000000000000000000,1678399499,1804118400,0x857Db2aa6295cCE3Bb4BA4f11f81C0fD58A37b6E,true +868,100000000000000000000,1678400267,1804118400,0x857Db2aa6295cCE3Bb4BA4f11f81C0fD58A37b6E,true +869,100000000000000000000,1678400543,1804118400,0x51eCc9e8EfDd18f740cc1791f6d55109EBec7aC1,true +870,100000000000000000000,1678401443,1804118400,0x1ff4C0Ae0F386c16D297d7580B872Da90fadaE2c,true +871,100000000000000000000,1678402535,1804118400,0x3be8AecC8A97d93137c3570a45a5950ab7bAE99d,true +872,100000000000000000000,1678402799,1804118400,0xd3022599033430bF3fDFb6D9CE41D3CdA7E20245,true +873,100000000000000000000,1678402823,1804118400,0xa9164c213fd8d496Ba0a5624B4b29A21BbD45e9C,true +874,100000000000000000000,1678403819,1804118400,0xb695010Aa556bCd55aD096234a0a0816C6efEE44,true +875,100000000000000000000,1678403963,1804118400,0x103B9947f46E033a3944e8f4cD7F9094C7e32BEC,true +876,100000000000000000000,1678404371,1804118400,0x4C4c0CdAF59d347D73E2a10D3AEF6C72b30A5f72,true +877,100000000000000000000,1678404419,1804118400,0x103B9947f46E033a3944e8f4cD7F9094C7e32BEC,true +878,100000000000000000000,1678404863,1804118400,0x84400c5E12bCBf953Fb01f61695733cCC5f260Bc,true +879,100000000000000000000,1678404947,1804118400,0x0b770D8d86c4d23AE4f8d5Da9374cB64D77e2F3c,true +880,206000000000000000000,1678406039,1804118400,0xE6852064DD70D3c956Cb58BD75c4359606500EFa,true +881,100000000000000000000,1678407287,1804118400,0x5D4491c1AC5c5915aa981eAd91039434Ac208b97,true +882,100000000000000000000,1678407551,1804118400,0x768EE9E25Aa1D8F5D36C649D1E1D99D8565646eb,true +883,100000000000000000000,1678413071,1804118400,0x5435DC50Ff2A145F69Afb05E7cc8b12FB629A17B,true +884,100000000000000000000,1678413251,1804118400,0xfD487AC8de6520263D57bb41253682874Dc0276E,true +885,100000000000000000000,1678413251,1804118400,0xBcb8295D192B1ee9b61b0C89cff33f8d840966D4,true +886,100000000000000000000,1678413251,1804118400,0xb75D94b05156938DF46Ab456e33CE4C9CDf93d73,true +887,100000000000000000000,1678413959,1804118400,0x733aB33409a1F7e24075c1869A81305B653bf2CF,true +888,100000000000000000000,1678414187,1804118400,0xee5cb2dF73e9E810dD4d6216CfEF9358053B319C,true +889,100000000000000000000,1678414343,1804118400,0xe41fb5c86a81fF8A622Fcba514EF85AA8107AFb3,true +890,100000000000000000000,1678414487,1804118400,0x7fC663Ea0D509a53282b1B54249a6290388438A2,true +891,100000000000000000000,1678414907,1804118400,0x19DD9902Ffe25930315b98CC5c0F6f04Dc844a53,true +892,100000000000000000000,1678418627,1804118400,0x103B9947f46E033a3944e8f4cD7F9094C7e32BEC,true +893,100000000000000000000,1678418699,1804118400,0x103B9947f46E033a3944e8f4cD7F9094C7e32BEC,true +894,100000000000000000000,1678418951,1804118400,0x69aE243098cA90e0E86CD86fb4FE76b792554B41,true +895,100000000000000000000,1678419419,1804118400,0xb4Eb7610C445d25f616EDb02E8034C6FDd997CC9,true +896,100000000000000000000,1678419539,1804118400,0x51eCc9e8EfDd18f740cc1791f6d55109EBec7aC1,true +897,100000000000000000000,1678419647,1804118400,0x29F0EBfB14e46128A0dF60c760B1E42c8e35549A,true +898,100000000000000000000,1678419887,1804118400,0x103B9947f46E033a3944e8f4cD7F9094C7e32BEC,true +899,100000000000000000000,1678422323,1804118400,0x6b9a5A31Af69C6c704A9b705E4EFf0D7a0A2e20e,true +900,100000000000000000000,1678424507,1804118400,0x17BC9331ff977cAB492d76a094683187B6BFbe48,true +901,100000000000000000000,1678424903,1804118400,0xbFcFF3aA2579219eA47bbdc783d3E5afB2174895,true +902,100000000000000000000,1678425131,1804118400,0x12D641dD8ebD0C59B3c0Fbd89B8100E35261E726,true +903,100000000000000000000,1678425143,1804118400,0xF661eE1A3dC61Ff13AD52583833EA0d95fa00F96,true +904,100000000000000000000,1678425239,1804118400,0xbFcFF3aA2579219eA47bbdc783d3E5afB2174895,true +905,100000000000000000000,1678425371,1804118400,0xF661eE1A3dC61Ff13AD52583833EA0d95fa00F96,true +906,100000000000000000000,1678426379,1804118400,0x8B9C90Edf20816342eB4704359899E471a2BEB67,true +907,100000000000000000000,1678426955,1804118400,0x8aDA63FdbaF414AF7EB9B48dEEbeF4f27Ddb06ca,true +908,100000000000000000000,1678427651,1804118400,0xb4Eb7610C445d25f616EDb02E8034C6FDd997CC9,true +909,100000000000000000000,1678428203,1804118400,0x103B9947f46E033a3944e8f4cD7F9094C7e32BEC,true +910,2098000000000000000000,1678428527,1804118400,0xE48fF39B6811fD3bC5c81b8eb2D7A2C5B2604863,true +911,100000000000000000000,1678428911,1804118400,0x103B9947f46E033a3944e8f4cD7F9094C7e32BEC,true +912,100000000000000000000,1678429643,1804118400,0x4Ca0902cFdFc1A89383f7303c0A357b3AB1Ab5CB,true +913,600000000000000000000,1678429703,1804118400,0xB0Be813AB2C9B75049431cf764CEaD97Faaf5368,true +914,100000000000000000000,1678429715,1804118400,0x63b38CfD568b5BA7f3e124b5a70603262D834e5f,true +915,100000000000000000000,1678429823,1804118400,0x63b38CfD568b5BA7f3e124b5a70603262D834e5f,true +916,100000000000000000000,1678430447,1804118400,0x399a0AB358Cd880b7DF71896CdC8Cc233ec1134A,true +917,100000000000000000000,1678430819,1804118400,0x298681277a64b8EE68e663bC1bF6C38518FB8371,true +918,100000000000000000000,1678431599,1804118400,0xEC099DA9Ea96C4ccfeFC9F2438ca750991D44188,true +919,100000000000000000000,1678432355,1804118400,0x1Ff5476B447250aC5782ef95746C6142aCE00Cbf,true +920,100000000000000000000,1678432763,1804118400,0x3040b76bdd4d73472036cF9845e9A87008123946,true +921,100000000000000000000,1678433027,1804118400,0x103B9947f46E033a3944e8f4cD7F9094C7e32BEC,true +922,100000000000000000000,1678433267,1804118400,0xF661eE1A3dC61Ff13AD52583833EA0d95fa00F96,true +923,100000000000000000000,1678433639,1804118400,0x4ee470E115B1EB569920725093C41430EB528e95,true +924,100000000000000000000,1678433855,1804118400,0x13940999f20e839628774eBBa1a266c9cC829ff2,true +925,100000000000000000000,1678433891,1804118400,0x2cAFe9CBA9da5a49E3FF28eB63958c2583CD552A,true +926,100000000000000000000,1678433975,1804118400,0x0D32E30DfF9779d13Cc9cb9E049248DE95278B70,true +927,100000000000000000000,1678434335,1804118400,0x6F1De45fD874392055b00733C5E11Cb07B364a59,true +928,100000000000000000000,1678434407,1804118400,0x103B9947f46E033a3944e8f4cD7F9094C7e32BEC,true +929,100000000000000000000,1678434971,1804118400,0x60Cec6fa60A6880B518f9B78B9422740130ECf9A,true +930,100000000000000000000,1678435079,1804118400,0x73e7acB056B29Ae391e15Eb47b1a01eE220C937c,true +931,100000000000000000000,1678436183,1804118400,0xbEB439195367d87184733bAdb1f4F26A7df9C576,true +932,100000000000000000000,1678436747,1804118400,0x06D7e91CA4337E1BCC2192996eeb205A93d4EBBB,true +933,100000000000000000000,1678437383,1804118400,0x2439B286197100dCe010952548076EedD22a37e8,true +934,100000000000000000000,1678437755,1804118400,0x3b2CdB4C4cdFe3248fd722515115826B27BbFb39,true +935,100000000000000000000,1678438235,1804118400,0x7c1e8970b36E6A327255035314f6F7b57C20Eb58,true +936,100000000000000000000,1678438391,1804118400,0xB844489aB4c2AE18213C03b352784d9c1a51FC4f,true +937,100000000000000000000,1678439627,1804118400,0xb695010Aa556bCd55aD096234a0a0816C6efEE44,true +938,100000000000000000000,1678439807,1804118400,0x002e50C13897F66FF0ee29a15E01BEF313C6eb19,true +939,100000000000000000000,1678439819,1804118400,0x6c1EbB5e64b587CDE90d9a2Cf2aF6aB25fF04635,true +940,100000000000000000000,1678439891,1804118400,0x12301c4090005D42Bf8228F54cE6817b9ad34A80,true +941,100000000000000000000,1678440155,1804118400,0x2A536D25ff4Aa6e750FAA85F435f9A6F64D550F5,true +942,100000000000000000000,1678440167,1804118400,0x5372ACcb490a498F9a0EA9d1050932C32E306D8d,true +943,100000000000000000000,1678440263,1804118400,0x2de85ecD7067682a3C2EfB71536205e89d2900cd,true +944,100000000000000000000,1678440275,1804118400,0xbFfD1923066174EEe3E4ba89bdaAc021BD4760e0,true +945,100000000000000000000,1678440299,1804118400,0xE3455715d5E782979c0f4Df3e82AC8E080A34910,true +946,100000000000000000000,1678440395,1804118400,0xAd8d00f5188c2eBbCc61B7A8Ae09A5C7Bb8372A5,true +947,100000000000000000000,1678440431,1804118400,0xb695010Aa556bCd55aD096234a0a0816C6efEE44,true +948,100000000000000000000,1678440455,1804118400,0xba4846C704A69E8148ac1D57561a78350c27b3C4,true +949,100000000000000000000,1678440503,1804118400,0x5372ACcb490a498F9a0EA9d1050932C32E306D8d,true +950,100000000000000000000,1678440791,1804118400,0x211D88EDBb32CCb912c6fe0a01680e74611707F5,true +951,100000000000000000000,1678440803,1804118400,0x48731A48591B8A1869fa0f742334532A88b2cE92,true +952,100000000000000000000,1678440851,1804118400,0x5372ACcb490a498F9a0EA9d1050932C32E306D8d,true +953,100000000000000000000,1678440851,1804118400,0xb695010Aa556bCd55aD096234a0a0816C6efEE44,true +954,100000000000000000000,1678442291,1804118400,0x857Db2aa6295cCE3Bb4BA4f11f81C0fD58A37b6E,true +955,100000000000000000000,1678442327,1804118400,0x7A56e381295DC6662f777686C28Ad12c73cDB450,true +956,100000000000000000000,1678442363,1804118400,0x0242303d00d33922DB5c32915ab3972c09dDA99A,true +957,100000000000000000000,1678442591,1804118400,0xF661eE1A3dC61Ff13AD52583833EA0d95fa00F96,true +958,100000000000000000000,1678442603,1804118400,0x5850E5E31B7Dc61180A655fBBcE3b37Bcc916338,true +959,100000000000000000000,1678442639,1804118400,0xA7647b17A1B6a748F451f13F381E489DEb706fEC,true +960,100000000000000000000,1678443551,1804118400,0x788D9A4E3a1117bce6E5b16B91c71Fe4AeE48c8A,true +961,100000000000000000000,1678444187,1804118400,0x5f1F51F416705fD10428ccA6623691c3Ab86764d,true +962,100000000000000000000,1678447451,1804118400,0x6f4CB66f398b5e2CB36b14D7e6C773c93C04D986,true +963,100000000000000000000,1678450703,1804118400,0x864d5E402A7eB590b79290552CF70Fc95325C426,true +964,100000000000000000000,1678452047,1804118400,0xB8221D5fb33C317CfBD912b8cE4Bd7C7740fAF88,true +965,100000000000000000000,1678452131,1804118400,0x5372ACcb490a498F9a0EA9d1050932C32E306D8d,true +966,100000000000000000000,1678453211,1804118400,0x00eb6875aBbf6A1affaE107eA776A52a7fe55CE6,true +967,100000000000000000000,1678453247,1804118400,0x6cf8a2Ab9205A2E8C1eA1E29a6651ace633f8226,true +968,100000000000000000000,1678454063,1804118400,0x7fE33AFe1109a52D7f6311Cc0B8b8388d547eA5C,true +969,100000000000000000000,1678454855,1804118400,0xbF060aB0B6095189dA0FcA8102d6b80E0e937c09,true +970,100000000000000000000,1678454867,1804118400,0xB66747241E41f0F44D7Cd2d9ce0d08fEBBb7bf0E,true +971,100000000000000000000,1678461515,1804118400,0x07b3103f8ECEEE53f233e58d6B4481EDab2784a1,true +972,100000000000000000000,1678480391,1804118400,0xE4dE25467f9f0E247f478DB3f0dD5896750AB305,true +973,100000000000000000000,1678482959,1804118400,0xce1ebe497f5Ac5D214c52fb37eFb36bd137C00DA,true +974,100000000000000000000,1678487279,1804118400,0xbD60d1A6BE7bC900Bd748d5eEaB7466770A685be,true +975,100000000000000000000,1678573247,1804118400,0xB122cc8B0F4648CBd2BD74bA8C78485A75a50D45,true +976,100000000000000000000,1678578551,1804118400,0xAefD96038fb15a63351D02Be465FE3f7f5e66bf1,true +977,35000000000000000000000,1678641611,1709769600,0x7202136d70026DA33628dD3f3eFccb43F62a2469,true +978,100000000000000000000,1678939067,1804723200,0x964B2C3dF9F29DEd421ab05974306255f20a1F98,true +979,100000000000000000000,1678950143,1804723200,0x3edd4601EF01EF4DE4F7a4EA265547580d519be5,true +980,100000000000000000000,1678952447,1804723200,0xAbb61b62Ef940CE72aE8feA044d48883A0523076,true +981,130000000000000000000,1678957223,1804723200,0x2520dFa2A6B4ac42db6a94EAc5Dd0e6076d64aC4,true +982,500000000000000000000,1678968611,1804723200,0x5Ce3bB14DD7aE28fa059384C12c8A26877B91192,true +983,100000000000000000000,1679016491,1804723200,0x2Fc01b8222b501E9478292481CD680c8D95518D6,true +984,301000000000000000000,1679494823,1805328000,0xdA78253D99Afaf67aC6F8914E7c72Ad3B2e6f7cf,true +985,302000000000000000000,1679633447,1805328000,0x855004782D9ad067FfF910a89706bf39dCc11e35,true +986,101000000000000000000,1679639735,1805328000,0xF0A3f27C6995e6b783DACFC6D1bCcB7e825aC127,true +987,101000000000000000000,1680830351,1806537600,0x2C06397B344B15123EB81D4C7219711256248dd8,true +988,200000000000000000000,1682669555,1745452800,0xC8ab4C9F23339D0d464F6a52ee71E7a8bE7D7D56,true +989,100000000000000000000,1684317311,1810166400,0x857Db2aa6295cCE3Bb4BA4f11f81C0fD58A37b6E,true +990,100000000000000000000,1684317311,1810166400,0x58F51054Dd23C19b9CC1E59461beDbF85757Df0b,true +991,100000000000000000000,1684317311,1810166400,0xC148aA677D894295E91873adE125Ba841c6a7D95,true +992,100000000000000000000,1684317311,1810166400,0x46DF537Be86be25e287404Ea2d8c204F45b27f3d,true +993,100000000000000000000,1684317311,1810166400,0xe48b9fee5CF3dC76B33e62293DC76c9BC337F326,true +994,2000000000000000000000,1684317695,1810166400,0x7c1e8970b36E6A327255035314f6F7b57C20Eb58,true +995,500000000000000000000,1685111087,1810771200,0x964B2C3dF9F29DEd421ab05974306255f20a1F98,true +996,100000000000000000000,1685111219,1810771200,0x6b9a5A31Af69C6c704A9b705E4EFf0D7a0A2e20e,true +997,100000000000000000000,1685111387,1810771200,0x21C867e8d32498339De42676dA2B7fdb833d5C9d,true +998,100000000000000000000,1686738179,1812585600,0x2950CD304d965dC08da593396A6d8832052ed6F9,true +999,100000000000000000000,1686738203,1812585600,0x19972f3Dc1226E966FF4D7201e5C8125d50fF596,true +1000,100000000000000000000,1686738239,1812585600,0x19972F3dC1226e966fF4d7201e5C8125d50FF597,true +1001,500000000000000000000,1686738299,1812585600,0x61CF0470dA804fb52762Aa76B25e2B62266b90B8,true +1002,525000000000000000000,1686738731,1812585600,0x857Db2aa6295cCE3Bb4BA4f11f81C0fD58A37b6E,true +1003,500000000000000000000,1686739475,1812585600,0x857Db2aa6295cCE3Bb4BA4f11f81C0fD58A37b6E,true +1004,500000000000000000000,1686752375,1812585600,0x77cd66d59ac48a0E7CE54fF16D9235a5fffF335E,true +1005,500000000000000000000,1686752423,1812585600,0x857Db2aa6295cCE3Bb4BA4f11f81C0fD58A37b6E,true +1006,568000000000000000000,1686760907,1812585600,0x19200aF6dDb1e1338A1A3b5EA191aCDcCfE26546,true +1007,2525000000000000000000,1691595155,1817424000,0x781159c827FDCC9bFCfFB3b76cba2D2Af0f8196D,true +1008,100000000000000000000,1692279371,1818028800,0xDDb04E81aF89dECb414B147D0e8E027986088Bf3,true +1009,100000000000000000000,1693075199,1818633600,0xAd8d00f5188c2eBbCc61B7A8Ae09A5C7Bb8372A5,true +1010,500000000000000000000,1693994891,1819843200,0x857Db2aa6295cCE3Bb4BA4f11f81C0fD58A37b6E,true +1011,500000000000000000000,1693995035,1819843200,0x857Db2aa6295cCE3Bb4BA4f11f81C0fD58A37b6E,true +1012,500000000000000000000,1693995107,1819843200,0x857Db2aa6295cCE3Bb4BA4f11f81C0fD58A37b6E,true +1013,20000000000000000000000,1693995131,1819843200,0x77cd66d59ac48a0E7CE54fF16D9235a5fffF335E,true +1014,1623000000000000000000,1694181899,1725494400,0x77f176A1dECDa2f97820E84A805FB6cd6C36adaB,false +1015,500000000000000000000,1695842303,1821657600,0x8B9C90Edf20816342eB4704359899E471a2BEB67,true +1016,500000000000000000000,1696053683,1821657600,0x1C3D0c130265dF2aDc1cA125c0b45FeAD8E42D7F,true +1017,500000000000000000000,1696053815,1821657600,0x6Ae07F823e9BE3889DDd984716faD9faF3836d76,true +1018,500000000000000000000,1696053875,1821657600,0x60Cec6fa60A6880B518f9B78B9422740130ECf9A,true +1019,500000000000000000000,1696053923,1821657600,0x857Db2aa6295cCE3Bb4BA4f11f81C0fD58A37b6E,true +1020,500000000000000000000,1696053959,1821657600,0x06D7e91CA4337E1BCC2192996eeb205A93d4EBBB,true +1021,500000000000000000000,1696054007,1821657600,0xF7fBA8a566DF2Cbc5ab0e46ed7B1D213fA07B7E8,true +1022,500000000000000000000,1696054055,1821657600,0x7c1e8970b36E6A327255035314f6F7b57C20Eb58,true +1023,500000000000000000000,1696054103,1821657600,0x857Db2aa6295cCE3Bb4BA4f11f81C0fD58A37b6E,true +1024,1826000000000000000000,1696054139,1821657600,0x2cAFe9CBA9da5a49E3FF28eB63958c2583CD552A,true +1025,500000000000000000000,1696054283,1821657600,0x77cd66d59ac48a0E7CE54fF16D9235a5fffF335E,true +1026,759000000000000000000,1696553507,1759363200,0x4d10eD39382EfC7410cf3FD5928dd84599f019e4,true +1027,100000000000000000000,1696770047,1822262400,0xC89B569fc0aA67550E5FEa753FA6C6f11324d1f6,true +1028,0,0,0,0x0000000000000000000000000000000000000000,false +1029,430000000000000000000,1704762575,1735776000,0x4b60E03d78d2322bC67ccb4b4Db082DFD019693b,true +1030,100000000000000000000,1704901439,1830729600,0x0922B44805CB5D90F35F3b9781aFf83b47D722d3,true +1031,5000000000000000000000,1705567247,1831334400,0x5F584e47AE6424D361501d29cEb6C271B3761480,true +1032,100000000000000000000,1705714835,1831334400,0xE53F4d44c45dBc16a20aB64f8a8B4404dDbBefEC,true +1033,1000000000000000000000,1705761407,1831334400,0xc20adC2f26799173E333132C74A8C0308AAd5337,true +1034,101000000000000000000,1706249879,1831939200,0x5131dbEDaEe04Af80202Bcfae301570E6d17fE6D,true +1035,100000000000000000000,1706255567,1831939200,0x7833Bb98Bf9b155f9824e36B2ec5d7E708A88f9f,true +1036,110000000000000000000,1706825399,1832544000,0xa75dEcF7d15d9226140df436405B8D1DC35cc2Cc,true +1037,100000000000000000000,1706843423,1832544000,0x61C867415416E394AfAa51F37E911aaE79f79698,true +1038,100000000000000000000,1706843783,1832544000,0xB6ef5EF1dea4B18dea4daB5711C8733c99d03f35,true +1039,125000000000000000000,1706902223,1832544000,0xa75dEcF7d15d9226140df436405B8D1DC35cc2Cc,true +1040,138000000000000000000,1706949947,1832544000,0xc7Dc2eEbca9BC10Af7fbe88195FfCBd3Db45479D,true +1041,23232000000000000000000,1707223007,1730332800,0x46DF537Be86be25e287404Ea2d8c204F45b27f3d,true +1042,0,0,0,0x0000000000000000000000000000000000000000,false +1043,30000000000000000000000,1707298655,1770249600,0x7CaF113Dd8656e569013743E026290A7dEC55F84,true +1044,112000000000000000000,1707304979,1833148800,0x4eB35294d0bD4633F5879cb5436A50aC57B47De5,true +1045,0,0,0,0x0000000000000000000000000000000000000000,false +1046,112000000000000000000,1708081115,1833753600,0x68F46b14FD45E4064111cfC39f7ef1a72F989e69,true +1047,0,0,0,0x0000000000000000000000000000000000000000,false +1048,107000000000000000000,1708614683,1834358400,0x0B41078fe96aD555B13eED39F30d2c7d264FDAf5,true +1049,0,0,0,0x0000000000000000000000000000000000000000,false +1050,181000000000000000000,1714066775,1839801600,0x0E56c21D80B9A561362F7497c523C4a2925dDFB8,true +1051,383000000000000000000,1714067171,1839801600,0x3e4495646313C4b9B316827DE8567196a5C95Ac8,true +1052,305000000000000000000,1714072679,1839801600,0xAF505D3A3bFEb7E8A764C4491b8fFAd6f8658d6A,true +1053,113000000000000000000,1714072679,1839801600,0x1712c6E69940c195C983D812d3A45b4E4E13fD37,true +1054,4294000000000000000000,1714073531,1724889600,0xdd5864a413B7bA1Cd438e20ca7A14d0e68fc0bFE,true +1055,400000000000000000000,1714075859,1745452800,0xEb5A9E32C4871538fA21fA1E7d43CEEE9C567be6,true +1056,100000000000000000000,1714076555,1839801600,0xD1da5650d4b0E4f79Ea732953e5b3f0c669A0296,true +1057,0,0,0,0x0000000000000000000000000000000000000000,false +1058,0,0,0,0x0000000000000000000000000000000000000000,false +1059,131000000000000000000,1714081823,1839801600,0xD727404A2d5d6980C9a1bb9851021e9C6DCd76C3,true +1060,0,0,0,0x0000000000000000000000000000000000000000,false +1061,1672000000000000000000,1714084091,1723680000,0xd3EAbcb7274D0823837e34E3Fe0C791f1e04e1c1,true +1062,100000000000000000000,1714086935,1839801600,0xecC29f931502141F6590B8cC715eB5d8F6c46a4c,true +1063,109000000000000000000,1714089815,1839801600,0x696ec3f413f692674057fE2B4cF9eD18AB28599a,true +1064,0,0,0,0x0000000000000000000000000000000000000000,false +1065,109000000000000000000,1714139303,1839801600,0x4C90fC124CEeD5Cf13DA694aF39d1C32C2cea1ff,true +1066,107000000000000000000,1714142783,1839801600,0x21861c8fF553b5baD59285ff4793a8a67A6aCBea,true +1067,2278000000000000000000,1714146455,1745452800,0xf84563EA214a0b0999762Eeb8D7E0d5686d070d0,true +1068,101000000000000000000,1714149395,1839801600,0x207f0c4255934582d6e2A98bF19C87ee486e5635,true +1069,113000000000000000000,1714151651,1830124800,0xF4fE7D9E3A008440eFBf13bEf4C8548761C5bCe1,true +1070,100000000000000000000,1714152407,1839801600,0x28eA97352733398Fb14bdCe7b43a25e5B55a7e8a,true +1071,400000000000000000000,1714158047,1745452800,0x684d40c01e0a381E95eaCa13B0115EffD6D781B5,true +1072,300000000000000000000,1714160843,1839801600,0x1920B396867915c7763A9860875d971F81EAc9ac,true +1073,105000000000000000000,1714165091,1839801600,0x668D7DAA7bda4B808c1D651E32E95Fd38B835a0a,true +1074,320000000000000000000,1714178147,1776902400,0xd06337Ff8638eaB7849E01baed2ED756ebFA7Fe1,true +1075,100000000000000000000,1714182551,1839801600,0xD7D830CDb029874eE390920ac99aEfa5db0515bE,true +1076,102000000000000000000,1714209815,1839801600,0xc7DeA269bA8cBBB7eb9da08622EfD8355bBc5f80,true +1077,103000000000000000000,1714248947,1839801600,0x2cD6d8a7481faC96f811AD2CebDC451213a164C8,true +1078,101000000000000000000,1714254143,1839801600,0x5B9d59Ff0AA043b2bdEd160C9d9BB5164774ea99,true +1079,120000000000000000000,1714256243,1839801600,0xB57eF3C5Ae92FE409792775De0E44800DbeA9065,true +1080,120000000000000000000,1714559183,1840406400,0x317C2c1967ccdf6559bFBdC30919EE34692CB86F,true +1081,103000000000000000000,1714587347,1840406400,0x770aFDf9e36B7706b8C916Bf507E9af7bf40f807,true +1082,101000000000000000000,1714633403,1840406400,0x696a6F7C53c5592ED0C995B5E6c0C5AF667A39b2,true +1083,500000000000000000000,1714654727,1840406400,0xBAC9Ac2544A993125e6d81446429397f1901eBb8,true +1084,101000000000000000000,1714728803,1840406400,0x02855536652F67cB936851D94c793Fb3Ba27F9bb,true +1085,100000000000000000000,1714729727,1840406400,0x83c671bFb9f6b1439F4906eba9c8514611807330,true +1086,100000000000000000000,1714743191,1840406400,0x1E4E3f3C61F69329CDd7Fb13A20B352E7575075E,true +1087,214000000000000000000,1714745855,1777507200,0x068f4E7418D7Dce3CFAC1E01A25e0fa6D6EF870F,true +1088,205000000000000000000,1714747883,1777507200,0x068f4E7418D7Dce3CFAC1E01A25e0fa6D6EF870F,true +1089,113000000000000000000,1714801247,1840406400,0x1b0993cbA7C557636D2F329f2429f02194B5079a,true +1090,101000000000000000000,1714839287,1840406400,0x8B1C8Fc76f6bD4f74204cBe6F0974303C8e3057B,true +1091,0,0,0,0xAF505D3A3bFEb7E8A764C4491b8fFAd6f8658d6A,true +1092,0,0,0,0x0000000000000000000000000000000000000000,false +1093,10000000000000000000,1661249977,1698278400,0x0dd44846a3cc5b4D82DCD29D78d7291112608f0c,false +1094,0,0,0,0x0000000000000000000000000000000000000000,false +1095,0,0,0,0x0000000000000000000000000000000000000000,false +1096,100000000000000000000,1678441247,1804118400,0x3AE9a45BC6606ec1Bbde71a98DD2Ec6CEDabfaaB,true +1097,100000000000000000000,1678441463,1804118400,0xeAB8c53291129f7d94c2E081B6C8F9367674628a,true +1098,100000000000000000000,1678441655,1804118400,0xa75dEcF7d15d9226140df436405B8D1DC35cc2Cc,true +1099,100000000000000000000,1678442111,1804118400,0x8209B5a720606bA88637D537C7E4BE6b8D81CC84,true +1100,100000000000000000000,1678442111,1804118400,0x9176D642F6dF14D2D17De4Fa3Bfd659246d006D4,true +1101,100000000000000000000,1678442195,1804118400,0x5e186dBD5330e7C9F827CB031A5A1394ddD49F69,true +1102,100000000000000000000,1678442195,1804118400,0xA5C0B000EecCE92b6ca272A3160B0701b0A0B5cB,true +1103,100000000000000000000,1678442231,1804118400,0xc69063dc0eB88ca3aF087EDE50fB90CB4F5177f1,true +1104,100000000000000000000,1678442255,1804118400,0x28AcD968Eae9A3C09f02b8F4A8fDD7088AC4A1a8,true +1105,10000000000000000000,1737541791,1740009600,0x0dd44846a3cc5b4D82DCD29D78d7291112608f0c,true +1106,10000000000000000000,1737541837,1758153600,0x0dd44846a3cc5b4D82DCD29D78d7291112608f0c,true +1107,2000000000000000000,1737541863,1861574400,0x0dd44846a3cc5b4D82DCD29D78d7291112608f0c,true +1108,1050000000000000000000,1738073739,1831334400,0x0b5665d637F45D6fFf6c4aFD4EA4191904ef38BB,true +1109,100000000000000000,1747684561,1755129600,0xf67b5517e7A11aE8A190111Eee92A8A4Ace112DF,true From 55738b8912628d87be1e9c4a262904b6173cacfb Mon Sep 17 00:00:00 2001 From: nikhilbajaj31 Date: Sat, 9 Aug 2025 20:52:19 +0530 Subject: [PATCH 07/16] fix: update locker-snapshot CSV --- scripts/governance/locker-snapshot.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/governance/locker-snapshot.csv b/scripts/governance/locker-snapshot.csv index 9eeb918..734384d 100644 --- a/scripts/governance/locker-snapshot.csv +++ b/scripts/governance/locker-snapshot.csv @@ -1089,7 +1089,7 @@ token,amount,start,end,owner,stakednft 1088,205000000000000000000,1714747883,1777507200,0x068f4E7418D7Dce3CFAC1E01A25e0fa6D6EF870F,true 1089,113000000000000000000,1714801247,1840406400,0x1b0993cbA7C557636D2F329f2429f02194B5079a,true 1090,101000000000000000000,1714839287,1840406400,0x8B1C8Fc76f6bD4f74204cBe6F0974303C8e3057B,true -1091,0,0,0,0xAF505D3A3bFEb7E8A764C4491b8fFAd6f8658d6A,true +1091,210000000000000000000,1714842383,1840406400,0xAF505D3A3bFEb7E8A764C4491b8fFAd6f8658d6A,true 1092,0,0,0,0x0000000000000000000000000000000000000000,false 1093,10000000000000000000,1661249977,1698278400,0x0dd44846a3cc5b4D82DCD29D78d7291112608f0c,false 1094,0,0,0,0x0000000000000000000000000000000000000000,false From fcfb9b8cc3f585552a47e3622bb6f9da85cd8c23 Mon Sep 17 00:00:00 2001 From: nikhilbajaj31 Date: Fri, 5 Sep 2025 16:29:40 +0530 Subject: [PATCH 08/16] fix: update amounts and timestamps in locker-snapshot CSV --- scripts/governance/locker-snapshot.csv | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/scripts/governance/locker-snapshot.csv b/scripts/governance/locker-snapshot.csv index 734384d..dc27008 100644 --- a/scripts/governance/locker-snapshot.csv +++ b/scripts/governance/locker-snapshot.csv @@ -337,7 +337,7 @@ token,amount,start,end,owner,stakednft 336,8187000000000000000000,1661848235,1778112000,0x5Ff39c8fE39eA1812e2b163E7e485eF70d8c05A8,true 337,2212000000000000000000,1661908880,1765411200,0x8689162187f25DB79a3c438c2836F75B09c4D65C,true 338,455000000000000000000,1661925455,1780531200,0x99AacDB295c6d6fae1D5c0f01a469430cf58E021,true -339,0,0,0,0x399a0AB358Cd880b7DF71896CdC8Cc233ec1134A,true +339,564000000000000000000,1661939128,1767830400,0x399a0AB358Cd880b7DF71896CdC8Cc233ec1134A,true 340,308000000000000000000,1661955821,1767830400,0x7fE33AFe1109a52D7f6311Cc0B8b8388d547eA5C,true 341,2021000000000000000000,1661980543,1787788800,0x17BC9331ff977cAB492d76a094683187B6BFbe48,true 342,10134000000000000000000,1662034448,1787788800,0xbda2703A6Fb1177598E616A44585295d3Af4E5F0,true @@ -371,13 +371,13 @@ token,amount,start,end,owner,stakednft 370,1000000000000000000000,1663148772,1678924800,0xC15D36686a07449C178fFaA4d68712a20DC1968A,true 371,6679000000000000000000,1663191319,1767830400,0x86C1441CAeCdE1046bC3Ae0799f80051dB1edd4c,true 372,484000000000000000000,1663302815,1762387200,0x5078bD10Db4b5005004ad6b5910f025B33F18fb2,true -373,0,0,0,0xfb825828749435a66eB7710c0D743cb32Ae022dD,true +373,550000000000000000000,1663449419,1764201600,0xfb825828749435a66eB7710c0D743cb32Ae022dD,true 374,368000000000000000000,1663504799,1769644800,0x8c1F416ef5Cf6090Cb50CFF16e48B8Dc343E01c6,true 375,639000000000000000000,1663510175,1764806400,0x90774aB01BB5725d1CE10ADF47a1B791A594279c,true 376,0,0,0,0x0000000000000000000000000000000000000000,false -377,0,0,0,0x89dF8866FDCca92C27be1E8d9E312121188eA268,true +377,341000000000000000000,1663531919,1767830400,0x89dF8866FDCca92C27be1E8d9E312121188eA268,true 378,311000000000000000000,1663614551,1767830400,0x63c2827A62e3715CE9C4fA8ddb3c3E89116F6202,true -379,0,0,0,0xBAE304B1a1b5ed66b0C61291Ae012e171DBA067E,true +379,620000000000000000000,663746647,1768435200,0xBAE304B1a1b5ed66b0C61291Ae012e171DBA067E,true 380,824000000000000000000,1663754339,1764806400,0x8A40435c3E62A8cB15570fa4e5587471F6b1B9F4,true 381,1377000000000000000000,1663763555,1760572800,0xc9EfbFaF6083c49c1741ab0B6946C0b5Ede8956C,true 382,639000000000000000000,1663862111,1765411200,0xB16885D54e8cA9730aa3Cc81f3f6Ab9EaC8aC766,true @@ -386,14 +386,14 @@ token,amount,start,end,owner,stakednft 385,301000000000000000000,1664105567,1765411200,0xbaBFABA353c05D882CFb2201F039Fa759B45F727,true 386,301000000000000000000,1664171843,1765411200,0x235e146f1D8c70B9D5D76BCe5744EA2AA95a0053,true 387,334000000000000000000,1665532295,1764806400,0xEF111E79D96AbE4634Ff22947D0902F43CdbeC6C,true -388,0,0,0,0x6FAB9385136904C884F3D9b3CA604cD337d81860,true +388,119000000000000000000,1665583163,1791417600,0x6FAB9385136904C884F3D9b3CA604cD337d81860,true 389,125000000000000000000,1665592511,1791417600,0x06C6C102a99aef64a89882f5f407F3C2De5aE9CC,true 390,301000000000000000000,1665785735,1764806400,0xb695010Aa556bCd55aD096234a0a0816C6efEE44,true 391,1142000000000000000000,1665913427,1767830400,0xC1C2D0860A213C630c7E285eB5b8B1ebDfa205B1,true 392,336000000000000000000,1665976475,1764806400,0x1D0cFc9B27FC08E70782c9B21C8dAb87870c1100,true 393,476000000000000000000,1665978995,1761782400,0x2561a222dD48539A18b9e4DD31Fb11E897fA1D86,true 394,174000000000000000000,1666317479,1792022400,0x6A339335AA10d65034aa51685dDFa3fd8Ae1779E,true -395,0,0,0,0x17F850f8b556B8a8f35d9dbA96a467f1f664aA5E,true +395,2500000000000000000000,1666344791,1792022400,0x17F850f8b556B8a8f35d9dbA96a467f1f664aA5E,true 396,525000000000000000000,1666642463,1697673600,0x44933fcD38823510B05671E97B4a5C873EF03827,true 397,525000000000000000000,1666660871,1697673600,0x93beAA19D84c35D4E8f1b26bC1463653559c416c,true 398,530000000000000000000,1666702463,1697673600,0x06C6C102a99aef64a89882f5f407F3C2De5aE9CC,true @@ -449,13 +449,13 @@ token,amount,start,end,owner,stakednft 448,100000000000000000000000,1669555775,1669852800,0x7202136d70026DA33628dD3f3eFccb43F62a2469,true 449,100000000000000000000000,1669555859,1669852800,0x7202136d70026DA33628dD3f3eFccb43F62a2469,true 450,0,0,0,0x0000000000000000000000000000000000000000,false -451,0,0,0,0xfD487AC8de6520263D57bb41253682874Dc0276E,true +451,336000000000000000000,1669694339,1762387200,0xfD487AC8de6520263D57bb41253682874Dc0276E,true 452,324000000000000000000,1669785659,1764806400,0x78529a5325a7CbFe0208A6fE99A829EA28b09946,true 453,105000000000000000000,1669835579,1795651200,0x701472C062D3437f74b282711Ca96da9F59Cb063,true 454,115000000000000000000,1669944467,1795651200,0x539b35a60Ce3e16A44C4Fd85B54928Fe756075CC,true 455,110000000000000000000,1669973915,1795651200,0x0dd44846a3cc5b4D82DCD29D78d7291112608f0c,true 456,2554000000000000000000,1670096015,1701907200,0xcC0c40F6dC3FBef6328da9b07f58A2211806d1A5,true -457,0,0,0,0x21699F05cd7FAf2165512703af577afaDDA0458f,true +457,315000000000000000000,1670151263,1761177600,0x21699F05cd7FAf2165512703af577afaDDA0458f,true 458,333000000000000000000,1670243615,1761177600,0x58c959a4510E92097eE1697490167810C93Eb581,true 459,307000000000000000000,1670751527,1764806400,0xF661eE1A3dC61Ff13AD52583833EA0d95fa00F96,true 460,310000000000000000000,1670767079,1765411200,0xDE6910F4569646073EeeA6E021b835824ba77874,true @@ -467,7 +467,7 @@ token,amount,start,end,owner,stakednft 466,103000000000000000000,1671839795,1797465600,0xDbD4689FfE62cEde129aD3FA4EB902628a76dF8B,true 467,101000000000000000000,1671878399,1797465600,0x103B9947f46E033a3944e8f4cD7F9094C7e32BEC,true 468,50000000000000000000000,1672170587,1676505600,0x1B39Db8C6A1F8B4182a292e5126a6fc785DcE070,true -469,0,0,0,0x977223Ef93b8490E8E6d2dC28567360F489A3EE1,true +469,7070000000000000000000,1672170587,1772064000,0x977223Ef93b8490E8E6d2dC28567360F489A3EE1,true 470,6013000000000000000000,1672170587,1761177600,0x9531647f5fFaf86cCC95307A2841d44864F50D2f,true 471,5049000000000000000000,1672170587,1767830400,0x39774983FC43A2Eec4E75886369da9021D33e103,true 472,3005000000000000000000,1672170587,1767830400,0x53143A1404277d27EF7007751739ce950896A3c2,true From b35320baaae9cf9cb23cb4c9f8763697a53ddebc Mon Sep 17 00:00:00 2001 From: nikhilbajaj31 Date: Fri, 5 Sep 2025 23:55:02 +0530 Subject: [PATCH 09/16] fix: fixed deploy-governance-base script --- scripts/governance/deploy-governance-base.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/governance/deploy-governance-base.ts b/scripts/governance/deploy-governance-base.ts index 89adc45..86d8bc3 100644 --- a/scripts/governance/deploy-governance-base.ts +++ b/scripts/governance/deploy-governance-base.ts @@ -1,5 +1,4 @@ import hre from "hardhat"; -import { ZeroAddress } from "ethers"; import { ethers, network, run } from "hardhat"; import { deployContract, waitForTx } from "../utils"; @@ -61,10 +60,9 @@ async function main() { [MAHA_BASE, WETH_BASE], REWARD_DURATION, deployer.address, - ZeroAddress + deployer.address ) ); - await waitForTx(await omnichainStakingToken.setMigrator(deployer.address)); } main().catch((err) => { From ea02a0389232aeaa70d8b3a3a44226903013797a Mon Sep 17 00:00:00 2001 From: nikhilbajaj31 Date: Fri, 5 Sep 2025 23:56:19 +0530 Subject: [PATCH 10/16] feat: enhance migration functionality in BaseLocker contract --- contracts/governance/locker/BaseLocker.sol | 31 +++++++++++++++++++--- 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a/contracts/governance/locker/BaseLocker.sol b/contracts/governance/locker/BaseLocker.sol index a835f9f..2cfea0b 100644 --- a/contracts/governance/locker/BaseLocker.sol +++ b/contracts/governance/locker/BaseLocker.sol @@ -303,22 +303,45 @@ abstract contract BaseLocker is ReentrancyGuardUpgradeable, ERC721EnumerableUpgr } function migrateLock( + uint256 _tokenId, uint256 _value, - uint256 _duration, + uint256 _start, + uint256 _end, address _who, bool _stakeNFT ) public onlyOwner returns (uint256) { - return _createLock(_value, _duration, _who, _stakeNFT); + require(_value > 0, "value = 0"); + require(_end > _start && _start > 0, "Invalid duration"); + + tokenId = _tokenId; + supply += _value; + LockedBalance memory lock = _locked[_tokenId]; + lock.amount += _value; + lock.end = _end; + lock.start = _start; + lock.power = _calculatePower(lock); + _locked[_tokenId] = lock; + + if (_stakeNFT) { + _mint(address(this), _tokenId); + bytes memory data = abi.encode(_stakeNFT, _who, _end-_start); + this.safeTransferFrom(address(this), address(staking), _tokenId, data); + } else { + _mint(_who, _tokenId); + } + return _tokenId; } function migrateLocks( + uint256[] memory _tokenId, uint256[] memory _value, - uint256[] memory _duration, + uint256[] memory _start, + uint256[] memory _end, address[] memory _who, bool[] memory _stakeNFT ) external onlyOwner { for (uint256 i = 0; i < _value.length; i++) { - migrateLock(_value[i], _duration[i], _who[i], _stakeNFT[i]); + migrateLock(_tokenId[i], _value[i], _start[i], _end[i], _who[i], _stakeNFT[i]); } } From 0212a23b91008f9d5cf5828f2e2ba8914f3c7c49 Mon Sep 17 00:00:00 2001 From: nikhilbajaj31 Date: Fri, 5 Sep 2025 23:56:44 +0530 Subject: [PATCH 11/16] refactor: remove setLocker function from OmnichainStaking --- .../governance/locker/staking/OmnichainStakingBase.sol | 5 ----- contracts/interfaces/governance/IOmnichainStaking.sol | 6 ------ 2 files changed, 11 deletions(-) diff --git a/contracts/governance/locker/staking/OmnichainStakingBase.sol b/contracts/governance/locker/staking/OmnichainStakingBase.sol index a951edc..7157058 100644 --- a/contracts/governance/locker/staking/OmnichainStakingBase.sol +++ b/contracts/governance/locker/staking/OmnichainStakingBase.sol @@ -129,11 +129,6 @@ abstract contract OmnichainStakingBase is return totalSupply(); } - /// @inheritdoc IOmnichainStaking - function setLocker(ILocker _locker) external onlyOwner { - locker = _locker; - } - /// @inheritdoc IOmnichainStaking function getLockedNftDetails(address _user) external view returns (uint256[] memory, ILocker.LockedBalance[] memory) { uint256 tokenIdsLength = lockedTokenIdNfts[_user].length; diff --git a/contracts/interfaces/governance/IOmnichainStaking.sol b/contracts/interfaces/governance/IOmnichainStaking.sol index 16c0d6d..08173cc 100644 --- a/contracts/interfaces/governance/IOmnichainStaking.sol +++ b/contracts/interfaces/governance/IOmnichainStaking.sol @@ -69,12 +69,6 @@ interface IOmnichainStaking is IMultiTokenRewards, IVotes { */ function getLockedNftDetails(address _user) external view returns (uint256[] memory, ILocker.LockedBalance[] memory); - /** - * @notice Sets the locker contract. - * @param _locker The address of the locker contract. - */ - function setLocker(ILocker _locker) external; - /** * @notice Receives an ERC721 token from the lockers and grants voting power accordingly. * @param from The address sending the ERC721 token. From 033933410a51805c4f52667066d2d58f16373a89 Mon Sep 17 00:00:00 2001 From: nikhilbajaj31 Date: Fri, 5 Sep 2025 23:57:54 +0530 Subject: [PATCH 12/16] feat: enhance LockerMigrationTest --- .../governance/LockerMigrationTest.sol | 154 ++++++++++++------ 1 file changed, 100 insertions(+), 54 deletions(-) diff --git a/test/foundry/governance/LockerMigrationTest.sol b/test/foundry/governance/LockerMigrationTest.sol index 88290bb..d5781ac 100644 --- a/test/foundry/governance/LockerMigrationTest.sol +++ b/test/foundry/governance/LockerMigrationTest.sol @@ -45,12 +45,10 @@ contract LockerMigrationTest is Test { // Deployed contract addresses on Base mainnet address constant OLD_LOCKER_ADDRESS = 0xDAe7CD5AA310C66c555543886DFcD454896Ae2C0; - address constant STAKING_ADDRESS = 0xfD487AC8de6520263D57bb41253682874Dc0276E; address constant MAHA_TOKEN = 0x554bba833518793056CF105E66aBEA330672c0dE; address constant MAHA_OWNER = 0x7202136d70026DA33628dD3f3eFccb43F62a2469; - // ProxyAdmin contract that is the actual admin of the staking proxy on Base - address constant PROXY_ADMIN = 0xF5dfbB44ED2bfe32953c8237eC03B5AE20a089c4; - address constant STAKING_OWNER = 0x7202136d70026DA33628dD3f3eFccb43F62a2469; + address constant WETH_BASE = 0x4200000000000000000000000000000000000006; + uint256 constant REWARD_DURATION = 86400 * 7; // 7 Days // Contract instances LockerToken oldLocker; @@ -63,15 +61,28 @@ contract LockerMigrationTest is Test { // Migration data structures struct MigrationData { + uint256[] tokenIds; uint256[] values; - uint256[] durations; + uint256[] starts; + uint256[] ends; address[] owners; bool[] stakeNFTs; } + // Store old locker data for comparison + struct OldLockData { + uint256 tokenId; + uint256 amount; + uint256 start; + uint256 end; + uint256 power; + address owner; + bool isStaked; + } + function setUp() public { // Create Base mainnet fork - baseFork = vm.createFork("https://mainnet.base.org", 25296075); + baseFork = vm.createFork("https://mainnet.base.org"); vm.selectFork(baseFork); // Set up test actors @@ -79,7 +90,6 @@ contract LockerMigrationTest is Test { // Connect to deployed contracts oldLocker = LockerToken(OLD_LOCKER_ADDRESS); - staking = OmnichainStakingToken(STAKING_ADDRESS); // Deploy mock MAHA token for testing underlyingToken = new MockERC20("MAHA", "MAHA", 18); @@ -88,40 +98,38 @@ contract LockerMigrationTest is Test { vm.prank(deployer); newLocker = new LockerToken(); - // Deploy new staking implementation - OmnichainStakingToken newStakingImpl = new OmnichainStakingToken(); - - IProxyAdmin proxyAdmin = IProxyAdmin(PROXY_ADMIN); - - address proxyAdminOwner = proxyAdmin.owner(); - - // The staking contract uses MAHAProxy, so we need to call upgradeToAndCall from the proxy admin - vm.prank(proxyAdminOwner); - proxyAdmin.upgradeAndCall( - ITransparentUpgradeableProxy(STAKING_ADDRESS), - address(newStakingImpl), - "" - ); + // Deploy new staking + vm.prank(deployer); + staking = new OmnichainStakingToken(); // Initialize new locker vm.prank(deployer); newLocker.initialize( address(underlyingToken), - STAKING_ADDRESS + address(staking) ); - address stakingOwner = staking.owner(); - vm.prank(stakingOwner); - staking.setLocker(ILocker(address(newLocker))); + // Initialize new staking + address[] memory rewardTokens = new address[](2); + rewardTokens[0] = address(underlyingToken); + rewardTokens[1] = WETH_BASE; + vm.prank(deployer); + staking.initialize( + address(newLocker), + address(WETH_BASE), + rewardTokens, + REWARD_DURATION, + deployer, + deployer + ); + // Label contracts for better debugging vm.label(OLD_LOCKER_ADDRESS, "OldLocker"); - vm.label(STAKING_ADDRESS, "Staking"); + vm.label(address(staking), "Staking"); vm.label(address(newLocker), "NewLocker"); vm.label(MAHA_TOKEN, "MAHA"); vm.label(MAHA_OWNER, "MAHA Owner"); - vm.label(PROXY_ADMIN, "ProxyAdmin"); - vm.label(STAKING_OWNER, "Staking Owner"); vm.label(deployer, "Deployer"); } @@ -130,75 +138,113 @@ contract LockerMigrationTest is Test { */ function testFullMigrationProcess() public { // Prepare migration data by scanning the old locker - MigrationData memory migrationData = _prepareMigrationData(); + (MigrationData memory migrationData, OldLockData[] memory oldLockData) = _prepareMigrationData(); // Approve once for the total migration to avoid per-iteration allowance overwrites vm.startPrank(deployer); - underlyingToken.approve(address(newLocker), type(uint256).max); // Execute migration - newLocker.migrateLocks(migrationData.values, migrationData.durations, migrationData.owners, migrationData.stakeNFTs); + newLocker.migrateLocks(migrationData.tokenIds, migrationData.values, migrationData.starts, migrationData.ends, migrationData.owners, migrationData.stakeNFTs); vm.stopPrank(); // Verify migration results - _verifyMigrationResults(migrationData); + _verifyMigrationResults(migrationData, oldLockData); } // ============ Helper Functions ============ /** - * @notice Prepare migration data by scanning the old locker (simplified version) + * @notice Prepare migration data with token ids by scanning the old locker (simplified version) */ - function _prepareMigrationData() internal returns (MigrationData memory) { + function _prepareMigrationData() internal returns (MigrationData memory, OldLockData[] memory) { uint256 validTokenCount = 10; - + + uint256[] memory tokenIds = new uint256[](validTokenCount); uint256[] memory values = new uint256[](validTokenCount); - uint256[] memory durations = new uint256[](validTokenCount); + uint256[] memory starts = new uint256[](validTokenCount); + uint256[] memory ends = new uint256[](validTokenCount); address[] memory owners = new address[](validTokenCount); bool[] memory stakeNFTs = new bool[](validTokenCount); + + OldLockData[] memory oldLockData = new OldLockData[](validTokenCount); for (uint256 tokenIdLoop = 1; tokenIdLoop <= validTokenCount; tokenIdLoop++) { - ILocker.LockedBalance memory lockedBalance = oldLocker.locked(tokenIdLoop); - address actualOwner = oldLocker.ownerOf(tokenIdLoop); + address nftOwner = oldLocker.ownerOf(tokenIdLoop); + address actualOwner = nftOwner; bool shouldStake = false; - if (actualOwner == STAKING_ADDRESS) { + // Check if token is staked in old staking contract + if (nftOwner == address(staking)) { actualOwner = staking.lockedByToken(tokenIdLoop); shouldStake = true; } + // Store old lock data for verification + oldLockData[tokenIdLoop-1] = OldLockData({ + tokenId: tokenIdLoop, + amount: lockedBalance.amount, + start: lockedBalance.start, + end: lockedBalance.end, + power: lockedBalance.power, + owner: actualOwner, + isStaked: shouldStake + }); + + // Prepare migration data + tokenIds[tokenIdLoop-1] = tokenIdLoop; values[tokenIdLoop-1] = lockedBalance.amount; - - uint256 remaining = lockedBalance.end - block.timestamp; - - require(remaining > 0, "lock expired"); - durations[tokenIdLoop-1] = remaining; - + starts[tokenIdLoop-1] = lockedBalance.start; + ends[tokenIdLoop-1] = lockedBalance.end; owners[tokenIdLoop-1] = actualOwner; stakeNFTs[tokenIdLoop-1] = shouldStake; - //mint MAHA to the owner + // Mint MAHA tokens to deployer for migration vm.prank(MAHA_OWNER); underlyingToken.mint(deployer, lockedBalance.amount); - } - return MigrationData(values, durations, owners, stakeNFTs); + return (MigrationData(tokenIds, values, starts, ends, owners, stakeNFTs), oldLockData); } /** - * @notice Verify migration results + * @notice Verify migration results - all locked details must match the old ones */ - function _verifyMigrationResults(MigrationData memory data) internal view { - + function _verifyMigrationResults(MigrationData memory data, OldLockData[] memory oldData) internal view { for (uint256 i = 0; i < data.values.length; i++) { - uint256 newTokenId = i + 1; + uint256 newTokenId = data.tokenIds[i]; + OldLockData memory oldLock = oldData[i]; + + // Get new lock data ILocker.LockedBalance memory newLock = newLocker.locked(newTokenId); - assertEq(newLock.amount, data.values[i], "Amount should match"); - assertApproxEqAbs(newLock.end - newLock.start, data.durations[i], 1 weeks, "Duration should roughly match"); + // Verify amount matches exactly + assertEq(newLock.amount, oldLock.amount, "Amount must match"); + + // Verify start time matches exactly + assertEq(newLock.start, oldLock.start, "Start time must match"); + + // Verify end time matches exactly + assertEq(newLock.end, oldLock.end, "End time must match"); + + // Verify power matches exactly + assertEq(newLock.power, oldLock.power, "Power must match"); + + // Verify ownership + if (oldLock.isStaked) { + // If originally staked, NFT should be owned by new staking contract + address nftOwner = newLocker.ownerOf(newTokenId); + assertEq(nftOwner, address(staking), "Staked NFT should be owned by staking contract"); + + // And the actual owner should be mapped in the staking contract + address stakingOwner = staking.lockedByToken(newTokenId); + assertEq(stakingOwner, oldLock.owner, "Staking owner must match"); + } else { + // If not staked, NFT should be owned directly by the user + address nftOwner = newLocker.ownerOf(newTokenId); + assertEq(nftOwner, oldLock.owner, "Direct NFT owner must match"); + } } } } \ No newline at end of file From b40d853caa808d4e4c252f5b19d7c445a6e94d5c Mon Sep 17 00:00:00 2001 From: nikhilbajaj31 Date: Fri, 5 Sep 2025 23:58:37 +0530 Subject: [PATCH 13/16] fix: update zero owner addresses in locker-snapshot CSV --- scripts/governance/locker-snapshot.csv | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/governance/locker-snapshot.csv b/scripts/governance/locker-snapshot.csv index dc27008..e65d809 100644 --- a/scripts/governance/locker-snapshot.csv +++ b/scripts/governance/locker-snapshot.csv @@ -170,7 +170,7 @@ token,amount,start,end,owner,stakednft 169,310000000000000000000,1664326067,1790208000,0x35C9a4ccEc094838CBAB8c2c143709bcB8dE03BE,true 170,500000000000000000000,1664935175,1790812800,0x4Eca693366258Da0E32e13c8c2E25F4B68779E9f,true 171,11530000000000000000000,1679454371,1805328000,0x51eCc9e8EfDd18f740cc1791f6d55109EBec7aC1,true -172,101000000000000000000,1677646835,1803513600,0x0000000000000000000000000000000000000000,false +172,101000000000000000000,1677646835,1803513600,0xc800b3eFe34F5a095Abb46F7F6c2ef2169926048,true 173,105000000000000000000,1674624191,1800489600,0x6b9a5A31Af69C6c704A9b705E4EFf0D7a0A2e20e,true 174,277000000000000000000,1677649151,1803513600,0x4ee470E115B1EB569920725093C41430EB528e95,true 175,104000000000000000000,1714544771,1840406400,0x1B5B44fFA97f884Da0E939F5d4D1BD99342956E4,true @@ -360,7 +360,7 @@ token,amount,start,end,owner,stakednft 359,100000000000000000000,1662563233,1788393600,0x061De1acDf149297451902415217f1b3C60c44BF,true 360,308000000000000000000,1662592127,1788393600,0x4C52364b7ed771912781f3796729573950e61f61,true 361,3000000000000000000000,1662674313,1730937600,0x5372ACcb490a498F9a0EA9d1050932C32E306D8d,true -362,2508000000000000000000,1662700090,1777507200,0x0000000000000000000000000000000000000000,false +362,2508000000000000000000,1662700090,1777507200,0xFF15208Bb7bdc9024431c3294C9D1f6E262304a9,true 363,150000000000000000000,1662712048,1762992000,0x964B2C3dF9F29DEd421ab05974306255f20a1F98,true 364,150000000000000000000,1662712153,1762992000,0x964B2C3dF9F29DEd421ab05974306255f20a1F98,true 365,4335000000000000000000,1662828928,1779926400,0x94bf811283077DAea3A193eB66A4519c7bDD7d49,true @@ -402,7 +402,7 @@ token,amount,start,end,owner,stakednft 401,600000000000000000000,1666920767,1698278400,0xCccC1aE0AA9846F44A5978942B266260C3b5B9cD,true 402,306000000000000000000,1667005223,1764806400,0xe3615C57339377Ca83B2A12a8cE30275c655FA28,true 403,318000000000000000000,1667127227,1768435200,0x21ea1d0b740f0d2dc02Fa93f828359fd196F800e,true -404,829000000000000000000,1664303039,1758758400,0x0000000000000000000000000000000000000000,false +404,829000000000000000000,1664303039,1758758400,0x3040b76bdd4d73472036cF9845e9A87008123946,true 405,320000000000000000000,1664406443,1782345600,0xc298585cB7BCa511bFe5f33A1AB44B56A7C9893E,true 406,21693000000000000000000,1664407355,1764806400,0xF853571a5437Af65dc4906580015f35eb55921c1,true 407,844000000000000000000,1664428703,1765411200,0xEc0847F840D3c6429acC6DA2612E9f05Ad8E9882,true @@ -428,7 +428,7 @@ token,amount,start,end,owner,stakednft 427,5097000000000000000000,1667298383,1767830400,0x3e55aA73120BC8035a61dBA7F9b55bA99056bD9B,true 428,944000000000000000000,1667468915,1765411200,0xf7C58dFEb06691c6b37b64DDb9ca50A587CaeB06,true 429,312000000000000000000,1667677787,1764806400,0x9210D63aA390865da213ff22DB8DAdfa042fb013,true -430,562000000000000000000,1667704307,1765411200,0x0000000000000000000000000000000000000000,false +430,562000000000000000000,1667704307,1765411200,0x4b454e793480FE19b2dB4365bDfa9dA5c809Baa4,true 431,301000000000000000000,1667706347,1765411200,0x568a87af131a1e303F6fE9380a41695aA0d9c773,true 432,301000000000000000000,1667706623,1765411200,0xb3474a6533D87E3452cb7b364f38BEEC800639ba,true 433,642000000000000000000,1667808791,1765411200,0xAC2D35cc47fa5833C838A5778EF520b3ca9D58c7,true @@ -443,7 +443,7 @@ token,amount,start,end,owner,stakednft 442,330000000000000000000,1668948527,1765411200,0xce98a95f347e23BDB9f686512c8CF2D765E38195,true 443,328000000000000000000,1668949847,1765411200,0xcd867eA977Deb43a2090630C3ff10FA65700193a,true 444,73762000000000000000000,1669031039,1684972800,0x7202136d70026DA33628dD3f3eFccb43F62a2469,true -445,100000000000000000000000,1669491023,1669852800,0x0000000000000000000000000000000000000000,false +445,100000000000000000000000,1669491023,1669852800,0x7202136d70026DA33628dD3f3eFccb43F62a2469,true 446,102000000000000000000,1669499147,1795046400,0x75C2d027c656e78d7822A008181BFBD3E3b180A9,true 447,100000000000000000000000,1669555739,1669852800,0x7202136d70026DA33628dD3f3eFccb43F62a2469,true 448,100000000000000000000000,1669555775,1669852800,0x7202136d70026DA33628dD3f3eFccb43F62a2469,true From cbd1ed1e908801129d996f4403e1658f7bd85bfd Mon Sep 17 00:00:00 2001 From: nikhilbajaj31 Date: Fri, 5 Sep 2025 23:59:37 +0530 Subject: [PATCH 14/16] feat: implement deploy script for migration --- scripts/governance/deploy-mirgate.ts | 62 ++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 scripts/governance/deploy-mirgate.ts diff --git a/scripts/governance/deploy-mirgate.ts b/scripts/governance/deploy-mirgate.ts new file mode 100644 index 0000000..918baad --- /dev/null +++ b/scripts/governance/deploy-mirgate.ts @@ -0,0 +1,62 @@ +import hre from "hardhat"; +import { ethers } from "hardhat"; +import { deployProxy, waitForTx } from "../utils"; + +async function main() { + const [deployer] = await ethers.getSigners(); + const proxyAdminD = await hre.deployments.get("ProxyAdmin"); + const mahaD = await hre.deployments.get("MAHA"); + const wethD = await hre.deployments.get("WETH"); + const REWARD_DURATION = 86400 * 7; // 7 Days + + const lockerTokenProxyD = await deployProxy( + hre, + "LockerToken", + [], + proxyAdminD.address, + "LockerToken-V3", + deployer.address, + true + ); + + // Deploy proxies + const omnichainStakingTokenProxyD = await deployProxy( + hre, + "OmnichainStakingToken", + [], + proxyAdminD.address, + "OmnichainStakingToken-V3", + deployer.address, + true + ); + + const lockerToken = await hre.ethers.getContractAt( + "LockerToken", + lockerTokenProxyD.address + ); + + const omnichainStakingToken = await hre.ethers.getContractAt( + "OmnichainStakingToken", + omnichainStakingTokenProxyD.address + ); + + // Initialize the contracts + await waitForTx( + await lockerToken.initialize(mahaD.address, omnichainStakingToken.target) + ); + await waitForTx( + await omnichainStakingToken.initialize( + lockerToken.target, + wethD.address, + [mahaD.address, wethD.address], + REWARD_DURATION, + deployer.address, // owner + deployer.address // distributor + ) + ); +} + +main().catch((err) => { + console.error(err); + process.exitCode = 1; +}); From ecd441e1cdb0c33aab63252e794c80445c6c0ea8 Mon Sep 17 00:00:00 2001 From: nikhilbajaj31 Date: Sat, 6 Sep 2025 00:00:01 +0530 Subject: [PATCH 15/16] refactor: streamline migration process in migrate-locker script with CSV input --- scripts/governance/migrate-locker.ts | 310 ++++++++++++--------------- 1 file changed, 138 insertions(+), 172 deletions(-) diff --git a/scripts/governance/migrate-locker.ts b/scripts/governance/migrate-locker.ts index 785ab9f..866aaa2 100644 --- a/scripts/governance/migrate-locker.ts +++ b/scripts/governance/migrate-locker.ts @@ -1,189 +1,155 @@ import hre from "hardhat"; -import { deployProxy, upgradeProxy, waitForTx } from "../utils"; -import { MaxUint256 } from "ethers"; +import fs from "fs"; +import path from "path"; +import csv from "csv-parser"; +import { waitForTx } from "../utils"; async function main() { - const { deployments, getNamedAccounts } = hre; - const { deployer } = await getNamedAccounts(); - - const oldLockerAddress = "0xDAe7CD5AA310C66c555543886DFcD454896Ae2C0"; - const stakingAddress = "0xfD487AC8de6520263D57bb41253682874Dc0276E"; - const mahatokenAddress = "0x554bba833518793056CF105E66aBEA330672c0dE"; - const proxyAdminAddress = "0xF5dfbB44ED2bfe32953c8237eC03B5AE20a089c4"; - const totalTokens = 1109; - - const staking = await hre.ethers.getContractAt( - "OmnichainStakingToken", - stakingAddress - ); - - // Connect to the old locker contract - const oldLocker = await hre.ethers.getContractAt( - "LockerToken", - oldLockerAddress - ); - - // deploy new locker - const newLockerD = await deployProxy( - hre, - "LockerToken", - [mahatokenAddress, stakingAddress], - proxyAdminAddress, - "LockerToken", - deployer, - true - ); - - // const newLockerD = await deployContract( - // hre, - // "TransparentUpgradeableProxy", - // [lockerTokenImpl.address, proxyAdminD.address, "0x"], - // "LockerToken" - // ); - + const { deployments } = hre; + + // Get deployed contracts + const lockerTokenD = await deployments.get("LockerToken-V3-Proxy"); const newLocker = await hre.ethers.getContractAt( "LockerToken", - newLockerD.address - ); - - //upgrade omnichain staking - await upgradeProxy( - hre, - stakingAddress, - "OmnichainStakingToken", - proxyAdminAddress, - deployer, - true + lockerTokenD.address ); - // const proxyAdmin = await hre.ethers.getContractAt( - // "ProxyAdmin", - // proxyAdminAddress - // ); - - // await waitForTx( - // await proxyAdmin.upgradeAndCall( - // stakingAddress, - // "OmnichainStakingToken", - // "" - // ) - // ); - - // set new locker - await staking.setLocker(newLocker.target as string); - - console.log("Starting migration process for 1109 tokens..."); - - // Arrays to store migration data - const values: bigint[] = []; - const durations: bigint[] = []; - const owners: string[] = []; - const stakeNFTs: boolean[] = []; - - // Cache current timestamp to compute durations - const latestBlock = await hre.ethers.provider.getBlock("latest"); - const now = BigInt(latestBlock!.timestamp); - - console.log("Gathering token data from old locker contract..."); - - // Iterate through all token IDs (assuming they start from 1) - for (let tokenId = 1; tokenId <= totalTokens; tokenId++) { - try { - if (tokenId % 50 === 0) console.log(`Processing token ${tokenId}/${totalTokens}`); - - // Get locked balance details from old locker - const lockedBalance = await oldLocker.locked(tokenId); - - // Check if the token exists (has non-zero amount) - if (lockedBalance.amount === 0n) { - continue; + console.log("Starting migration process from locker-snapshot.csv..."); + + const results: { + token: string; + amount: string; + start: string; + end: string; + owner: string; + stakednft: string; + }[] = []; + + // Read CSV file + fs.createReadStream(path.resolve(__dirname, "locker-snapshot.csv")) + .pipe(csv()) + .on("data", (data) => results.push(data)) + .on("end", async () => { + console.log(`Found ${results.length} tokens in CSV file`); + + // Arrays to store migration data + const tokenIds: bigint[] = []; + const values: bigint[] = []; + const starts: bigint[] = []; + const ends: bigint[] = []; + const owners: string[] = []; + const stakeNFTs: boolean[] = []; + + // Cache current timestamp to compute durations + const latestBlock = await hre.ethers.provider.getBlock("latest"); + + // Process CSV data in parallel chunks + const chunkSize = 100; + const chunks: typeof results[] = []; + for (let i = 0; i < results.length; i += chunkSize) { + chunks.push(results.slice(i, i + chunkSize)); } - - // Get the current owner of the NFT - let actualOwner: string; - let shouldStake = false; - - try { - const nftOwner = await oldLocker.ownerOf(tokenId); - - // If owned by staking, fetch the mapped owner - if (nftOwner.toLowerCase() === stakingAddress.toLowerCase()) { - actualOwner = await staking.lockedByToken(tokenId); - shouldStake = true; - } else { - // NFT is directly owned by user - actualOwner = nftOwner; - shouldStake = false; - } - } catch (error) { - console.log(`Error getting for token ${tokenId}: ${error}`); - continue; + + console.log(`Processing ${results.length} tokens in ${chunks.length} parallel chunks...`); + + const processedChunks = await Promise.all( + chunks.map((chunk: typeof results, chunkIndex: number) => + Promise.resolve().then(() => { + const chunkTokenIds: bigint[] = []; + const chunkValues: bigint[] = []; + const chunkStarts: bigint[] = []; + const chunkEnds: bigint[] = []; + const chunkOwners: string[] = []; + const chunkStakeNFTs: boolean[] = []; + + for (let i = 0; i < chunk.length; i++) { + const result = chunk[i]; + + // Skip invalid entries + if (!result.amount || result.amount === "0") { + continue; + } + + if (!result.owner || result.owner === "0x0000000000000000000000000000000000000000") { + console.log(`Skipping token ${result.token}: invalid owner`); + continue; + } + + const start = BigInt(result.start); + const end = BigInt(result.end); + const amount = BigInt(result.amount); + const shouldStake = result.stakednft === "true"; + const tokenId = BigInt(result.token); + + chunkTokenIds.push(tokenId); + chunkValues.push(amount); + chunkStarts.push(start); + chunkEnds.push(end); + chunkOwners.push(result.owner); + chunkStakeNFTs.push(shouldStake); + } + + console.log(`Chunk ${chunkIndex + 1}/${chunks.length} processed: ${chunkTokenIds.length} valid tokens`); + + return { + tokenIds: chunkTokenIds, + values: chunkValues, + starts: chunkStarts, + ends: chunkEnds, + owners: chunkOwners, + stakeNFTs: chunkStakeNFTs + }; + }) + ) + ); + + // Merge all processed chunks + for (const chunk of processedChunks) { + tokenIds.push(...chunk.tokenIds); + values.push(...chunk.values); + starts.push(...chunk.starts); + ends.push(...chunk.ends); + owners.push(...chunk.owners); + stakeNFTs.push(...chunk.stakeNFTs); } - // Ensure we have a valid owner - if (!actualOwner || actualOwner === "0x0000000000000000000000000000000000000000") { - console.log(`No owner found for token ${tokenId}`); - continue; - } + console.log(`\nPrepared ${values.length} valid tokens for migration`); - const end = BigInt(lockedBalance.end); - if (end <= now) { - console.log(`Lock expired for token ${tokenId}`); - continue; + if (values.length === 0) { + console.log("No valid tokens to migrate!"); + return; } - const duration = end - now; - - // Add to migration arrays - values.push(BigInt(lockedBalance.amount)); - durations.push(duration); - owners.push(actualOwner); - stakeNFTs.push(shouldStake); - } catch (_error) { - console.log(`Error processing token ${tokenId}: ${_error}`); - continue; - } - } - - console.log(`\nPrepared ${values.length} tokens for migration`); - - if (values.length === 0) { - console.log("No tokens to migrate!"); - return; - } - - // Approve underlying MAHA to the locker for pulling funds during migration - const underlyingAddress: string = await newLocker.underlying(); - const underlying = await hre.ethers.getContractAt( - "MAHA", - underlyingAddress - ); - - // approve underlying to new locker - await waitForTx(await underlying.approve(newLocker.target as string, MaxUint256)); - - // Execute migration in batches to avoid gas limit issues - const batchSize = 100; - for (let i = 0; i < values.length; i += batchSize) { - const batchValues = values.slice(i, i + batchSize); - const batchDurations = durations.slice(i, i + batchSize); - const batchOwners = owners.slice(i, i + batchSize); - const batchStakeNFTs = stakeNFTs.slice(i, i + batchSize); - - console.log(`\nProcessing batch ${i / batchSize + 1} of ${Math.ceil(values.length / batchSize)}`); - - // Execute migration for this batch - const tx = await newLocker.migrateLocks( - batchValues, - batchDurations, - batchOwners, - batchStakeNFTs - ); - - await waitForTx(tx); - } + // Execute migration in batches to avoid gas limit issues + const batchSize = 100; + + for (let i = 0; i < values.length; i += batchSize) { + const batchEnd = Math.min(i + batchSize, values.length); + const batchTokenIds = tokenIds.slice(i, batchEnd); + const batchValues = values.slice(i, batchEnd); + const batchStarts = starts.slice(i, batchEnd); + const batchEnds = ends.slice(i, batchEnd); + const batchOwners = owners.slice(i, batchEnd); + const batchStakeNFTs = stakeNFTs.slice(i, batchEnd); + + console.log(`Migrating tokens ${i + 1} to ${batchEnd}`); + + // Execute the migration directly + const tx = await newLocker.migrateLocks( + batchTokenIds, + batchValues, + batchStarts, + batchEnds, + batchOwners, + batchStakeNFTs + ); + + await waitForTx(tx); + console.log(`✅ Batch ${Math.floor(i / batchSize) + 1} executed successfully`); + } - console.log("\n✅ Migration completed successfully!"); + console.log("\n✅ Migration completed successfully!"); + }); } main().catch((err) => { From cc5c8cb1578cace8ad1d15fc8b72cb2136f0191f Mon Sep 17 00:00:00 2001 From: nikhilbajaj31 Date: Sat, 6 Sep 2025 00:00:51 +0530 Subject: [PATCH 16/16] feat: add new deployments for locker and staking with migration data --- deployments/base/LockerToken-Impl.json | 1766 +++++++++++ deployments/base/LockerToken-V3-Proxy.json | 249 ++ deployments/base/LockerToken-V3.json | 1276 ++++++++ .../base/OmnichainStakingToken-Impl.json | 2587 +++++++++++++++++ .../base/OmnichainStakingToken-V3-Proxy.json | 249 ++ .../base/OmnichainStakingToken-V3.json | 1891 ++++++++++++ 6 files changed, 8018 insertions(+) create mode 100644 deployments/base/LockerToken-Impl.json create mode 100644 deployments/base/LockerToken-V3-Proxy.json create mode 100644 deployments/base/LockerToken-V3.json create mode 100644 deployments/base/OmnichainStakingToken-Impl.json create mode 100644 deployments/base/OmnichainStakingToken-V3-Proxy.json create mode 100644 deployments/base/OmnichainStakingToken-V3.json diff --git a/deployments/base/LockerToken-Impl.json b/deployments/base/LockerToken-Impl.json new file mode 100644 index 0000000..fadb5e1 --- /dev/null +++ b/deployments/base/LockerToken-Impl.json @@ -0,0 +1,1766 @@ +{ + "address": "0xCb45D92574212c3337452914F8d2707AFC2cE3bf", + "abi": [ + { + "inputs": [], + "name": "ERC721EnumerableForbiddenBatchMint", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "sender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "owner", + "type": "address" + } + ], + "name": "ERC721IncorrectOwner", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "ERC721InsufficientApproval", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "approver", + "type": "address" + } + ], + "name": "ERC721InvalidApprover", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "operator", + "type": "address" + } + ], + "name": "ERC721InvalidOperator", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + } + ], + "name": "ERC721InvalidOwner", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "receiver", + "type": "address" + } + ], + "name": "ERC721InvalidReceiver", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "ERC721InvalidSender", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "ERC721NonexistentToken", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "ERC721OutOfBoundsIndex", + "type": "error" + }, + { + "inputs": [], + "name": "InvalidInitialization", + "type": "error" + }, + { + "inputs": [], + "name": "NotInitializing", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + } + ], + "name": "OwnableInvalidOwner", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "OwnableUnauthorizedAccount", + "type": "error" + }, + { + "inputs": [], + "name": "ReentrancyGuardReentrantCall", + "type": "error" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "approved", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "indexed": false, + "internalType": "bool", + "name": "approved", + "type": "bool" + } + ], + "name": "ApprovalForAll", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "provider", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "locktime", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "enum ILocker.DepositType", + "name": "deposit_type", + "type": "uint8" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "ts", + "type": "uint256" + } + ], + "name": "Deposit", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint64", + "name": "version", + "type": "uint64" + } + ], + "name": "Initialized", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "end", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "start", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "power", + "type": "uint256" + } + ], + "indexed": true, + "internalType": "struct ILocker.LockedBalance", + "name": "lock", + "type": "tuple" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "address", + "name": "caller", + "type": "address" + } + ], + "name": "LockUpdated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "oldStaking", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newStaking", + "type": "address" + } + ], + "name": "StakingAddressSet", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "oldStakingBonus", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newStakingBonus", + "type": "address" + } + ], + "name": "StakingBonusAddressSet", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "prevSupply", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "supply", + "type": "uint256" + } + ], + "name": "Supply", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "oldToken", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newToken", + "type": "address" + } + ], + "name": "TokenAddressSet", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "provider", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "ts", + "type": "uint256" + } + ], + "name": "Withdraw", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_tokenId", + "type": "uint256" + } + ], + "name": "balanceOfNFT", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_lockDuration", + "type": "uint256" + }, + { + "internalType": "bool", + "name": "_stakeNFT", + "type": "bool" + } + ], + "name": "createLock", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_lockDuration", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "bool", + "name": "_stakeNFT", + "type": "bool" + } + ], + "name": "createLockFor", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "decimals", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_tokenId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "depositFor", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "getApproved", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_tokenId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "increaseAmount", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_tokenId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_lockDuration", + "type": "uint256" + } + ], + "name": "increaseUnlockTime", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_token", + "type": "address" + }, + { + "internalType": "address", + "name": "_staking", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "operator", + "type": "address" + } + ], + "name": "isApprovedForAll", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_tokenId", + "type": "uint256" + } + ], + "name": "locked", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "end", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "start", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "power", + "type": "uint256" + } + ], + "internalType": "struct ILocker.LockedBalance", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_tokenId", + "type": "uint256" + } + ], + "name": "lockedEnd", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_from", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_to", + "type": "uint256" + } + ], + "name": "merge", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_tokenId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_start", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_end", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_who", + "type": "address" + }, + { + "internalType": "bool", + "name": "_stakeNFT", + "type": "bool" + } + ], + "name": "migrateLock", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_tokenId", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_value", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_start", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_end", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_who", + "type": "address[]" + }, + { + "internalType": "bool[]", + "name": "_stakeNFT", + "type": "bool[]" + } + ], + "name": "migrateLocks", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "ownerOf", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "safeTransferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" + } + ], + "name": "safeTransferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "internalType": "bool", + "name": "approved", + "type": "bool" + } + ], + "name": "setApprovalForAll", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "staking", + "outputs": [ + { + "internalType": "contract IOmnichainStaking", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "supply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "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": [ + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "tokenByIndex", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "tokenOfOwnerByIndex", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "tokenURI", + "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": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "underlying", + "outputs": [ + { + "internalType": "contract IERC20", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_id", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_startDate", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_endDate", + "type": "uint256" + } + ], + "name": "updateLockDates", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "version", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + } + ], + "name": "votingPowerOf", + "outputs": [ + { + "internalType": "uint256", + "name": "_power", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_tokenId", + "type": "uint256" + } + ], + "name": "withdraw", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_user", + "type": "address" + } + ], + "name": "withdraw", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_tokenIds", + "type": "uint256[]" + } + ], + "name": "withdraw", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "transactionHash": "0x45d8146bdd10cb966f6ac8ff1a1ab1593cd062ca08446ae1c2ca2fd93c11c08e", + "receipt": { + "to": null, + "from": "0xeD3Af36D7b9C5Bbd7ECFa7fb794eDa6E242016f5", + "contractAddress": "0xCb45D92574212c3337452914F8d2707AFC2cE3bf", + "transactionIndex": 15, + "gasUsed": "3291648", + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "blockHash": "0x30d19bd145ece23f4f04acec7984683b53bbfec70e0510d1625c686427f2aa4b", + "transactionHash": "0x45d8146bdd10cb966f6ac8ff1a1ab1593cd062ca08446ae1c2ca2fd93c11c08e", + "logs": [], + "blockNumber": 35153262, + "cumulativeGasUsed": "6440538", + "status": 1, + "byzantium": true + }, + "args": [], + "numDeployments": 1, + "solcInputHash": "b98a329f2d99d2e75e55bff9e54c93ec", + "metadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"ERC721EnumerableForbiddenBatchMint\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"ERC721IncorrectOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ERC721InsufficientApproval\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"approver\",\"type\":\"address\"}],\"name\":\"ERC721InvalidApprover\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"ERC721InvalidOperator\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"ERC721InvalidOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"ERC721InvalidReceiver\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"ERC721InvalidSender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ERC721NonexistentToken\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"ERC721OutOfBoundsIndex\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidInitialization\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotInitializing\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"OwnableInvalidOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"OwnableUnauthorizedAccount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReentrancyGuardReentrantCall\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"provider\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"locktime\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"enum ILocker.DepositType\",\"name\":\"deposit_type\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"ts\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"version\",\"type\":\"uint64\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"end\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"start\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"power\",\"type\":\"uint256\"}],\"indexed\":true,\"internalType\":\"struct ILocker.LockedBalance\",\"name\":\"lock\",\"type\":\"tuple\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"LockUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldStaking\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newStaking\",\"type\":\"address\"}],\"name\":\"StakingAddressSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldStakingBonus\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newStakingBonus\",\"type\":\"address\"}],\"name\":\"StakingBonusAddressSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"prevSupply\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"supply\",\"type\":\"uint256\"}],\"name\":\"Supply\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldToken\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newToken\",\"type\":\"address\"}],\"name\":\"TokenAddressSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"provider\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"ts\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"balanceOfNFT\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_lockDuration\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"_stakeNFT\",\"type\":\"bool\"}],\"name\":\"createLock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_lockDuration\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_stakeNFT\",\"type\":\"bool\"}],\"name\":\"createLockFor\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"depositFor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"increaseAmount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_lockDuration\",\"type\":\"uint256\"}],\"name\":\"increaseUnlockTime\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_staking\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"locked\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"end\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"start\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"power\",\"type\":\"uint256\"}],\"internalType\":\"struct ILocker.LockedBalance\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"lockedEnd\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_from\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_to\",\"type\":\"uint256\"}],\"name\":\"merge\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_start\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_end\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_who\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_stakeNFT\",\"type\":\"bool\"}],\"name\":\"migrateLock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"_tokenId\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_value\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_start\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_end\",\"type\":\"uint256[]\"},{\"internalType\":\"address[]\",\"name\":\"_who\",\"type\":\"address[]\"},{\"internalType\":\"bool[]\",\"name\":\"_stakeNFT\",\"type\":\"bool[]\"}],\"name\":\"migrateLocks\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"staking\",\"outputs\":[{\"internalType\":\"contract IOmnichainStaking\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"supply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"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\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenOfOwnerByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"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\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"underlying\",\"outputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_startDate\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_endDate\",\"type\":\"uint256\"}],\"name\":\"updateLockDates\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"votingPowerOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_power\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"_tokenIds\",\"type\":\"uint256[]\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"errors\":{\"ERC721EnumerableForbiddenBatchMint()\":[{\"details\":\"Batch mint is not allowed.\"}],\"ERC721IncorrectOwner(address,uint256,address)\":[{\"details\":\"Indicates an error related to the ownership over a particular token. Used in transfers.\",\"params\":{\"owner\":\"Address of the current owner of a token.\",\"sender\":\"Address whose tokens are being transferred.\",\"tokenId\":\"Identifier number of a token.\"}}],\"ERC721InsufficientApproval(address,uint256)\":[{\"details\":\"Indicates a failure with the `operator`\\u2019s approval. Used in transfers.\",\"params\":{\"operator\":\"Address that may be allowed to operate on tokens without being their owner.\",\"tokenId\":\"Identifier number of a token.\"}}],\"ERC721InvalidApprover(address)\":[{\"details\":\"Indicates a failure with the `approver` of a token to be approved. Used in approvals.\",\"params\":{\"approver\":\"Address initiating an approval operation.\"}}],\"ERC721InvalidOperator(address)\":[{\"details\":\"Indicates a failure with the `operator` to be approved. Used in approvals.\",\"params\":{\"operator\":\"Address that may be allowed to operate on tokens without being their owner.\"}}],\"ERC721InvalidOwner(address)\":[{\"details\":\"Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20. Used in balance queries.\",\"params\":{\"owner\":\"Address of the current owner of a token.\"}}],\"ERC721InvalidReceiver(address)\":[{\"details\":\"Indicates a failure with the token `receiver`. Used in transfers.\",\"params\":{\"receiver\":\"Address to which tokens are being transferred.\"}}],\"ERC721InvalidSender(address)\":[{\"details\":\"Indicates a failure with the token `sender`. Used in transfers.\",\"params\":{\"sender\":\"Address whose tokens are being transferred.\"}}],\"ERC721NonexistentToken(uint256)\":[{\"details\":\"Indicates a `tokenId` whose `owner` is the zero address.\",\"params\":{\"tokenId\":\"Identifier number of a token.\"}}],\"ERC721OutOfBoundsIndex(address,uint256)\":[{\"details\":\"An `owner`'s token query was out of bounds for `index`. NOTE: The owner being `address(0)` indicates a global out of bounds index.\"}],\"InvalidInitialization()\":[{\"details\":\"The contract is already initialized.\"}],\"NotInitializing()\":[{\"details\":\"The contract is not initializing.\"}],\"OwnableInvalidOwner(address)\":[{\"details\":\"The owner is not a valid owner account. (eg. `address(0)`)\"}],\"OwnableUnauthorizedAccount(address)\":[{\"details\":\"The caller account is not authorized to perform an operation.\"}],\"ReentrancyGuardReentrantCall()\":[{\"details\":\"Unauthorized reentrant call.\"}]},\"events\":{\"Approval(address,address,uint256)\":{\"details\":\"Emitted when `owner` enables `approved` to manage the `tokenId` token.\"},\"ApprovalForAll(address,address,bool)\":{\"details\":\"Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\"},\"Initialized(uint64)\":{\"details\":\"Triggered when the contract has been initialized or reinitialized.\"},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `tokenId` token is transferred from `from` to `to`.\"}},\"kind\":\"dev\",\"methods\":{\"approve(address,uint256)\":{\"details\":\"See {IERC721-approve}.\"},\"balanceOf(address)\":{\"details\":\"See {IERC721-balanceOf}.\"},\"balanceOfNFT(uint256)\":{\"params\":{\"_tokenId\":\"The NFT ID\"},\"returns\":{\"_0\":\"The balance of the NFT\"}},\"createLock(uint256,uint256,bool)\":{\"params\":{\"_lockDuration\":\"Number of seconds to lock tokens for (rounded down to nearest week)\",\"_stakeNFT\":\"Should we also stake the NFT as well?\",\"_value\":\"Amount to deposit\"}},\"createLockFor(uint256,uint256,address,bool)\":{\"params\":{\"_lockDuration\":\"Number of seconds to lock tokens for (rounded down to nearest week)\",\"_to\":\"Address to deposit\",\"_value\":\"Amount to deposit\"}},\"depositFor(uint256,uint256)\":{\"details\":\"Anyone (even a smart contract) can deposit for someone else, but cannot extend their locktime and deposit for a brand new user\",\"params\":{\"_tokenId\":\"lock NFT\",\"_value\":\"Amount to add to user's lock\"}},\"getApproved(uint256)\":{\"details\":\"See {IERC721-getApproved}.\"},\"increaseAmount(uint256,uint256)\":{\"params\":{\"_value\":\"Amount of tokens to deposit and add to the lock\"}},\"increaseUnlockTime(uint256,uint256)\":{\"params\":{\"_lockDuration\":\"New number of seconds until tokens unlock\"}},\"isApprovedForAll(address,address)\":{\"details\":\"See {IERC721-isApprovedForAll}.\"},\"locked(uint256)\":{\"params\":{\"_tokenId\":\"The NFT ID\"},\"returns\":{\"_0\":\"The LockedBalance struct containing lock details\"}},\"lockedEnd(uint256)\":{\"params\":{\"_tokenId\":\"User NFT\"},\"returns\":{\"_0\":\"Epoch time of the lock end\"}},\"merge(uint256,uint256)\":{\"params\":{\"_from\":\"The ID of the NFT to merge from\",\"_to\":\"The ID of the NFT to merge into\"}},\"name()\":{\"details\":\"See {IERC721Metadata-name}.\"},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"ownerOf(uint256)\":{\"details\":\"See {IERC721-ownerOf}.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner.\"},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"See {IERC721-safeTransferFrom}.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"See {IERC721-safeTransferFrom}.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"See {IERC721-setApprovalForAll}.\"},\"supportsInterface(bytes4)\":{\"details\":\"Interface identification is specified in ERC-165.\",\"params\":{\"_interfaceID\":\"Id of the interface\"}},\"symbol()\":{\"details\":\"See {IERC721Metadata-symbol}.\"},\"tokenByIndex(uint256)\":{\"details\":\"See {IERC721Enumerable-tokenByIndex}.\"},\"tokenOfOwnerByIndex(address,uint256)\":{\"details\":\"See {IERC721Enumerable-tokenOfOwnerByIndex}.\"},\"totalSupply()\":{\"details\":\"See {IERC721Enumerable-totalSupply}.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"See {IERC721-transferFrom}.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"},\"underlying()\":{\"returns\":{\"_0\":\"The ERC20 token contract\"}},\"updateLockDates(uint256,uint256,uint256)\":{\"details\":\"This function can only be called by the staking contract\",\"params\":{\"_id\":\"The lock id\",\"_startDate\":\"The new start date\"}},\"votingPowerOf(address)\":{\"details\":\"Returns the voting power of the `_owner`. Throws if `_owner` is the zero address. NFTs assigned to the zero address are considered invalid.\",\"params\":{\"_owner\":\"Address for whom to query the voting power of.\"}},\"withdraw(address)\":{\"params\":{\"_user\":\"The address of the user\"}},\"withdraw(uint256)\":{\"details\":\"Only possible if the lock has expired\"},\"withdraw(uint256[])\":{\"params\":{\"_tokenIds\":\"An array of NFT IDs\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"balanceOfNFT(uint256)\":{\"notice\":\"Get the balance associated with an NFT\"},\"createLock(uint256,uint256,bool)\":{\"notice\":\"Deposit `_value` tokens for `msg.sender` and lock for `_lockDuration`\"},\"createLockFor(uint256,uint256,address,bool)\":{\"notice\":\"Deposit `_value` tokens for `_to` and lock for `_lockDuration`\"},\"depositFor(uint256,uint256)\":{\"notice\":\"Deposit `_value` tokens for `_tokenId` and add to the lock\"},\"increaseAmount(uint256,uint256)\":{\"notice\":\"Deposit `_value` additional tokens for `_tokenId` without modifying the unlock time\"},\"increaseUnlockTime(uint256,uint256)\":{\"notice\":\"Extend the unlock time for `_tokenId`\"},\"locked(uint256)\":{\"notice\":\"Get the locked balance details of an NFT\"},\"lockedEnd(uint256)\":{\"notice\":\"Get timestamp when `_tokenId`'s lock finishes\"},\"merge(uint256,uint256)\":{\"notice\":\"Merge two NFTs into one\"},\"underlying()\":{\"notice\":\"Get the underlying ERC20 token\"},\"updateLockDates(uint256,uint256,uint256)\":{\"notice\":\"Update the start date of a lock\"},\"withdraw(address)\":{\"notice\":\"Withdraw tokens for a specific user\"},\"withdraw(uint256)\":{\"notice\":\"Withdraw all tokens for `_tokenId`\"},\"withdraw(uint256[])\":{\"notice\":\"Withdraw tokens from multiple NFTs\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/governance/locker/LockerToken.sol\":\"LockerToken\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":1000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)\\n\\npragma solidity ^0.8.20;\\n\\nimport {ContextUpgradeable} from \\\"../utils/ContextUpgradeable.sol\\\";\\nimport {Initializable} from \\\"../proxy/utils/Initializable.sol\\\";\\n\\n/**\\n * @dev Contract module which provides a basic access control mechanism, where\\n * there is an account (an owner) that can be granted exclusive access to\\n * specific functions.\\n *\\n * The initial owner is set to the address provided by the deployer. This can\\n * later be changed with {transferOwnership}.\\n *\\n * This module is used through inheritance. It will make available the modifier\\n * `onlyOwner`, which can be applied to your functions to restrict their use to\\n * the owner.\\n */\\nabstract contract OwnableUpgradeable is Initializable, ContextUpgradeable {\\n /// @custom:storage-location erc7201:openzeppelin.storage.Ownable\\n struct OwnableStorage {\\n address _owner;\\n }\\n\\n // keccak256(abi.encode(uint256(keccak256(\\\"openzeppelin.storage.Ownable\\\")) - 1)) & ~bytes32(uint256(0xff))\\n bytes32 private constant OwnableStorageLocation = 0x9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300;\\n\\n function _getOwnableStorage() private pure returns (OwnableStorage storage $) {\\n assembly {\\n $.slot := OwnableStorageLocation\\n }\\n }\\n\\n /**\\n * @dev The caller account is not authorized to perform an operation.\\n */\\n error OwnableUnauthorizedAccount(address account);\\n\\n /**\\n * @dev The owner is not a valid owner account. (eg. `address(0)`)\\n */\\n error OwnableInvalidOwner(address owner);\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /**\\n * @dev Initializes the contract setting the address provided by the deployer as the initial owner.\\n */\\n function __Ownable_init(address initialOwner) internal onlyInitializing {\\n __Ownable_init_unchained(initialOwner);\\n }\\n\\n function __Ownable_init_unchained(address initialOwner) internal onlyInitializing {\\n if (initialOwner == address(0)) {\\n revert OwnableInvalidOwner(address(0));\\n }\\n _transferOwnership(initialOwner);\\n }\\n\\n /**\\n * @dev Throws if called by any account other than the owner.\\n */\\n modifier onlyOwner() {\\n _checkOwner();\\n _;\\n }\\n\\n /**\\n * @dev Returns the address of the current owner.\\n */\\n function owner() public view virtual returns (address) {\\n OwnableStorage storage $ = _getOwnableStorage();\\n return $._owner;\\n }\\n\\n /**\\n * @dev Throws if the sender is not the owner.\\n */\\n function _checkOwner() internal view virtual {\\n if (owner() != _msgSender()) {\\n revert OwnableUnauthorizedAccount(_msgSender());\\n }\\n }\\n\\n /**\\n * @dev Leaves the contract without owner. It will not be possible to call\\n * `onlyOwner` functions. Can only be called by the current owner.\\n *\\n * NOTE: Renouncing ownership will leave the contract without an owner,\\n * thereby disabling any functionality that is only available to the owner.\\n */\\n function renounceOwnership() public virtual onlyOwner {\\n _transferOwnership(address(0));\\n }\\n\\n /**\\n * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n * Can only be called by the current owner.\\n */\\n function transferOwnership(address newOwner) public virtual onlyOwner {\\n if (newOwner == address(0)) {\\n revert OwnableInvalidOwner(address(0));\\n }\\n _transferOwnership(newOwner);\\n }\\n\\n /**\\n * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n * Internal function without access restriction.\\n */\\n function _transferOwnership(address newOwner) internal virtual {\\n OwnableStorage storage $ = _getOwnableStorage();\\n address oldOwner = $._owner;\\n $._owner = newOwner;\\n emit OwnershipTransferred(oldOwner, newOwner);\\n }\\n}\\n\",\"keccak256\":\"0xc163fcf9bb10138631a9ba5564df1fa25db9adff73bd9ee868a8ae1858fe093a\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (proxy/utils/Initializable.sol)\\n\\npragma solidity ^0.8.20;\\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 * ```solidity\\n * contract MyToken is ERC20Upgradeable {\\n * function initialize() initializer public {\\n * __ERC20_init(\\\"MyToken\\\", \\\"MTK\\\");\\n * }\\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 Storage of the initializable contract.\\n *\\n * It's implemented on a custom ERC-7201 namespace to reduce the risk of storage collisions\\n * when using with upgradeable contracts.\\n *\\n * @custom:storage-location erc7201:openzeppelin.storage.Initializable\\n */\\n struct InitializableStorage {\\n /**\\n * @dev Indicates that the contract has been initialized.\\n */\\n uint64 _initialized;\\n /**\\n * @dev Indicates that the contract is in the process of being initialized.\\n */\\n bool _initializing;\\n }\\n\\n // keccak256(abi.encode(uint256(keccak256(\\\"openzeppelin.storage.Initializable\\\")) - 1)) & ~bytes32(uint256(0xff))\\n bytes32 private constant INITIALIZABLE_STORAGE = 0xf0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00;\\n\\n /**\\n * @dev The contract is already initialized.\\n */\\n error InvalidInitialization();\\n\\n /**\\n * @dev The contract is not initializing.\\n */\\n error NotInitializing();\\n\\n /**\\n * @dev Triggered when the contract has been initialized or reinitialized.\\n */\\n event Initialized(uint64 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.\\n *\\n * Similar to `reinitializer(1)`, except that in the context of a constructor an `initializer` may be invoked any\\n * number of times. This behavior in the constructor can be useful during testing and is not expected to be used in\\n * production.\\n *\\n * Emits an {Initialized} event.\\n */\\n modifier initializer() {\\n // solhint-disable-next-line var-name-mixedcase\\n InitializableStorage storage $ = _getInitializableStorage();\\n\\n // Cache values to avoid duplicated sloads\\n bool isTopLevelCall = !$._initializing;\\n uint64 initialized = $._initialized;\\n\\n // Allowed calls:\\n // - initialSetup: the contract is not in the initializing state and no previous version was\\n // initialized\\n // - construction: the contract is initialized at version 1 (no reininitialization) and the\\n // current contract is just being deployed\\n bool initialSetup = initialized == 0 && isTopLevelCall;\\n bool construction = initialized == 1 && address(this).code.length == 0;\\n\\n if (!initialSetup && !construction) {\\n revert InvalidInitialization();\\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 * A reinitializer may be used after the original initialization step. This is essential to configure modules that\\n * are added through upgrades and that require initialization.\\n *\\n * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`\\n * cannot be nested. If one is invoked in the context of another, execution will revert.\\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 * WARNING: Setting the version to 2**64 - 1 will prevent any future reinitialization.\\n *\\n * Emits an {Initialized} event.\\n */\\n modifier reinitializer(uint64 version) {\\n // solhint-disable-next-line var-name-mixedcase\\n InitializableStorage storage $ = _getInitializableStorage();\\n\\n if ($._initializing || $._initialized >= version) {\\n revert InvalidInitialization();\\n }\\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 _checkInitializing();\\n _;\\n }\\n\\n /**\\n * @dev Reverts if the contract is not in an initializing state. See {onlyInitializing}.\\n */\\n function _checkInitializing() internal view virtual {\\n if (!_isInitializing()) {\\n revert NotInitializing();\\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 * Emits an {Initialized} event the first time it is successfully executed.\\n */\\n function _disableInitializers() internal virtual {\\n // solhint-disable-next-line var-name-mixedcase\\n InitializableStorage storage $ = _getInitializableStorage();\\n\\n if ($._initializing) {\\n revert InvalidInitialization();\\n }\\n if ($._initialized != type(uint64).max) {\\n $._initialized = type(uint64).max;\\n emit Initialized(type(uint64).max);\\n }\\n }\\n\\n /**\\n * @dev Returns the highest version that has been initialized. See {reinitializer}.\\n */\\n function _getInitializedVersion() internal view returns (uint64) {\\n return _getInitializableStorage()._initialized;\\n }\\n\\n /**\\n * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}.\\n */\\n function _isInitializing() internal view returns (bool) {\\n return _getInitializableStorage()._initializing;\\n }\\n\\n /**\\n * @dev Returns a pointer to the storage namespace.\\n */\\n // solhint-disable-next-line var-name-mixedcase\\n function _getInitializableStorage() private pure returns (InitializableStorage storage $) {\\n assembly {\\n $.slot := INITIALIZABLE_STORAGE\\n }\\n }\\n}\\n\",\"keccak256\":\"0x631188737069917d2f909d29ce62c4d48611d326686ba6683e26b72a23bfac0b\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/ERC721.sol)\\n\\npragma solidity ^0.8.20;\\n\\nimport {IERC721} from \\\"@openzeppelin/contracts/token/ERC721/IERC721.sol\\\";\\nimport {IERC721Receiver} from \\\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\\\";\\nimport {IERC721Metadata} from \\\"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol\\\";\\nimport {ContextUpgradeable} from \\\"../../utils/ContextUpgradeable.sol\\\";\\nimport {Strings} from \\\"@openzeppelin/contracts/utils/Strings.sol\\\";\\nimport {IERC165} from \\\"@openzeppelin/contracts/utils/introspection/IERC165.sol\\\";\\nimport {ERC165Upgradeable} from \\\"../../utils/introspection/ERC165Upgradeable.sol\\\";\\nimport {IERC721Errors} from \\\"@openzeppelin/contracts/interfaces/draft-IERC6093.sol\\\";\\nimport {Initializable} from \\\"../../proxy/utils/Initializable.sol\\\";\\n\\n/**\\n * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including\\n * the Metadata extension, but not including the Enumerable extension, which is available separately as\\n * {ERC721Enumerable}.\\n */\\nabstract contract ERC721Upgradeable is Initializable, ContextUpgradeable, ERC165Upgradeable, IERC721, IERC721Metadata, IERC721Errors {\\n using Strings for uint256;\\n\\n /// @custom:storage-location erc7201:openzeppelin.storage.ERC721\\n struct ERC721Storage {\\n // Token name\\n string _name;\\n\\n // Token symbol\\n string _symbol;\\n\\n mapping(uint256 tokenId => address) _owners;\\n\\n mapping(address owner => uint256) _balances;\\n\\n mapping(uint256 tokenId => address) _tokenApprovals;\\n\\n mapping(address owner => mapping(address operator => bool)) _operatorApprovals;\\n }\\n\\n // keccak256(abi.encode(uint256(keccak256(\\\"openzeppelin.storage.ERC721\\\")) - 1)) & ~bytes32(uint256(0xff))\\n bytes32 private constant ERC721StorageLocation = 0x80bb2b638cc20bc4d0a60d66940f3ab4a00c1d7b313497ca82fb0b4ab0079300;\\n\\n function _getERC721Storage() private pure returns (ERC721Storage storage $) {\\n assembly {\\n $.slot := ERC721StorageLocation\\n }\\n }\\n\\n /**\\n * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.\\n */\\n function __ERC721_init(string memory name_, string memory symbol_) internal onlyInitializing {\\n __ERC721_init_unchained(name_, symbol_);\\n }\\n\\n function __ERC721_init_unchained(string memory name_, string memory symbol_) internal onlyInitializing {\\n ERC721Storage storage $ = _getERC721Storage();\\n $._name = name_;\\n $._symbol = symbol_;\\n }\\n\\n /**\\n * @dev See {IERC165-supportsInterface}.\\n */\\n function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165Upgradeable, IERC165) returns (bool) {\\n return\\n interfaceId == type(IERC721).interfaceId ||\\n interfaceId == type(IERC721Metadata).interfaceId ||\\n super.supportsInterface(interfaceId);\\n }\\n\\n /**\\n * @dev See {IERC721-balanceOf}.\\n */\\n function balanceOf(address owner) public view virtual returns (uint256) {\\n ERC721Storage storage $ = _getERC721Storage();\\n if (owner == address(0)) {\\n revert ERC721InvalidOwner(address(0));\\n }\\n return $._balances[owner];\\n }\\n\\n /**\\n * @dev See {IERC721-ownerOf}.\\n */\\n function ownerOf(uint256 tokenId) public view virtual returns (address) {\\n return _requireOwned(tokenId);\\n }\\n\\n /**\\n * @dev See {IERC721Metadata-name}.\\n */\\n function name() public view virtual returns (string memory) {\\n ERC721Storage storage $ = _getERC721Storage();\\n return $._name;\\n }\\n\\n /**\\n * @dev See {IERC721Metadata-symbol}.\\n */\\n function symbol() public view virtual returns (string memory) {\\n ERC721Storage storage $ = _getERC721Storage();\\n return $._symbol;\\n }\\n\\n /**\\n * @dev See {IERC721Metadata-tokenURI}.\\n */\\n function tokenURI(uint256 tokenId) public view virtual returns (string memory) {\\n _requireOwned(tokenId);\\n\\n string memory baseURI = _baseURI();\\n return bytes(baseURI).length > 0 ? string.concat(baseURI, tokenId.toString()) : \\\"\\\";\\n }\\n\\n /**\\n * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each\\n * token will be the concatenation of the `baseURI` and the `tokenId`. Empty\\n * by default, can be overridden in child contracts.\\n */\\n function _baseURI() internal view virtual returns (string memory) {\\n return \\\"\\\";\\n }\\n\\n /**\\n * @dev See {IERC721-approve}.\\n */\\n function approve(address to, uint256 tokenId) public virtual {\\n _approve(to, tokenId, _msgSender());\\n }\\n\\n /**\\n * @dev See {IERC721-getApproved}.\\n */\\n function getApproved(uint256 tokenId) public view virtual returns (address) {\\n _requireOwned(tokenId);\\n\\n return _getApproved(tokenId);\\n }\\n\\n /**\\n * @dev See {IERC721-setApprovalForAll}.\\n */\\n function setApprovalForAll(address operator, bool approved) public virtual {\\n _setApprovalForAll(_msgSender(), operator, approved);\\n }\\n\\n /**\\n * @dev See {IERC721-isApprovedForAll}.\\n */\\n function isApprovedForAll(address owner, address operator) public view virtual returns (bool) {\\n ERC721Storage storage $ = _getERC721Storage();\\n return $._operatorApprovals[owner][operator];\\n }\\n\\n /**\\n * @dev See {IERC721-transferFrom}.\\n */\\n function transferFrom(address from, address to, uint256 tokenId) public virtual {\\n if (to == address(0)) {\\n revert ERC721InvalidReceiver(address(0));\\n }\\n // Setting an \\\"auth\\\" arguments enables the `_isAuthorized` check which verifies that the token exists\\n // (from != 0). Therefore, it is not needed to verify that the return value is not 0 here.\\n address previousOwner = _update(to, tokenId, _msgSender());\\n if (previousOwner != from) {\\n revert ERC721IncorrectOwner(from, tokenId, previousOwner);\\n }\\n }\\n\\n /**\\n * @dev See {IERC721-safeTransferFrom}.\\n */\\n function safeTransferFrom(address from, address to, uint256 tokenId) public {\\n safeTransferFrom(from, to, tokenId, \\\"\\\");\\n }\\n\\n /**\\n * @dev See {IERC721-safeTransferFrom}.\\n */\\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public virtual {\\n transferFrom(from, to, tokenId);\\n _checkOnERC721Received(from, to, tokenId, data);\\n }\\n\\n /**\\n * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist\\n *\\n * IMPORTANT: Any overrides to this function that add ownership of tokens not tracked by the\\n * core ERC721 logic MUST be matched with the use of {_increaseBalance} to keep balances\\n * consistent with ownership. The invariant to preserve is that for any address `a` the value returned by\\n * `balanceOf(a)` must be equal to the number of tokens such that `_ownerOf(tokenId)` is `a`.\\n */\\n function _ownerOf(uint256 tokenId) internal view virtual returns (address) {\\n ERC721Storage storage $ = _getERC721Storage();\\n return $._owners[tokenId];\\n }\\n\\n /**\\n * @dev Returns the approved address for `tokenId`. Returns 0 if `tokenId` is not minted.\\n */\\n function _getApproved(uint256 tokenId) internal view virtual returns (address) {\\n ERC721Storage storage $ = _getERC721Storage();\\n return $._tokenApprovals[tokenId];\\n }\\n\\n /**\\n * @dev Returns whether `spender` is allowed to manage `owner`'s tokens, or `tokenId` in\\n * particular (ignoring whether it is owned by `owner`).\\n *\\n * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this\\n * assumption.\\n */\\n function _isAuthorized(address owner, address spender, uint256 tokenId) internal view virtual returns (bool) {\\n return\\n spender != address(0) &&\\n (owner == spender || isApprovedForAll(owner, spender) || _getApproved(tokenId) == spender);\\n }\\n\\n /**\\n * @dev Checks if `spender` can operate on `tokenId`, assuming the provided `owner` is the actual owner.\\n * Reverts if `spender` does not have approval from the provided `owner` for the given token or for all its assets\\n * the `spender` for the specific `tokenId`.\\n *\\n * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this\\n * assumption.\\n */\\n function _checkAuthorized(address owner, address spender, uint256 tokenId) internal view virtual {\\n if (!_isAuthorized(owner, spender, tokenId)) {\\n if (owner == address(0)) {\\n revert ERC721NonexistentToken(tokenId);\\n } else {\\n revert ERC721InsufficientApproval(spender, tokenId);\\n }\\n }\\n }\\n\\n /**\\n * @dev Unsafe write access to the balances, used by extensions that \\\"mint\\\" tokens using an {ownerOf} override.\\n *\\n * NOTE: the value is limited to type(uint128).max. This protect against _balance overflow. It is unrealistic that\\n * a uint256 would ever overflow from increments when these increments are bounded to uint128 values.\\n *\\n * WARNING: Increasing an account's balance using this function tends to be paired with an override of the\\n * {_ownerOf} function to resolve the ownership of the corresponding tokens so that balances and ownership\\n * remain consistent with one another.\\n */\\n function _increaseBalance(address account, uint128 value) internal virtual {\\n ERC721Storage storage $ = _getERC721Storage();\\n unchecked {\\n $._balances[account] += value;\\n }\\n }\\n\\n /**\\n * @dev Transfers `tokenId` from its current owner to `to`, or alternatively mints (or burns) if the current owner\\n * (or `to`) is the zero address. Returns the owner of the `tokenId` before the update.\\n *\\n * The `auth` argument is optional. If the value passed is non 0, then this function will check that\\n * `auth` is either the owner of the token, or approved to operate on the token (by the owner).\\n *\\n * Emits a {Transfer} event.\\n *\\n * NOTE: If overriding this function in a way that tracks balances, see also {_increaseBalance}.\\n */\\n function _update(address to, uint256 tokenId, address auth) internal virtual returns (address) {\\n ERC721Storage storage $ = _getERC721Storage();\\n address from = _ownerOf(tokenId);\\n\\n // Perform (optional) operator check\\n if (auth != address(0)) {\\n _checkAuthorized(from, auth, tokenId);\\n }\\n\\n // Execute the update\\n if (from != address(0)) {\\n // Clear approval. No need to re-authorize or emit the Approval event\\n _approve(address(0), tokenId, address(0), false);\\n\\n unchecked {\\n $._balances[from] -= 1;\\n }\\n }\\n\\n if (to != address(0)) {\\n unchecked {\\n $._balances[to] += 1;\\n }\\n }\\n\\n $._owners[tokenId] = to;\\n\\n emit Transfer(from, to, tokenId);\\n\\n return from;\\n }\\n\\n /**\\n * @dev Mints `tokenId` and transfers it to `to`.\\n *\\n * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\\n *\\n * Requirements:\\n *\\n * - `tokenId` must not exist.\\n * - `to` cannot be the zero address.\\n *\\n * Emits a {Transfer} event.\\n */\\n function _mint(address to, uint256 tokenId) internal {\\n if (to == address(0)) {\\n revert ERC721InvalidReceiver(address(0));\\n }\\n address previousOwner = _update(to, tokenId, address(0));\\n if (previousOwner != address(0)) {\\n revert ERC721InvalidSender(address(0));\\n }\\n }\\n\\n /**\\n * @dev Mints `tokenId`, transfers it to `to` and checks for `to` acceptance.\\n *\\n * Requirements:\\n *\\n * - `tokenId` must not exist.\\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 _safeMint(address to, uint256 tokenId) internal {\\n _safeMint(to, tokenId, \\\"\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\\n * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\\n */\\n function _safeMint(address to, uint256 tokenId, bytes memory data) internal virtual {\\n _mint(to, tokenId);\\n _checkOnERC721Received(address(0), to, tokenId, data);\\n }\\n\\n /**\\n * @dev Destroys `tokenId`.\\n * The approval is cleared when the token is burned.\\n * This is an internal function that does not check if the sender is authorized to operate on the token.\\n *\\n * Requirements:\\n *\\n * - `tokenId` must exist.\\n *\\n * Emits a {Transfer} event.\\n */\\n function _burn(uint256 tokenId) internal {\\n address previousOwner = _update(address(0), tokenId, address(0));\\n if (previousOwner == address(0)) {\\n revert ERC721NonexistentToken(tokenId);\\n }\\n }\\n\\n /**\\n * @dev Transfers `tokenId` from `from` to `to`.\\n * As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\\n *\\n * Requirements:\\n *\\n * - `to` cannot be the zero address.\\n * - `tokenId` token must be owned by `from`.\\n *\\n * Emits a {Transfer} event.\\n */\\n function _transfer(address from, address to, uint256 tokenId) internal {\\n if (to == address(0)) {\\n revert ERC721InvalidReceiver(address(0));\\n }\\n address previousOwner = _update(to, tokenId, address(0));\\n if (previousOwner == address(0)) {\\n revert ERC721NonexistentToken(tokenId);\\n } else if (previousOwner != from) {\\n revert ERC721IncorrectOwner(from, tokenId, previousOwner);\\n }\\n }\\n\\n /**\\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking that contract recipients\\n * are aware of the ERC721 standard to prevent tokens from being forever locked.\\n *\\n * `data` is additional data, it has no specified format and it is sent in call to `to`.\\n *\\n * This internal function is like {safeTransferFrom} in the sense that it invokes\\n * {IERC721Receiver-onERC721Received} on the receiver, and can be used to e.g.\\n * implement alternative mechanisms to perform token transfer, such as signature-based.\\n *\\n * Requirements:\\n *\\n * - `tokenId` token must exist and be owned by `from`.\\n * - `to` cannot be the zero address.\\n * - `from` cannot be the zero address.\\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 _safeTransfer(address from, address to, uint256 tokenId) internal {\\n _safeTransfer(from, to, tokenId, \\\"\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-ERC721-_safeTransfer-address-address-uint256-}[`_safeTransfer`], with an additional `data` parameter which is\\n * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\\n */\\n function _safeTransfer(address from, address to, uint256 tokenId, bytes memory data) internal virtual {\\n _transfer(from, to, tokenId);\\n _checkOnERC721Received(from, to, tokenId, data);\\n }\\n\\n /**\\n * @dev Approve `to` to operate on `tokenId`\\n *\\n * The `auth` argument is optional. If the value passed is non 0, then this function will check that `auth` is\\n * either the owner of the token, or approved to operate on all tokens held by this owner.\\n *\\n * Emits an {Approval} event.\\n *\\n * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.\\n */\\n function _approve(address to, uint256 tokenId, address auth) internal {\\n _approve(to, tokenId, auth, true);\\n }\\n\\n /**\\n * @dev Variant of `_approve` with an optional flag to enable or disable the {Approval} event. The event is not\\n * emitted in the context of transfers.\\n */\\n function _approve(address to, uint256 tokenId, address auth, bool emitEvent) internal virtual {\\n ERC721Storage storage $ = _getERC721Storage();\\n // Avoid reading the owner unless necessary\\n if (emitEvent || auth != address(0)) {\\n address owner = _requireOwned(tokenId);\\n\\n // We do not use _isAuthorized because single-token approvals should not be able to call approve\\n if (auth != address(0) && owner != auth && !isApprovedForAll(owner, auth)) {\\n revert ERC721InvalidApprover(auth);\\n }\\n\\n if (emitEvent) {\\n emit Approval(owner, to, tokenId);\\n }\\n }\\n\\n $._tokenApprovals[tokenId] = to;\\n }\\n\\n /**\\n * @dev Approve `operator` to operate on all of `owner` tokens\\n *\\n * Requirements:\\n * - operator can't be the address zero.\\n *\\n * Emits an {ApprovalForAll} event.\\n */\\n function _setApprovalForAll(address owner, address operator, bool approved) internal virtual {\\n ERC721Storage storage $ = _getERC721Storage();\\n if (operator == address(0)) {\\n revert ERC721InvalidOperator(operator);\\n }\\n $._operatorApprovals[owner][operator] = approved;\\n emit ApprovalForAll(owner, operator, approved);\\n }\\n\\n /**\\n * @dev Reverts if the `tokenId` doesn't have a current owner (it hasn't been minted, or it has been burned).\\n * Returns the owner.\\n *\\n * Overrides to ownership logic should be done to {_ownerOf}.\\n */\\n function _requireOwned(uint256 tokenId) internal view returns (address) {\\n address owner = _ownerOf(tokenId);\\n if (owner == address(0)) {\\n revert ERC721NonexistentToken(tokenId);\\n }\\n return owner;\\n }\\n\\n /**\\n * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target address. This will revert if the\\n * recipient doesn't accept the token transfer. The call is not executed if the target address is not a contract.\\n *\\n * @param from address representing the previous owner of the given token ID\\n * @param to target address that will receive the tokens\\n * @param tokenId uint256 ID of the token to be transferred\\n * @param data bytes optional data to send along with the call\\n */\\n function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory data) private {\\n if (to.code.length > 0) {\\n try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {\\n if (retval != IERC721Receiver.onERC721Received.selector) {\\n revert ERC721InvalidReceiver(to);\\n }\\n } catch (bytes memory reason) {\\n if (reason.length == 0) {\\n revert ERC721InvalidReceiver(to);\\n } else {\\n /// @solidity memory-safe-assembly\\n assembly {\\n revert(add(32, reason), mload(reason))\\n }\\n }\\n }\\n }\\n }\\n}\\n\",\"keccak256\":\"0x48efca78ce4e1a9f74d3ca8539bb53d04b116e507c10cd9e0df6105b8a6ae420\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/token/ERC721/extensions/ERC721EnumerableUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/ERC721Enumerable.sol)\\n\\npragma solidity ^0.8.20;\\n\\nimport {ERC721Upgradeable} from \\\"../ERC721Upgradeable.sol\\\";\\nimport {IERC721Enumerable} from \\\"@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol\\\";\\nimport {IERC165} from \\\"@openzeppelin/contracts/utils/introspection/IERC165.sol\\\";\\nimport {Initializable} from \\\"../../../proxy/utils/Initializable.sol\\\";\\n\\n/**\\n * @dev This implements an optional extension of {ERC721} defined in the EIP that adds enumerability\\n * of all the token ids in the contract as well as all token ids owned by each account.\\n *\\n * CAUTION: `ERC721` extensions that implement custom `balanceOf` logic, such as `ERC721Consecutive`,\\n * interfere with enumerability and should not be used together with `ERC721Enumerable`.\\n */\\nabstract contract ERC721EnumerableUpgradeable is Initializable, ERC721Upgradeable, IERC721Enumerable {\\n /// @custom:storage-location erc7201:openzeppelin.storage.ERC721Enumerable\\n struct ERC721EnumerableStorage {\\n mapping(address owner => mapping(uint256 index => uint256)) _ownedTokens;\\n mapping(uint256 tokenId => uint256) _ownedTokensIndex;\\n\\n uint256[] _allTokens;\\n mapping(uint256 tokenId => uint256) _allTokensIndex;\\n }\\n\\n // keccak256(abi.encode(uint256(keccak256(\\\"openzeppelin.storage.ERC721Enumerable\\\")) - 1)) & ~bytes32(uint256(0xff))\\n bytes32 private constant ERC721EnumerableStorageLocation = 0x645e039705490088daad89bae25049a34f4a9072d398537b1ab2425f24cbed00;\\n\\n function _getERC721EnumerableStorage() private pure returns (ERC721EnumerableStorage storage $) {\\n assembly {\\n $.slot := ERC721EnumerableStorageLocation\\n }\\n }\\n\\n /**\\n * @dev An `owner`'s token query was out of bounds for `index`.\\n *\\n * NOTE: The owner being `address(0)` indicates a global out of bounds index.\\n */\\n error ERC721OutOfBoundsIndex(address owner, uint256 index);\\n\\n /**\\n * @dev Batch mint is not allowed.\\n */\\n error ERC721EnumerableForbiddenBatchMint();\\n\\n function __ERC721Enumerable_init() internal onlyInitializing {\\n }\\n\\n function __ERC721Enumerable_init_unchained() internal onlyInitializing {\\n }\\n /**\\n * @dev See {IERC165-supportsInterface}.\\n */\\n function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721Upgradeable) returns (bool) {\\n return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId);\\n }\\n\\n /**\\n * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.\\n */\\n function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual returns (uint256) {\\n ERC721EnumerableStorage storage $ = _getERC721EnumerableStorage();\\n if (index >= balanceOf(owner)) {\\n revert ERC721OutOfBoundsIndex(owner, index);\\n }\\n return $._ownedTokens[owner][index];\\n }\\n\\n /**\\n * @dev See {IERC721Enumerable-totalSupply}.\\n */\\n function totalSupply() public view virtual returns (uint256) {\\n ERC721EnumerableStorage storage $ = _getERC721EnumerableStorage();\\n return $._allTokens.length;\\n }\\n\\n /**\\n * @dev See {IERC721Enumerable-tokenByIndex}.\\n */\\n function tokenByIndex(uint256 index) public view virtual returns (uint256) {\\n ERC721EnumerableStorage storage $ = _getERC721EnumerableStorage();\\n if (index >= totalSupply()) {\\n revert ERC721OutOfBoundsIndex(address(0), index);\\n }\\n return $._allTokens[index];\\n }\\n\\n /**\\n * @dev See {ERC721-_update}.\\n */\\n function _update(address to, uint256 tokenId, address auth) internal virtual override returns (address) {\\n address previousOwner = super._update(to, tokenId, auth);\\n\\n if (previousOwner == address(0)) {\\n _addTokenToAllTokensEnumeration(tokenId);\\n } else if (previousOwner != to) {\\n _removeTokenFromOwnerEnumeration(previousOwner, tokenId);\\n }\\n if (to == address(0)) {\\n _removeTokenFromAllTokensEnumeration(tokenId);\\n } else if (previousOwner != to) {\\n _addTokenToOwnerEnumeration(to, tokenId);\\n }\\n\\n return previousOwner;\\n }\\n\\n /**\\n * @dev Private function to add a token to this extension's ownership-tracking data structures.\\n * @param to address representing the new owner of the given token ID\\n * @param tokenId uint256 ID of the token to be added to the tokens list of the given address\\n */\\n function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {\\n ERC721EnumerableStorage storage $ = _getERC721EnumerableStorage();\\n uint256 length = balanceOf(to) - 1;\\n $._ownedTokens[to][length] = tokenId;\\n $._ownedTokensIndex[tokenId] = length;\\n }\\n\\n /**\\n * @dev Private function to add a token to this extension's token tracking data structures.\\n * @param tokenId uint256 ID of the token to be added to the tokens list\\n */\\n function _addTokenToAllTokensEnumeration(uint256 tokenId) private {\\n ERC721EnumerableStorage storage $ = _getERC721EnumerableStorage();\\n $._allTokensIndex[tokenId] = $._allTokens.length;\\n $._allTokens.push(tokenId);\\n }\\n\\n /**\\n * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that\\n * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for\\n * gas optimizations e.g. when performing a transfer operation (avoiding double writes).\\n * This has O(1) time complexity, but alters the order of the _ownedTokens array.\\n * @param from address representing the previous owner of the given token ID\\n * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address\\n */\\n function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {\\n ERC721EnumerableStorage storage $ = _getERC721EnumerableStorage();\\n // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and\\n // then delete the last slot (swap and pop).\\n\\n uint256 lastTokenIndex = balanceOf(from);\\n uint256 tokenIndex = $._ownedTokensIndex[tokenId];\\n\\n // When the token to delete is the last token, the swap operation is unnecessary\\n if (tokenIndex != lastTokenIndex) {\\n uint256 lastTokenId = $._ownedTokens[from][lastTokenIndex];\\n\\n $._ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token\\n $._ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index\\n }\\n\\n // This also deletes the contents at the last position of the array\\n delete $._ownedTokensIndex[tokenId];\\n delete $._ownedTokens[from][lastTokenIndex];\\n }\\n\\n /**\\n * @dev Private function to remove a token from this extension's token tracking data structures.\\n * This has O(1) time complexity, but alters the order of the _allTokens array.\\n * @param tokenId uint256 ID of the token to be removed from the tokens list\\n */\\n function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {\\n ERC721EnumerableStorage storage $ = _getERC721EnumerableStorage();\\n // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and\\n // then delete the last slot (swap and pop).\\n\\n uint256 lastTokenIndex = $._allTokens.length - 1;\\n uint256 tokenIndex = $._allTokensIndex[tokenId];\\n\\n // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so\\n // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding\\n // an 'if' statement (like in _removeTokenFromOwnerEnumeration)\\n uint256 lastTokenId = $._allTokens[lastTokenIndex];\\n\\n $._allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token\\n $._allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index\\n\\n // This also deletes the contents at the last position of the array\\n delete $._allTokensIndex[tokenId];\\n $._allTokens.pop();\\n }\\n\\n /**\\n * See {ERC721-_increaseBalance}. We need that to account tokens that were minted in batch\\n */\\n function _increaseBalance(address account, uint128 amount) internal virtual override {\\n if (amount > 0) {\\n revert ERC721EnumerableForbiddenBatchMint();\\n }\\n super._increaseBalance(account, amount);\\n }\\n}\\n\",\"keccak256\":\"0xe3c0b8baf1c6c26bd7944f5c7e71d0e902cbd1a90509f093524c289b89ad5344\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)\\n\\npragma solidity ^0.8.20;\\nimport {Initializable} from \\\"../proxy/utils/Initializable.sol\\\";\\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 ContextUpgradeable is Initializable {\\n function __Context_init() internal onlyInitializing {\\n }\\n\\n function __Context_init_unchained() internal onlyInitializing {\\n }\\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 function _contextSuffixLength() internal view virtual returns (uint256) {\\n return 0;\\n }\\n}\\n\",\"keccak256\":\"0xdbef5f0c787055227243a7318ef74c8a5a1108ca3a07f2b3a00ef67769e1e397\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/utils/ReentrancyGuardUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/ReentrancyGuard.sol)\\n\\npragma solidity ^0.8.20;\\nimport {Initializable} from \\\"../proxy/utils/Initializable.sol\\\";\\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 ReentrancyGuardUpgradeable is Initializable {\\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 /// @custom:storage-location erc7201:openzeppelin.storage.ReentrancyGuard\\n struct ReentrancyGuardStorage {\\n uint256 _status;\\n }\\n\\n // keccak256(abi.encode(uint256(keccak256(\\\"openzeppelin.storage.ReentrancyGuard\\\")) - 1)) & ~bytes32(uint256(0xff))\\n bytes32 private constant ReentrancyGuardStorageLocation = 0x9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00;\\n\\n function _getReentrancyGuardStorage() private pure returns (ReentrancyGuardStorage storage $) {\\n assembly {\\n $.slot := ReentrancyGuardStorageLocation\\n }\\n }\\n\\n /**\\n * @dev Unauthorized reentrant call.\\n */\\n error ReentrancyGuardReentrantCall();\\n\\n function __ReentrancyGuard_init() internal onlyInitializing {\\n __ReentrancyGuard_init_unchained();\\n }\\n\\n function __ReentrancyGuard_init_unchained() internal onlyInitializing {\\n ReentrancyGuardStorage storage $ = _getReentrancyGuardStorage();\\n $._status = NOT_ENTERED;\\n }\\n\\n /**\\n * @dev Prevents a contract from calling itself, directly or indirectly.\\n * Calling a `nonReentrant` function from another `nonReentrant`\\n * function is not supported. It is possible to prevent this from happening\\n * by making the `nonReentrant` function external, and making it call a\\n * `private` function that does the actual work.\\n */\\n modifier nonReentrant() {\\n _nonReentrantBefore();\\n _;\\n _nonReentrantAfter();\\n }\\n\\n function _nonReentrantBefore() private {\\n ReentrancyGuardStorage storage $ = _getReentrancyGuardStorage();\\n // On the first call to nonReentrant, _status will be NOT_ENTERED\\n if ($._status == ENTERED) {\\n revert ReentrancyGuardReentrantCall();\\n }\\n\\n // Any calls to nonReentrant after this point will fail\\n $._status = ENTERED;\\n }\\n\\n function _nonReentrantAfter() private {\\n ReentrancyGuardStorage storage $ = _getReentrancyGuardStorage();\\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 /**\\n * @dev Returns true if the reentrancy guard is currently set to \\\"entered\\\", which indicates there is a\\n * `nonReentrant` function in the call stack.\\n */\\n function _reentrancyGuardEntered() internal view returns (bool) {\\n ReentrancyGuardStorage storage $ = _getReentrancyGuardStorage();\\n return $._status == ENTERED;\\n }\\n}\\n\",\"keccak256\":\"0xb44e086e941292cdc7f440de51478493894ef0b1aeccb0c4047445919f667f74\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol)\\n\\npragma solidity ^0.8.20;\\n\\nimport {IERC165} from \\\"@openzeppelin/contracts/utils/introspection/IERC165.sol\\\";\\nimport {Initializable} from \\\"../../proxy/utils/Initializable.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 */\\nabstract contract ERC165Upgradeable is Initializable, IERC165 {\\n function __ERC165_init() internal onlyInitializing {\\n }\\n\\n function __ERC165_init_unchained() internal onlyInitializing {\\n }\\n /**\\n * @dev See {IERC165-supportsInterface}.\\n */\\n function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {\\n return interfaceId == type(IERC165).interfaceId;\\n }\\n}\\n\",\"keccak256\":\"0xdaba3f7c42c55b2896353f32bd27d4d5f8bae741b3b05d4c53f67abc4dc47ce8\",\"license\":\"MIT\"},\"@openzeppelin/contracts/governance/utils/IVotes.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (governance/utils/IVotes.sol)\\npragma solidity ^0.8.20;\\n\\n/**\\n * @dev Common interface for {ERC20Votes}, {ERC721Votes}, and other {Votes}-enabled contracts.\\n */\\ninterface IVotes {\\n /**\\n * @dev The signature used has expired.\\n */\\n error VotesExpiredSignature(uint256 expiry);\\n\\n /**\\n * @dev Emitted when an account changes their delegate.\\n */\\n event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);\\n\\n /**\\n * @dev Emitted when a token transfer or delegate change results in changes to a delegate's number of voting units.\\n */\\n event DelegateVotesChanged(address indexed delegate, uint256 previousVotes, uint256 newVotes);\\n\\n /**\\n * @dev Returns the current amount of votes that `account` has.\\n */\\n function getVotes(address account) external view returns (uint256);\\n\\n /**\\n * @dev Returns the amount of votes that `account` had at a specific moment in the past. If the `clock()` is\\n * configured to use block numbers, this will return the value at the end of the corresponding block.\\n */\\n function getPastVotes(address account, uint256 timepoint) external view returns (uint256);\\n\\n /**\\n * @dev Returns the total supply of votes available at a specific moment in the past. If the `clock()` is\\n * configured to use block numbers, this will return the value at the end of the corresponding block.\\n *\\n * NOTE: This value is the sum of all available votes, which is not necessarily the sum of all delegated votes.\\n * Votes that have not been delegated are still part of total supply, even though they would not participate in a\\n * vote.\\n */\\n function getPastTotalSupply(uint256 timepoint) external view returns (uint256);\\n\\n /**\\n * @dev Returns the delegate that `account` has chosen.\\n */\\n function delegates(address account) external view returns (address);\\n\\n /**\\n * @dev Delegates votes from the sender to `delegatee`.\\n */\\n function delegate(address delegatee) external;\\n\\n /**\\n * @dev Delegates votes from signer to `delegatee`.\\n */\\n function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) external;\\n}\\n\",\"keccak256\":\"0x5e2b397ae88fd5c68e4f6762eb9f65f65c36702eb57796495f471d024ce70947\",\"license\":\"MIT\"},\"@openzeppelin/contracts/interfaces/IERC20.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC20.sol)\\n\\npragma solidity ^0.8.20;\\n\\nimport {IERC20} from \\\"../token/ERC20/IERC20.sol\\\";\\n\",\"keccak256\":\"0xce41876e78d1badc0512229b4d14e4daf83bc1003d7f83978d18e0e56f965b9c\",\"license\":\"MIT\"},\"@openzeppelin/contracts/interfaces/draft-IERC6093.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)\\npragma solidity ^0.8.20;\\n\\n/**\\n * @dev Standard ERC20 Errors\\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.\\n */\\ninterface IERC20Errors {\\n /**\\n * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\\n * @param sender Address whose tokens are being transferred.\\n * @param balance Current balance for the interacting account.\\n * @param needed Minimum amount required to perform a transfer.\\n */\\n error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);\\n\\n /**\\n * @dev Indicates a failure with the token `sender`. Used in transfers.\\n * @param sender Address whose tokens are being transferred.\\n */\\n error ERC20InvalidSender(address sender);\\n\\n /**\\n * @dev Indicates a failure with the token `receiver`. Used in transfers.\\n * @param receiver Address to which tokens are being transferred.\\n */\\n error ERC20InvalidReceiver(address receiver);\\n\\n /**\\n * @dev Indicates a failure with the `spender`\\u2019s `allowance`. Used in transfers.\\n * @param spender Address that may be allowed to operate on tokens without being their owner.\\n * @param allowance Amount of tokens a `spender` is allowed to operate with.\\n * @param needed Minimum amount required to perform a transfer.\\n */\\n error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);\\n\\n /**\\n * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\\n * @param approver Address initiating an approval operation.\\n */\\n error ERC20InvalidApprover(address approver);\\n\\n /**\\n * @dev Indicates a failure with the `spender` to be approved. Used in approvals.\\n * @param spender Address that may be allowed to operate on tokens without being their owner.\\n */\\n error ERC20InvalidSpender(address spender);\\n}\\n\\n/**\\n * @dev Standard ERC721 Errors\\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.\\n */\\ninterface IERC721Errors {\\n /**\\n * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.\\n * Used in balance queries.\\n * @param owner Address of the current owner of a token.\\n */\\n error ERC721InvalidOwner(address owner);\\n\\n /**\\n * @dev Indicates a `tokenId` whose `owner` is the zero address.\\n * @param tokenId Identifier number of a token.\\n */\\n error ERC721NonexistentToken(uint256 tokenId);\\n\\n /**\\n * @dev Indicates an error related to the ownership over a particular token. Used in transfers.\\n * @param sender Address whose tokens are being transferred.\\n * @param tokenId Identifier number of a token.\\n * @param owner Address of the current owner of a token.\\n */\\n error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);\\n\\n /**\\n * @dev Indicates a failure with the token `sender`. Used in transfers.\\n * @param sender Address whose tokens are being transferred.\\n */\\n error ERC721InvalidSender(address sender);\\n\\n /**\\n * @dev Indicates a failure with the token `receiver`. Used in transfers.\\n * @param receiver Address to which tokens are being transferred.\\n */\\n error ERC721InvalidReceiver(address receiver);\\n\\n /**\\n * @dev Indicates a failure with the `operator`\\u2019s approval. Used in transfers.\\n * @param operator Address that may be allowed to operate on tokens without being their owner.\\n * @param tokenId Identifier number of a token.\\n */\\n error ERC721InsufficientApproval(address operator, uint256 tokenId);\\n\\n /**\\n * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\\n * @param approver Address initiating an approval operation.\\n */\\n error ERC721InvalidApprover(address approver);\\n\\n /**\\n * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\\n * @param operator Address that may be allowed to operate on tokens without being their owner.\\n */\\n error ERC721InvalidOperator(address operator);\\n}\\n\\n/**\\n * @dev Standard ERC1155 Errors\\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.\\n */\\ninterface IERC1155Errors {\\n /**\\n * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\\n * @param sender Address whose tokens are being transferred.\\n * @param balance Current balance for the interacting account.\\n * @param needed Minimum amount required to perform a transfer.\\n * @param tokenId Identifier number of a token.\\n */\\n error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);\\n\\n /**\\n * @dev Indicates a failure with the token `sender`. Used in transfers.\\n * @param sender Address whose tokens are being transferred.\\n */\\n error ERC1155InvalidSender(address sender);\\n\\n /**\\n * @dev Indicates a failure with the token `receiver`. Used in transfers.\\n * @param receiver Address to which tokens are being transferred.\\n */\\n error ERC1155InvalidReceiver(address receiver);\\n\\n /**\\n * @dev Indicates a failure with the `operator`\\u2019s approval. Used in transfers.\\n * @param operator Address that may be allowed to operate on tokens without being their owner.\\n * @param owner Address of the current owner of a token.\\n */\\n error ERC1155MissingApprovalForAll(address operator, address owner);\\n\\n /**\\n * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\\n * @param approver Address initiating an approval operation.\\n */\\n error ERC1155InvalidApprover(address approver);\\n\\n /**\\n * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\\n * @param operator Address that may be allowed to operate on tokens without being their owner.\\n */\\n error ERC1155InvalidOperator(address operator);\\n\\n /**\\n * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.\\n * Used in batch transfers.\\n * @param idsLength Length of the array of token identifiers\\n * @param valuesLength Length of the array of token amounts\\n */\\n error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);\\n}\\n\",\"keccak256\":\"0x60c65f701957fdd6faea1acb0bb45825791d473693ed9ecb34726fdfaa849dd7\",\"license\":\"MIT\"},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)\\n\\npragma solidity ^0.8.20;\\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 value of tokens in existence.\\n */\\n function totalSupply() external view returns (uint256);\\n\\n /**\\n * @dev Returns the value of tokens owned by `account`.\\n */\\n function balanceOf(address account) external view returns (uint256);\\n\\n /**\\n * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens as the allowance of `spender` over the\\n * 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 value) external returns (bool);\\n\\n /**\\n * @dev Moves a `value` amount of tokens from `from` to `to` using the\\n * allowance mechanism. `value` 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(address from, address to, uint256 value) external returns (bool);\\n}\\n\",\"keccak256\":\"0xc6a8ff0ea489379b61faa647490411b80102578440ab9d84e9a957cc12164e70\",\"license\":\"MIT\"},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721.sol)\\n\\npragma solidity ^0.8.20;\\n\\nimport {IERC165} from \\\"../../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\\n * a safe transfer.\\n *\\n * Emits a {Transfer} event.\\n */\\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) 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\\n * {setApprovalForAll}.\\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon\\n * a safe transfer.\\n *\\n * Emits a {Transfer} event.\\n */\\n function safeTransferFrom(address from, address to, uint256 tokenId) external;\\n\\n /**\\n * @dev Transfers `tokenId` token from `from` to `to`.\\n *\\n * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721\\n * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must\\n * understand this adds an external call which potentially creates a reentrancy vulnerability.\\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(address from, address to, uint256 tokenId) 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 address zero.\\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\":\"0x5ef46daa3b58ef2702279d514780316efaa952915ee1aa3396f041ee2982b0b4\",\"license\":\"MIT\"},\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721Receiver.sol)\\n\\npragma solidity ^0.8.20;\\n\\n/**\\n * @title ERC721 token receiver interface\\n * @dev Interface for any contract that wants to support safeTransfers\\n * from ERC721 asset contracts.\\n */\\ninterface IERC721Receiver {\\n /**\\n * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\\n * by `operator` from `from`, this function is called.\\n *\\n * It must return its Solidity selector to confirm the token transfer.\\n * If any other value is returned or the interface is not implemented by the recipient, the transfer will be\\n * reverted.\\n *\\n * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.\\n */\\n function onERC721Received(\\n address operator,\\n address from,\\n uint256 tokenId,\\n bytes calldata data\\n ) external returns (bytes4);\\n}\\n\",\"keccak256\":\"0x7f7a26306c79a65fb8b3b6c757cd74660c532cd8a02e165488e30027dd34ca49\",\"license\":\"MIT\"},\"@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/IERC721Enumerable.sol)\\n\\npragma solidity ^0.8.20;\\n\\nimport {IERC721} from \\\"../IERC721.sol\\\";\\n\\n/**\\n * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\\n * @dev See https://eips.ethereum.org/EIPS/eip-721\\n */\\ninterface IERC721Enumerable is IERC721 {\\n /**\\n * @dev Returns the total amount of tokens stored by the contract.\\n */\\n function totalSupply() external view returns (uint256);\\n\\n /**\\n * @dev Returns a token ID owned by `owner` at a given `index` of its token list.\\n * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.\\n */\\n function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);\\n\\n /**\\n * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\\n * Use along with {totalSupply} to enumerate all tokens.\\n */\\n function tokenByIndex(uint256 index) external view returns (uint256);\\n}\\n\",\"keccak256\":\"0x3d6954a93ac198a2ffa384fa58ccf18e7e235263e051a394328002eff4e073de\",\"license\":\"MIT\"},\"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/IERC721Metadata.sol)\\n\\npragma solidity ^0.8.20;\\n\\nimport {IERC721} from \\\"../IERC721.sol\\\";\\n\\n/**\\n * @title ERC-721 Non-Fungible Token Standard, optional metadata extension\\n * @dev See https://eips.ethereum.org/EIPS/eip-721\\n */\\ninterface IERC721Metadata is IERC721 {\\n /**\\n * @dev Returns the token collection name.\\n */\\n function name() external view returns (string memory);\\n\\n /**\\n * @dev Returns the token collection symbol.\\n */\\n function symbol() external view returns (string memory);\\n\\n /**\\n * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.\\n */\\n function tokenURI(uint256 tokenId) external view returns (string memory);\\n}\\n\",\"keccak256\":\"0x37d1aaaa5a2908a09e9dcf56a26ddf762ecf295afb5964695937344fc6802ce1\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/Strings.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol)\\n\\npragma solidity ^0.8.20;\\n\\nimport {Math} from \\\"./math/Math.sol\\\";\\nimport {SignedMath} from \\\"./math/SignedMath.sol\\\";\\n\\n/**\\n * @dev String operations.\\n */\\nlibrary Strings {\\n bytes16 private constant HEX_DIGITS = \\\"0123456789abcdef\\\";\\n uint8 private constant ADDRESS_LENGTH = 20;\\n\\n /**\\n * @dev The `value` string doesn't fit in the specified `length`.\\n */\\n error StringsInsufficientHexLength(uint256 value, uint256 length);\\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 unchecked {\\n uint256 length = Math.log10(value) + 1;\\n string memory buffer = new string(length);\\n uint256 ptr;\\n /// @solidity memory-safe-assembly\\n assembly {\\n ptr := add(buffer, add(32, length))\\n }\\n while (true) {\\n ptr--;\\n /// @solidity memory-safe-assembly\\n assembly {\\n mstore8(ptr, byte(mod(value, 10), HEX_DIGITS))\\n }\\n value /= 10;\\n if (value == 0) break;\\n }\\n return buffer;\\n }\\n }\\n\\n /**\\n * @dev Converts a `int256` to its ASCII `string` decimal representation.\\n */\\n function toStringSigned(int256 value) internal pure returns (string memory) {\\n return string.concat(value < 0 ? \\\"-\\\" : \\\"\\\", toString(SignedMath.abs(value)));\\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 unchecked {\\n return toHexString(value, Math.log256(value) + 1);\\n }\\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 uint256 localValue = value;\\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_DIGITS[localValue & 0xf];\\n localValue >>= 4;\\n }\\n if (localValue != 0) {\\n revert StringsInsufficientHexLength(value, length);\\n }\\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\\n * representation.\\n */\\n function toHexString(address addr) internal pure returns (string memory) {\\n return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH);\\n }\\n\\n /**\\n * @dev Returns true if the two strings are equal.\\n */\\n function equal(string memory a, string memory b) internal pure returns (bool) {\\n return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));\\n }\\n}\\n\",\"keccak256\":\"0x55f102ea785d8399c0e58d1108e2d289506dde18abc6db1b7f68c1f9f9bc5792\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)\\n\\npragma solidity ^0.8.20;\\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\":\"0x4296879f55019b23e135000eb36896057e7101fb7fb859c5ef690cf14643757b\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/math/Math.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)\\n\\npragma solidity ^0.8.20;\\n\\n/**\\n * @dev Standard math utilities missing in the Solidity language.\\n */\\nlibrary Math {\\n /**\\n * @dev Muldiv operation overflow.\\n */\\n error MathOverflowedMulDiv();\\n\\n enum Rounding {\\n Floor, // Toward negative infinity\\n Ceil, // Toward positive infinity\\n Trunc, // Toward zero\\n Expand // Away from zero\\n }\\n\\n /**\\n * @dev Returns the addition of two unsigned integers, with an overflow flag.\\n */\\n function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n unchecked {\\n uint256 c = a + b;\\n if (c < a) return (false, 0);\\n return (true, c);\\n }\\n }\\n\\n /**\\n * @dev Returns the subtraction of two unsigned integers, with an overflow flag.\\n */\\n function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n unchecked {\\n if (b > a) return (false, 0);\\n return (true, a - b);\\n }\\n }\\n\\n /**\\n * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\\n */\\n function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n unchecked {\\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\\n // benefit is lost if 'b' is also tested.\\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\\n if (a == 0) return (true, 0);\\n uint256 c = a * b;\\n if (c / a != b) return (false, 0);\\n return (true, c);\\n }\\n }\\n\\n /**\\n * @dev Returns the division of two unsigned integers, with a division by zero flag.\\n */\\n function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n unchecked {\\n if (b == 0) return (false, 0);\\n return (true, a / b);\\n }\\n }\\n\\n /**\\n * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\\n */\\n function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n unchecked {\\n if (b == 0) return (false, 0);\\n return (true, a % b);\\n }\\n }\\n\\n /**\\n * @dev Returns the largest of two numbers.\\n */\\n function max(uint256 a, uint256 b) internal pure returns (uint256) {\\n return a > b ? a : b;\\n }\\n\\n /**\\n * @dev Returns the smallest of two numbers.\\n */\\n function min(uint256 a, uint256 b) internal pure returns (uint256) {\\n return a < b ? a : b;\\n }\\n\\n /**\\n * @dev Returns the average of two numbers. The result is rounded towards\\n * zero.\\n */\\n function average(uint256 a, uint256 b) internal pure returns (uint256) {\\n // (a + b) / 2 can overflow.\\n return (a & b) + (a ^ b) / 2;\\n }\\n\\n /**\\n * @dev Returns the ceiling of the division of two numbers.\\n *\\n * This differs from standard division with `/` in that it rounds towards infinity instead\\n * of rounding towards zero.\\n */\\n function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {\\n if (b == 0) {\\n // Guarantee the same behavior as in a regular Solidity division.\\n return a / b;\\n }\\n\\n // (a + b - 1) / b can overflow on addition, so we distribute.\\n return a == 0 ? 0 : (a - 1) / b + 1;\\n }\\n\\n /**\\n * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or\\n * denominator == 0.\\n * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by\\n * Uniswap Labs also under MIT license.\\n */\\n function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {\\n unchecked {\\n // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use\\n // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256\\n // variables such that product = prod1 * 2^256 + prod0.\\n uint256 prod0 = x * y; // Least significant 256 bits of the product\\n uint256 prod1; // Most significant 256 bits of the product\\n assembly {\\n let mm := mulmod(x, y, not(0))\\n prod1 := sub(sub(mm, prod0), lt(mm, prod0))\\n }\\n\\n // Handle non-overflow cases, 256 by 256 division.\\n if (prod1 == 0) {\\n // Solidity will revert if denominator == 0, unlike the div opcode on its own.\\n // The surrounding unchecked block does not change this fact.\\n // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.\\n return prod0 / denominator;\\n }\\n\\n // Make sure the result is less than 2^256. Also prevents denominator == 0.\\n if (denominator <= prod1) {\\n revert MathOverflowedMulDiv();\\n }\\n\\n ///////////////////////////////////////////////\\n // 512 by 256 division.\\n ///////////////////////////////////////////////\\n\\n // Make division exact by subtracting the remainder from [prod1 prod0].\\n uint256 remainder;\\n assembly {\\n // Compute remainder using mulmod.\\n remainder := mulmod(x, y, denominator)\\n\\n // Subtract 256 bit number from 512 bit number.\\n prod1 := sub(prod1, gt(remainder, prod0))\\n prod0 := sub(prod0, remainder)\\n }\\n\\n // Factor powers of two out of denominator and compute largest power of two divisor of denominator.\\n // Always >= 1. See https://cs.stackexchange.com/q/138556/92363.\\n\\n uint256 twos = denominator & (0 - denominator);\\n assembly {\\n // Divide denominator by twos.\\n denominator := div(denominator, twos)\\n\\n // Divide [prod1 prod0] by twos.\\n prod0 := div(prod0, twos)\\n\\n // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.\\n twos := add(div(sub(0, twos), twos), 1)\\n }\\n\\n // Shift in bits from prod1 into prod0.\\n prod0 |= prod1 * twos;\\n\\n // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such\\n // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for\\n // four bits. That is, denominator * inv = 1 mod 2^4.\\n uint256 inverse = (3 * denominator) ^ 2;\\n\\n // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also\\n // works in modular arithmetic, doubling the correct bits in each step.\\n inverse *= 2 - denominator * inverse; // inverse mod 2^8\\n inverse *= 2 - denominator * inverse; // inverse mod 2^16\\n inverse *= 2 - denominator * inverse; // inverse mod 2^32\\n inverse *= 2 - denominator * inverse; // inverse mod 2^64\\n inverse *= 2 - denominator * inverse; // inverse mod 2^128\\n inverse *= 2 - denominator * inverse; // inverse mod 2^256\\n\\n // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.\\n // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is\\n // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1\\n // is no longer required.\\n result = prod0 * inverse;\\n return result;\\n }\\n }\\n\\n /**\\n * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.\\n */\\n function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {\\n uint256 result = mulDiv(x, y, denominator);\\n if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) {\\n result += 1;\\n }\\n return result;\\n }\\n\\n /**\\n * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded\\n * towards zero.\\n *\\n * Inspired by Henry S. Warren, Jr.'s \\\"Hacker's Delight\\\" (Chapter 11).\\n */\\n function sqrt(uint256 a) internal pure returns (uint256) {\\n if (a == 0) {\\n return 0;\\n }\\n\\n // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.\\n //\\n // We know that the \\\"msb\\\" (most significant bit) of our target number `a` is a power of 2 such that we have\\n // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.\\n //\\n // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`\\n // \\u2192 `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`\\n // \\u2192 `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`\\n //\\n // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.\\n uint256 result = 1 << (log2(a) >> 1);\\n\\n // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,\\n // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at\\n // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision\\n // into the expected uint128 result.\\n unchecked {\\n result = (result + a / result) >> 1;\\n result = (result + a / result) >> 1;\\n result = (result + a / result) >> 1;\\n result = (result + a / result) >> 1;\\n result = (result + a / result) >> 1;\\n result = (result + a / result) >> 1;\\n result = (result + a / result) >> 1;\\n return min(result, a / result);\\n }\\n }\\n\\n /**\\n * @notice Calculates sqrt(a), following the selected rounding direction.\\n */\\n function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {\\n unchecked {\\n uint256 result = sqrt(a);\\n return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);\\n }\\n }\\n\\n /**\\n * @dev Return the log in base 2 of a positive value rounded towards zero.\\n * Returns 0 if given 0.\\n */\\n function log2(uint256 value) internal pure returns (uint256) {\\n uint256 result = 0;\\n unchecked {\\n if (value >> 128 > 0) {\\n value >>= 128;\\n result += 128;\\n }\\n if (value >> 64 > 0) {\\n value >>= 64;\\n result += 64;\\n }\\n if (value >> 32 > 0) {\\n value >>= 32;\\n result += 32;\\n }\\n if (value >> 16 > 0) {\\n value >>= 16;\\n result += 16;\\n }\\n if (value >> 8 > 0) {\\n value >>= 8;\\n result += 8;\\n }\\n if (value >> 4 > 0) {\\n value >>= 4;\\n result += 4;\\n }\\n if (value >> 2 > 0) {\\n value >>= 2;\\n result += 2;\\n }\\n if (value >> 1 > 0) {\\n result += 1;\\n }\\n }\\n return result;\\n }\\n\\n /**\\n * @dev Return the log in base 2, following the selected rounding direction, of a positive value.\\n * Returns 0 if given 0.\\n */\\n function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {\\n unchecked {\\n uint256 result = log2(value);\\n return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);\\n }\\n }\\n\\n /**\\n * @dev Return the log in base 10 of a positive value rounded towards zero.\\n * Returns 0 if given 0.\\n */\\n function log10(uint256 value) internal pure returns (uint256) {\\n uint256 result = 0;\\n unchecked {\\n if (value >= 10 ** 64) {\\n value /= 10 ** 64;\\n result += 64;\\n }\\n if (value >= 10 ** 32) {\\n value /= 10 ** 32;\\n result += 32;\\n }\\n if (value >= 10 ** 16) {\\n value /= 10 ** 16;\\n result += 16;\\n }\\n if (value >= 10 ** 8) {\\n value /= 10 ** 8;\\n result += 8;\\n }\\n if (value >= 10 ** 4) {\\n value /= 10 ** 4;\\n result += 4;\\n }\\n if (value >= 10 ** 2) {\\n value /= 10 ** 2;\\n result += 2;\\n }\\n if (value >= 10 ** 1) {\\n result += 1;\\n }\\n }\\n return result;\\n }\\n\\n /**\\n * @dev Return the log in base 10, following the selected rounding direction, of a positive value.\\n * Returns 0 if given 0.\\n */\\n function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {\\n unchecked {\\n uint256 result = log10(value);\\n return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);\\n }\\n }\\n\\n /**\\n * @dev Return the log in base 256 of a positive value rounded towards zero.\\n * Returns 0 if given 0.\\n *\\n * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.\\n */\\n function log256(uint256 value) internal pure returns (uint256) {\\n uint256 result = 0;\\n unchecked {\\n if (value >> 128 > 0) {\\n value >>= 128;\\n result += 16;\\n }\\n if (value >> 64 > 0) {\\n value >>= 64;\\n result += 8;\\n }\\n if (value >> 32 > 0) {\\n value >>= 32;\\n result += 4;\\n }\\n if (value >> 16 > 0) {\\n value >>= 16;\\n result += 2;\\n }\\n if (value >> 8 > 0) {\\n result += 1;\\n }\\n }\\n return result;\\n }\\n\\n /**\\n * @dev Return the log in base 256, following the selected rounding direction, of a positive value.\\n * Returns 0 if given 0.\\n */\\n function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {\\n unchecked {\\n uint256 result = log256(value);\\n return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);\\n }\\n }\\n\\n /**\\n * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.\\n */\\n function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {\\n return uint8(rounding) % 2 == 1;\\n }\\n}\\n\",\"keccak256\":\"0x005ec64c6313f0555d59e278f9a7a5ab2db5bdc72a027f255a37c327af1ec02d\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/math/SignedMath.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol)\\n\\npragma solidity ^0.8.20;\\n\\n/**\\n * @dev Standard signed math utilities missing in the Solidity language.\\n */\\nlibrary SignedMath {\\n /**\\n * @dev Returns the largest of two signed numbers.\\n */\\n function max(int256 a, int256 b) internal pure returns (int256) {\\n return a > b ? a : b;\\n }\\n\\n /**\\n * @dev Returns the smallest of two signed numbers.\\n */\\n function min(int256 a, int256 b) internal pure returns (int256) {\\n return a < b ? a : b;\\n }\\n\\n /**\\n * @dev Returns the average of two signed numbers without overflow.\\n * The result is rounded towards zero.\\n */\\n function average(int256 a, int256 b) internal pure returns (int256) {\\n // Formula from the book \\\"Hacker's Delight\\\"\\n int256 x = (a & b) + ((a ^ b) >> 1);\\n return x + (int256(uint256(x) >> 255) & (a ^ b));\\n }\\n\\n /**\\n * @dev Returns the absolute unsigned value of a signed value.\\n */\\n function abs(int256 n) internal pure returns (uint256) {\\n unchecked {\\n // must be unchecked in order to support `n = type(int256).min`\\n return uint256(n >= 0 ? n : -n);\\n }\\n }\\n}\\n\",\"keccak256\":\"0x5f7e4076e175393767754387c962926577f1660dd9b810187b9002407656be72\",\"license\":\"MIT\"},\"contracts/governance/locker/BaseLocker.sol\":{\"content\":\"// SPDX-License-Identifier: GPL-3.0\\n\\n// \\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2557 \\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2588\\u2557\\n// \\u2588\\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2557\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2557\\n// \\u2588\\u2588\\u2554\\u2588\\u2588\\u2588\\u2588\\u2554\\u2588\\u2588\\u2551\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2551\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2551\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2551\\n// \\u2588\\u2588\\u2551\\u255a\\u2588\\u2588\\u2554\\u255d\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2551\\n// \\u2588\\u2588\\u2551 \\u255a\\u2550\\u255d \\u2588\\u2588\\u2551\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\n// \\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\n\\n// Website: https://maha.xyz\\n// Discord: https://discord.gg/mahadao\\n// Twitter: https://twitter.com/mahaxyz_\\n\\npragma solidity 0.8.21;\\n\\nimport {ILocker} from \\\"../../interfaces/governance/ILocker.sol\\\";\\nimport {IOmnichainStaking} from \\\"../../interfaces/governance/IOmnichainStaking.sol\\\";\\nimport {\\n ERC721EnumerableUpgradeable,\\n IERC165\\n} from \\\"@openzeppelin/contracts-upgradeable/token/ERC721/extensions/ERC721EnumerableUpgradeable.sol\\\";\\nimport {ReentrancyGuardUpgradeable} from \\\"@openzeppelin/contracts-upgradeable/utils/ReentrancyGuardUpgradeable.sol\\\";\\nimport {IERC20} from \\\"@openzeppelin/contracts/interfaces/IERC20.sol\\\";\\nimport {OwnableUpgradeable} from \\\"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol\\\";\\n\\n/**\\n * @title Voting Escrow\\n * @author maha.xyz\\n * @notice Votes have a weight depending on time, so that users are\\n * committed to the future of (whatever they are voting for)\\n */\\nabstract contract BaseLocker is ReentrancyGuardUpgradeable, ERC721EnumerableUpgradeable, ILocker, OwnableUpgradeable {\\n uint256 internal WEEK;\\n uint256 internal MAXTIME;\\n uint256 public supply;\\n string public version;\\n uint8 public decimals;\\n\\n /// @dev Current count of token\\n uint256 internal tokenId;\\n IOmnichainStaking public staking;\\n\\n IERC20 internal _underlying;\\n mapping(uint256 => LockedBalance) internal _locked;\\n\\n function __BaseLocker_init(\\n string memory _name,\\n string memory _symbol,\\n address _token,\\n address _staking,\\n uint256 _maxTime\\n ) internal {\\n __ERC721_init(_name, _symbol);\\n __ReentrancyGuard_init();\\n __Ownable_init(msg.sender);\\n version = \\\"1.0.0\\\";\\n decimals = 18;\\n WEEK = 1 weeks;\\n MAXTIME = _maxTime;\\n staking = IOmnichainStaking(_staking);\\n _underlying = IERC20(_token);\\n _setApprovalForAll(address(this), _staking, true);\\n }\\n\\n /// @dev Interface identification is specified in ERC-165.\\n /// @param _interfaceID Id of the interface\\n function supportsInterface(\\n bytes4 _interfaceID\\n ) public view override (ERC721EnumerableUpgradeable, IERC165) returns (bool) {\\n return ERC721EnumerableUpgradeable.supportsInterface(_interfaceID);\\n }\\n\\n /// @notice Get timestamp when `_tokenId`'s lock finishes\\n /// @param _tokenId User NFT\\n /// @return Epoch time of the lock end\\n function lockedEnd(\\n uint256 _tokenId\\n ) external view returns (uint256) {\\n return _locked[_tokenId].end;\\n }\\n\\n function underlying() external view returns (IERC20) {\\n return _underlying;\\n }\\n\\n function locked(\\n uint256 _tokenId\\n ) external view returns (LockedBalance memory) {\\n return _locked[_tokenId];\\n }\\n\\n /// @dev Returns the voting power of the `_owner`.\\n /// Throws if `_owner` is the zero address. NFTs assigned to the zero address are considered invalid.\\n /// @param _owner Address for whom to query the voting power of.\\n function votingPowerOf(\\n address _owner\\n ) external view returns (uint256 _power) {\\n for (uint256 index = 0; index < balanceOf(_owner); index++) {\\n uint256 _tokenId = tokenOfOwnerByIndex(_owner, index);\\n _power += balanceOfNFT(_tokenId);\\n }\\n }\\n\\n function _calculatePower(\\n LockedBalance memory lock\\n ) internal view returns (uint256 power) {\\n power = ((lock.end - lock.start) * lock.amount) / MAXTIME;\\n }\\n\\n /// @notice Deposit and lock tokens for a user\\n /// @param _tokenId NFT that holds lock\\n /// @param _value Amount to deposit\\n /// @param _unlockTime New time when to unlock the tokens, or 0 if unchanged\\n /// @param _lock Previous locked amount / timestamp\\n /// @param _type The type of deposit\\n function _depositFor(\\n uint256 _tokenId,\\n uint256 _value,\\n uint256 _unlockTime,\\n LockedBalance memory _lock,\\n DepositType _type\\n ) internal virtual {\\n LockedBalance memory lock = _lock;\\n uint256 supplyBefore = supply;\\n supply = supplyBefore + _value;\\n LockedBalance memory oldLocked;\\n (oldLocked.amount, oldLocked.end, oldLocked.power) = (lock.amount, lock.end, lock.power);\\n // Adding to existing lock, or if a lock is expired - creating a new one\\n lock.amount += _value;\\n if (_unlockTime != 0) lock.end = _unlockTime;\\n if (_type == DepositType.CREATE_LOCK_TYPE) lock.start = block.timestamp;\\n lock.power = _calculatePower(lock);\\n _locked[_tokenId] = lock;\\n // Possibilities:\\n // Both oldLocked.end could be current or expired (>/< block.timestamp)\\n // value == 0 (extend lock) or value > 0 (add to lock or extend lock)\\n // _locked.end > block.timestamp (always)\\n if (_value != 0 && _type != DepositType.MERGE_TYPE) {\\n assert(_underlying.transferFrom(msg.sender, address(this), _value));\\n }\\n emit Deposit(msg.sender, _tokenId, _value, lock.end, _type, block.timestamp);\\n emit Supply(supplyBefore, supplyBefore + _value);\\n emit LockUpdated(lock, _tokenId, msg.sender);\\n }\\n\\n function merge(uint256 _from, uint256 _to) external override {\\n require(_from != _to, \\\"same nft\\\");\\n require(_isAuthorized(ownerOf(_from), msg.sender, _from), \\\"from not approved\\\");\\n require(_isAuthorized(ownerOf(_to), msg.sender, _to), \\\"to not approved\\\");\\n LockedBalance memory _locked0 = _locked[_from];\\n LockedBalance memory _locked1 = _locked[_to];\\n uint256 value0 = uint256(int256(_locked0.amount));\\n uint256 end = _locked0.end >= _locked1.end ? _locked0.end : _locked1.end;\\n _locked[_from] = LockedBalance(0, 0, 0, 0);\\n _burn(_from);\\n _depositFor(_to, value0, end, _locked1, DepositType.MERGE_TYPE);\\n }\\n\\n /// @notice Deposit `_value` tokens for `_tokenId` and add to the lock\\n /// @dev Anyone (even a smart contract) can deposit for someone else, but\\n /// cannot extend their locktime and deposit for a brand new user\\n /// @param _tokenId lock NFT\\n /// @param _value Amount to add to user's lock\\n function depositFor(uint256 _tokenId, uint256 _value) external override nonReentrant {\\n LockedBalance memory __locked = _locked[_tokenId];\\n require(_value > 0, \\\"value = 0\\\"); // dev: need non-zero value\\n require(__locked.amount > 0, \\\"No existing lock found\\\");\\n require(__locked.end > block.timestamp, \\\"Cannot add to expired lock.\\\");\\n _depositFor(_tokenId, _value, 0, __locked, DepositType.DEPOSIT_FOR_TYPE);\\n }\\n\\n /// @notice Deposit `_value` tokens for `_to` and lock for `_lockDuration`\\n /// @param _value Amount to deposit\\n /// @param _lockDuration Number of seconds to lock tokens for (rounded down to nearest week)\\n /// @param _to Address to deposit\\n function createLockFor(\\n uint256 _value,\\n uint256 _lockDuration,\\n address _to,\\n bool _stakeNFT\\n ) external override nonReentrant returns (uint256) {\\n return _createLock(_value, _lockDuration, _to, _stakeNFT);\\n }\\n\\n /// @notice Deposit `_value` tokens for `msg.sender` and lock for `_lockDuration`\\n /// @param _value Amount to deposit\\n /// @param _lockDuration Number of seconds to lock tokens for (rounded down to nearest week)\\n /// @param _stakeNFT Should we also stake the NFT as well?\\n function createLock(\\n uint256 _value,\\n uint256 _lockDuration,\\n bool _stakeNFT\\n ) external override nonReentrant returns (uint256) {\\n return _createLock(_value, _lockDuration, msg.sender, _stakeNFT);\\n }\\n\\n /// @notice Deposit `_value` additional tokens for `_tokenId` without modifying the unlock time\\n /// @param _value Amount of tokens to deposit and add to the lock\\n function increaseAmount(uint256 _tokenId, uint256 _value) external nonReentrant {\\n require(_isAuthorized(_ownerOf(_tokenId), msg.sender, _tokenId), \\\"caller is not owner nor approved\\\");\\n LockedBalance memory __locked = _locked[_tokenId];\\n assert(_value > 0); // dev: need non-zero value\\n require(__locked.amount > 0, \\\"No existing lock found\\\");\\n require(__locked.end > block.timestamp, \\\"Cannot add to expired lock.\\\");\\n _depositFor(_tokenId, _value, 0, __locked, DepositType.INCREASE_LOCK_AMOUNT);\\n }\\n\\n /// @notice Extend the unlock time for `_tokenId`\\n /// @param _lockDuration New number of seconds until tokens unlock\\n function increaseUnlockTime(uint256 _tokenId, uint256 _lockDuration) external nonReentrant {\\n require(_isAuthorized(ownerOf(_tokenId), msg.sender, _tokenId), \\\"caller is not owner nor approved\\\");\\n LockedBalance memory __locked = _locked[_tokenId];\\n uint256 unlockTime = ((block.timestamp + _lockDuration) / WEEK) * WEEK; // Locktime is rounded down to weeks\\n require(__locked.end > block.timestamp, \\\"Lock expired\\\");\\n require(__locked.amount > 0, \\\"Nothing is locked\\\");\\n require(unlockTime > __locked.end, \\\"Can only increase lock duration\\\");\\n require(unlockTime <= block.timestamp + MAXTIME, \\\"Voting lock can be 4 years max\\\");\\n require(unlockTime <= __locked.start + MAXTIME, \\\"Voting lock can be 4 years max\\\");\\n _depositFor(_tokenId, 0, unlockTime, __locked, DepositType.INCREASE_UNLOCK_TIME);\\n }\\n\\n /// @notice Withdraw all tokens for `_tokenId`\\n /// @dev Only possible if the lock has expired\\n function withdraw(\\n uint256 _tokenId\\n ) public virtual nonReentrant {\\n require(_isAuthorized(ownerOf(_tokenId), msg.sender, _tokenId), \\\"caller is not owner nor approved\\\");\\n LockedBalance memory __locked = _locked[_tokenId];\\n require(block.timestamp >= __locked.end, \\\"The lock didn't expire\\\");\\n uint256 value = uint256(int256(__locked.amount));\\n _locked[_tokenId] = LockedBalance(0, 0, 0, 0);\\n uint256 supplyBefore = supply;\\n supply = supplyBefore - value;\\n assert(_underlying.transfer(msg.sender, value));\\n\\n // Burn the NFT\\n _burn(_tokenId);\\n emit Withdraw(msg.sender, _tokenId, value, block.timestamp);\\n emit Supply(supplyBefore, supplyBefore - value);\\n }\\n\\n function withdraw(\\n uint256[] calldata _tokenIds\\n ) external nonReentrant {\\n uint256 nftCount = _tokenIds.length;\\n for (uint256 i = 0; i < nftCount;) {\\n withdraw(_tokenIds[i]);\\n unchecked {\\n ++i;\\n }\\n }\\n }\\n\\n function withdraw(\\n address _user\\n ) external nonReentrant {\\n uint256 nftCount = balanceOf(_user);\\n for (uint256 i = 0; i < nftCount;) {\\n uint256 tokenId_ = tokenOfOwnerByIndex(_user, i);\\n withdraw(tokenId_);\\n unchecked {\\n ++i;\\n }\\n }\\n }\\n\\n /// @notice Deposit `_value` tokens for `_to` and lock for `_lockDuration`\\n /// @param _value Amount to deposit\\n /// @param _lockDuration Number of seconds to lock tokens for (rounded down to nearest week)\\n /// @param _to Address to deposit\\n /// @param _stakeNFT should we stake into the staking contract\\n function _createLock(uint256 _value, uint256 _lockDuration, address _to, bool _stakeNFT) internal returns (uint256) {\\n uint256 unlockTime = ((block.timestamp + _lockDuration) / WEEK) * WEEK; // Locktime is rounded down to weeks\\n require(_value > 0, \\\"value = 0\\\"); // dev: need non-zero value\\n require(unlockTime > block.timestamp, \\\"Can only lock in the future\\\");\\n require(unlockTime <= block.timestamp + MAXTIME, \\\"Voting lock can be 4 years max\\\");\\n ++tokenId;\\n uint256 _tokenId = tokenId;\\n _depositFor(_tokenId, _value, unlockTime, _locked[_tokenId], DepositType.CREATE_LOCK_TYPE);\\n // if the user wants to stake the NFT then we mint to the contract and\\n // stake on behalf of the user\\n if (_stakeNFT) {\\n _mint(address(this), _tokenId);\\n bytes memory data = abi.encode(_stakeNFT, _to, _lockDuration);\\n this.safeTransferFrom(address(this), address(staking), _tokenId, data);\\n } else {\\n _mint(_to, _tokenId);\\n }\\n return _tokenId;\\n }\\n\\n function balanceOfNFT(\\n uint256 _tokenId\\n ) public view returns (uint256) {\\n return _locked[_tokenId].power;\\n }\\n\\n function tokenURI(\\n uint256\\n ) public view virtual override returns (string memory) {\\n // todo\\n return \\\"\\\";\\n }\\n\\n function migrateLock(\\n uint256 _tokenId,\\n uint256 _value,\\n uint256 _start,\\n uint256 _end,\\n address _who,\\n bool _stakeNFT\\n ) public onlyOwner returns (uint256) {\\n require(_value > 0, \\\"value = 0\\\");\\n require(_end > _start && _start > 0, \\\"Invalid duration\\\");\\n\\n tokenId = _tokenId;\\n supply += _value;\\n LockedBalance memory lock = _locked[_tokenId];\\n lock.amount += _value;\\n lock.end = _end;\\n lock.start = _start;\\n lock.power = _calculatePower(lock);\\n _locked[_tokenId] = lock;\\n\\n if (_stakeNFT) {\\n _mint(address(this), _tokenId);\\n bytes memory data = abi.encode(_stakeNFT, _who, _end-_start);\\n this.safeTransferFrom(address(this), address(staking), _tokenId, data);\\n } else {\\n _mint(_who, _tokenId);\\n }\\n return _tokenId;\\n }\\n\\n function migrateLocks(\\n uint256[] memory _tokenId,\\n uint256[] memory _value,\\n uint256[] memory _start,\\n uint256[] memory _end,\\n address[] memory _who,\\n bool[] memory _stakeNFT\\n ) external onlyOwner {\\n for (uint256 i = 0; i < _value.length; i++) {\\n migrateLock(_tokenId[i], _value[i], _start[i], _end[i], _who[i], _stakeNFT[i]);\\n }\\n }\\n \\n}\\n\",\"keccak256\":\"0x2e23cfc9ef1d9bec1d8867a7e305277bf9aace62335821781334973496d06f54\",\"license\":\"GPL-3.0\"},\"contracts/governance/locker/LockerToken.sol\":{\"content\":\"// SPDX-License-Identifier: GPL-3.0\\n\\n// \\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2557 \\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2588\\u2557\\n// \\u2588\\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2557\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2557\\n// \\u2588\\u2588\\u2554\\u2588\\u2588\\u2588\\u2588\\u2554\\u2588\\u2588\\u2551\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2551\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2551\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2551\\n// \\u2588\\u2588\\u2551\\u255a\\u2588\\u2588\\u2554\\u255d\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2551\\n// \\u2588\\u2588\\u2551 \\u255a\\u2550\\u255d \\u2588\\u2588\\u2551\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\n// \\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\n\\n// Website: https://maha.xyz\\n// Discord: https://discord.gg/mahadao\\n// Twitter: https://twitter.com/mahaxyz_\\n\\npragma solidity 0.8.21;\\n\\nimport {BaseLocker} from \\\"./BaseLocker.sol\\\";\\n\\ncontract LockerToken is BaseLocker {\\n function initialize(address _token, address _staking) external initializer {\\n __BaseLocker_init(\\\"Locked MAHA Tokens\\\", \\\"MAHAX\\\", _token, _staking, 4 * 365 * 86_400);\\n }\\n\\n /// @notice Update the start date of a lock\\n /// @param _id The lock id\\n /// @param _startDate The new start date\\n /// @dev This function can only be called by the staking contract\\n function updateLockDates(uint256 _id, uint256 _startDate, uint256 _endDate) external {\\n require(msg.sender == address(staking), \\\"!_staking\\\");\\n _locked[_id].start = _startDate;\\n _locked[_id].end = _endDate;\\n _locked[_id].power = _calculatePower(_locked[_id]);\\n }\\n}\\n\",\"keccak256\":\"0x1e681df58bb78bab2249293cb6c9cd59e85e0a373eee85d4f64398b7f3a08999\",\"license\":\"GPL-3.0\"},\"contracts/interfaces/core/IMultiTokenRewards.sol\":{\"content\":\"// SPDX-License-Identifier: GPL-3.0\\n\\n// \\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2557 \\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2588\\u2557\\n// \\u2588\\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2557\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2557\\n// \\u2588\\u2588\\u2554\\u2588\\u2588\\u2588\\u2588\\u2554\\u2588\\u2588\\u2551\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2551\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2551\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2551\\n// \\u2588\\u2588\\u2551\\u255a\\u2588\\u2588\\u2554\\u255d\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2551\\n// \\u2588\\u2588\\u2551 \\u255a\\u2550\\u255d \\u2588\\u2588\\u2551\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\n// \\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\n\\n// Website: https://maha.xyz\\n// Discord: https://discord.gg/mahadao\\n// Twitter: https://twitter.com/mahaxyz_\\n\\npragma solidity 0.8.21;\\n\\nimport {IERC20} from \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\n\\n/**\\n * @title IMultiTokenRewards\\n * @author maha.xyz\\n * @notice This interface is used to interact with a staking contract that gives multiple rewards\\n */\\ninterface IMultiTokenRewards {\\n event RewardAdded(IERC20 indexed reward, uint256 indexed amount, address caller);\\n event RewardClaimed(IERC20 indexed reward, uint256 indexed amount, address indexed who, address caller);\\n\\n /**\\n * @notice Gets the period finish for a reward token\\n * @param reward The token for which the period finish is requested\\n */\\n function periodFinish(IERC20 reward) external view returns (uint256);\\n\\n /**\\n * @notice Reward per second given to the staking contract, split among the staked tokens\\n * @param reward The token for which the reward rate is requested\\n */\\n function rewardRate(IERC20 reward) external view returns (uint256);\\n\\n /**\\n * @notice Duration of the reward distribution\\n */\\n function rewardsDuration() external view returns (uint256);\\n\\n /**\\n * @notice Last time `rewardPerTokenStored` was updated\\n * @param reward The token for which the last update time is requested\\n */\\n function lastUpdateTime(IERC20 reward) external view returns (uint256);\\n\\n /**\\n * @notice Helps to compute the amount earned by someone.\\n * Cumulates rewards accumulated for one token since the beginning.\\n * Stored as a uint so it is actually a float times the base of the reward token\\n * @param reward The token for which the rewards are stored\\n */\\n function rewardPerTokenStored(IERC20 reward) external view returns (uint256);\\n\\n /**\\n * Stores for each account the `rewardPerToken`: we do the difference\\n * between the current and the old value to compute what has been earned by an account\\n * @param reward The token for which the rewards are stored\\n * @param who The account for which the rewards are stored\\n */\\n function userRewardPerTokenPaid(IERC20 reward, address who) external view returns (uint256);\\n\\n /**\\n * @notice Stores for each account the accumulated rewards\\n * @param reward The token for which the rewards are stored\\n * @param who The account for which the rewards are stored\\n */\\n function rewards(IERC20 reward, address who) external view returns (uint256);\\n\\n /**\\n * @notice Gets the second reward token for which the rewards are distributed\\n */\\n function rewardToken2() external view returns (IERC20);\\n\\n /**\\n * @notice Gets the first reward token for which the rewards are distributed\\n */\\n function rewardToken1() external view returns (IERC20);\\n\\n /**\\n * @notice Updates the rewards for an account\\n * @param token The token for which the rewards are updated\\n * @param who The account for which the rewards are updated\\n */\\n function updateRewards(IERC20 token, address who) external;\\n\\n /**\\n * @notice Queries the last timestamp at which a reward was distributed\\n * @dev Returns the current timestamp if a reward is being distributed and the end of the staking\\n * period if staking is done\\n * @param token The token for which the last time reward applicable is requested\\n */\\n function lastTimeRewardApplicable(IERC20 token) external view returns (uint256);\\n\\n /**\\n * @notice Used to actualize the `rewardPerTokenStored`\\n * @dev It adds to the reward per token: the time elapsed since the `rewardPerTokenStored` was\\n * last updated multiplied by the `rewardRate` divided by the number of tokens\\n * @param token The token for which the reward per token is updated\\n */\\n function rewardPerToken(IERC20 token) external view returns (uint256);\\n\\n /**\\n * @notice Returns how much a given account earned rewards\\n * @param token The token for which the rewards are earned\\n * @param account The account for which the rewards are earned\\n * @return How much a given account earned rewards\\n * @dev It adds to the rewards the amount of reward earned since last time that is the difference\\n * in reward per token from now and last time multiplied by the number of tokens staked by the person\\n */\\n function earned(IERC20 token, address account) external view returns (uint256);\\n\\n /**\\n * @notice Triggers a payment of the reward earned to the msg.sender\\n * @param who The account for which the rewards are paid\\n * @param token The token for which the rewards are paid\\n */\\n function getReward(address who, IERC20 token) external;\\n\\n /**\\n * @notice Adds rewards to be distributed\\n * @param token The token for which the rewards are added\\n * @param reward Amount of reward tokens to distribute\\n */\\n function notifyRewardAmount(IERC20 token, uint256 reward) external;\\n\\n /**\\n * @notice Triggers a payment of the rewards earned for both tokens\\n * @param who The account for which the rewards are paid\\n */\\n function getRewardDual(address who) external;\\n}\\n\",\"keccak256\":\"0x7f2b4a90cd467d74092bfa2a4770626281d7d7a05184f4b1b1bd94898ad9e9a7\",\"license\":\"GPL-3.0\"},\"contracts/interfaces/governance/ILocker.sol\":{\"content\":\"// SPDX-License-Identifier: GPL-3.0\\n\\n// \\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2557 \\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2588\\u2557\\n// \\u2588\\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2557\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2557\\n// \\u2588\\u2588\\u2554\\u2588\\u2588\\u2588\\u2588\\u2554\\u2588\\u2588\\u2551\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2551\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2551\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2551\\n// \\u2588\\u2588\\u2551\\u255a\\u2588\\u2588\\u2554\\u255d\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2551\\n// \\u2588\\u2588\\u2551 \\u255a\\u2550\\u255d \\u2588\\u2588\\u2551\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\n// \\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\n\\n// Website: https://maha.xyz\\n// Discord: https://discord.gg/mahadao\\n// Twitter: https://twitter.com/mahaxyz_\\n\\npragma solidity 0.8.21;\\n\\nimport {IERC20} from \\\"@openzeppelin/contracts/interfaces/IERC20.sol\\\";\\nimport {IERC721Enumerable} from \\\"@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol\\\";\\n\\n/// @title ILocker Interface\\n/// @notice Interface for a contract that handles locking ERC20 tokens in exchange for NFT representations\\ninterface ILocker is IERC721Enumerable {\\n /**\\n * @notice Structure to store locked balance information\\n * @param amount Amount of tokens locked\\n * @param end End time of the lock period (timestamp)\\n * @param start Start time of the lock period (timestamp)\\n * @param power Additional parameter, potentially for governance or staking power\\n */\\n struct LockedBalance {\\n uint256 amount;\\n uint256 end;\\n uint256 start;\\n uint256 power;\\n }\\n\\n enum DepositType {\\n DEPOSIT_FOR_TYPE,\\n CREATE_LOCK_TYPE,\\n INCREASE_LOCK_AMOUNT,\\n INCREASE_UNLOCK_TIME,\\n MERGE_TYPE\\n }\\n\\n /**\\n * @notice Get the balance associated with an NFT\\n * @param _tokenId The NFT ID\\n * @return The balance of the NFT\\n */\\n function balanceOfNFT(uint256 _tokenId) external view returns (uint256);\\n\\n /**\\n * @notice Get the underlying ERC20 token\\n * @return The ERC20 token contract\\n */\\n function underlying() external view returns (IERC20);\\n\\n /**\\n * @notice Get the locked balance details of an NFT\\n * @param _tokenId The NFT ID\\n * @return The LockedBalance struct containing lock details\\n */\\n function locked(uint256 _tokenId) external view returns (LockedBalance memory);\\n\\n /**\\n * @notice Get the end time of the lock for a specific NFT\\n * @param _tokenId The NFT ID\\n * @return The end time of the lock period (timestamp)\\n */\\n function lockedEnd(uint256 _tokenId) external view returns (uint256);\\n\\n /**\\n * @notice Get the voting power of a specific address\\n * @param _owner The address of the owner\\n * @return _power The voting power of the owner\\n */\\n function votingPowerOf(address _owner) external view returns (uint256 _power);\\n\\n /**\\n * @notice Merge two NFTs into one\\n * @param _from The ID of the NFT to merge from\\n * @param _to The ID of the NFT to merge into\\n */\\n function merge(uint256 _from, uint256 _to) external;\\n\\n /**\\n * @notice Deposit tokens for a specific NFT\\n * @param _tokenId The ID of the NFT\\n * @param _value The amount of tokens to deposit\\n */\\n function depositFor(uint256 _tokenId, uint256 _value) external;\\n\\n /**\\n * @notice Create a lock for a specified amount and duration\\n * @param _value The amount of tokens to lock\\n * @param _lockDuration The lock duration in seconds\\n * @param _stakeNFT Whether the NFT should be staked\\n * @return The ID of the created NFT\\n */\\n function createLock(uint256 _value, uint256 _lockDuration, bool _stakeNFT) external returns (uint256);\\n\\n /**\\n * @notice Increase the amount of tokens locked in a specific NFT\\n * @param _tokenId The ID of the NFT\\n * @param _value The additional amount of tokens to lock\\n */\\n function increaseAmount(uint256 _tokenId, uint256 _value) external;\\n\\n /**\\n * @notice Extend the unlock time for an NFT\\n * @param _lockDuration New number of seconds until tokens unlock\\n */\\n function increaseUnlockTime(uint256 _tokenId, uint256 _lockDuration) external;\\n\\n /**\\n * @notice Create a lock for a specified amount, duration, and recipient\\n * @param _value The amount of tokens to lock\\n * @param _lockDuration The lock duration in seconds\\n * @param _to The address to receive the NFT\\n * @param _stakeNFT Whether the NFT should be staked\\n * @return The ID of the created NFT\\n */\\n function createLockFor(uint256 _value, uint256 _lockDuration, address _to, bool _stakeNFT) external returns (uint256);\\n\\n /**\\n * @notice Withdraw tokens from a specific NFT\\n * @param _tokenId The ID of the NFT\\n */\\n function withdraw(uint256 _tokenId) external;\\n\\n /**\\n * @notice Withdraw tokens from multiple NFTs\\n * @param _tokenIds An array of NFT IDs\\n */\\n function withdraw(uint256[] calldata _tokenIds) external;\\n\\n /**\\n * @notice Withdraw tokens for a specific user\\n * @param _user The address of the user\\n */\\n function withdraw(address _user) external;\\n\\n event Deposit(\\n address indexed provider,\\n uint256 tokenId,\\n uint256 value,\\n uint256 indexed locktime,\\n DepositType deposit_type,\\n uint256 ts\\n );\\n\\n event Withdraw(address indexed provider, uint256 tokenId, uint256 value, uint256 ts);\\n event Supply(uint256 prevSupply, uint256 supply);\\n\\n event LockUpdated(LockedBalance indexed lock, uint256 indexed tokenId, address caller);\\n event TokenAddressSet(address indexed oldToken, address indexed newToken);\\n event StakingAddressSet(address indexed oldStaking, address indexed newStaking);\\n event StakingBonusAddressSet(address indexed oldStakingBonus, address indexed newStakingBonus);\\n}\\n\",\"keccak256\":\"0x1c66de6f0382c7a608e61e8dee6d4cc1fae47020efe245197d5fe556e614b4e0\",\"license\":\"GPL-3.0\"},\"contracts/interfaces/governance/IOmnichainStaking.sol\":{\"content\":\"// SPDX-License-Identifier: AGPL-3.0-or-later\\npragma solidity ^0.8.20;\\n\\n// \\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2557\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2557\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2557\\n// \\u255a\\u2550\\u2550\\u2588\\u2588\\u2588\\u2554\\u255d\\u2588\\u2588\\u2554\\u2550\\u2550\\u2550\\u2550\\u255d\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2557\\u2588\\u2588\\u2554\\u2550\\u2550\\u2550\\u2588\\u2588\\u2557\\n// \\u2588\\u2588\\u2588\\u2554\\u255d \\u2588\\u2588\\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2554\\u255d\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\n// \\u2588\\u2588\\u2588\\u2554\\u255d \\u2588\\u2588\\u2554\\u2550\\u2550\\u255d \\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2557\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\n// \\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2557\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2557\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\u255a\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2554\\u255d\\n// \\u255a\\u2550\\u2550\\u2550\\u2550\\u2550\\u2550\\u255d\\u255a\\u2550\\u2550\\u2550\\u2550\\u2550\\u2550\\u255d\\u255a\\u2550\\u255d \\u255a\\u2550\\u255d \\u255a\\u2550\\u2550\\u2550\\u2550\\u2550\\u255d\\n\\n// Website: https://zerolend.xyz\\n// Discord: https://discord.gg/zerolend\\n// Twitter: https://twitter.com/zerolendxyz\\n\\nimport {IVotes} from \\\"@openzeppelin/contracts/governance/utils/IVotes.sol\\\";\\n\\nimport {IERC20, IMultiTokenRewards} from \\\"../core/IMultiTokenRewards.sol\\\";\\nimport {ILocker} from \\\"./ILocker.sol\\\";\\n\\n/**\\n * @title OmnichainStaking interface\\n * @author maha.xyz\\n * @notice An omni-chain staking contract that allows users to stake their veNFT and get some\\n * voting power. Once staked the voting power is available cross-chain.\\n */\\ninterface IOmnichainStaking is IMultiTokenRewards, IVotes {\\n event LpOracleSet(address indexed oldLpOracle, address indexed newLpOracle);\\n event ZeroAggregatorSet(address indexed oldZeroAggregator, address indexed newZeroAggregator);\\n event Recovered(address token, uint256 amount);\\n event RewardsDurationUpdated(uint256 newDuration);\\n event TokenLockerUpdated(address previousLocker, address _tokenLocker);\\n event RewardsTokenUpdated(address previousToken, address _zeroToken);\\n event PoolVoterUpdated(address previousVoter, address _poolVoter);\\n\\n error InvalidUnstaker(address, address);\\n\\n /**\\n * @notice The address of the rewards distributor.\\n */\\n function distributor() external view returns (address);\\n\\n /**\\n * @notice The address of the WETH token.\\n */\\n function weth() external view returns (IERC20);\\n\\n /**\\n * @notice The address of the locker contract.\\n */\\n function locker() external view returns (ILocker);\\n\\n /**\\n * @notice How much voting power a given NFT ID has.\\n * @param id The ID of the NFT.\\n */\\n function power(uint256 id) external view returns (uint256);\\n\\n /**\\n * @notice used to keep track of ownership of token lockers\\n * @param id The ID of the NFT.\\n */\\n function lockedByToken(uint256 id) external view returns (address);\\n\\n /**\\n * @notice Gets the details of locked NFTs for a given user.\\n * @param _user The address of the user.\\n * @return lockedTokenIds The array of locked NFT IDs.\\n * @return tokenDetails The array of locked NFT details.\\n */\\n function getLockedNftDetails(address _user) external view returns (uint256[] memory, ILocker.LockedBalance[] memory);\\n\\n /**\\n * @notice Receives an ERC721 token from the lockers and grants voting power accordingly.\\n * @param from The address sending the ERC721 token.\\n * @param tokenId The ID of the ERC721 token.\\n * @param data Additional data.\\n * @return ERC721 onERC721Received selector.\\n */\\n function onERC721Received(address to, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);\\n\\n /**\\n * @notice Unstakes a regular token NFT and transfers it back to the user.\\n * @param tokenId The ID of the regular token NFT to unstake.\\n */\\n function unstakeToken(uint256 tokenId) external;\\n\\n /**\\n * @notice Updates the lock duration for a specific NFT.\\n * @param tokenId The ID of the NFT for which to update the lock duration.\\n * @param newLockDuration The new lock duration in seconds.\\n */\\n function increaseLockDuration(uint256 tokenId, uint256 newLockDuration) external;\\n\\n /**\\n * @notice Updates the lock amount for a specific NFT.\\n * @param tokenId The ID of the NFT for which to update the lock amount.\\n * @param newLockAmount The new lock amount in tokens.\\n */\\n function increaseLockAmount(uint256 tokenId, uint256 newLockAmount) external;\\n\\n /**\\n * @notice Returns how much max voting power this locker will give out for the\\n * given amount of tokens. This varies for the instance of locker.\\n * @param amount The amount of tokens to give voting power for.\\n */\\n function getTokenPower(uint256 amount) external view returns (uint256 _power);\\n\\n /**\\n * @notice The total number of NFTs staked in this contract for a user\\n * @param who The address of the user.\\n */\\n function totalNFTStaked(address who) external view returns (uint256);\\n\\n /**\\n * @dev Admin function to recover ERC20 tokens sent to this contract.\\n * @param tokenAddress The address of the ERC20 token to recover.\\n * @param tokenAmount The amount of tokens to recover.\\n */\\n function recoverERC20(address tokenAddress, uint256 tokenAmount) external;\\n\\n /**\\n * Admin only function to set the rewards distributor\\n * @param what The new address for the rewards distributor\\n */\\n function setRewardDistributor(address what) external;\\n\\n /**\\n * @notice This is an ETH variant of the get rewards function. It unwraps the token and sends out\\n * raw ETH to the user.\\n */\\n function getRewardETH(address who) external;\\n\\n /**\\n * @notice The total number of votes in this contract\\n */\\n function totalVotes() external view returns (uint256);\\n}\\n\",\"keccak256\":\"0x9a13acd6c0ce0f5acb810e564f7dc19da02e58ff7ff99b4c7c831345b1b5c6e1\",\"license\":\"AGPL-3.0-or-later\"}},\"version\":1}", + "bytecode": "0x608060405234801561001057600080fd5b50613ab8806100206000396000f3fe608060405234801561001057600080fd5b50600436106102d35760003560e01c8063626944df11610186578063a22cb465116100e3578063c87b56dd11610097578063e7e242d411610071578063e7e242d41461064a578063e985e9c51461066d578063f2fde38b146106c857600080fd5b8063c87b56dd14610603578063d1c2babb14610624578063d60371a71461063757600080fd5b8063b45a3c0e116100c8578063b45a3c0e14610597578063b88d4fde146105dd578063bcc3f3bd146105f057600080fd5b8063a22cb46514610571578063b2383e551461058457600080fd5b80638da5cb5b1161013a578063983d95ce1161011f578063983d95ce146105385780639d507b8b1461054b578063a0b87f3e1461055e57600080fd5b80638da5cb5b1461050057806395d89b411461053057600080fd5b80636f307dc31161016b5780636f307dc3146104d457806370a08231146104e5578063715018a6146104f857600080fd5b8063626944df1461049e5780636352211e146104c157600080fd5b80632e1a7d4d11610234578063485cc955116101e85780634f6ccce7116101cd5780634f6ccce71461047057806351cff8d91461048357806354fd4d501461049657600080fd5b8063485cc9551461044a5780634cf088d91461045d57600080fd5b8063313ce56711610219578063313ce567146104055780633cd9b85d1461042457806342842e0e1461043757600080fd5b80632e1a7d4d146103df5780632f745c59146103f257600080fd5b8063095ea7b31161028b5780630ec84dda116102705780630ec84dda1461039257806318160ddd146103a557806323b872dd146103cc57600080fd5b8063095ea7b31461036c5780630a2abdb31461037f57600080fd5b8063047fc9aa116102bc578063047fc9aa1461031557806306fdde031461032c578063081812fc1461034157600080fd5b8063018e0f80146102d857806301ffc9a7146102ed575b600080fd5b6102eb6102e63660046132d3565b6106db565b005b6103006102fb3660046133de565b6107af565b60405190151581526020015b60405180910390f35b61031e60025481565b60405190815260200161030c565b6103346107c0565b60405161030c9190613441565b61035461034f366004613454565b610876565b6040516001600160a01b03909116815260200161030c565b6102eb61037a36600461346d565b6108be565b61031e61038d366004613497565b6108cd565b6102eb6103a03660046134df565b610916565b7f645e039705490088daad89bae25049a34f4a9072d398537b1ab2425f24cbed025461031e565b6102eb6103da366004613501565b610a77565b6102eb6103ed366004613454565b610b1b565b61031e61040036600461346d565b610dc5565b6004546104129060ff1681565b60405160ff909116815260200161030c565b61031e61043236600461353d565b610e4b565b6102eb610445366004613501565b611081565b6102eb610458366004613599565b6110a1565b600654610354906001600160a01b031681565b61031e61047e366004613454565b611250565b6102eb6104913660046135cc565b6112ec565b610334611357565b61031e6104ac366004613454565b60009081526008602052604090206001015490565b6103546104cf366004613454565b6113e5565b6007546001600160a01b0316610354565b61031e6104f33660046135cc565b6113f0565b6102eb611477565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300546001600160a01b0316610354565b61033461148b565b6102eb6105463660046135e7565b6114dc565b6102eb6105593660046134df565b611544565b6102eb61056c36600461365c565b6117cf565b6102eb61057f366004613688565b61188f565b6102eb6105923660046134df565b61189a565b6105aa6105a5366004613454565b611a2c565b60405161030c91908151815260208083015190820152604080830151908201526060918201519181019190915260800190565b6102eb6105eb3660046136bf565b611a9c565b61031e6105fe3660046135cc565b611ab3565b610334610611366004613454565b5060408051602081019091526000815290565b6102eb6106323660046134df565b611b0e565b61031e61064536600461377f565b611d10565b61031e610658366004613454565b60009081526008602052604090206003015490565b61030061067b366004613599565b6001600160a01b0391821660009081527f80bb2b638cc20bc4d0a60d66940f3ab4a00c1d7b313497ca82fb0b4ab00793056020908152604080832093909416825291909152205460ff1690565b6102eb6106d63660046135cc565b611d58565b6106e3611dac565b60005b85518110156107a657610793878281518110610704576107046137b8565b602002602001015187838151811061071e5761071e6137b8565b6020026020010151878481518110610738576107386137b8565b6020026020010151878581518110610752576107526137b8565b602002602001015187868151811061076c5761076c6137b8565b6020026020010151878781518110610786576107866137b8565b6020026020010151610e4b565b508061079e816137e4565b9150506106e6565b50505050505050565b60006107ba82611e20565b92915050565b7f80bb2b638cc20bc4d0a60d66940f3ab4a00c1d7b313497ca82fb0b4ab007930080546060919081906107f2906137fd565b80601f016020809104026020016040519081016040528092919081815260200182805461081e906137fd565b801561086b5780601f106108405761010080835404028352916020019161086b565b820191906000526020600020905b81548152906001019060200180831161084e57829003601f168201915b505050505091505090565b600061088182611e5e565b5060008281527f80bb2b638cc20bc4d0a60d66940f3ab4a00c1d7b313497ca82fb0b4ab007930460205260409020546001600160a01b03166107ba565b6108c9828233611eb6565b5050565b60006108d7611ec3565b6108e385858585611f26565b905061090e60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b949350505050565b61091e611ec3565b60008281526008602090815260409182902082516080810184528154815260018201549281019290925260028101549282019290925260039091015460608201528161099d5760405162461bcd60e51b8152602060048201526009602482015268076616c7565203d20360bc1b60448201526064015b60405180910390fd5b80516109eb5760405162461bcd60e51b815260206004820152601660248201527f4e6f206578697374696e67206c6f636b20666f756e64000000000000000000006044820152606401610994565b42816020015111610a3e5760405162461bcd60e51b815260206004820152601b60248201527f43616e6e6f742061646420746f2065787069726564206c6f636b2e00000000006044820152606401610994565b610a4d8383600084600061217c565b506108c960017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6001600160a01b038216610aa157604051633250574960e11b815260006004820152602401610994565b6000610aae838333612416565b9050836001600160a01b0316816001600160a01b031614610b15576040517f64283d7b0000000000000000000000000000000000000000000000000000000081526001600160a01b0380861660048301526024820184905282166044820152606401610994565b50505050565b610b23611ec3565b610b36610b2f826113e5565b3383612521565b610b825760405162461bcd60e51b815260206004820181905260248201527f63616c6c6572206973206e6f74206f776e6572206e6f7220617070726f7665646044820152606401610994565b6000818152600860209081526040918290208251608081018452815481526001820154928101839052600282015493810193909352600301546060830152421015610c0f5760405162461bcd60e51b815260206004820152601660248201527f546865206c6f636b206469646e277420657870697265000000000000000000006044820152606401610994565b805160408051608081018252600080825260208083018281528385018381526060850184815289855260089093529490922092518355905160018301559151600280830191909155915160039091015554610c6a8282613831565b6002556007546040517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018490526001600160a01b039091169063a9059cbb906044016020604051808303816000875af1158015610cd7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfb9190613844565b610d0757610d07613861565b610d10846125e2565b60408051858152602081018490524281830152905133917f02f25270a4d87bea75db541cdfe559334a275b4a233520ed6c0a2429667cca94919081900360600190a27f5e2aa66efd74cce82b21852e317e5490d9ecc9e6bb953ae24d90851258cc2f5c81610d7e8482613831565b6040805192835260208301919091520160405180910390a1505050610dc260017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b50565b60007f645e039705490088daad89bae25049a34f4a9072d398537b1ab2425f24cbed00610df1846113f0565b8310610e225760405163295f44f760e21b81526001600160a01b038516600482015260248101849052604401610994565b6001600160a01b0384166000908152602091825260408082208583529092522054905092915050565b6000610e55611dac565b60008611610e915760405162461bcd60e51b8152602060048201526009602482015268076616c7565203d20360bc1b6044820152606401610994565b8484118015610ea05750600085115b610eec5760405162461bcd60e51b815260206004820152601060248201527f496e76616c6964206475726174696f6e000000000000000000000000000000006044820152606401610994565b866005819055508560026000828254610f059190613877565b90915550506000878152600860209081526040918290208251608081018452815480825260018301549382019390935260028201549381019390935260030154606083015287908290610f59908390613877565b9052506020810185905260408101869052610f738161261d565b60608201908152600089815260086020908152604091829020845181559084015160018201559083015160028201559051600390910155821561106b57610fba308961264f565b60008385610fc88989613831565b6040805193151560208501526001600160a01b0390921691830191909152606082015260800160408051601f1981840301815290829052600654635c46a7ef60e11b8352909250309163b88d4fde916110339184916001600160a01b0316908e90879060040161388a565b600060405180830381600087803b15801561104d57600080fd5b505af1158015611061573d6000803e3d6000fd5b5050505050611075565b611075848961264f565b50959695505050505050565b61109c83838360405180602001604052806000815250611a9c565b505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff16159067ffffffffffffffff166000811580156110ec5750825b905060008267ffffffffffffffff1660011480156111095750303b155b905081158015611117575080155b1561114e576040517ff92ee8a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561118257845468ff00000000000000001916680100000000000000001785555b6111fd6040518060400160405280601281526020017f4c6f636b6564204d41484120546f6b656e7300000000000000000000000000008152506040518060400160405280600581526020017f4d414841580000000000000000000000000000000000000000000000000000008152508989630784ce006126cd565b83156107a657845468ff000000000000000019168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a150505050505050565b60007f645e039705490088daad89bae25049a34f4a9072d398537b1ab2425f24cbed0061129b7f645e039705490088daad89bae25049a34f4a9072d398537b1ab2425f24cbed025490565b83106112c45760405163295f44f760e21b81526000600482015260248101849052604401610994565b8060020183815481106112d9576112d96137b8565b9060005260206000200154915050919050565b6112f4611ec3565b60006112ff826113f0565b905060005b8181101561132c5760006113188483610dc5565b905061132381610b1b565b50600101611304565b5050610dc260017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b60038054611364906137fd565b80601f0160208091040260200160405190810160405280929190818152602001828054611390906137fd565b80156113dd5780601f106113b2576101008083540402835291602001916113dd565b820191906000526020600020905b8154815290600101906020018083116113c057829003601f168201915b505050505081565b60006107ba82611e5e565b60007f80bb2b638cc20bc4d0a60d66940f3ab4a00c1d7b313497ca82fb0b4ab00793006001600160a01b038316611456576040517f89c62b6400000000000000000000000000000000000000000000000000000000815260006004820152602401610994565b6001600160a01b039092166000908152600390920160205250604090205490565b61147f611dac565b6114896000612794565b565b7f80bb2b638cc20bc4d0a60d66940f3ab4a00c1d7b313497ca82fb0b4ab007930180546060917f80bb2b638cc20bc4d0a60d66940f3ab4a00c1d7b313497ca82fb0b4ab0079300916107f2906137fd565b6114e4611ec3565b8060005b8181101561151957611511848483818110611505576115056137b8565b90506020020135610b1b565b6001016114e8565b50506108c960017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b61154c611ec3565b61155f611558836113e5565b3384612521565b6115ab5760405162461bcd60e51b815260206004820181905260248201527f63616c6c6572206973206e6f74206f776e6572206e6f7220617070726f7665646044820152606401610994565b60008281526008602090815260408083208151608081018352815481526001820154938101939093526002810154918301919091526003015460608201528154909190806115f98542613877565b61160391906138bc565b61160d91906138de565b9050428260200151116116625760405162461bcd60e51b815260206004820152600c60248201527f4c6f636b206578706972656400000000000000000000000000000000000000006044820152606401610994565b81516116b05760405162461bcd60e51b815260206004820152601160248201527f4e6f7468696e67206973206c6f636b65640000000000000000000000000000006044820152606401610994565b816020015181116117035760405162461bcd60e51b815260206004820152601f60248201527f43616e206f6e6c7920696e637265617365206c6f636b206475726174696f6e006044820152606401610994565b6001546117109042613877565b81111561175f5760405162461bcd60e51b815260206004820152601e60248201527f566f74696e67206c6f636b2063616e2062652034207965617273206d617800006044820152606401610994565b60015482604001516117719190613877565b8111156117c05760405162461bcd60e51b815260206004820152601e60248201527f566f74696e67206c6f636b2063616e2062652034207965617273206d617800006044820152606401610994565b6115198460008385600361217c565b6006546001600160a01b031633146118295760405162461bcd60e51b815260206004820152600960248201527f215f7374616b696e6700000000000000000000000000000000000000000000006044820152606401610994565b600083815260086020908152604091829020600281018590556001810184905582516080810184528154815291820184905291810184905260039091015460608201526118759061261d565b600093845260086020526040909320600301929092555050565b6108c9338383612812565b6118a2611ec3565b60008281527f80bb2b638cc20bc4d0a60d66940f3ab4a00c1d7b313497ca82fb0b4ab007930260205260409020546118e2906001600160a01b0316611558565b61192e5760405162461bcd60e51b815260206004820181905260248201527f63616c6c6572206973206e6f74206f776e6572206e6f7220617070726f7665646044820152606401610994565b60008281526008602090815260409182902082516080810184528154815260018201549281019290925260028101549282019290925260039091015460608201528161197c5761197c613861565b80516119ca5760405162461bcd60e51b815260206004820152601660248201527f4e6f206578697374696e67206c6f636b20666f756e64000000000000000000006044820152606401610994565b42816020015111611a1d5760405162461bcd60e51b815260206004820152601b60248201527f43616e6e6f742061646420746f2065787069726564206c6f636b2e00000000006044820152606401610994565b610a4d8383600084600261217c565b611a576040518060800160405280600081526020016000815260200160008152602001600081525090565b50600090815260086020908152604091829020825160808101845281548152600182015492810192909252600281015492820192909252600390910154606082015290565b611aa7848484610a77565b610b15848484846128ee565b6000805b611ac0836113f0565b811015611b08576000611ad38483610dc5565b600081815260086020526040902060030154909150611af29084613877565b9250508080611b00906137e4565b915050611ab7565b50919050565b808203611b5d5760405162461bcd60e51b815260206004820152600860248201527f73616d65206e66740000000000000000000000000000000000000000000000006044820152606401610994565b611b69611558836113e5565b611bb55760405162461bcd60e51b815260206004820152601160248201527f66726f6d206e6f7420617070726f7665640000000000000000000000000000006044820152606401610994565b611bc1610b2f826113e5565b611c0d5760405162461bcd60e51b815260206004820152600f60248201527f746f206e6f7420617070726f76656400000000000000000000000000000000006044820152606401610994565b600082815260086020818152604080842081516080808201845282548252600180840154838701908152600280860154858801526003958601546060808701919091528b8b52988852868a208751948501885280548552928301549784018890528201549583019590955290920154948201949094528351915193949093919290911015611c9f578260200151611ca5565b83602001515b6040805160808101825260008082526020808301828152838501838152606085018481528d855260089093529490922092518355905160018301559151600282015590516003909101559050611cfa866125e2565b611d0885838386600461217c565b505050505050565b6000611d1a611ec3565b611d2684843385611f26565b9050611d5160017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b9392505050565b611d60611dac565b6001600160a01b038116611da3576040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260006004820152602401610994565b610dc281612794565b33611dde7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300546001600160a01b031690565b6001600160a01b031614611489576040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152602401610994565b60006001600160e01b031982167f780e9d630000000000000000000000000000000000000000000000000000000014806107ba57506107ba82612a10565b60008181527f80bb2b638cc20bc4d0a60d66940f3ab4a00c1d7b313497ca82fb0b4ab007930260205260408120546001600160a01b0316806107ba57604051637e27328960e01b815260048101849052602401610994565b61109c8383836001612aab565b7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00805460011901611f20576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60029055565b60008054819080611f378742613877565b611f4191906138bc565b611f4b91906138de565b905060008611611f895760405162461bcd60e51b8152602060048201526009602482015268076616c7565203d20360bc1b6044820152606401610994565b428111611fd85760405162461bcd60e51b815260206004820152601b60248201527f43616e206f6e6c79206c6f636b20696e207468652066757475726500000000006044820152606401610994565b600154611fe59042613877565b8111156120345760405162461bcd60e51b815260206004820152601e60248201527f566f74696e67206c6f636b2063616e2062652034207965617273206d617800006044820152606401610994565b600560008154612043906137e4565b90915550600554600081815260086020908152604091829020825160808101845281548152600180830154938201939093526002820154938101939093526003015460608301526120999183918a91869161217c565b8315612142576120a9308261264f565b6040805185151560208201526001600160a01b038781168284015260608083018a9052835180840390910181526080830193849052600654635c46a7ef60e11b90945292309263b88d4fde9261210a9285929116908790879060840161388a565b600060405180830381600087803b15801561212457600080fd5b505af1158015612138573d6000803e3d6000fd5b505050505061214c565b61214c858261264f565b9695505050505050565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b600254829061218b8682613877565b6002819055506121bc6040518060800160405280600081526020016000815260200160008152602001600081525090565b8251602080850151606080870151908501529083015281528251879084906121e5908390613877565b90525085156121f657602083018690525b600184600481111561220a5761220a6138f5565b03612216574260408401525b61221f8361261d565b60608401908152600089815260086020908152604091829020865181559086015160018201559085015160028201559051600390910155861580159061227757506004846004811115612274576122746138f5565b14155b1561231c576007546040517f23b872dd000000000000000000000000000000000000000000000000000000008152336004820152306024820152604481018990526001600160a01b03909116906323b872dd906064016020604051808303816000875af11580156122ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123109190613844565b61231c5761231c613861565b8260200151336001600160a01b03167fff04ccafc360e16b67d682d17bd9503c4c6b9a131f6be6325762dc9ffc7de6248a8a8842604051612360949392919061390b565b60405180910390a37f5e2aa66efd74cce82b21852e317e5490d9ecc9e6bb953ae24d90851258cc2f5c826123948982613877565b6040805192835260208301919091520160405180910390a1604080518451815260208086015181830152858301518284015260608087015190830152825191829003608001822033835292518b93927f07066a4aac0f827032b0f1dae68893bb9ab8d4c9a98a39d2a173e0ae47421c8892908290030190a35050505050505050565b600080612424858585612c37565b90506001600160a01b0381166124bf576124ba847f645e039705490088daad89bae25049a34f4a9072d398537b1ab2425f24cbed02805460008381527f645e039705490088daad89bae25049a34f4a9072d398537b1ab2425f24cbed0360205260408120829055600182018355919091527fa42f15e5d656f8155fd7419d740a6073999f19cd6e061449ce4a257150545bf20155565b6124e2565b846001600160a01b0316816001600160a01b0316146124e2576124e28185612d85565b6001600160a01b0385166124fe576124f984612e3b565b61090e565b846001600160a01b0316816001600160a01b03161461090e5761090e8585612f36565b60006001600160a01b0383161580159061090e5750826001600160a01b0316846001600160a01b0316148061259a57506001600160a01b0380851660009081527f80bb2b638cc20bc4d0a60d66940f3ab4a00c1d7b313497ca82fb0b4ab0079305602090815260408083209387168352929052205460ff165b8061090e57505060009081527f80bb2b638cc20bc4d0a60d66940f3ab4a00c1d7b313497ca82fb0b4ab007930460205260409020546001600160a01b03908116911614919050565b60006125f16000836000612416565b90506001600160a01b0381166108c957604051637e27328960e01b815260048101839052602401610994565b600060015482600001518360400151846020015161263b9190613831565b61264591906138de565b6107ba91906138bc565b6001600160a01b03821661267957604051633250574960e11b815260006004820152602401610994565b600061268783836000612416565b90506001600160a01b0381161561109c576040517f73c6ac6e00000000000000000000000000000000000000000000000000000000815260006004820152602401610994565b6126d78585612fa3565b6126df612fb5565b6126e833612fc5565b60408051808201909152600581527f312e302e300000000000000000000000000000000000000000000000000000006020820152600390612729908261398f565b506004805460ff1916601217905562093a806000556001818155600680546001600160a01b0380861673ffffffffffffffffffffffffffffffffffffffff1992831617909255600780549287169290911691909117905561278d9030908490612812565b5050505050565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300805473ffffffffffffffffffffffffffffffffffffffff1981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b7f80bb2b638cc20bc4d0a60d66940f3ab4a00c1d7b313497ca82fb0b4ab00793006001600160a01b03831661287e576040517f5b08ba180000000000000000000000000000000000000000000000000000000081526001600160a01b0384166004820152602401610994565b6001600160a01b038481166000818152600584016020908152604080832094881680845294825291829020805460ff191687151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a350505050565b6001600160a01b0383163b15610b1557604051630a85bd0160e11b81526001600160a01b0384169063150b7a029061293090339088908790879060040161388a565b6020604051808303816000875af192505050801561296b575060408051601f3d908101601f1916820190925261296891810190613a4f565b60015b6129d4573d808015612999576040519150601f19603f3d011682016040523d82523d6000602084013e61299e565b606091505b5080516000036129cc57604051633250574960e11b81526001600160a01b0385166004820152602401610994565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b1461278d57604051633250574960e11b81526001600160a01b0385166004820152602401610994565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480612a7357506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806107ba57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316146107ba565b7f80bb2b638cc20bc4d0a60d66940f3ab4a00c1d7b313497ca82fb0b4ab00793008180612ae057506001600160a01b03831615155b15612bf9576000612af085611e5e565b90506001600160a01b03841615801590612b1c5750836001600160a01b0316816001600160a01b031614155b8015612b6d57506001600160a01b0380821660009081527f80bb2b638cc20bc4d0a60d66940f3ab4a00c1d7b313497ca82fb0b4ab0079305602090815260408083209388168352929052205460ff16155b15612baf576040517fa9fbf51f0000000000000000000000000000000000000000000000000000000081526001600160a01b0385166004820152602401610994565b8215612bf75784866001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b6000938452600401602052505060409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b60008281527f80bb2b638cc20bc4d0a60d66940f3ab4a00c1d7b313497ca82fb0b4ab007930260205260408120547f80bb2b638cc20bc4d0a60d66940f3ab4a00c1d7b313497ca82fb0b4ab0079300906001600160a01b0390811690841615612ca557612ca5818587612fd6565b6001600160a01b03811615612ce557612cc2600086600080612aab565b6001600160a01b0381166000908152600383016020526040902080546000190190555b6001600160a01b03861615612d16576001600160a01b03861660009081526003830160205260409020805460010190555b6000858152600283016020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038a811691821790925591518893918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a495945050505050565b7f645e039705490088daad89bae25049a34f4a9072d398537b1ab2425f24cbed006000612db1846113f0565b6000848152600184016020526040902054909150808214612e06576001600160a01b03851660009081526020848152604080832085845282528083205484845281842081905583526001860190915290208190555b50600092835260018201602090815260408085208590556001600160a01b039095168452918252838320908352905290812055565b7f645e039705490088daad89bae25049a34f4a9072d398537b1ab2425f24cbed02547f645e039705490088daad89bae25049a34f4a9072d398537b1ab2425f24cbed0090600090612e8e90600190613831565b6000848152600384016020526040812054600285018054939450909284908110612eba57612eba6137b8565b9060005260206000200154905080846002018381548110612edd57612edd6137b8565b600091825260208083209091019290925582815260038601909152604080822084905586825281205560028401805480612f1957612f19613a6c565b600190038181906000526020600020016000905590555050505050565b7f645e039705490088daad89bae25049a34f4a9072d398537b1ab2425f24cbed0060006001612f64856113f0565b612f6e9190613831565b6001600160a01b0390941660009081526020838152604080832087845282528083208690559482526001909301909252502055565b612fab613053565b6108c982826130ba565b612fbd613053565b6114896130fd565b612fcd613053565b610dc281613105565b612fe1838383612521565b61109c576001600160a01b03831661300f57604051637e27328960e01b815260048101829052602401610994565b6040517f177e802f0000000000000000000000000000000000000000000000000000000081526001600160a01b038316600482015260248101829052604401610994565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff16611489576040517fd7e6bcf800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6130c2613053565b7f80bb2b638cc20bc4d0a60d66940f3ab4a00c1d7b313497ca82fb0b4ab0079300806130ee848261398f565b5060018101610b15838261398f565b612156613053565b611d60613053565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561314c5761314c61310d565b604052919050565b600067ffffffffffffffff82111561316e5761316e61310d565b5060051b60200190565b600082601f83011261318957600080fd5b8135602061319e61319983613154565b613123565b82815260059290921b840181019181810190868411156131bd57600080fd5b8286015b848110156131d857803583529183019183016131c1565b509695505050505050565b80356001600160a01b03811681146131fa57600080fd5b919050565b600082601f83011261321057600080fd5b8135602061322061319983613154565b82815260059290921b8401810191818101908684111561323f57600080fd5b8286015b848110156131d857613254816131e3565b8352918301918301613243565b8015158114610dc257600080fd5b600082601f83011261328057600080fd5b8135602061329061319983613154565b82815260059290921b840181019181810190868411156132af57600080fd5b8286015b848110156131d85780356132c681613261565b83529183019183016132b3565b60008060008060008060c087890312156132ec57600080fd5b863567ffffffffffffffff8082111561330457600080fd5b6133108a838b01613178565b9750602089013591508082111561332657600080fd5b6133328a838b01613178565b9650604089013591508082111561334857600080fd5b6133548a838b01613178565b9550606089013591508082111561336a57600080fd5b6133768a838b01613178565b9450608089013591508082111561338c57600080fd5b6133988a838b016131ff565b935060a08901359150808211156133ae57600080fd5b506133bb89828a0161326f565b9150509295509295509295565b6001600160e01b031981168114610dc257600080fd5b6000602082840312156133f057600080fd5b8135611d51816133c8565b6000815180845260005b8181101561342157602081850181015186830182015201613405565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000611d5160208301846133fb565b60006020828403121561346657600080fd5b5035919050565b6000806040838503121561348057600080fd5b613489836131e3565b946020939093013593505050565b600080600080608085870312156134ad57600080fd5b84359350602085013592506134c4604086016131e3565b915060608501356134d481613261565b939692955090935050565b600080604083850312156134f257600080fd5b50508035926020909101359150565b60008060006060848603121561351657600080fd5b61351f846131e3565b925061352d602085016131e3565b9150604084013590509250925092565b60008060008060008060c0878903121561355657600080fd5b8635955060208701359450604087013593506060870135925061357b608088016131e3565b915060a087013561358b81613261565b809150509295509295509295565b600080604083850312156135ac57600080fd5b6135b5836131e3565b91506135c3602084016131e3565b90509250929050565b6000602082840312156135de57600080fd5b611d51826131e3565b600080602083850312156135fa57600080fd5b823567ffffffffffffffff8082111561361257600080fd5b818501915085601f83011261362657600080fd5b81358181111561363557600080fd5b8660208260051b850101111561364a57600080fd5b60209290920196919550909350505050565b60008060006060848603121561367157600080fd5b505081359360208301359350604090920135919050565b6000806040838503121561369b57600080fd5b6136a4836131e3565b915060208301356136b481613261565b809150509250929050565b600080600080608085870312156136d557600080fd5b6136de856131e3565b935060206136ed8187016131e3565b935060408601359250606086013567ffffffffffffffff8082111561371157600080fd5b818801915088601f83011261372557600080fd5b8135818111156137375761373761310d565b613749601f8201601f19168501613123565b9150808252898482850101111561375f57600080fd5b808484018584013760008482840101525080935050505092959194509250565b60008060006060848603121561379457600080fd5b833592506020840135915060408401356137ad81613261565b809150509250925092565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016137f6576137f66137ce565b5060010190565b600181811c9082168061381157607f821691505b602082108103611b0857634e487b7160e01b600052602260045260246000fd5b818103818111156107ba576107ba6137ce565b60006020828403121561385657600080fd5b8151611d5181613261565b634e487b7160e01b600052600160045260246000fd5b808201808211156107ba576107ba6137ce565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261214c60808301846133fb565b6000826138d957634e487b7160e01b600052601260045260246000fd5b500490565b80820281158282048414176107ba576107ba6137ce565b634e487b7160e01b600052602160045260246000fd5b84815260208101849052608081016005841061393757634e487b7160e01b600052602160045260246000fd5b60408201939093526060015292915050565b601f82111561109c57600081815260208120601f850160051c810160208610156139705750805b601f850160051c820191505b81811015611d085782815560010161397c565b815167ffffffffffffffff8111156139a9576139a961310d565b6139bd816139b784546137fd565b84613949565b602080601f8311600181146139f257600084156139da5750858301515b600019600386901b1c1916600185901b178555611d08565b600085815260208120601f198616915b82811015613a2157888601518255948401946001909101908401613a02565b5085821015613a3f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215613a6157600080fd5b8151611d51816133c8565b634e487b7160e01b600052603160045260246000fdfea26469706673582212200f10e8519c33966c0ac57850bf8f7ef4d7a7b85b610bd194be427a79b8923f1f64736f6c63430008150033", + "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106102d35760003560e01c8063626944df11610186578063a22cb465116100e3578063c87b56dd11610097578063e7e242d411610071578063e7e242d41461064a578063e985e9c51461066d578063f2fde38b146106c857600080fd5b8063c87b56dd14610603578063d1c2babb14610624578063d60371a71461063757600080fd5b8063b45a3c0e116100c8578063b45a3c0e14610597578063b88d4fde146105dd578063bcc3f3bd146105f057600080fd5b8063a22cb46514610571578063b2383e551461058457600080fd5b80638da5cb5b1161013a578063983d95ce1161011f578063983d95ce146105385780639d507b8b1461054b578063a0b87f3e1461055e57600080fd5b80638da5cb5b1461050057806395d89b411461053057600080fd5b80636f307dc31161016b5780636f307dc3146104d457806370a08231146104e5578063715018a6146104f857600080fd5b8063626944df1461049e5780636352211e146104c157600080fd5b80632e1a7d4d11610234578063485cc955116101e85780634f6ccce7116101cd5780634f6ccce71461047057806351cff8d91461048357806354fd4d501461049657600080fd5b8063485cc9551461044a5780634cf088d91461045d57600080fd5b8063313ce56711610219578063313ce567146104055780633cd9b85d1461042457806342842e0e1461043757600080fd5b80632e1a7d4d146103df5780632f745c59146103f257600080fd5b8063095ea7b31161028b5780630ec84dda116102705780630ec84dda1461039257806318160ddd146103a557806323b872dd146103cc57600080fd5b8063095ea7b31461036c5780630a2abdb31461037f57600080fd5b8063047fc9aa116102bc578063047fc9aa1461031557806306fdde031461032c578063081812fc1461034157600080fd5b8063018e0f80146102d857806301ffc9a7146102ed575b600080fd5b6102eb6102e63660046132d3565b6106db565b005b6103006102fb3660046133de565b6107af565b60405190151581526020015b60405180910390f35b61031e60025481565b60405190815260200161030c565b6103346107c0565b60405161030c9190613441565b61035461034f366004613454565b610876565b6040516001600160a01b03909116815260200161030c565b6102eb61037a36600461346d565b6108be565b61031e61038d366004613497565b6108cd565b6102eb6103a03660046134df565b610916565b7f645e039705490088daad89bae25049a34f4a9072d398537b1ab2425f24cbed025461031e565b6102eb6103da366004613501565b610a77565b6102eb6103ed366004613454565b610b1b565b61031e61040036600461346d565b610dc5565b6004546104129060ff1681565b60405160ff909116815260200161030c565b61031e61043236600461353d565b610e4b565b6102eb610445366004613501565b611081565b6102eb610458366004613599565b6110a1565b600654610354906001600160a01b031681565b61031e61047e366004613454565b611250565b6102eb6104913660046135cc565b6112ec565b610334611357565b61031e6104ac366004613454565b60009081526008602052604090206001015490565b6103546104cf366004613454565b6113e5565b6007546001600160a01b0316610354565b61031e6104f33660046135cc565b6113f0565b6102eb611477565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300546001600160a01b0316610354565b61033461148b565b6102eb6105463660046135e7565b6114dc565b6102eb6105593660046134df565b611544565b6102eb61056c36600461365c565b6117cf565b6102eb61057f366004613688565b61188f565b6102eb6105923660046134df565b61189a565b6105aa6105a5366004613454565b611a2c565b60405161030c91908151815260208083015190820152604080830151908201526060918201519181019190915260800190565b6102eb6105eb3660046136bf565b611a9c565b61031e6105fe3660046135cc565b611ab3565b610334610611366004613454565b5060408051602081019091526000815290565b6102eb6106323660046134df565b611b0e565b61031e61064536600461377f565b611d10565b61031e610658366004613454565b60009081526008602052604090206003015490565b61030061067b366004613599565b6001600160a01b0391821660009081527f80bb2b638cc20bc4d0a60d66940f3ab4a00c1d7b313497ca82fb0b4ab00793056020908152604080832093909416825291909152205460ff1690565b6102eb6106d63660046135cc565b611d58565b6106e3611dac565b60005b85518110156107a657610793878281518110610704576107046137b8565b602002602001015187838151811061071e5761071e6137b8565b6020026020010151878481518110610738576107386137b8565b6020026020010151878581518110610752576107526137b8565b602002602001015187868151811061076c5761076c6137b8565b6020026020010151878781518110610786576107866137b8565b6020026020010151610e4b565b508061079e816137e4565b9150506106e6565b50505050505050565b60006107ba82611e20565b92915050565b7f80bb2b638cc20bc4d0a60d66940f3ab4a00c1d7b313497ca82fb0b4ab007930080546060919081906107f2906137fd565b80601f016020809104026020016040519081016040528092919081815260200182805461081e906137fd565b801561086b5780601f106108405761010080835404028352916020019161086b565b820191906000526020600020905b81548152906001019060200180831161084e57829003601f168201915b505050505091505090565b600061088182611e5e565b5060008281527f80bb2b638cc20bc4d0a60d66940f3ab4a00c1d7b313497ca82fb0b4ab007930460205260409020546001600160a01b03166107ba565b6108c9828233611eb6565b5050565b60006108d7611ec3565b6108e385858585611f26565b905061090e60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b949350505050565b61091e611ec3565b60008281526008602090815260409182902082516080810184528154815260018201549281019290925260028101549282019290925260039091015460608201528161099d5760405162461bcd60e51b8152602060048201526009602482015268076616c7565203d20360bc1b60448201526064015b60405180910390fd5b80516109eb5760405162461bcd60e51b815260206004820152601660248201527f4e6f206578697374696e67206c6f636b20666f756e64000000000000000000006044820152606401610994565b42816020015111610a3e5760405162461bcd60e51b815260206004820152601b60248201527f43616e6e6f742061646420746f2065787069726564206c6f636b2e00000000006044820152606401610994565b610a4d8383600084600061217c565b506108c960017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6001600160a01b038216610aa157604051633250574960e11b815260006004820152602401610994565b6000610aae838333612416565b9050836001600160a01b0316816001600160a01b031614610b15576040517f64283d7b0000000000000000000000000000000000000000000000000000000081526001600160a01b0380861660048301526024820184905282166044820152606401610994565b50505050565b610b23611ec3565b610b36610b2f826113e5565b3383612521565b610b825760405162461bcd60e51b815260206004820181905260248201527f63616c6c6572206973206e6f74206f776e6572206e6f7220617070726f7665646044820152606401610994565b6000818152600860209081526040918290208251608081018452815481526001820154928101839052600282015493810193909352600301546060830152421015610c0f5760405162461bcd60e51b815260206004820152601660248201527f546865206c6f636b206469646e277420657870697265000000000000000000006044820152606401610994565b805160408051608081018252600080825260208083018281528385018381526060850184815289855260089093529490922092518355905160018301559151600280830191909155915160039091015554610c6a8282613831565b6002556007546040517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018490526001600160a01b039091169063a9059cbb906044016020604051808303816000875af1158015610cd7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfb9190613844565b610d0757610d07613861565b610d10846125e2565b60408051858152602081018490524281830152905133917f02f25270a4d87bea75db541cdfe559334a275b4a233520ed6c0a2429667cca94919081900360600190a27f5e2aa66efd74cce82b21852e317e5490d9ecc9e6bb953ae24d90851258cc2f5c81610d7e8482613831565b6040805192835260208301919091520160405180910390a1505050610dc260017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b50565b60007f645e039705490088daad89bae25049a34f4a9072d398537b1ab2425f24cbed00610df1846113f0565b8310610e225760405163295f44f760e21b81526001600160a01b038516600482015260248101849052604401610994565b6001600160a01b0384166000908152602091825260408082208583529092522054905092915050565b6000610e55611dac565b60008611610e915760405162461bcd60e51b8152602060048201526009602482015268076616c7565203d20360bc1b6044820152606401610994565b8484118015610ea05750600085115b610eec5760405162461bcd60e51b815260206004820152601060248201527f496e76616c6964206475726174696f6e000000000000000000000000000000006044820152606401610994565b866005819055508560026000828254610f059190613877565b90915550506000878152600860209081526040918290208251608081018452815480825260018301549382019390935260028201549381019390935260030154606083015287908290610f59908390613877565b9052506020810185905260408101869052610f738161261d565b60608201908152600089815260086020908152604091829020845181559084015160018201559083015160028201559051600390910155821561106b57610fba308961264f565b60008385610fc88989613831565b6040805193151560208501526001600160a01b0390921691830191909152606082015260800160408051601f1981840301815290829052600654635c46a7ef60e11b8352909250309163b88d4fde916110339184916001600160a01b0316908e90879060040161388a565b600060405180830381600087803b15801561104d57600080fd5b505af1158015611061573d6000803e3d6000fd5b5050505050611075565b611075848961264f565b50959695505050505050565b61109c83838360405180602001604052806000815250611a9c565b505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff16159067ffffffffffffffff166000811580156110ec5750825b905060008267ffffffffffffffff1660011480156111095750303b155b905081158015611117575080155b1561114e576040517ff92ee8a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561118257845468ff00000000000000001916680100000000000000001785555b6111fd6040518060400160405280601281526020017f4c6f636b6564204d41484120546f6b656e7300000000000000000000000000008152506040518060400160405280600581526020017f4d414841580000000000000000000000000000000000000000000000000000008152508989630784ce006126cd565b83156107a657845468ff000000000000000019168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a150505050505050565b60007f645e039705490088daad89bae25049a34f4a9072d398537b1ab2425f24cbed0061129b7f645e039705490088daad89bae25049a34f4a9072d398537b1ab2425f24cbed025490565b83106112c45760405163295f44f760e21b81526000600482015260248101849052604401610994565b8060020183815481106112d9576112d96137b8565b9060005260206000200154915050919050565b6112f4611ec3565b60006112ff826113f0565b905060005b8181101561132c5760006113188483610dc5565b905061132381610b1b565b50600101611304565b5050610dc260017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b60038054611364906137fd565b80601f0160208091040260200160405190810160405280929190818152602001828054611390906137fd565b80156113dd5780601f106113b2576101008083540402835291602001916113dd565b820191906000526020600020905b8154815290600101906020018083116113c057829003601f168201915b505050505081565b60006107ba82611e5e565b60007f80bb2b638cc20bc4d0a60d66940f3ab4a00c1d7b313497ca82fb0b4ab00793006001600160a01b038316611456576040517f89c62b6400000000000000000000000000000000000000000000000000000000815260006004820152602401610994565b6001600160a01b039092166000908152600390920160205250604090205490565b61147f611dac565b6114896000612794565b565b7f80bb2b638cc20bc4d0a60d66940f3ab4a00c1d7b313497ca82fb0b4ab007930180546060917f80bb2b638cc20bc4d0a60d66940f3ab4a00c1d7b313497ca82fb0b4ab0079300916107f2906137fd565b6114e4611ec3565b8060005b8181101561151957611511848483818110611505576115056137b8565b90506020020135610b1b565b6001016114e8565b50506108c960017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b61154c611ec3565b61155f611558836113e5565b3384612521565b6115ab5760405162461bcd60e51b815260206004820181905260248201527f63616c6c6572206973206e6f74206f776e6572206e6f7220617070726f7665646044820152606401610994565b60008281526008602090815260408083208151608081018352815481526001820154938101939093526002810154918301919091526003015460608201528154909190806115f98542613877565b61160391906138bc565b61160d91906138de565b9050428260200151116116625760405162461bcd60e51b815260206004820152600c60248201527f4c6f636b206578706972656400000000000000000000000000000000000000006044820152606401610994565b81516116b05760405162461bcd60e51b815260206004820152601160248201527f4e6f7468696e67206973206c6f636b65640000000000000000000000000000006044820152606401610994565b816020015181116117035760405162461bcd60e51b815260206004820152601f60248201527f43616e206f6e6c7920696e637265617365206c6f636b206475726174696f6e006044820152606401610994565b6001546117109042613877565b81111561175f5760405162461bcd60e51b815260206004820152601e60248201527f566f74696e67206c6f636b2063616e2062652034207965617273206d617800006044820152606401610994565b60015482604001516117719190613877565b8111156117c05760405162461bcd60e51b815260206004820152601e60248201527f566f74696e67206c6f636b2063616e2062652034207965617273206d617800006044820152606401610994565b6115198460008385600361217c565b6006546001600160a01b031633146118295760405162461bcd60e51b815260206004820152600960248201527f215f7374616b696e6700000000000000000000000000000000000000000000006044820152606401610994565b600083815260086020908152604091829020600281018590556001810184905582516080810184528154815291820184905291810184905260039091015460608201526118759061261d565b600093845260086020526040909320600301929092555050565b6108c9338383612812565b6118a2611ec3565b60008281527f80bb2b638cc20bc4d0a60d66940f3ab4a00c1d7b313497ca82fb0b4ab007930260205260409020546118e2906001600160a01b0316611558565b61192e5760405162461bcd60e51b815260206004820181905260248201527f63616c6c6572206973206e6f74206f776e6572206e6f7220617070726f7665646044820152606401610994565b60008281526008602090815260409182902082516080810184528154815260018201549281019290925260028101549282019290925260039091015460608201528161197c5761197c613861565b80516119ca5760405162461bcd60e51b815260206004820152601660248201527f4e6f206578697374696e67206c6f636b20666f756e64000000000000000000006044820152606401610994565b42816020015111611a1d5760405162461bcd60e51b815260206004820152601b60248201527f43616e6e6f742061646420746f2065787069726564206c6f636b2e00000000006044820152606401610994565b610a4d8383600084600261217c565b611a576040518060800160405280600081526020016000815260200160008152602001600081525090565b50600090815260086020908152604091829020825160808101845281548152600182015492810192909252600281015492820192909252600390910154606082015290565b611aa7848484610a77565b610b15848484846128ee565b6000805b611ac0836113f0565b811015611b08576000611ad38483610dc5565b600081815260086020526040902060030154909150611af29084613877565b9250508080611b00906137e4565b915050611ab7565b50919050565b808203611b5d5760405162461bcd60e51b815260206004820152600860248201527f73616d65206e66740000000000000000000000000000000000000000000000006044820152606401610994565b611b69611558836113e5565b611bb55760405162461bcd60e51b815260206004820152601160248201527f66726f6d206e6f7420617070726f7665640000000000000000000000000000006044820152606401610994565b611bc1610b2f826113e5565b611c0d5760405162461bcd60e51b815260206004820152600f60248201527f746f206e6f7420617070726f76656400000000000000000000000000000000006044820152606401610994565b600082815260086020818152604080842081516080808201845282548252600180840154838701908152600280860154858801526003958601546060808701919091528b8b52988852868a208751948501885280548552928301549784018890528201549583019590955290920154948201949094528351915193949093919290911015611c9f578260200151611ca5565b83602001515b6040805160808101825260008082526020808301828152838501838152606085018481528d855260089093529490922092518355905160018301559151600282015590516003909101559050611cfa866125e2565b611d0885838386600461217c565b505050505050565b6000611d1a611ec3565b611d2684843385611f26565b9050611d5160017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b9392505050565b611d60611dac565b6001600160a01b038116611da3576040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260006004820152602401610994565b610dc281612794565b33611dde7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300546001600160a01b031690565b6001600160a01b031614611489576040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152602401610994565b60006001600160e01b031982167f780e9d630000000000000000000000000000000000000000000000000000000014806107ba57506107ba82612a10565b60008181527f80bb2b638cc20bc4d0a60d66940f3ab4a00c1d7b313497ca82fb0b4ab007930260205260408120546001600160a01b0316806107ba57604051637e27328960e01b815260048101849052602401610994565b61109c8383836001612aab565b7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00805460011901611f20576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60029055565b60008054819080611f378742613877565b611f4191906138bc565b611f4b91906138de565b905060008611611f895760405162461bcd60e51b8152602060048201526009602482015268076616c7565203d20360bc1b6044820152606401610994565b428111611fd85760405162461bcd60e51b815260206004820152601b60248201527f43616e206f6e6c79206c6f636b20696e207468652066757475726500000000006044820152606401610994565b600154611fe59042613877565b8111156120345760405162461bcd60e51b815260206004820152601e60248201527f566f74696e67206c6f636b2063616e2062652034207965617273206d617800006044820152606401610994565b600560008154612043906137e4565b90915550600554600081815260086020908152604091829020825160808101845281548152600180830154938201939093526002820154938101939093526003015460608301526120999183918a91869161217c565b8315612142576120a9308261264f565b6040805185151560208201526001600160a01b038781168284015260608083018a9052835180840390910181526080830193849052600654635c46a7ef60e11b90945292309263b88d4fde9261210a9285929116908790879060840161388a565b600060405180830381600087803b15801561212457600080fd5b505af1158015612138573d6000803e3d6000fd5b505050505061214c565b61214c858261264f565b9695505050505050565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b600254829061218b8682613877565b6002819055506121bc6040518060800160405280600081526020016000815260200160008152602001600081525090565b8251602080850151606080870151908501529083015281528251879084906121e5908390613877565b90525085156121f657602083018690525b600184600481111561220a5761220a6138f5565b03612216574260408401525b61221f8361261d565b60608401908152600089815260086020908152604091829020865181559086015160018201559085015160028201559051600390910155861580159061227757506004846004811115612274576122746138f5565b14155b1561231c576007546040517f23b872dd000000000000000000000000000000000000000000000000000000008152336004820152306024820152604481018990526001600160a01b03909116906323b872dd906064016020604051808303816000875af11580156122ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123109190613844565b61231c5761231c613861565b8260200151336001600160a01b03167fff04ccafc360e16b67d682d17bd9503c4c6b9a131f6be6325762dc9ffc7de6248a8a8842604051612360949392919061390b565b60405180910390a37f5e2aa66efd74cce82b21852e317e5490d9ecc9e6bb953ae24d90851258cc2f5c826123948982613877565b6040805192835260208301919091520160405180910390a1604080518451815260208086015181830152858301518284015260608087015190830152825191829003608001822033835292518b93927f07066a4aac0f827032b0f1dae68893bb9ab8d4c9a98a39d2a173e0ae47421c8892908290030190a35050505050505050565b600080612424858585612c37565b90506001600160a01b0381166124bf576124ba847f645e039705490088daad89bae25049a34f4a9072d398537b1ab2425f24cbed02805460008381527f645e039705490088daad89bae25049a34f4a9072d398537b1ab2425f24cbed0360205260408120829055600182018355919091527fa42f15e5d656f8155fd7419d740a6073999f19cd6e061449ce4a257150545bf20155565b6124e2565b846001600160a01b0316816001600160a01b0316146124e2576124e28185612d85565b6001600160a01b0385166124fe576124f984612e3b565b61090e565b846001600160a01b0316816001600160a01b03161461090e5761090e8585612f36565b60006001600160a01b0383161580159061090e5750826001600160a01b0316846001600160a01b0316148061259a57506001600160a01b0380851660009081527f80bb2b638cc20bc4d0a60d66940f3ab4a00c1d7b313497ca82fb0b4ab0079305602090815260408083209387168352929052205460ff165b8061090e57505060009081527f80bb2b638cc20bc4d0a60d66940f3ab4a00c1d7b313497ca82fb0b4ab007930460205260409020546001600160a01b03908116911614919050565b60006125f16000836000612416565b90506001600160a01b0381166108c957604051637e27328960e01b815260048101839052602401610994565b600060015482600001518360400151846020015161263b9190613831565b61264591906138de565b6107ba91906138bc565b6001600160a01b03821661267957604051633250574960e11b815260006004820152602401610994565b600061268783836000612416565b90506001600160a01b0381161561109c576040517f73c6ac6e00000000000000000000000000000000000000000000000000000000815260006004820152602401610994565b6126d78585612fa3565b6126df612fb5565b6126e833612fc5565b60408051808201909152600581527f312e302e300000000000000000000000000000000000000000000000000000006020820152600390612729908261398f565b506004805460ff1916601217905562093a806000556001818155600680546001600160a01b0380861673ffffffffffffffffffffffffffffffffffffffff1992831617909255600780549287169290911691909117905561278d9030908490612812565b5050505050565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300805473ffffffffffffffffffffffffffffffffffffffff1981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b7f80bb2b638cc20bc4d0a60d66940f3ab4a00c1d7b313497ca82fb0b4ab00793006001600160a01b03831661287e576040517f5b08ba180000000000000000000000000000000000000000000000000000000081526001600160a01b0384166004820152602401610994565b6001600160a01b038481166000818152600584016020908152604080832094881680845294825291829020805460ff191687151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a350505050565b6001600160a01b0383163b15610b1557604051630a85bd0160e11b81526001600160a01b0384169063150b7a029061293090339088908790879060040161388a565b6020604051808303816000875af192505050801561296b575060408051601f3d908101601f1916820190925261296891810190613a4f565b60015b6129d4573d808015612999576040519150601f19603f3d011682016040523d82523d6000602084013e61299e565b606091505b5080516000036129cc57604051633250574960e11b81526001600160a01b0385166004820152602401610994565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b1461278d57604051633250574960e11b81526001600160a01b0385166004820152602401610994565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480612a7357506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806107ba57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316146107ba565b7f80bb2b638cc20bc4d0a60d66940f3ab4a00c1d7b313497ca82fb0b4ab00793008180612ae057506001600160a01b03831615155b15612bf9576000612af085611e5e565b90506001600160a01b03841615801590612b1c5750836001600160a01b0316816001600160a01b031614155b8015612b6d57506001600160a01b0380821660009081527f80bb2b638cc20bc4d0a60d66940f3ab4a00c1d7b313497ca82fb0b4ab0079305602090815260408083209388168352929052205460ff16155b15612baf576040517fa9fbf51f0000000000000000000000000000000000000000000000000000000081526001600160a01b0385166004820152602401610994565b8215612bf75784866001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b6000938452600401602052505060409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b60008281527f80bb2b638cc20bc4d0a60d66940f3ab4a00c1d7b313497ca82fb0b4ab007930260205260408120547f80bb2b638cc20bc4d0a60d66940f3ab4a00c1d7b313497ca82fb0b4ab0079300906001600160a01b0390811690841615612ca557612ca5818587612fd6565b6001600160a01b03811615612ce557612cc2600086600080612aab565b6001600160a01b0381166000908152600383016020526040902080546000190190555b6001600160a01b03861615612d16576001600160a01b03861660009081526003830160205260409020805460010190555b6000858152600283016020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038a811691821790925591518893918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a495945050505050565b7f645e039705490088daad89bae25049a34f4a9072d398537b1ab2425f24cbed006000612db1846113f0565b6000848152600184016020526040902054909150808214612e06576001600160a01b03851660009081526020848152604080832085845282528083205484845281842081905583526001860190915290208190555b50600092835260018201602090815260408085208590556001600160a01b039095168452918252838320908352905290812055565b7f645e039705490088daad89bae25049a34f4a9072d398537b1ab2425f24cbed02547f645e039705490088daad89bae25049a34f4a9072d398537b1ab2425f24cbed0090600090612e8e90600190613831565b6000848152600384016020526040812054600285018054939450909284908110612eba57612eba6137b8565b9060005260206000200154905080846002018381548110612edd57612edd6137b8565b600091825260208083209091019290925582815260038601909152604080822084905586825281205560028401805480612f1957612f19613a6c565b600190038181906000526020600020016000905590555050505050565b7f645e039705490088daad89bae25049a34f4a9072d398537b1ab2425f24cbed0060006001612f64856113f0565b612f6e9190613831565b6001600160a01b0390941660009081526020838152604080832087845282528083208690559482526001909301909252502055565b612fab613053565b6108c982826130ba565b612fbd613053565b6114896130fd565b612fcd613053565b610dc281613105565b612fe1838383612521565b61109c576001600160a01b03831661300f57604051637e27328960e01b815260048101829052602401610994565b6040517f177e802f0000000000000000000000000000000000000000000000000000000081526001600160a01b038316600482015260248101829052604401610994565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff16611489576040517fd7e6bcf800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6130c2613053565b7f80bb2b638cc20bc4d0a60d66940f3ab4a00c1d7b313497ca82fb0b4ab0079300806130ee848261398f565b5060018101610b15838261398f565b612156613053565b611d60613053565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561314c5761314c61310d565b604052919050565b600067ffffffffffffffff82111561316e5761316e61310d565b5060051b60200190565b600082601f83011261318957600080fd5b8135602061319e61319983613154565b613123565b82815260059290921b840181019181810190868411156131bd57600080fd5b8286015b848110156131d857803583529183019183016131c1565b509695505050505050565b80356001600160a01b03811681146131fa57600080fd5b919050565b600082601f83011261321057600080fd5b8135602061322061319983613154565b82815260059290921b8401810191818101908684111561323f57600080fd5b8286015b848110156131d857613254816131e3565b8352918301918301613243565b8015158114610dc257600080fd5b600082601f83011261328057600080fd5b8135602061329061319983613154565b82815260059290921b840181019181810190868411156132af57600080fd5b8286015b848110156131d85780356132c681613261565b83529183019183016132b3565b60008060008060008060c087890312156132ec57600080fd5b863567ffffffffffffffff8082111561330457600080fd5b6133108a838b01613178565b9750602089013591508082111561332657600080fd5b6133328a838b01613178565b9650604089013591508082111561334857600080fd5b6133548a838b01613178565b9550606089013591508082111561336a57600080fd5b6133768a838b01613178565b9450608089013591508082111561338c57600080fd5b6133988a838b016131ff565b935060a08901359150808211156133ae57600080fd5b506133bb89828a0161326f565b9150509295509295509295565b6001600160e01b031981168114610dc257600080fd5b6000602082840312156133f057600080fd5b8135611d51816133c8565b6000815180845260005b8181101561342157602081850181015186830182015201613405565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000611d5160208301846133fb565b60006020828403121561346657600080fd5b5035919050565b6000806040838503121561348057600080fd5b613489836131e3565b946020939093013593505050565b600080600080608085870312156134ad57600080fd5b84359350602085013592506134c4604086016131e3565b915060608501356134d481613261565b939692955090935050565b600080604083850312156134f257600080fd5b50508035926020909101359150565b60008060006060848603121561351657600080fd5b61351f846131e3565b925061352d602085016131e3565b9150604084013590509250925092565b60008060008060008060c0878903121561355657600080fd5b8635955060208701359450604087013593506060870135925061357b608088016131e3565b915060a087013561358b81613261565b809150509295509295509295565b600080604083850312156135ac57600080fd5b6135b5836131e3565b91506135c3602084016131e3565b90509250929050565b6000602082840312156135de57600080fd5b611d51826131e3565b600080602083850312156135fa57600080fd5b823567ffffffffffffffff8082111561361257600080fd5b818501915085601f83011261362657600080fd5b81358181111561363557600080fd5b8660208260051b850101111561364a57600080fd5b60209290920196919550909350505050565b60008060006060848603121561367157600080fd5b505081359360208301359350604090920135919050565b6000806040838503121561369b57600080fd5b6136a4836131e3565b915060208301356136b481613261565b809150509250929050565b600080600080608085870312156136d557600080fd5b6136de856131e3565b935060206136ed8187016131e3565b935060408601359250606086013567ffffffffffffffff8082111561371157600080fd5b818801915088601f83011261372557600080fd5b8135818111156137375761373761310d565b613749601f8201601f19168501613123565b9150808252898482850101111561375f57600080fd5b808484018584013760008482840101525080935050505092959194509250565b60008060006060848603121561379457600080fd5b833592506020840135915060408401356137ad81613261565b809150509250925092565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016137f6576137f66137ce565b5060010190565b600181811c9082168061381157607f821691505b602082108103611b0857634e487b7160e01b600052602260045260246000fd5b818103818111156107ba576107ba6137ce565b60006020828403121561385657600080fd5b8151611d5181613261565b634e487b7160e01b600052600160045260246000fd5b808201808211156107ba576107ba6137ce565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261214c60808301846133fb565b6000826138d957634e487b7160e01b600052601260045260246000fd5b500490565b80820281158282048414176107ba576107ba6137ce565b634e487b7160e01b600052602160045260246000fd5b84815260208101849052608081016005841061393757634e487b7160e01b600052602160045260246000fd5b60408201939093526060015292915050565b601f82111561109c57600081815260208120601f850160051c810160208610156139705750805b601f850160051c820191505b81811015611d085782815560010161397c565b815167ffffffffffffffff8111156139a9576139a961310d565b6139bd816139b784546137fd565b84613949565b602080601f8311600181146139f257600084156139da5750858301515b600019600386901b1c1916600185901b178555611d08565b600085815260208120601f198616915b82811015613a2157888601518255948401946001909101908401613a02565b5085821015613a3f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215613a6157600080fd5b8151611d51816133c8565b634e487b7160e01b600052603160045260246000fdfea26469706673582212200f10e8519c33966c0ac57850bf8f7ef4d7a7b85b610bd194be427a79b8923f1f64736f6c63430008150033", + "devdoc": { + "errors": { + "ERC721EnumerableForbiddenBatchMint()": [ + { + "details": "Batch mint is not allowed." + } + ], + "ERC721IncorrectOwner(address,uint256,address)": [ + { + "details": "Indicates an error related to the ownership over a particular token. Used in transfers.", + "params": { + "owner": "Address of the current owner of a token.", + "sender": "Address whose tokens are being transferred.", + "tokenId": "Identifier number of a token." + } + } + ], + "ERC721InsufficientApproval(address,uint256)": [ + { + "details": "Indicates a failure with the `operator`’s approval. Used in transfers.", + "params": { + "operator": "Address that may be allowed to operate on tokens without being their owner.", + "tokenId": "Identifier number of a token." + } + } + ], + "ERC721InvalidApprover(address)": [ + { + "details": "Indicates a failure with the `approver` of a token to be approved. Used in approvals.", + "params": { + "approver": "Address initiating an approval operation." + } + } + ], + "ERC721InvalidOperator(address)": [ + { + "details": "Indicates a failure with the `operator` to be approved. Used in approvals.", + "params": { + "operator": "Address that may be allowed to operate on tokens without being their owner." + } + } + ], + "ERC721InvalidOwner(address)": [ + { + "details": "Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20. Used in balance queries.", + "params": { + "owner": "Address of the current owner of a token." + } + } + ], + "ERC721InvalidReceiver(address)": [ + { + "details": "Indicates a failure with the token `receiver`. Used in transfers.", + "params": { + "receiver": "Address to which tokens are being transferred." + } + } + ], + "ERC721InvalidSender(address)": [ + { + "details": "Indicates a failure with the token `sender`. Used in transfers.", + "params": { + "sender": "Address whose tokens are being transferred." + } + } + ], + "ERC721NonexistentToken(uint256)": [ + { + "details": "Indicates a `tokenId` whose `owner` is the zero address.", + "params": { + "tokenId": "Identifier number of a token." + } + } + ], + "ERC721OutOfBoundsIndex(address,uint256)": [ + { + "details": "An `owner`'s token query was out of bounds for `index`. NOTE: The owner being `address(0)` indicates a global out of bounds index." + } + ], + "InvalidInitialization()": [ + { + "details": "The contract is already initialized." + } + ], + "NotInitializing()": [ + { + "details": "The contract is not initializing." + } + ], + "OwnableInvalidOwner(address)": [ + { + "details": "The owner is not a valid owner account. (eg. `address(0)`)" + } + ], + "OwnableUnauthorizedAccount(address)": [ + { + "details": "The caller account is not authorized to perform an operation." + } + ], + "ReentrancyGuardReentrantCall()": [ + { + "details": "Unauthorized reentrant call." + } + ] + }, + "events": { + "Approval(address,address,uint256)": { + "details": "Emitted when `owner` enables `approved` to manage the `tokenId` token." + }, + "ApprovalForAll(address,address,bool)": { + "details": "Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets." + }, + "Initialized(uint64)": { + "details": "Triggered when the contract has been initialized or reinitialized." + }, + "Transfer(address,address,uint256)": { + "details": "Emitted when `tokenId` token is transferred from `from` to `to`." + } + }, + "kind": "dev", + "methods": { + "approve(address,uint256)": { + "details": "See {IERC721-approve}." + }, + "balanceOf(address)": { + "details": "See {IERC721-balanceOf}." + }, + "balanceOfNFT(uint256)": { + "params": { + "_tokenId": "The NFT ID" + }, + "returns": { + "_0": "The balance of the NFT" + } + }, + "createLock(uint256,uint256,bool)": { + "params": { + "_lockDuration": "Number of seconds to lock tokens for (rounded down to nearest week)", + "_stakeNFT": "Should we also stake the NFT as well?", + "_value": "Amount to deposit" + } + }, + "createLockFor(uint256,uint256,address,bool)": { + "params": { + "_lockDuration": "Number of seconds to lock tokens for (rounded down to nearest week)", + "_to": "Address to deposit", + "_value": "Amount to deposit" + } + }, + "depositFor(uint256,uint256)": { + "details": "Anyone (even a smart contract) can deposit for someone else, but cannot extend their locktime and deposit for a brand new user", + "params": { + "_tokenId": "lock NFT", + "_value": "Amount to add to user's lock" + } + }, + "getApproved(uint256)": { + "details": "See {IERC721-getApproved}." + }, + "increaseAmount(uint256,uint256)": { + "params": { + "_value": "Amount of tokens to deposit and add to the lock" + } + }, + "increaseUnlockTime(uint256,uint256)": { + "params": { + "_lockDuration": "New number of seconds until tokens unlock" + } + }, + "isApprovedForAll(address,address)": { + "details": "See {IERC721-isApprovedForAll}." + }, + "locked(uint256)": { + "params": { + "_tokenId": "The NFT ID" + }, + "returns": { + "_0": "The LockedBalance struct containing lock details" + } + }, + "lockedEnd(uint256)": { + "params": { + "_tokenId": "User NFT" + }, + "returns": { + "_0": "Epoch time of the lock end" + } + }, + "merge(uint256,uint256)": { + "params": { + "_from": "The ID of the NFT to merge from", + "_to": "The ID of the NFT to merge into" + } + }, + "name()": { + "details": "See {IERC721Metadata-name}." + }, + "owner()": { + "details": "Returns the address of the current owner." + }, + "ownerOf(uint256)": { + "details": "See {IERC721-ownerOf}." + }, + "renounceOwnership()": { + "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner." + }, + "safeTransferFrom(address,address,uint256)": { + "details": "See {IERC721-safeTransferFrom}." + }, + "safeTransferFrom(address,address,uint256,bytes)": { + "details": "See {IERC721-safeTransferFrom}." + }, + "setApprovalForAll(address,bool)": { + "details": "See {IERC721-setApprovalForAll}." + }, + "supportsInterface(bytes4)": { + "details": "Interface identification is specified in ERC-165.", + "params": { + "_interfaceID": "Id of the interface" + } + }, + "symbol()": { + "details": "See {IERC721Metadata-symbol}." + }, + "tokenByIndex(uint256)": { + "details": "See {IERC721Enumerable-tokenByIndex}." + }, + "tokenOfOwnerByIndex(address,uint256)": { + "details": "See {IERC721Enumerable-tokenOfOwnerByIndex}." + }, + "totalSupply()": { + "details": "See {IERC721Enumerable-totalSupply}." + }, + "transferFrom(address,address,uint256)": { + "details": "See {IERC721-transferFrom}." + }, + "transferOwnership(address)": { + "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner." + }, + "underlying()": { + "returns": { + "_0": "The ERC20 token contract" + } + }, + "updateLockDates(uint256,uint256,uint256)": { + "details": "This function can only be called by the staking contract", + "params": { + "_id": "The lock id", + "_startDate": "The new start date" + } + }, + "votingPowerOf(address)": { + "details": "Returns the voting power of the `_owner`. Throws if `_owner` is the zero address. NFTs assigned to the zero address are considered invalid.", + "params": { + "_owner": "Address for whom to query the voting power of." + } + }, + "withdraw(address)": { + "params": { + "_user": "The address of the user" + } + }, + "withdraw(uint256)": { + "details": "Only possible if the lock has expired" + }, + "withdraw(uint256[])": { + "params": { + "_tokenIds": "An array of NFT IDs" + } + } + }, + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": { + "balanceOfNFT(uint256)": { + "notice": "Get the balance associated with an NFT" + }, + "createLock(uint256,uint256,bool)": { + "notice": "Deposit `_value` tokens for `msg.sender` and lock for `_lockDuration`" + }, + "createLockFor(uint256,uint256,address,bool)": { + "notice": "Deposit `_value` tokens for `_to` and lock for `_lockDuration`" + }, + "depositFor(uint256,uint256)": { + "notice": "Deposit `_value` tokens for `_tokenId` and add to the lock" + }, + "increaseAmount(uint256,uint256)": { + "notice": "Deposit `_value` additional tokens for `_tokenId` without modifying the unlock time" + }, + "increaseUnlockTime(uint256,uint256)": { + "notice": "Extend the unlock time for `_tokenId`" + }, + "locked(uint256)": { + "notice": "Get the locked balance details of an NFT" + }, + "lockedEnd(uint256)": { + "notice": "Get timestamp when `_tokenId`'s lock finishes" + }, + "merge(uint256,uint256)": { + "notice": "Merge two NFTs into one" + }, + "underlying()": { + "notice": "Get the underlying ERC20 token" + }, + "updateLockDates(uint256,uint256,uint256)": { + "notice": "Update the start date of a lock" + }, + "withdraw(address)": { + "notice": "Withdraw tokens for a specific user" + }, + "withdraw(uint256)": { + "notice": "Withdraw all tokens for `_tokenId`" + }, + "withdraw(uint256[])": { + "notice": "Withdraw tokens from multiple NFTs" + } + }, + "version": 1 + }, + "storageLayout": { + "storage": [ + { + "astId": 15456, + "contract": "contracts/governance/locker/LockerToken.sol:LockerToken", + "label": "WEEK", + "offset": 0, + "slot": "0", + "type": "t_uint256" + }, + { + "astId": 15458, + "contract": "contracts/governance/locker/LockerToken.sol:LockerToken", + "label": "MAXTIME", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 15460, + "contract": "contracts/governance/locker/LockerToken.sol:LockerToken", + "label": "supply", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 15462, + "contract": "contracts/governance/locker/LockerToken.sol:LockerToken", + "label": "version", + "offset": 0, + "slot": "3", + "type": "t_string_storage" + }, + { + "astId": 15464, + "contract": "contracts/governance/locker/LockerToken.sol:LockerToken", + "label": "decimals", + "offset": 0, + "slot": "4", + "type": "t_uint8" + }, + { + "astId": 15467, + "contract": "contracts/governance/locker/LockerToken.sol:LockerToken", + "label": "tokenId", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 15470, + "contract": "contracts/governance/locker/LockerToken.sol:LockerToken", + "label": "staking", + "offset": 0, + "slot": "6", + "type": "t_contract(IOmnichainStaking)20407" + }, + { + "astId": 15473, + "contract": "contracts/governance/locker/LockerToken.sol:LockerToken", + "label": "_underlying", + "offset": 0, + "slot": "7", + "type": "t_contract(IERC20)6536" + }, + { + "astId": 15478, + "contract": "contracts/governance/locker/LockerToken.sol:LockerToken", + "label": "_locked", + "offset": 0, + "slot": "8", + "type": "t_mapping(t_uint256,t_struct(LockedBalance)20037_storage)" + } + ], + "types": { + "t_contract(IERC20)6536": { + "encoding": "inplace", + "label": "contract IERC20", + "numberOfBytes": "20" + }, + "t_contract(IOmnichainStaking)20407": { + "encoding": "inplace", + "label": "contract IOmnichainStaking", + "numberOfBytes": "20" + }, + "t_mapping(t_uint256,t_struct(LockedBalance)20037_storage)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => struct ILocker.LockedBalance)", + "numberOfBytes": "32", + "value": "t_struct(LockedBalance)20037_storage" + }, + "t_string_storage": { + "encoding": "bytes", + "label": "string", + "numberOfBytes": "32" + }, + "t_struct(LockedBalance)20037_storage": { + "encoding": "inplace", + "label": "struct ILocker.LockedBalance", + "members": [ + { + "astId": 20030, + "contract": "contracts/governance/locker/LockerToken.sol:LockerToken", + "label": "amount", + "offset": 0, + "slot": "0", + "type": "t_uint256" + }, + { + "astId": 20032, + "contract": "contracts/governance/locker/LockerToken.sol:LockerToken", + "label": "end", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 20034, + "contract": "contracts/governance/locker/LockerToken.sol:LockerToken", + "label": "start", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 20036, + "contract": "contracts/governance/locker/LockerToken.sol:LockerToken", + "label": "power", + "offset": 0, + "slot": "3", + "type": "t_uint256" + } + ], + "numberOfBytes": "128" + }, + "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/deployments/base/LockerToken-V3-Proxy.json b/deployments/base/LockerToken-V3-Proxy.json new file mode 100644 index 0000000..7121bc7 --- /dev/null +++ b/deployments/base/LockerToken-V3-Proxy.json @@ -0,0 +1,249 @@ +{ + "address": "0x2C2E2fC8A721d59F35d284446cACBDb6e7Ad582C", + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "logic_", + "type": "address" + }, + { + "internalType": "address", + "name": "admin_", + "type": "address" + }, + { + "internalType": "bytes", + "name": "data_", + "type": "bytes" + } + ], + "stateMutability": "payable", + "type": "constructor" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "target", + "type": "address" + } + ], + "name": "AddressEmptyCode", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "admin", + "type": "address" + } + ], + "name": "ERC1967InvalidAdmin", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "implementation", + "type": "address" + } + ], + "name": "ERC1967InvalidImplementation", + "type": "error" + }, + { + "inputs": [], + "name": "ERC1967NonPayable", + "type": "error" + }, + { + "inputs": [], + "name": "FailedInnerCall", + "type": "error" + }, + { + "inputs": [], + "name": "ProxyDeniedAdminAccess", + "type": "error" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "previousAdmin", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "newAdmin", + "type": "address" + } + ], + "name": "AdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "implementation", + "type": "address" + } + ], + "name": "Upgraded", + "type": "event" + }, + { + "stateMutability": "payable", + "type": "fallback" + }, + { + "inputs": [], + "name": "implementation", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "proxyAdmin", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "transactionHash": "0x1c735ec2da943ea9dd7d5ee67ae1bf540ed3dda0332b962c6aacd7640e451bc3", + "receipt": { + "to": null, + "from": "0xeD3Af36D7b9C5Bbd7ECFa7fb794eDa6E242016f5", + "contractAddress": "0x2C2E2fC8A721d59F35d284446cACBDb6e7Ad582C", + "transactionIndex": 78, + "gasUsed": "448707", + "logsBloom": "0x00000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000002000000000000000000000000000000008000000000000000000000000000000000000000a00000000000000000000002000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000400000000000000080000010000000000000000000000000000000000000000000000000000000000000000", + "blockHash": "0x8b908a9508665e4f15c1b653779fe8f8ef352daf24b118fcf79fa72603a1d42d", + "transactionHash": "0x1c735ec2da943ea9dd7d5ee67ae1bf540ed3dda0332b962c6aacd7640e451bc3", + "logs": [ + { + "transactionIndex": 78, + "blockNumber": 35153264, + "transactionHash": "0x1c735ec2da943ea9dd7d5ee67ae1bf540ed3dda0332b962c6aacd7640e451bc3", + "address": "0x2C2E2fC8A721d59F35d284446cACBDb6e7Ad582C", + "topics": [ + "0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b", + "0x000000000000000000000000cb45d92574212c3337452914f8d2707afc2ce3bf" + ], + "data": "0x", + "logIndex": 574, + "blockHash": "0x8b908a9508665e4f15c1b653779fe8f8ef352daf24b118fcf79fa72603a1d42d" + }, + { + "transactionIndex": 78, + "blockNumber": 35153264, + "transactionHash": "0x1c735ec2da943ea9dd7d5ee67ae1bf540ed3dda0332b962c6aacd7640e451bc3", + "address": "0x2C2E2fC8A721d59F35d284446cACBDb6e7Ad582C", + "topics": [ + "0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f" + ], + "data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000069000c978701fc4427d4baf749f10a5cec582863", + "logIndex": 575, + "blockHash": "0x8b908a9508665e4f15c1b653779fe8f8ef352daf24b118fcf79fa72603a1d42d" + } + ], + "blockNumber": 35153264, + "cumulativeGasUsed": "16862986", + "status": 1, + "byzantium": true + }, + "args": [ + "0xCb45D92574212c3337452914F8d2707AFC2cE3bf", + "0x69000c978701fc4427d4baf749f10a5cec582863", + "0x" + ], + "numDeployments": 1, + "solcInputHash": "3b5e06809d67f49de631212b0da17118", + "metadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"logic_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"admin_\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data_\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"AddressEmptyCode\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"}],\"name\":\"ERC1967InvalidAdmin\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"ERC1967InvalidImplementation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ERC1967NonPayable\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailedInnerCall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ProxyDeniedAdminAccess\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[],\"name\":\"implementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxyAdmin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"errors\":{\"AddressEmptyCode(address)\":[{\"details\":\"There's no code at `target` (it is not a contract).\"}],\"ERC1967InvalidAdmin(address)\":[{\"details\":\"The `admin` of the proxy is invalid.\"}],\"ERC1967InvalidImplementation(address)\":[{\"details\":\"The `implementation` of the proxy is invalid.\"}],\"ERC1967NonPayable()\":[{\"details\":\"An upgrade function sees `msg.value > 0` that may be lost.\"}],\"FailedInnerCall()\":[{\"details\":\"A call to an address target failed. The target may have reverted.\"}],\"ProxyDeniedAdminAccess()\":[{\"details\":\"The proxy caller is the current admin, and can't fallback to the proxy target.\"}]},\"events\":{\"AdminChanged(address,address)\":{\"details\":\"Emitted when the admin account has changed.\"},\"Upgraded(address)\":{\"details\":\"Emitted when the implementation is upgraded.\"}},\"kind\":\"dev\",\"methods\":{\"implementation()\":{\"details\":\"Returns the implementation address of the proxy.\"},\"proxyAdmin()\":{\"details\":\"Returns the admin of this proxy.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/governance/MAHAProxy.sol\":\"MAHAProxy\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":1000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/interfaces/IERC1967.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC1967.sol)\\n\\npragma solidity ^0.8.20;\\n\\n/**\\n * @dev ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC.\\n */\\ninterface IERC1967 {\\n /**\\n * @dev Emitted when the implementation is upgraded.\\n */\\n event Upgraded(address indexed implementation);\\n\\n /**\\n * @dev Emitted when the admin account has changed.\\n */\\n event AdminChanged(address previousAdmin, address newAdmin);\\n\\n /**\\n * @dev Emitted when the beacon is changed.\\n */\\n event BeaconUpgraded(address indexed beacon);\\n}\\n\",\"keccak256\":\"0xb25a4f11fa80c702bf5cd85adec90e6f6f507f32f4a8e6f5dbc31e8c10029486\",\"license\":\"MIT\"},\"@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (proxy/ERC1967/ERC1967Proxy.sol)\\n\\npragma solidity ^0.8.20;\\n\\nimport {Proxy} from \\\"../Proxy.sol\\\";\\nimport {ERC1967Utils} from \\\"./ERC1967Utils.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 {\\n /**\\n * @dev Initializes the upgradeable proxy with an initial implementation specified by `implementation`.\\n *\\n * If `_data` is nonempty, it's used as data in a delegate call to `implementation`. This will typically be an\\n * encoded function call, and allows initializing the storage of the proxy like a Solidity constructor.\\n *\\n * Requirements:\\n *\\n * - If `data` is empty, `msg.value` must be zero.\\n */\\n constructor(address implementation, bytes memory _data) payable {\\n ERC1967Utils.upgradeToAndCall(implementation, _data);\\n }\\n\\n /**\\n * @dev Returns the current implementation address.\\n *\\n * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using\\n * the https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.\\n * `0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc`\\n */\\n function _implementation() internal view virtual override returns (address) {\\n return ERC1967Utils.getImplementation();\\n }\\n}\\n\",\"keccak256\":\"0xbfb6695731de677140fbf76c772ab08c4233a122fb51ac28ac120fc49bbbc4ec\",\"license\":\"MIT\"},\"@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (proxy/ERC1967/ERC1967Utils.sol)\\n\\npragma solidity ^0.8.20;\\n\\nimport {IBeacon} from \\\"../beacon/IBeacon.sol\\\";\\nimport {Address} from \\\"../../utils/Address.sol\\\";\\nimport {StorageSlot} from \\\"../../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 */\\nlibrary ERC1967Utils {\\n // We re-declare ERC-1967 events here because they can't be used directly from IERC1967.\\n // This will be fixed in Solidity 0.8.21. At that point we should remove these events.\\n /**\\n * @dev Emitted when the implementation is upgraded.\\n */\\n event Upgraded(address indexed implementation);\\n\\n /**\\n * @dev Emitted when the admin account has changed.\\n */\\n event AdminChanged(address previousAdmin, address newAdmin);\\n\\n /**\\n * @dev Emitted when the beacon is changed.\\n */\\n event BeaconUpgraded(address indexed beacon);\\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.\\n */\\n // solhint-disable-next-line private-vars-leading-underscore\\n bytes32 internal constant IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\\n\\n /**\\n * @dev The `implementation` of the proxy is invalid.\\n */\\n error ERC1967InvalidImplementation(address implementation);\\n\\n /**\\n * @dev The `admin` of the proxy is invalid.\\n */\\n error ERC1967InvalidAdmin(address admin);\\n\\n /**\\n * @dev The `beacon` of the proxy is invalid.\\n */\\n error ERC1967InvalidBeacon(address beacon);\\n\\n /**\\n * @dev An upgrade function sees `msg.value > 0` that may be lost.\\n */\\n error ERC1967NonPayable();\\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 if (newImplementation.code.length == 0) {\\n revert ERC1967InvalidImplementation(newImplementation);\\n }\\n StorageSlot.getAddressSlot(IMPLEMENTATION_SLOT).value = newImplementation;\\n }\\n\\n /**\\n * @dev Performs implementation upgrade with additional setup call if data is nonempty.\\n * This function is payable only if the setup call is performed, otherwise `msg.value` is rejected\\n * to avoid stuck value in the contract.\\n *\\n * Emits an {IERC1967-Upgraded} event.\\n */\\n function upgradeToAndCall(address newImplementation, bytes memory data) internal {\\n _setImplementation(newImplementation);\\n emit Upgraded(newImplementation);\\n\\n if (data.length > 0) {\\n Address.functionDelegateCall(newImplementation, data);\\n } else {\\n _checkNonPayable();\\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.\\n */\\n // solhint-disable-next-line private-vars-leading-underscore\\n bytes32 internal constant ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;\\n\\n /**\\n * @dev Returns the current admin.\\n *\\n * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using\\n * the https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.\\n * `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`\\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 if (newAdmin == address(0)) {\\n revert ERC1967InvalidAdmin(address(0));\\n }\\n StorageSlot.getAddressSlot(ADMIN_SLOT).value = newAdmin;\\n }\\n\\n /**\\n * @dev Changes the admin of the proxy.\\n *\\n * Emits an {IERC1967-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 the keccak-256 hash of \\\"eip1967.proxy.beacon\\\" subtracted by 1.\\n */\\n // solhint-disable-next-line private-vars-leading-underscore\\n bytes32 internal constant BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;\\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 if (newBeacon.code.length == 0) {\\n revert ERC1967InvalidBeacon(newBeacon);\\n }\\n\\n StorageSlot.getAddressSlot(BEACON_SLOT).value = newBeacon;\\n\\n address beaconImplementation = IBeacon(newBeacon).implementation();\\n if (beaconImplementation.code.length == 0) {\\n revert ERC1967InvalidImplementation(beaconImplementation);\\n }\\n }\\n\\n /**\\n * @dev Change the beacon and trigger a setup call if data is nonempty.\\n * This function is payable only if the setup call is performed, otherwise `msg.value` is rejected\\n * to avoid stuck value in the contract.\\n *\\n * Emits an {IERC1967-BeaconUpgraded} event.\\n *\\n * CAUTION: Invoking this function has no effect on an instance of {BeaconProxy} since v5, since\\n * it uses an immutable beacon without looking at the value of the ERC-1967 beacon slot for\\n * efficiency.\\n */\\n function upgradeBeaconToAndCall(address newBeacon, bytes memory data) internal {\\n _setBeacon(newBeacon);\\n emit BeaconUpgraded(newBeacon);\\n\\n if (data.length > 0) {\\n Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data);\\n } else {\\n _checkNonPayable();\\n }\\n }\\n\\n /**\\n * @dev Reverts if `msg.value` is not zero. It can be used to avoid `msg.value` stuck in the contract\\n * if an upgrade doesn't perform an initialization call.\\n */\\n function _checkNonPayable() private {\\n if (msg.value > 0) {\\n revert ERC1967NonPayable();\\n }\\n }\\n}\\n\",\"keccak256\":\"0x06a78f9b3ee3e6d0eb4e4cd635ba49960bea34cac1db8c0a27c75f2319f1fd65\",\"license\":\"MIT\"},\"@openzeppelin/contracts/proxy/Proxy.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (proxy/Proxy.sol)\\n\\npragma solidity ^0.8.20;\\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\\n * function 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 _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\",\"keccak256\":\"0xc3f2ec76a3de8ed7a7007c46166f5550c72c7709e3fc7e8bb3111a7191cdedbd\",\"license\":\"MIT\"},\"@openzeppelin/contracts/proxy/beacon/IBeacon.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (proxy/beacon/IBeacon.sol)\\n\\npragma solidity ^0.8.20;\\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 * {UpgradeableBeacon} will check that this address is a contract.\\n */\\n function implementation() external view returns (address);\\n}\\n\",\"keccak256\":\"0xc59a78b07b44b2cf2e8ab4175fca91e8eca1eee2df7357b8d2a8833e5ea1f64c\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/Address.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol)\\n\\npragma solidity ^0.8.20;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary Address {\\n /**\\n * @dev The ETH balance of the account is not enough to perform the operation.\\n */\\n error AddressInsufficientBalance(address account);\\n\\n /**\\n * @dev There's no code at `target` (it is not a contract).\\n */\\n error AddressEmptyCode(address target);\\n\\n /**\\n * @dev A call to an address target failed. The target may have reverted.\\n */\\n error FailedInnerCall();\\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://consensys.net/diligence/blog/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.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n */\\n function sendValue(address payable recipient, uint256 amount) internal {\\n if (address(this).balance < amount) {\\n revert AddressInsufficientBalance(address(this));\\n }\\n\\n (bool success, ) = recipient.call{value: amount}(\\\"\\\");\\n if (!success) {\\n revert FailedInnerCall();\\n }\\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 or custom error, it is bubbled\\n * up by this function (like regular Solidity function calls). However, if\\n * the call reverted with no returned reason, this function reverts with a\\n * {FailedInnerCall} error.\\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 function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, 0);\\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 function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\\n if (address(this).balance < value) {\\n revert AddressInsufficientBalance(address(this));\\n }\\n (bool success, bytes memory returndata) = target.call{value: value}(data);\\n return verifyCallResultFromTarget(target, success, returndata);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a static call.\\n */\\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n (bool success, bytes memory returndata) = target.staticcall(data);\\n return verifyCallResultFromTarget(target, success, returndata);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a delegate call.\\n */\\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\n (bool success, bytes memory returndata) = target.delegatecall(data);\\n return verifyCallResultFromTarget(target, success, returndata);\\n }\\n\\n /**\\n * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target\\n * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an\\n * unsuccessful call.\\n */\\n function verifyCallResultFromTarget(\\n address target,\\n bool success,\\n bytes memory returndata\\n ) internal view returns (bytes memory) {\\n if (!success) {\\n _revert(returndata);\\n } else {\\n // only check if target is a contract if the call was successful and the return data is empty\\n // otherwise we already know that it was a contract\\n if (returndata.length == 0 && target.code.length == 0) {\\n revert AddressEmptyCode(target);\\n }\\n return returndata;\\n }\\n }\\n\\n /**\\n * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the\\n * revert reason or with a default {FailedInnerCall} error.\\n */\\n function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {\\n if (!success) {\\n _revert(returndata);\\n } else {\\n return returndata;\\n }\\n }\\n\\n /**\\n * @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}.\\n */\\n function _revert(bytes memory returndata) private pure {\\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 FailedInnerCall();\\n }\\n }\\n}\\n\",\"keccak256\":\"0xaf28a975a78550e45f65e559a3ad6a5ad43b9b8a37366999abd1b7084eb70721\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/StorageSlot.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/StorageSlot.sol)\\n// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.\\n\\npragma solidity ^0.8.20;\\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 * ```solidity\\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(newImplementation.code.length > 0);\\n * StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\\n * }\\n * }\\n * ```\\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 struct StringSlot {\\n string value;\\n }\\n\\n struct BytesSlot {\\n bytes 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 /**\\n * @dev Returns an `StringSlot` with member `value` located at `slot`.\\n */\\n function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `StringSlot` representation of the string storage pointer `store`.\\n */\\n function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := store.slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `BytesSlot` with member `value` located at `slot`.\\n */\\n function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.\\n */\\n function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := store.slot\\n }\\n }\\n}\\n\",\"keccak256\":\"0x32ba59b4b7299237c8ba56319110989d7978a039faf754793064e967e5894418\",\"license\":\"MIT\"},\"contracts/governance/MAHAProxy.sol\":{\"content\":\"// SPDX-License-Identifier: GPL-3.0\\n\\n// \\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2557 \\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2588\\u2557\\n// \\u2588\\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2557\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2557\\n// \\u2588\\u2588\\u2554\\u2588\\u2588\\u2588\\u2588\\u2554\\u2588\\u2588\\u2551\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2551\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2551\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2551\\n// \\u2588\\u2588\\u2551\\u255a\\u2588\\u2588\\u2554\\u255d\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2551\\n// \\u2588\\u2588\\u2551 \\u255a\\u2550\\u255d \\u2588\\u2588\\u2551\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\n// \\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\n\\n// Website: https://maha.xyz\\n// Discord: https://discord.gg/mahadao\\n// Twitter: https://twitter.com/mahaxyz_\\n\\npragma solidity 0.8.21;\\n\\nimport {IERC1967} from \\\"@openzeppelin/contracts/interfaces/IERC1967.sol\\\";\\nimport {ERC1967Proxy} from \\\"@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol\\\";\\nimport {ERC1967Utils} from \\\"@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol\\\";\\n\\n/**\\n * @dev Interface for {MAHAProxy}. In order to implement transparency, {MAHAProxy}\\n * does not implement this interface directly, and its upgradeability mechanism is implemented by an internal dispatch\\n * mechanism. The compiler is unaware that these functions are implemented by {MAHAProxy} and will not\\n * include them in the ABI so this interface must be used to interact with it.\\n */\\ninterface IMAHAProxy is IERC1967 {\\n function upgradeToAndCall(address, bytes calldata) external payable;\\n}\\n\\ncontract MAHAProxy is ERC1967Proxy {\\n // An immutable address for the admin to avoid unnecessary SLOADs before each call\\n // at the expense of removing the ability to change the admin once it's set.\\n // This is acceptable if the admin is always a ProxyAdmin instance or similar contract\\n // with its own ability to transfer the permissions to another account.\\n address private immutable _admin;\\n\\n /**\\n * @dev The proxy caller is the current admin, and can't fallback to the proxy target.\\n */\\n error ProxyDeniedAdminAccess();\\n\\n constructor(address logic_, address admin_, bytes memory data_) payable ERC1967Proxy(logic_, data_) {\\n _admin = admin_;\\n ERC1967Utils.changeAdmin(proxyAdmin());\\n }\\n\\n /**\\n * @dev Returns the admin of this proxy.\\n */\\n function proxyAdmin() public view virtual returns (address) {\\n return _admin;\\n }\\n\\n /**\\n * @dev Returns the implementation address of the proxy.\\n */\\n function implementation() public view virtual returns (address) {\\n return _implementation();\\n }\\n\\n /**\\n * @dev If caller is the admin process the call internally, otherwise transparently fallback to the proxy behavior.\\n */\\n function _fallback() internal virtual override {\\n if (msg.sender == proxyAdmin()) {\\n if (msg.sig != IMAHAProxy.upgradeToAndCall.selector) {\\n revert ProxyDeniedAdminAccess();\\n } else {\\n _dispatchUpgradeToAndCall();\\n }\\n } else {\\n super._fallback();\\n }\\n }\\n\\n /**\\n * @dev Upgrade the implementation of the proxy. See {ERC1967Utils-upgradeToAndCall}.\\n *\\n * Requirements:\\n *\\n * - If `data` is empty, `msg.value` must be zero.\\n */\\n function _dispatchUpgradeToAndCall() private {\\n (address newImplementation, bytes memory data) = abi.decode(msg.data[4:], (address, bytes));\\n ERC1967Utils.upgradeToAndCall(newImplementation, data);\\n }\\n}\\n\",\"keccak256\":\"0x0e11427b4b8373cbf082c1a4de2b36e85daf166f9a5819e86ba7eed721fdb524\",\"license\":\"GPL-3.0\"}},\"version\":1}", + "bytecode": "0x60a060405260405162000ab738038062000ab7833981016040819052620000269162000383565b828162000034828262000060565b50506001600160a01b038216608052620000576200005160805190565b620000c6565b50505062000481565b6200006b8262000138565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115620000b857620000b38282620001b8565b505050565b620000c262000235565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200010860008051602062000a97833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a1620001358162000257565b50565b806001600160a01b03163b6000036200017457604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080846001600160a01b031684604051620001d7919062000463565b600060405180830381855af49150503d806000811462000214576040519150601f19603f3d011682016040523d82523d6000602084013e62000219565b606091505b5090925090506200022c8583836200029a565b95945050505050565b3415620002555760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b0381166200028357604051633173bdd160e11b8152600060048201526024016200016b565b8060008051602062000a9783398151915262000197565b606082620002b357620002ad8262000300565b620002f9565b8151158015620002cb57506001600160a01b0384163b155b15620002f657604051639996b31560e01b81526001600160a01b03851660048201526024016200016b565b50805b9392505050565b805115620003115780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80516001600160a01b03811681146200034257600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b838110156200037a57818101518382015260200162000360565b50506000910152565b6000806000606084860312156200039957600080fd5b620003a4846200032a565b9250620003b4602085016200032a565b60408501519092506001600160401b0380821115620003d257600080fd5b818601915086601f830112620003e757600080fd5b815181811115620003fc57620003fc62000347565b604051601f8201601f19908116603f0116810190838211818310171562000427576200042762000347565b816040528281528960208487010111156200044157600080fd5b620004548360208301602088016200035d565b80955050505050509250925092565b60008251620004778184602087016200035d565b9190910192915050565b6080516105f5620004a26000396000818160420152609501526105f56000f3fe6080604052600436106100295760003560e01c80633e47158c146100335780635c60da1b1461007e575b610031610093565b005b34801561003f57600080fd5b507f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b03909116815260200160405180910390f35b34801561008a57600080fd5b50610062610152565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316330361014a576000357fffffffff00000000000000000000000000000000000000000000000000000000167f4f1ef2860000000000000000000000000000000000000000000000000000000014610140576040517fd2b576ec00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610148610161565b565b610148610190565b600061015c6101a0565b905090565b6000806101713660048184610467565b81019061017e91906104c0565b9150915061018c82826101d3565b5050565b61014861019b6101a0565b61022e565b600061015c7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b6101dc82610252565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a28051156102265761022182826102ff565b505050565b61018c610375565b3660008037600080366000845af43d6000803e80801561024d573d6000f35b3d6000fd5b806001600160a01b03163b6000036102a6576040517f4c9c8ce30000000000000000000000000000000000000000000000000000000081526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6060600080846001600160a01b03168460405161031c9190610590565b600060405180830381855af49150503d8060008114610357576040519150601f19603f3d011682016040523d82523d6000602084013e61035c565b606091505b509150915061036c8583836103ad565b95945050505050565b3415610148576040517fb398979f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6060826103c2576103bd82610425565b61041e565b81511580156103d957506001600160a01b0384163b155b1561041b576040517f9996b3150000000000000000000000000000000000000000000000000000000081526001600160a01b038516600482015260240161029d565b50805b9392505050565b8051156104355780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000808585111561047757600080fd5b8386111561048457600080fd5b5050820193919092039150565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080604083850312156104d357600080fd5b82356001600160a01b03811681146104ea57600080fd5b9150602083013567ffffffffffffffff8082111561050757600080fd5b818501915085601f83011261051b57600080fd5b81358181111561052d5761052d610491565b604051601f8201601f19908116603f0116810190838211818310171561055557610555610491565b8160405282815288602084870101111561056e57600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b818110156105b15760208186018101518583015201610597565b50600092019182525091905056fea2646970667358221220985287d79bc5a36a032b94e8ba707ed4716ec9927cf7522b79b257fbada4fced64736f6c63430008150033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103", + "deployedBytecode": "0x6080604052600436106100295760003560e01c80633e47158c146100335780635c60da1b1461007e575b610031610093565b005b34801561003f57600080fd5b507f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b03909116815260200160405180910390f35b34801561008a57600080fd5b50610062610152565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316330361014a576000357fffffffff00000000000000000000000000000000000000000000000000000000167f4f1ef2860000000000000000000000000000000000000000000000000000000014610140576040517fd2b576ec00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610148610161565b565b610148610190565b600061015c6101a0565b905090565b6000806101713660048184610467565b81019061017e91906104c0565b9150915061018c82826101d3565b5050565b61014861019b6101a0565b61022e565b600061015c7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b6101dc82610252565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a28051156102265761022182826102ff565b505050565b61018c610375565b3660008037600080366000845af43d6000803e80801561024d573d6000f35b3d6000fd5b806001600160a01b03163b6000036102a6576040517f4c9c8ce30000000000000000000000000000000000000000000000000000000081526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6060600080846001600160a01b03168460405161031c9190610590565b600060405180830381855af49150503d8060008114610357576040519150601f19603f3d011682016040523d82523d6000602084013e61035c565b606091505b509150915061036c8583836103ad565b95945050505050565b3415610148576040517fb398979f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6060826103c2576103bd82610425565b61041e565b81511580156103d957506001600160a01b0384163b155b1561041b576040517f9996b3150000000000000000000000000000000000000000000000000000000081526001600160a01b038516600482015260240161029d565b50805b9392505050565b8051156104355780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000808585111561047757600080fd5b8386111561048457600080fd5b5050820193919092039150565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080604083850312156104d357600080fd5b82356001600160a01b03811681146104ea57600080fd5b9150602083013567ffffffffffffffff8082111561050757600080fd5b818501915085601f83011261051b57600080fd5b81358181111561052d5761052d610491565b604051601f8201601f19908116603f0116810190838211818310171561055557610555610491565b8160405282815288602084870101111561056e57600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b818110156105b15760208186018101518583015201610597565b50600092019182525091905056fea2646970667358221220985287d79bc5a36a032b94e8ba707ed4716ec9927cf7522b79b257fbada4fced64736f6c63430008150033", + "devdoc": { + "errors": { + "AddressEmptyCode(address)": [ + { + "details": "There's no code at `target` (it is not a contract)." + } + ], + "ERC1967InvalidAdmin(address)": [ + { + "details": "The `admin` of the proxy is invalid." + } + ], + "ERC1967InvalidImplementation(address)": [ + { + "details": "The `implementation` of the proxy is invalid." + } + ], + "ERC1967NonPayable()": [ + { + "details": "An upgrade function sees `msg.value > 0` that may be lost." + } + ], + "FailedInnerCall()": [ + { + "details": "A call to an address target failed. The target may have reverted." + } + ], + "ProxyDeniedAdminAccess()": [ + { + "details": "The proxy caller is the current admin, and can't fallback to the proxy target." + } + ] + }, + "events": { + "AdminChanged(address,address)": { + "details": "Emitted when the admin account has changed." + }, + "Upgraded(address)": { + "details": "Emitted when the implementation is upgraded." + } + }, + "kind": "dev", + "methods": { + "implementation()": { + "details": "Returns the implementation address of the proxy." + }, + "proxyAdmin()": { + "details": "Returns the admin of this proxy." + } + }, + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + }, + "storageLayout": { + "storage": [], + "types": null + } +} \ No newline at end of file diff --git a/deployments/base/LockerToken-V3.json b/deployments/base/LockerToken-V3.json new file mode 100644 index 0000000..3795ce3 --- /dev/null +++ b/deployments/base/LockerToken-V3.json @@ -0,0 +1,1276 @@ +{ + "address": "0x2C2E2fC8A721d59F35d284446cACBDb6e7Ad582C", + "abi": [ + { + "inputs": [], + "name": "ERC721EnumerableForbiddenBatchMint", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "sender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "owner", + "type": "address" + } + ], + "name": "ERC721IncorrectOwner", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "ERC721InsufficientApproval", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "approver", + "type": "address" + } + ], + "name": "ERC721InvalidApprover", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "operator", + "type": "address" + } + ], + "name": "ERC721InvalidOperator", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + } + ], + "name": "ERC721InvalidOwner", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "receiver", + "type": "address" + } + ], + "name": "ERC721InvalidReceiver", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "ERC721InvalidSender", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "ERC721NonexistentToken", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "ERC721OutOfBoundsIndex", + "type": "error" + }, + { + "inputs": [], + "name": "InvalidInitialization", + "type": "error" + }, + { + "inputs": [], + "name": "NotInitializing", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + } + ], + "name": "OwnableInvalidOwner", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "OwnableUnauthorizedAccount", + "type": "error" + }, + { + "inputs": [], + "name": "ReentrancyGuardReentrantCall", + "type": "error" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "approved", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "indexed": false, + "internalType": "bool", + "name": "approved", + "type": "bool" + } + ], + "name": "ApprovalForAll", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "provider", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "locktime", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "enum ILocker.DepositType", + "name": "deposit_type", + "type": "uint8" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "ts", + "type": "uint256" + } + ], + "name": "Deposit", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint64", + "name": "version", + "type": "uint64" + } + ], + "name": "Initialized", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "end", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "start", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "power", + "type": "uint256" + } + ], + "indexed": true, + "internalType": "struct ILocker.LockedBalance", + "name": "lock", + "type": "tuple" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "address", + "name": "caller", + "type": "address" + } + ], + "name": "LockUpdated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "oldStaking", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newStaking", + "type": "address" + } + ], + "name": "StakingAddressSet", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "oldStakingBonus", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newStakingBonus", + "type": "address" + } + ], + "name": "StakingBonusAddressSet", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "prevSupply", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "supply", + "type": "uint256" + } + ], + "name": "Supply", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "oldToken", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newToken", + "type": "address" + } + ], + "name": "TokenAddressSet", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "provider", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "ts", + "type": "uint256" + } + ], + "name": "Withdraw", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_tokenId", + "type": "uint256" + } + ], + "name": "balanceOfNFT", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_lockDuration", + "type": "uint256" + }, + { + "internalType": "bool", + "name": "_stakeNFT", + "type": "bool" + } + ], + "name": "createLock", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_lockDuration", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "bool", + "name": "_stakeNFT", + "type": "bool" + } + ], + "name": "createLockFor", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "decimals", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_tokenId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "depositFor", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "getApproved", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_tokenId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "increaseAmount", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_tokenId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_lockDuration", + "type": "uint256" + } + ], + "name": "increaseUnlockTime", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_token", + "type": "address" + }, + { + "internalType": "address", + "name": "_staking", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "operator", + "type": "address" + } + ], + "name": "isApprovedForAll", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_tokenId", + "type": "uint256" + } + ], + "name": "locked", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "end", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "start", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "power", + "type": "uint256" + } + ], + "internalType": "struct ILocker.LockedBalance", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_tokenId", + "type": "uint256" + } + ], + "name": "lockedEnd", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_from", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_to", + "type": "uint256" + } + ], + "name": "merge", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_tokenId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_start", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_end", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_who", + "type": "address" + }, + { + "internalType": "bool", + "name": "_stakeNFT", + "type": "bool" + } + ], + "name": "migrateLock", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_tokenId", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_value", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_start", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_end", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_who", + "type": "address[]" + }, + { + "internalType": "bool[]", + "name": "_stakeNFT", + "type": "bool[]" + } + ], + "name": "migrateLocks", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "ownerOf", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "safeTransferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" + } + ], + "name": "safeTransferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "internalType": "bool", + "name": "approved", + "type": "bool" + } + ], + "name": "setApprovalForAll", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "staking", + "outputs": [ + { + "internalType": "contract IOmnichainStaking", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "supply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "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": [ + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "tokenByIndex", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "tokenOfOwnerByIndex", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "tokenURI", + "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": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "underlying", + "outputs": [ + { + "internalType": "contract IERC20", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_id", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_startDate", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_endDate", + "type": "uint256" + } + ], + "name": "updateLockDates", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "version", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + } + ], + "name": "votingPowerOf", + "outputs": [ + { + "internalType": "uint256", + "name": "_power", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_tokenId", + "type": "uint256" + } + ], + "name": "withdraw", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_user", + "type": "address" + } + ], + "name": "withdraw", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_tokenIds", + "type": "uint256[]" + } + ], + "name": "withdraw", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "args": [], + "numDeployments": 2 +} \ No newline at end of file diff --git a/deployments/base/OmnichainStakingToken-Impl.json b/deployments/base/OmnichainStakingToken-Impl.json new file mode 100644 index 0000000..606d6ff --- /dev/null +++ b/deployments/base/OmnichainStakingToken-Impl.json @@ -0,0 +1,2587 @@ +{ + "address": "0xAbC35444E66F67799484017E456205f4E5D097FE", + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "target", + "type": "address" + } + ], + "name": "AddressEmptyCode", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "AddressInsufficientBalance", + "type": "error" + }, + { + "inputs": [], + "name": "CheckpointUnorderedInsertion", + "type": "error" + }, + { + "inputs": [], + "name": "ECDSAInvalidSignature", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "length", + "type": "uint256" + } + ], + "name": "ECDSAInvalidSignatureLength", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "s", + "type": "bytes32" + } + ], + "name": "ECDSAInvalidSignatureS", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "increasedSupply", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "cap", + "type": "uint256" + } + ], + "name": "ERC20ExceededSafeSupply", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "allowance", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "needed", + "type": "uint256" + } + ], + "name": "ERC20InsufficientAllowance", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "sender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "balance", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "needed", + "type": "uint256" + } + ], + "name": "ERC20InsufficientBalance", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "approver", + "type": "address" + } + ], + "name": "ERC20InvalidApprover", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "receiver", + "type": "address" + } + ], + "name": "ERC20InvalidReceiver", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "ERC20InvalidSender", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + } + ], + "name": "ERC20InvalidSpender", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "timepoint", + "type": "uint256" + }, + { + "internalType": "uint48", + "name": "clock", + "type": "uint48" + } + ], + "name": "ERC5805FutureLookup", + "type": "error" + }, + { + "inputs": [], + "name": "ERC6372InconsistentClock", + "type": "error" + }, + { + "inputs": [], + "name": "FailedInnerCall", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "internalType": "uint256", + "name": "currentNonce", + "type": "uint256" + } + ], + "name": "InvalidAccountNonce", + "type": "error" + }, + { + "inputs": [], + "name": "InvalidInitialization", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "InvalidUnstaker", + "type": "error" + }, + { + "inputs": [], + "name": "NotInitializing", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + } + ], + "name": "OwnableInvalidOwner", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "OwnableUnauthorizedAccount", + "type": "error" + }, + { + "inputs": [], + "name": "ReentrancyGuardReentrantCall", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint8", + "name": "bits", + "type": "uint8" + }, + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "SafeCastOverflowedUintDowncast", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "token", + "type": "address" + } + ], + "name": "SafeERC20FailedOperation", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "expiry", + "type": "uint256" + } + ], + "name": "VotesExpiredSignature", + "type": "error" + }, + { + "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": "delegator", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "fromDelegate", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "toDelegate", + "type": "address" + } + ], + "name": "DelegateChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "delegate", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "previousVotes", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "newVotes", + "type": "uint256" + } + ], + "name": "DelegateVotesChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [], + "name": "EIP712DomainChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint64", + "name": "version", + "type": "uint64" + } + ], + "name": "Initialized", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "uint256", + "name": "id", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + } + ], + "name": "LockOwnershipTransferred", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "oldLpOracle", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newLpOracle", + "type": "address" + } + ], + "name": "LpOracleSet", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "previousVoter", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "_poolVoter", + "type": "address" + } + ], + "name": "PoolVoterUpdated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "token", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "Recovered", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "contract IERC20", + "name": "reward", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "address", + "name": "caller", + "type": "address" + } + ], + "name": "RewardAdded", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "contract IERC20", + "name": "reward", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", + "name": "who", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "caller", + "type": "address" + } + ], + "name": "RewardClaimed", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "newDuration", + "type": "uint256" + } + ], + "name": "RewardsDurationUpdated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "previousToken", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "_zeroToken", + "type": "address" + } + ], + "name": "RewardsTokenUpdated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "previousLocker", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "_tokenLocker", + "type": "address" + } + ], + "name": "TokenLockerUpdated", + "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": true, + "internalType": "address", + "name": "oldZeroAggregator", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newZeroAggregator", + "type": "address" + } + ], + "name": "ZeroAggregatorSet", + "type": "event" + }, + { + "inputs": [], + "name": "CLOCK_MODE", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "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": "value", + "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": "address", + "name": "account", + "type": "address" + }, + { + "internalType": "uint32", + "name": "pos", + "type": "uint32" + } + ], + "name": "checkpoints", + "outputs": [ + { + "components": [ + { + "internalType": "uint48", + "name": "_key", + "type": "uint48" + }, + { + "internalType": "uint208", + "name": "_value", + "type": "uint208" + } + ], + "internalType": "struct Checkpoints.Checkpoint208", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "clock", + "outputs": [ + { + "internalType": "uint48", + "name": "", + "type": "uint48" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "decimals", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "delegatee", + "type": "address" + } + ], + "name": "delegate", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "delegatee", + "type": "address" + }, + { + "internalType": "uint256", + "name": "nonce", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "expiry", + "type": "uint256" + }, + { + "internalType": "uint8", + "name": "v", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "r", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "s", + "type": "bytes32" + } + ], + "name": "delegateBySig", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "delegates", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "distributor", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "contract IERC20", + "name": "token", + "type": "address" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "earned", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "eip712Domain", + "outputs": [ + { + "internalType": "bytes1", + "name": "fields", + "type": "bytes1" + }, + { + "internalType": "string", + "name": "name", + "type": "string" + }, + { + "internalType": "string", + "name": "version", + "type": "string" + }, + { + "internalType": "uint256", + "name": "chainId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "verifyingContract", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "uint256[]", + "name": "extensions", + "type": "uint256[]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_user", + "type": "address" + } + ], + "name": "getLockedNftDetails", + "outputs": [ + { + "internalType": "uint256[]", + "name": "", + "type": "uint256[]" + }, + { + "components": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "end", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "start", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "power", + "type": "uint256" + } + ], + "internalType": "struct ILocker.LockedBalance[]", + "name": "", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "timepoint", + "type": "uint256" + } + ], + "name": "getPastTotalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "internalType": "uint256", + "name": "timepoint", + "type": "uint256" + } + ], + "name": "getPastVotes", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "who", + "type": "address" + }, + { + "internalType": "contract IERC20", + "name": "token", + "type": "address" + } + ], + "name": "getReward", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "who", + "type": "address" + } + ], + "name": "getRewardAll", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "who", + "type": "address" + } + ], + "name": "getRewardDual", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "who", + "type": "address" + } + ], + "name": "getRewardETH", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "getTokenPower", + "outputs": [ + { + "internalType": "uint256", + "name": "_power", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "getVotes", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "newLockAmount", + "type": "uint256" + } + ], + "name": "increaseLockAmount", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "newLockDuration", + "type": "uint256" + } + ], + "name": "increaseLockDuration", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_locker", + "type": "address" + }, + { + "internalType": "address", + "name": "_weth", + "type": "address" + }, + { + "internalType": "address[]", + "name": "_rewardTokens", + "type": "address[]" + }, + { + "internalType": "uint256", + "name": "_rewardsDuration", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_distributor", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "contract IERC20", + "name": "token", + "type": "address" + } + ], + "name": "lastTimeRewardApplicable", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "contract IERC20", + "name": "reward", + "type": "address" + } + ], + "name": "lastUpdateTime", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "lockedByToken", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "lockedTokenIdNfts", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "locker", + "outputs": [ + { + "internalType": "contract ILocker", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "migratedLockId", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "migrator", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_id", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_to", + "type": "address" + } + ], + "name": "moveLockOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes[]", + "name": "data", + "type": "bytes[]" + } + ], + "name": "multicall", + "outputs": [ + { + "internalType": "bytes[]", + "name": "results", + "type": "bytes[]" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + } + ], + "name": "nonces", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "contract IERC20", + "name": "token", + "type": "address" + }, + { + "internalType": "uint256", + "name": "reward", + "type": "uint256" + } + ], + "name": "notifyRewardAmount", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "numCheckpoints", + "outputs": [ + { + "internalType": "uint32", + "name": "", + "type": "uint32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" + } + ], + "name": "onERC721Received", + "outputs": [ + { + "internalType": "bytes4", + "name": "", + "type": "bytes4" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "contract IERC20", + "name": "reward", + "type": "address" + } + ], + "name": "periodFinish", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "power", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "tokenAddress", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenAmount", + "type": "uint256" + } + ], + "name": "recoverERC20", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "contract IERC20", + "name": "token", + "type": "address" + } + ], + "name": "registerNewRewardToken", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "contract IERC20", + "name": "token", + "type": "address" + } + ], + "name": "rewardPerToken", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "contract IERC20", + "name": "reward", + "type": "address" + } + ], + "name": "rewardPerTokenStored", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "contract IERC20", + "name": "reward", + "type": "address" + } + ], + "name": "rewardRate", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "rewardToken1", + "outputs": [ + { + "internalType": "contract IERC20", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "rewardToken2", + "outputs": [ + { + "internalType": "contract IERC20", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "rewardTokens", + "outputs": [ + { + "internalType": "contract IERC20", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "contract IERC20", + "name": "reward", + "type": "address" + }, + { + "internalType": "address", + "name": "who", + "type": "address" + } + ], + "name": "rewards", + "outputs": [ + { + "internalType": "uint256", + "name": "rewards", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "rewardsDuration", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "what", + "type": "address" + } + ], + "name": "setRewardDistributor", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "symbol", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "who", + "type": "address" + } + ], + "name": "totalNFTStaked", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "totalVotes", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "transfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "unstakeToken", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "contract IERC20", + "name": "token", + "type": "address" + }, + { + "internalType": "address", + "name": "who", + "type": "address" + } + ], + "name": "updateRewards", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "contract IERC20", + "name": "reward", + "type": "address" + }, + { + "internalType": "address", + "name": "who", + "type": "address" + } + ], + "name": "userRewardPerTokenPaid", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "weth", + "outputs": [ + { + "internalType": "contract IERC20", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "transactionHash": "0xd5f030f6ca9013c9939656ec57e5d972aa1ca37bbd713c65ce0e3e2693057d93", + "receipt": { + "to": null, + "from": "0xeD3Af36D7b9C5Bbd7ECFa7fb794eDa6E242016f5", + "contractAddress": "0xAbC35444E66F67799484017E456205f4E5D097FE", + "transactionIndex": 180, + "gasUsed": "4515805", + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "blockHash": "0x3710369ffd4610c9b3794ceac2d3a9569409fcfa7554ccb1ba1f6e1341faab36", + "transactionHash": "0xd5f030f6ca9013c9939656ec57e5d972aa1ca37bbd713c65ce0e3e2693057d93", + "logs": [], + "blockNumber": 35153317, + "cumulativeGasUsed": "32123562", + "status": 1, + "byzantium": true + }, + "args": [], + "numDeployments": 1, + "solcInputHash": "b98a329f2d99d2e75e55bff9e54c93ec", + "metadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"AddressEmptyCode\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"AddressInsufficientBalance\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CheckpointUnorderedInsertion\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ECDSAInvalidSignature\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"length\",\"type\":\"uint256\"}],\"name\":\"ECDSAInvalidSignatureLength\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"ECDSAInvalidSignatureS\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"increasedSupply\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"cap\",\"type\":\"uint256\"}],\"name\":\"ERC20ExceededSafeSupply\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"allowance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientAllowance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"approver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidApprover\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidReceiver\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSpender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"timepoint\",\"type\":\"uint256\"},{\"internalType\":\"uint48\",\"name\":\"clock\",\"type\":\"uint48\"}],\"name\":\"ERC5805FutureLookup\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ERC6372InconsistentClock\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailedInnerCall\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"currentNonce\",\"type\":\"uint256\"}],\"name\":\"InvalidAccountNonce\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidInitialization\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"InvalidUnstaker\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotInitializing\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"OwnableInvalidOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"OwnableUnauthorizedAccount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReentrancyGuardReentrantCall\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"bits\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"SafeCastOverflowedUintDowncast\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"SafeERC20FailedOperation\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"expiry\",\"type\":\"uint256\"}],\"name\":\"VotesExpiredSignature\",\"type\":\"error\"},{\"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\":\"delegator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"fromDelegate\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"toDelegate\",\"type\":\"address\"}],\"name\":\"DelegateChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegate\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"previousVotes\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newVotes\",\"type\":\"uint256\"}],\"name\":\"DelegateVotesChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"EIP712DomainChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"version\",\"type\":\"uint64\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"LockOwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldLpOracle\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newLpOracle\",\"type\":\"address\"}],\"name\":\"LpOracleSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousVoter\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_poolVoter\",\"type\":\"address\"}],\"name\":\"PoolVoterUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Recovered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contract IERC20\",\"name\":\"reward\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"RewardAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contract IERC20\",\"name\":\"reward\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"who\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"RewardClaimed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newDuration\",\"type\":\"uint256\"}],\"name\":\"RewardsDurationUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_zeroToken\",\"type\":\"address\"}],\"name\":\"RewardsTokenUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousLocker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_tokenLocker\",\"type\":\"address\"}],\"name\":\"TokenLockerUpdated\",\"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\":true,\"internalType\":\"address\",\"name\":\"oldZeroAggregator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newZeroAggregator\",\"type\":\"address\"}],\"name\":\"ZeroAggregatorSet\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"CLOCK_MODE\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"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\":\"value\",\"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\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"pos\",\"type\":\"uint32\"}],\"name\":\"checkpoints\",\"outputs\":[{\"components\":[{\"internalType\":\"uint48\",\"name\":\"_key\",\"type\":\"uint48\"},{\"internalType\":\"uint208\",\"name\":\"_value\",\"type\":\"uint208\"}],\"internalType\":\"struct Checkpoints.Checkpoint208\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"clock\",\"outputs\":[{\"internalType\":\"uint48\",\"name\":\"\",\"type\":\"uint48\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"}],\"name\":\"delegate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiry\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"delegateBySig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"delegates\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"distributor\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"earned\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"eip712Domain\",\"outputs\":[{\"internalType\":\"bytes1\",\"name\":\"fields\",\"type\":\"bytes1\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"verifyingContract\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"uint256[]\",\"name\":\"extensions\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"getLockedNftDetails\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"end\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"start\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"power\",\"type\":\"uint256\"}],\"internalType\":\"struct ILocker.LockedBalance[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"timepoint\",\"type\":\"uint256\"}],\"name\":\"getPastTotalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"timepoint\",\"type\":\"uint256\"}],\"name\":\"getPastVotes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"who\",\"type\":\"address\"},{\"internalType\":\"contract IERC20\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"getReward\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"who\",\"type\":\"address\"}],\"name\":\"getRewardAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"who\",\"type\":\"address\"}],\"name\":\"getRewardDual\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"who\",\"type\":\"address\"}],\"name\":\"getRewardETH\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"getTokenPower\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_power\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"getVotes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"newLockAmount\",\"type\":\"uint256\"}],\"name\":\"increaseLockAmount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"newLockDuration\",\"type\":\"uint256\"}],\"name\":\"increaseLockDuration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_locker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_weth\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"_rewardTokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256\",\"name\":\"_rewardsDuration\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_distributor\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"lastTimeRewardApplicable\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"reward\",\"type\":\"address\"}],\"name\":\"lastUpdateTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"lockedByToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"lockedTokenIdNfts\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"locker\",\"outputs\":[{\"internalType\":\"contract ILocker\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"migratedLockId\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"migrator\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_id\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"}],\"name\":\"moveLockOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes[]\",\"name\":\"data\",\"type\":\"bytes[]\"}],\"name\":\"multicall\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"results\",\"type\":\"bytes[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"reward\",\"type\":\"uint256\"}],\"name\":\"notifyRewardAmount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"numCheckpoints\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onERC721Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"reward\",\"type\":\"address\"}],\"name\":\"periodFinish\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"power\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenAmount\",\"type\":\"uint256\"}],\"name\":\"recoverERC20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"registerNewRewardToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"rewardPerToken\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"reward\",\"type\":\"address\"}],\"name\":\"rewardPerTokenStored\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"reward\",\"type\":\"address\"}],\"name\":\"rewardRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rewardToken1\",\"outputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rewardToken2\",\"outputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"rewardTokens\",\"outputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"reward\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"who\",\"type\":\"address\"}],\"name\":\"rewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"rewards\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rewardsDuration\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"what\",\"type\":\"address\"}],\"name\":\"setRewardDistributor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"who\",\"type\":\"address\"}],\"name\":\"totalNFTStaked\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalVotes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"unstakeToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"who\",\"type\":\"address\"}],\"name\":\"updateRewards\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"reward\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"who\",\"type\":\"address\"}],\"name\":\"userRewardPerTokenPaid\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"weth\",\"outputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"errors\":{\"AddressEmptyCode(address)\":[{\"details\":\"There's no code at `target` (it is not a contract).\"}],\"AddressInsufficientBalance(address)\":[{\"details\":\"The ETH balance of the account is not enough to perform the operation.\"}],\"CheckpointUnorderedInsertion()\":[{\"details\":\"A value was attempted to be inserted on a past checkpoint.\"}],\"ECDSAInvalidSignature()\":[{\"details\":\"The signature derives the `address(0)`.\"}],\"ECDSAInvalidSignatureLength(uint256)\":[{\"details\":\"The signature has an invalid length.\"}],\"ECDSAInvalidSignatureS(bytes32)\":[{\"details\":\"The signature has an S value that is in the upper half order.\"}],\"ERC20ExceededSafeSupply(uint256,uint256)\":[{\"details\":\"Total supply cap has been exceeded, introducing a risk of votes overflowing.\"}],\"ERC20InsufficientAllowance(address,uint256,uint256)\":[{\"details\":\"Indicates a failure with the `spender`\\u2019s `allowance`. Used in transfers.\",\"params\":{\"allowance\":\"Amount of tokens a `spender` is allowed to operate with.\",\"needed\":\"Minimum amount required to perform a transfer.\",\"spender\":\"Address that may be allowed to operate on tokens without being their owner.\"}}],\"ERC20InsufficientBalance(address,uint256,uint256)\":[{\"details\":\"Indicates an error related to the current `balance` of a `sender`. Used in transfers.\",\"params\":{\"balance\":\"Current balance for the interacting account.\",\"needed\":\"Minimum amount required to perform a transfer.\",\"sender\":\"Address whose tokens are being transferred.\"}}],\"ERC20InvalidApprover(address)\":[{\"details\":\"Indicates a failure with the `approver` of a token to be approved. Used in approvals.\",\"params\":{\"approver\":\"Address initiating an approval operation.\"}}],\"ERC20InvalidReceiver(address)\":[{\"details\":\"Indicates a failure with the token `receiver`. Used in transfers.\",\"params\":{\"receiver\":\"Address to which tokens are being transferred.\"}}],\"ERC20InvalidSender(address)\":[{\"details\":\"Indicates a failure with the token `sender`. Used in transfers.\",\"params\":{\"sender\":\"Address whose tokens are being transferred.\"}}],\"ERC20InvalidSpender(address)\":[{\"details\":\"Indicates a failure with the `spender` to be approved. Used in approvals.\",\"params\":{\"spender\":\"Address that may be allowed to operate on tokens without being their owner.\"}}],\"ERC5805FutureLookup(uint256,uint48)\":[{\"details\":\"Lookup to future votes is not available.\"}],\"ERC6372InconsistentClock()\":[{\"details\":\"The clock was incorrectly modified.\"}],\"FailedInnerCall()\":[{\"details\":\"A call to an address target failed. The target may have reverted.\"}],\"InvalidAccountNonce(address,uint256)\":[{\"details\":\"The nonce used for an `account` is not the expected current nonce.\"}],\"InvalidInitialization()\":[{\"details\":\"The contract is already initialized.\"}],\"NotInitializing()\":[{\"details\":\"The contract is not initializing.\"}],\"OwnableInvalidOwner(address)\":[{\"details\":\"The owner is not a valid owner account. (eg. `address(0)`)\"}],\"OwnableUnauthorizedAccount(address)\":[{\"details\":\"The caller account is not authorized to perform an operation.\"}],\"ReentrancyGuardReentrantCall()\":[{\"details\":\"Unauthorized reentrant call.\"}],\"SafeCastOverflowedUintDowncast(uint8,uint256)\":[{\"details\":\"Value doesn't fit in an uint of `bits` size.\"}],\"SafeERC20FailedOperation(address)\":[{\"details\":\"An operation with an ERC20 token failed.\"}],\"VotesExpiredSignature(uint256)\":[{\"details\":\"The signature used has expired.\"}]},\"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.\"},\"DelegateChanged(address,address,address)\":{\"details\":\"Emitted when an account changes their delegate.\"},\"DelegateVotesChanged(address,uint256,uint256)\":{\"details\":\"Emitted when a token transfer or delegate change results in changes to a delegate's number of voting units.\"},\"EIP712DomainChanged()\":{\"details\":\"MAY be emitted to signal that the domain could have changed.\"},\"Initialized(uint64)\":{\"details\":\"Triggered when the contract has been initialized or reinitialized.\"},\"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\":{\"CLOCK_MODE()\":{\"details\":\"Machine-readable description of the clock as specified in EIP-6372.\"},\"allowance(address,address)\":{\"details\":\"See {IERC20-allowance}.\"},\"approve(address,uint256)\":{\"details\":\"See {IERC20-approve}. NOTE: If `value` 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}.\"},\"checkpoints(address,uint32)\":{\"details\":\"Get the `pos`-th checkpoint for `account`.\"},\"clock()\":{\"details\":\"Clock used for flagging checkpoints. Can be overridden to implement timestamp based checkpoints (and voting), in which case {CLOCK_MODE} should be overridden as well to match.\"},\"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 default value returned by this function, unless it's 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}.\"},\"delegate(address)\":{\"details\":\"Delegates votes from the sender to `delegatee`.\"},\"delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32)\":{\"details\":\"Delegates votes from signer to `delegatee`.\"},\"delegates(address)\":{\"details\":\"Returns the delegate that `account` has chosen.\"},\"earned(address,address)\":{\"details\":\"It adds to the rewards the amount of reward earned since last time that is the difference in reward per token from now and last time multiplied by the number of tokens staked by the person\",\"params\":{\"account\":\"The account for which the rewards are earned\",\"token\":\"The token for which the rewards are earned\"},\"returns\":{\"_0\":\"How much a given account earned rewards\"}},\"eip712Domain()\":{\"details\":\"See {IERC-5267}.\"},\"getLockedNftDetails(address)\":{\"params\":{\"_user\":\"The address of the user.\"},\"returns\":{\"_0\":\"lockedTokenIds The array of locked NFT IDs.\",\"_1\":\"tokenDetails The array of locked NFT details.\"}},\"getPastTotalSupply(uint256)\":{\"details\":\"Returns the total supply of votes available at a specific moment in the past. If the `clock()` is configured to use block numbers, this will return the value at the end of the corresponding block. NOTE: This value is the sum of all available votes, which is not necessarily the sum of all delegated votes. Votes that have not been delegated are still part of total supply, even though they would not participate in a vote. Requirements: - `timepoint` must be in the past. If operating using block numbers, the block must be already mined.\"},\"getPastVotes(address,uint256)\":{\"details\":\"Returns the amount of votes that `account` had at a specific moment in the past. If the `clock()` is configured to use block numbers, this will return the value at the end of the corresponding block. Requirements: - `timepoint` must be in the past. If operating using block numbers, the block must be already mined.\"},\"getReward(address,address)\":{\"params\":{\"token\":\"The token for which the rewards are paid\",\"who\":\"The account for which the rewards are paid\"}},\"getRewardDual(address)\":{\"params\":{\"who\":\"The account for which the rewards are paid\"}},\"getRewardETH(address)\":{\"details\":\"This is an ETH variant of the get rewards function. It unwraps the token and sends out raw ETH to the user.\"},\"getTokenPower(uint256)\":{\"params\":{\"amount\":\"The amount of tokens to give voting power for.\"}},\"getVotes(address)\":{\"details\":\"Returns the current amount of votes that `account` has.\"},\"increaseLockAmount(uint256,uint256)\":{\"params\":{\"newLockAmount\":\"The new lock amount in tokens.\",\"tokenId\":\"The ID of the NFT for which to update the lock amount.\"}},\"increaseLockDuration(uint256,uint256)\":{\"params\":{\"newLockDuration\":\"The new lock duration in seconds.\",\"tokenId\":\"The ID of the NFT for which to update the lock duration.\"}},\"lastTimeRewardApplicable(address)\":{\"details\":\"Returns the current timestamp if a reward is being distributed and the end of the staking period if staking is done\",\"params\":{\"token\":\"The token for which the last time reward applicable is requested\"}},\"multicall(bytes[])\":{\"custom:oz-upgrades-unsafe-allow-reachable\":\"delegatecall\",\"details\":\"Receives and executes a batch of function calls on this contract.\"},\"name()\":{\"details\":\"Returns the name of the token.\"},\"nonces(address)\":{\"details\":\"Returns the next unused nonce for an address.\"},\"notifyRewardAmount(address,uint256)\":{\"params\":{\"reward\":\"Amount of reward tokens to distribute\",\"token\":\"The token for which the rewards are added\"}},\"numCheckpoints(address)\":{\"details\":\"Get number of checkpoints for `account`.\"},\"onERC721Received(address,address,uint256,bytes)\":{\"params\":{\"data\":\"Additional data.\",\"from\":\"The address sending the ERC721 token.\",\"tokenId\":\"The ID of the ERC721 token.\"},\"returns\":{\"_0\":\"ERC721 onERC721Received selector.\"}},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"recoverERC20(address,uint256)\":{\"details\":\"Admin function to recover ERC20 tokens sent to this contract.\",\"params\":{\"tokenAddress\":\"The address of the ERC20 token to recover.\",\"tokenAmount\":\"The amount of tokens to recover.\"}},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner.\"},\"rewardPerToken(address)\":{\"details\":\"It adds to the reward per token: the time elapsed since the `rewardPerTokenStored` was last updated multiplied by the `rewardRate` divided by the number of tokens\",\"params\":{\"token\":\"The token for which the reward per token is updated\"}},\"setRewardDistributor(address)\":{\"params\":{\"what\":\"The new address for the rewards distributor\"}},\"symbol()\":{\"details\":\"Returns the symbol of the token, usually a shorter version of the name.\"},\"totalNFTStaked(address)\":{\"params\":{\"who\":\"The address of the user.\"}},\"totalSupply()\":{\"details\":\"See {IERC20-totalSupply}.\"},\"transfer(address,uint256)\":{\"details\":\"Prevents transfers of voting power.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Prevents transfers of voting power.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"},\"unstakeToken(uint256)\":{\"params\":{\"tokenId\":\"The ID of the regular token NFT to unstake.\"}},\"updateRewards(address,address)\":{\"params\":{\"token\":\"The token for which the rewards are updated\",\"who\":\"The account for which the rewards are updated\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"distributor()\":{\"notice\":\"The address of the rewards distributor.\"},\"earned(address,address)\":{\"notice\":\"Returns how much a given account earned rewards\"},\"getLockedNftDetails(address)\":{\"notice\":\"Gets the details of locked NFTs for a given user.\"},\"getReward(address,address)\":{\"notice\":\"Triggers a payment of the reward earned to the msg.sender\"},\"getRewardDual(address)\":{\"notice\":\"Triggers a payment of the rewards earned for both tokens\"},\"getTokenPower(uint256)\":{\"notice\":\"Returns how much max voting power this locker will give out for the given amount of tokens. This varies for the instance of locker.\"},\"increaseLockAmount(uint256,uint256)\":{\"notice\":\"Updates the lock amount for a specific NFT.\"},\"increaseLockDuration(uint256,uint256)\":{\"notice\":\"Updates the lock duration for a specific NFT.\"},\"lastTimeRewardApplicable(address)\":{\"notice\":\"Queries the last timestamp at which a reward was distributed\"},\"lastUpdateTime(address)\":{\"notice\":\"Last time `rewardPerTokenStored` was updated\"},\"lockedByToken(uint256)\":{\"notice\":\"used to keep track of ownership of token lockers\"},\"locker()\":{\"notice\":\"The address of the locker contract.\"},\"notifyRewardAmount(address,uint256)\":{\"notice\":\"Adds rewards to be distributed\"},\"onERC721Received(address,address,uint256,bytes)\":{\"notice\":\"Receives an ERC721 token from the lockers and grants voting power accordingly.\"},\"periodFinish(address)\":{\"notice\":\"Gets the period finish for a reward token\"},\"power(uint256)\":{\"notice\":\"How much voting power a given NFT ID has.\"},\"rewardPerToken(address)\":{\"notice\":\"Used to actualize the `rewardPerTokenStored`\"},\"rewardPerTokenStored(address)\":{\"notice\":\"Helps to compute the amount earned by someone. Cumulates rewards accumulated for one token since the beginning. Stored as a uint so it is actually a float times the base of the reward token\"},\"rewardRate(address)\":{\"notice\":\"Reward per second given to the staking contract, split among the staked tokens\"},\"rewardToken1()\":{\"notice\":\"Gets the first reward token for which the rewards are distributed\"},\"rewardToken2()\":{\"notice\":\"Gets the second reward token for which the rewards are distributed\"},\"rewardTokens(uint256)\":{\"notice\":\"The reward tokens for the staking contract\"},\"rewards(address,address)\":{\"notice\":\"Stores for each account the accumulated rewards\"},\"rewardsDuration()\":{\"notice\":\"Duration of the reward distribution\"},\"setRewardDistributor(address)\":{\"notice\":\"Admin only function to set the rewards distributor\"},\"totalNFTStaked(address)\":{\"notice\":\"The total number of NFTs staked in this contract for a user\"},\"totalVotes()\":{\"notice\":\"The total number of votes in this contract\"},\"unstakeToken(uint256)\":{\"notice\":\"Unstakes a regular token NFT and transfers it back to the user.\"},\"updateRewards(address,address)\":{\"notice\":\"Updates the rewards for an account\"},\"userRewardPerTokenPaid(address,address)\":{\"notice\":\"Stores for each account the `rewardPerToken`: we do the difference between the current and the old value to compute what has been earned by an account\"},\"weth()\":{\"notice\":\"The address of the WETH token.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/governance/locker/staking/OmnichainStakingToken.sol\":\"OmnichainStakingToken\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":1000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)\\n\\npragma solidity ^0.8.20;\\n\\nimport {ContextUpgradeable} from \\\"../utils/ContextUpgradeable.sol\\\";\\nimport {Initializable} from \\\"../proxy/utils/Initializable.sol\\\";\\n\\n/**\\n * @dev Contract module which provides a basic access control mechanism, where\\n * there is an account (an owner) that can be granted exclusive access to\\n * specific functions.\\n *\\n * The initial owner is set to the address provided by the deployer. This can\\n * later be changed with {transferOwnership}.\\n *\\n * This module is used through inheritance. It will make available the modifier\\n * `onlyOwner`, which can be applied to your functions to restrict their use to\\n * the owner.\\n */\\nabstract contract OwnableUpgradeable is Initializable, ContextUpgradeable {\\n /// @custom:storage-location erc7201:openzeppelin.storage.Ownable\\n struct OwnableStorage {\\n address _owner;\\n }\\n\\n // keccak256(abi.encode(uint256(keccak256(\\\"openzeppelin.storage.Ownable\\\")) - 1)) & ~bytes32(uint256(0xff))\\n bytes32 private constant OwnableStorageLocation = 0x9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300;\\n\\n function _getOwnableStorage() private pure returns (OwnableStorage storage $) {\\n assembly {\\n $.slot := OwnableStorageLocation\\n }\\n }\\n\\n /**\\n * @dev The caller account is not authorized to perform an operation.\\n */\\n error OwnableUnauthorizedAccount(address account);\\n\\n /**\\n * @dev The owner is not a valid owner account. (eg. `address(0)`)\\n */\\n error OwnableInvalidOwner(address owner);\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /**\\n * @dev Initializes the contract setting the address provided by the deployer as the initial owner.\\n */\\n function __Ownable_init(address initialOwner) internal onlyInitializing {\\n __Ownable_init_unchained(initialOwner);\\n }\\n\\n function __Ownable_init_unchained(address initialOwner) internal onlyInitializing {\\n if (initialOwner == address(0)) {\\n revert OwnableInvalidOwner(address(0));\\n }\\n _transferOwnership(initialOwner);\\n }\\n\\n /**\\n * @dev Throws if called by any account other than the owner.\\n */\\n modifier onlyOwner() {\\n _checkOwner();\\n _;\\n }\\n\\n /**\\n * @dev Returns the address of the current owner.\\n */\\n function owner() public view virtual returns (address) {\\n OwnableStorage storage $ = _getOwnableStorage();\\n return $._owner;\\n }\\n\\n /**\\n * @dev Throws if the sender is not the owner.\\n */\\n function _checkOwner() internal view virtual {\\n if (owner() != _msgSender()) {\\n revert OwnableUnauthorizedAccount(_msgSender());\\n }\\n }\\n\\n /**\\n * @dev Leaves the contract without owner. It will not be possible to call\\n * `onlyOwner` functions. Can only be called by the current owner.\\n *\\n * NOTE: Renouncing ownership will leave the contract without an owner,\\n * thereby disabling any functionality that is only available to the owner.\\n */\\n function renounceOwnership() public virtual onlyOwner {\\n _transferOwnership(address(0));\\n }\\n\\n /**\\n * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n * Can only be called by the current owner.\\n */\\n function transferOwnership(address newOwner) public virtual onlyOwner {\\n if (newOwner == address(0)) {\\n revert OwnableInvalidOwner(address(0));\\n }\\n _transferOwnership(newOwner);\\n }\\n\\n /**\\n * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n * Internal function without access restriction.\\n */\\n function _transferOwnership(address newOwner) internal virtual {\\n OwnableStorage storage $ = _getOwnableStorage();\\n address oldOwner = $._owner;\\n $._owner = newOwner;\\n emit OwnershipTransferred(oldOwner, newOwner);\\n }\\n}\\n\",\"keccak256\":\"0xc163fcf9bb10138631a9ba5564df1fa25db9adff73bd9ee868a8ae1858fe093a\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/governance/utils/VotesUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (governance/utils/Votes.sol)\\npragma solidity ^0.8.20;\\n\\nimport {IERC5805} from \\\"@openzeppelin/contracts/interfaces/IERC5805.sol\\\";\\nimport {ContextUpgradeable} from \\\"../../utils/ContextUpgradeable.sol\\\";\\nimport {NoncesUpgradeable} from \\\"../../utils/NoncesUpgradeable.sol\\\";\\nimport {EIP712Upgradeable} from \\\"../../utils/cryptography/EIP712Upgradeable.sol\\\";\\nimport {Checkpoints} from \\\"@openzeppelin/contracts/utils/structs/Checkpoints.sol\\\";\\nimport {SafeCast} from \\\"@openzeppelin/contracts/utils/math/SafeCast.sol\\\";\\nimport {ECDSA} from \\\"@openzeppelin/contracts/utils/cryptography/ECDSA.sol\\\";\\nimport {Time} from \\\"@openzeppelin/contracts/utils/types/Time.sol\\\";\\nimport {Initializable} from \\\"../../proxy/utils/Initializable.sol\\\";\\n\\n/**\\n * @dev This is a base abstract contract that tracks voting units, which are a measure of voting power that can be\\n * transferred, and provides a system of vote delegation, where an account can delegate its voting units to a sort of\\n * \\\"representative\\\" that will pool delegated voting units from different accounts and can then use it to vote in\\n * decisions. In fact, voting units _must_ be delegated in order to count as actual votes, and an account has to\\n * delegate those votes to itself if it wishes to participate in decisions and does not have a trusted representative.\\n *\\n * This contract is often combined with a token contract such that voting units correspond to token units. For an\\n * example, see {ERC721Votes}.\\n *\\n * The full history of delegate votes is tracked on-chain so that governance protocols can consider votes as distributed\\n * at a particular block number to protect against flash loans and double voting. The opt-in delegate system makes the\\n * cost of this history tracking optional.\\n *\\n * When using this module the derived contract must implement {_getVotingUnits} (for example, make it return\\n * {ERC721-balanceOf}), and can use {_transferVotingUnits} to track a change in the distribution of those units (in the\\n * previous example, it would be included in {ERC721-_update}).\\n */\\nabstract contract VotesUpgradeable is Initializable, ContextUpgradeable, EIP712Upgradeable, NoncesUpgradeable, IERC5805 {\\n using Checkpoints for Checkpoints.Trace208;\\n\\n bytes32 private constant DELEGATION_TYPEHASH =\\n keccak256(\\\"Delegation(address delegatee,uint256 nonce,uint256 expiry)\\\");\\n\\n /// @custom:storage-location erc7201:openzeppelin.storage.Votes\\n struct VotesStorage {\\n mapping(address account => address) _delegatee;\\n\\n mapping(address delegatee => Checkpoints.Trace208) _delegateCheckpoints;\\n\\n Checkpoints.Trace208 _totalCheckpoints;\\n }\\n\\n // keccak256(abi.encode(uint256(keccak256(\\\"openzeppelin.storage.Votes\\\")) - 1)) & ~bytes32(uint256(0xff))\\n bytes32 private constant VotesStorageLocation = 0xe8b26c30fad74198956032a3533d903385d56dd795af560196f9c78d4af40d00;\\n\\n function _getVotesStorage() private pure returns (VotesStorage storage $) {\\n assembly {\\n $.slot := VotesStorageLocation\\n }\\n }\\n\\n /**\\n * @dev The clock was incorrectly modified.\\n */\\n error ERC6372InconsistentClock();\\n\\n /**\\n * @dev Lookup to future votes is not available.\\n */\\n error ERC5805FutureLookup(uint256 timepoint, uint48 clock);\\n\\n function __Votes_init() internal onlyInitializing {\\n }\\n\\n function __Votes_init_unchained() internal onlyInitializing {\\n }\\n /**\\n * @dev Clock used for flagging checkpoints. Can be overridden to implement timestamp based\\n * checkpoints (and voting), in which case {CLOCK_MODE} should be overridden as well to match.\\n */\\n function clock() public view virtual returns (uint48) {\\n return Time.blockNumber();\\n }\\n\\n /**\\n * @dev Machine-readable description of the clock as specified in EIP-6372.\\n */\\n // solhint-disable-next-line func-name-mixedcase\\n function CLOCK_MODE() public view virtual returns (string memory) {\\n // Check that the clock was not modified\\n if (clock() != Time.blockNumber()) {\\n revert ERC6372InconsistentClock();\\n }\\n return \\\"mode=blocknumber&from=default\\\";\\n }\\n\\n /**\\n * @dev Returns the current amount of votes that `account` has.\\n */\\n function getVotes(address account) public view virtual returns (uint256) {\\n VotesStorage storage $ = _getVotesStorage();\\n return $._delegateCheckpoints[account].latest();\\n }\\n\\n /**\\n * @dev Returns the amount of votes that `account` had at a specific moment in the past. If the `clock()` is\\n * configured to use block numbers, this will return the value at the end of the corresponding block.\\n *\\n * Requirements:\\n *\\n * - `timepoint` must be in the past. If operating using block numbers, the block must be already mined.\\n */\\n function getPastVotes(address account, uint256 timepoint) public view virtual returns (uint256) {\\n VotesStorage storage $ = _getVotesStorage();\\n uint48 currentTimepoint = clock();\\n if (timepoint >= currentTimepoint) {\\n revert ERC5805FutureLookup(timepoint, currentTimepoint);\\n }\\n return $._delegateCheckpoints[account].upperLookupRecent(SafeCast.toUint48(timepoint));\\n }\\n\\n /**\\n * @dev Returns the total supply of votes available at a specific moment in the past. If the `clock()` is\\n * configured to use block numbers, this will return the value at the end of the corresponding block.\\n *\\n * NOTE: This value is the sum of all available votes, which is not necessarily the sum of all delegated votes.\\n * Votes that have not been delegated are still part of total supply, even though they would not participate in a\\n * vote.\\n *\\n * Requirements:\\n *\\n * - `timepoint` must be in the past. If operating using block numbers, the block must be already mined.\\n */\\n function getPastTotalSupply(uint256 timepoint) public view virtual returns (uint256) {\\n VotesStorage storage $ = _getVotesStorage();\\n uint48 currentTimepoint = clock();\\n if (timepoint >= currentTimepoint) {\\n revert ERC5805FutureLookup(timepoint, currentTimepoint);\\n }\\n return $._totalCheckpoints.upperLookupRecent(SafeCast.toUint48(timepoint));\\n }\\n\\n /**\\n * @dev Returns the current total supply of votes.\\n */\\n function _getTotalSupply() internal view virtual returns (uint256) {\\n VotesStorage storage $ = _getVotesStorage();\\n return $._totalCheckpoints.latest();\\n }\\n\\n /**\\n * @dev Returns the delegate that `account` has chosen.\\n */\\n function delegates(address account) public view virtual returns (address) {\\n VotesStorage storage $ = _getVotesStorage();\\n return $._delegatee[account];\\n }\\n\\n /**\\n * @dev Delegates votes from the sender to `delegatee`.\\n */\\n function delegate(address delegatee) public virtual {\\n address account = _msgSender();\\n _delegate(account, delegatee);\\n }\\n\\n /**\\n * @dev Delegates votes from signer to `delegatee`.\\n */\\n function delegateBySig(\\n address delegatee,\\n uint256 nonce,\\n uint256 expiry,\\n uint8 v,\\n bytes32 r,\\n bytes32 s\\n ) public virtual {\\n if (block.timestamp > expiry) {\\n revert VotesExpiredSignature(expiry);\\n }\\n address signer = ECDSA.recover(\\n _hashTypedDataV4(keccak256(abi.encode(DELEGATION_TYPEHASH, delegatee, nonce, expiry))),\\n v,\\n r,\\n s\\n );\\n _useCheckedNonce(signer, nonce);\\n _delegate(signer, delegatee);\\n }\\n\\n /**\\n * @dev Delegate all of `account`'s voting units to `delegatee`.\\n *\\n * Emits events {IVotes-DelegateChanged} and {IVotes-DelegateVotesChanged}.\\n */\\n function _delegate(address account, address delegatee) internal virtual {\\n VotesStorage storage $ = _getVotesStorage();\\n address oldDelegate = delegates(account);\\n $._delegatee[account] = delegatee;\\n\\n emit DelegateChanged(account, oldDelegate, delegatee);\\n _moveDelegateVotes(oldDelegate, delegatee, _getVotingUnits(account));\\n }\\n\\n /**\\n * @dev Transfers, mints, or burns voting units. To register a mint, `from` should be zero. To register a burn, `to`\\n * should be zero. Total supply of voting units will be adjusted with mints and burns.\\n */\\n function _transferVotingUnits(address from, address to, uint256 amount) internal virtual {\\n VotesStorage storage $ = _getVotesStorage();\\n if (from == address(0)) {\\n _push($._totalCheckpoints, _add, SafeCast.toUint208(amount));\\n }\\n if (to == address(0)) {\\n _push($._totalCheckpoints, _subtract, SafeCast.toUint208(amount));\\n }\\n _moveDelegateVotes(delegates(from), delegates(to), amount);\\n }\\n\\n /**\\n * @dev Moves delegated votes from one delegate to another.\\n */\\n function _moveDelegateVotes(address from, address to, uint256 amount) private {\\n VotesStorage storage $ = _getVotesStorage();\\n if (from != to && amount > 0) {\\n if (from != address(0)) {\\n (uint256 oldValue, uint256 newValue) = _push(\\n $._delegateCheckpoints[from],\\n _subtract,\\n SafeCast.toUint208(amount)\\n );\\n emit DelegateVotesChanged(from, oldValue, newValue);\\n }\\n if (to != address(0)) {\\n (uint256 oldValue, uint256 newValue) = _push(\\n $._delegateCheckpoints[to],\\n _add,\\n SafeCast.toUint208(amount)\\n );\\n emit DelegateVotesChanged(to, oldValue, newValue);\\n }\\n }\\n }\\n\\n /**\\n * @dev Get number of checkpoints for `account`.\\n */\\n function _numCheckpoints(address account) internal view virtual returns (uint32) {\\n VotesStorage storage $ = _getVotesStorage();\\n return SafeCast.toUint32($._delegateCheckpoints[account].length());\\n }\\n\\n /**\\n * @dev Get the `pos`-th checkpoint for `account`.\\n */\\n function _checkpoints(\\n address account,\\n uint32 pos\\n ) internal view virtual returns (Checkpoints.Checkpoint208 memory) {\\n VotesStorage storage $ = _getVotesStorage();\\n return $._delegateCheckpoints[account].at(pos);\\n }\\n\\n function _push(\\n Checkpoints.Trace208 storage store,\\n function(uint208, uint208) view returns (uint208) op,\\n uint208 delta\\n ) private returns (uint208, uint208) {\\n return store.push(clock(), op(store.latest(), delta));\\n }\\n\\n function _add(uint208 a, uint208 b) private pure returns (uint208) {\\n return a + b;\\n }\\n\\n function _subtract(uint208 a, uint208 b) private pure returns (uint208) {\\n return a - b;\\n }\\n\\n /**\\n * @dev Must return the voting units held by an account.\\n */\\n function _getVotingUnits(address) internal view virtual returns (uint256);\\n}\\n\",\"keccak256\":\"0xa9db28430d1e949a78a2040f08ce0062b39f1ee436d2ca4f7bb3c99001ae0bc3\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (proxy/utils/Initializable.sol)\\n\\npragma solidity ^0.8.20;\\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 * ```solidity\\n * contract MyToken is ERC20Upgradeable {\\n * function initialize() initializer public {\\n * __ERC20_init(\\\"MyToken\\\", \\\"MTK\\\");\\n * }\\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 Storage of the initializable contract.\\n *\\n * It's implemented on a custom ERC-7201 namespace to reduce the risk of storage collisions\\n * when using with upgradeable contracts.\\n *\\n * @custom:storage-location erc7201:openzeppelin.storage.Initializable\\n */\\n struct InitializableStorage {\\n /**\\n * @dev Indicates that the contract has been initialized.\\n */\\n uint64 _initialized;\\n /**\\n * @dev Indicates that the contract is in the process of being initialized.\\n */\\n bool _initializing;\\n }\\n\\n // keccak256(abi.encode(uint256(keccak256(\\\"openzeppelin.storage.Initializable\\\")) - 1)) & ~bytes32(uint256(0xff))\\n bytes32 private constant INITIALIZABLE_STORAGE = 0xf0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00;\\n\\n /**\\n * @dev The contract is already initialized.\\n */\\n error InvalidInitialization();\\n\\n /**\\n * @dev The contract is not initializing.\\n */\\n error NotInitializing();\\n\\n /**\\n * @dev Triggered when the contract has been initialized or reinitialized.\\n */\\n event Initialized(uint64 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.\\n *\\n * Similar to `reinitializer(1)`, except that in the context of a constructor an `initializer` may be invoked any\\n * number of times. This behavior in the constructor can be useful during testing and is not expected to be used in\\n * production.\\n *\\n * Emits an {Initialized} event.\\n */\\n modifier initializer() {\\n // solhint-disable-next-line var-name-mixedcase\\n InitializableStorage storage $ = _getInitializableStorage();\\n\\n // Cache values to avoid duplicated sloads\\n bool isTopLevelCall = !$._initializing;\\n uint64 initialized = $._initialized;\\n\\n // Allowed calls:\\n // - initialSetup: the contract is not in the initializing state and no previous version was\\n // initialized\\n // - construction: the contract is initialized at version 1 (no reininitialization) and the\\n // current contract is just being deployed\\n bool initialSetup = initialized == 0 && isTopLevelCall;\\n bool construction = initialized == 1 && address(this).code.length == 0;\\n\\n if (!initialSetup && !construction) {\\n revert InvalidInitialization();\\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 * A reinitializer may be used after the original initialization step. This is essential to configure modules that\\n * are added through upgrades and that require initialization.\\n *\\n * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`\\n * cannot be nested. If one is invoked in the context of another, execution will revert.\\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 * WARNING: Setting the version to 2**64 - 1 will prevent any future reinitialization.\\n *\\n * Emits an {Initialized} event.\\n */\\n modifier reinitializer(uint64 version) {\\n // solhint-disable-next-line var-name-mixedcase\\n InitializableStorage storage $ = _getInitializableStorage();\\n\\n if ($._initializing || $._initialized >= version) {\\n revert InvalidInitialization();\\n }\\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 _checkInitializing();\\n _;\\n }\\n\\n /**\\n * @dev Reverts if the contract is not in an initializing state. See {onlyInitializing}.\\n */\\n function _checkInitializing() internal view virtual {\\n if (!_isInitializing()) {\\n revert NotInitializing();\\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 * Emits an {Initialized} event the first time it is successfully executed.\\n */\\n function _disableInitializers() internal virtual {\\n // solhint-disable-next-line var-name-mixedcase\\n InitializableStorage storage $ = _getInitializableStorage();\\n\\n if ($._initializing) {\\n revert InvalidInitialization();\\n }\\n if ($._initialized != type(uint64).max) {\\n $._initialized = type(uint64).max;\\n emit Initialized(type(uint64).max);\\n }\\n }\\n\\n /**\\n * @dev Returns the highest version that has been initialized. See {reinitializer}.\\n */\\n function _getInitializedVersion() internal view returns (uint64) {\\n return _getInitializableStorage()._initialized;\\n }\\n\\n /**\\n * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}.\\n */\\n function _isInitializing() internal view returns (bool) {\\n return _getInitializableStorage()._initializing;\\n }\\n\\n /**\\n * @dev Returns a pointer to the storage namespace.\\n */\\n // solhint-disable-next-line var-name-mixedcase\\n function _getInitializableStorage() private pure returns (InitializableStorage storage $) {\\n assembly {\\n $.slot := INITIALIZABLE_STORAGE\\n }\\n }\\n}\\n\",\"keccak256\":\"0x631188737069917d2f909d29ce62c4d48611d326686ba6683e26b72a23bfac0b\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol)\\n\\npragma solidity ^0.8.20;\\n\\nimport {IERC20} from \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\nimport {IERC20Metadata} from \\\"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\\\";\\nimport {ContextUpgradeable} from \\\"../../utils/ContextUpgradeable.sol\\\";\\nimport {IERC20Errors} from \\\"@openzeppelin/contracts/interfaces/draft-IERC6093.sol\\\";\\nimport {Initializable} from \\\"../../proxy/utils/Initializable.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 *\\n * TIP: For a detailed writeup see our guide\\n * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How\\n * to implement supply mechanisms].\\n *\\n * The default value of {decimals} is 18. To change this, you should override\\n * this function so it returns a different value.\\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 */\\nabstract contract ERC20Upgradeable is Initializable, ContextUpgradeable, IERC20, IERC20Metadata, IERC20Errors {\\n /// @custom:storage-location erc7201:openzeppelin.storage.ERC20\\n struct ERC20Storage {\\n mapping(address account => uint256) _balances;\\n\\n mapping(address account => mapping(address spender => uint256)) _allowances;\\n\\n uint256 _totalSupply;\\n\\n string _name;\\n string _symbol;\\n }\\n\\n // keccak256(abi.encode(uint256(keccak256(\\\"openzeppelin.storage.ERC20\\\")) - 1)) & ~bytes32(uint256(0xff))\\n bytes32 private constant ERC20StorageLocation = 0x52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace00;\\n\\n function _getERC20Storage() private pure returns (ERC20Storage storage $) {\\n assembly {\\n $.slot := ERC20StorageLocation\\n }\\n }\\n\\n /**\\n * @dev Sets the values for {name} and {symbol}.\\n *\\n * All two of these values are immutable: they can only be set once during\\n * construction.\\n */\\n function __ERC20_init(string memory name_, string memory symbol_) internal onlyInitializing {\\n __ERC20_init_unchained(name_, symbol_);\\n }\\n\\n function __ERC20_init_unchained(string memory name_, string memory symbol_) internal onlyInitializing {\\n ERC20Storage storage $ = _getERC20Storage();\\n $._name = name_;\\n $._symbol = symbol_;\\n }\\n\\n /**\\n * @dev Returns the name of the token.\\n */\\n function name() public view virtual returns (string memory) {\\n ERC20Storage storage $ = _getERC20Storage();\\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 returns (string memory) {\\n ERC20Storage storage $ = _getERC20Storage();\\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 default value returned by this function, unless\\n * it's 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 returns (uint8) {\\n return 18;\\n }\\n\\n /**\\n * @dev See {IERC20-totalSupply}.\\n */\\n function totalSupply() public view virtual returns (uint256) {\\n ERC20Storage storage $ = _getERC20Storage();\\n return $._totalSupply;\\n }\\n\\n /**\\n * @dev See {IERC20-balanceOf}.\\n */\\n function balanceOf(address account) public view virtual returns (uint256) {\\n ERC20Storage storage $ = _getERC20Storage();\\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 `value`.\\n */\\n function transfer(address to, uint256 value) public virtual returns (bool) {\\n address owner = _msgSender();\\n _transfer(owner, to, value);\\n return true;\\n }\\n\\n /**\\n * @dev See {IERC20-allowance}.\\n */\\n function allowance(address owner, address spender) public view virtual returns (uint256) {\\n ERC20Storage storage $ = _getERC20Storage();\\n return $._allowances[owner][spender];\\n }\\n\\n /**\\n * @dev See {IERC20-approve}.\\n *\\n * NOTE: If `value` 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 value) public virtual returns (bool) {\\n address owner = _msgSender();\\n _approve(owner, spender, value);\\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 `value`.\\n * - the caller must have allowance for ``from``'s tokens of at least\\n * `value`.\\n */\\n function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {\\n address spender = _msgSender();\\n _spendAllowance(from, spender, value);\\n _transfer(from, to, value);\\n return true;\\n }\\n\\n /**\\n * @dev Moves a `value` 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 * NOTE: This function is not virtual, {_update} should be overridden instead.\\n */\\n function _transfer(address from, address to, uint256 value) internal {\\n if (from == address(0)) {\\n revert ERC20InvalidSender(address(0));\\n }\\n if (to == address(0)) {\\n revert ERC20InvalidReceiver(address(0));\\n }\\n _update(from, to, value);\\n }\\n\\n /**\\n * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`\\n * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding\\n * this function.\\n *\\n * Emits a {Transfer} event.\\n */\\n function _update(address from, address to, uint256 value) internal virtual {\\n ERC20Storage storage $ = _getERC20Storage();\\n if (from == address(0)) {\\n // Overflow check required: The rest of the code assumes that totalSupply never overflows\\n $._totalSupply += value;\\n } else {\\n uint256 fromBalance = $._balances[from];\\n if (fromBalance < value) {\\n revert ERC20InsufficientBalance(from, fromBalance, value);\\n }\\n unchecked {\\n // Overflow not possible: value <= fromBalance <= totalSupply.\\n $._balances[from] = fromBalance - value;\\n }\\n }\\n\\n if (to == address(0)) {\\n unchecked {\\n // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.\\n $._totalSupply -= value;\\n }\\n } else {\\n unchecked {\\n // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.\\n $._balances[to] += value;\\n }\\n }\\n\\n emit Transfer(from, to, value);\\n }\\n\\n /**\\n * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).\\n * Relies on the `_update` mechanism\\n *\\n * Emits a {Transfer} event with `from` set to the zero address.\\n *\\n * NOTE: This function is not virtual, {_update} should be overridden instead.\\n */\\n function _mint(address account, uint256 value) internal {\\n if (account == address(0)) {\\n revert ERC20InvalidReceiver(address(0));\\n }\\n _update(address(0), account, value);\\n }\\n\\n /**\\n * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.\\n * Relies on the `_update` mechanism.\\n *\\n * Emits a {Transfer} event with `to` set to the zero address.\\n *\\n * NOTE: This function is not virtual, {_update} should be overridden instead\\n */\\n function _burn(address account, uint256 value) internal {\\n if (account == address(0)) {\\n revert ERC20InvalidSender(address(0));\\n }\\n _update(account, address(0), value);\\n }\\n\\n /**\\n * @dev Sets `value` 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 * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.\\n */\\n function _approve(address owner, address spender, uint256 value) internal {\\n _approve(owner, spender, value, true);\\n }\\n\\n /**\\n * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.\\n *\\n * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by\\n * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any\\n * `Approval` event during `transferFrom` operations.\\n *\\n * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to\\n * true using the following override:\\n * ```\\n * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {\\n * super._approve(owner, spender, value, true);\\n * }\\n * ```\\n *\\n * Requirements are the same as {_approve}.\\n */\\n function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {\\n ERC20Storage storage $ = _getERC20Storage();\\n if (owner == address(0)) {\\n revert ERC20InvalidApprover(address(0));\\n }\\n if (spender == address(0)) {\\n revert ERC20InvalidSpender(address(0));\\n }\\n $._allowances[owner][spender] = value;\\n if (emitEvent) {\\n emit Approval(owner, spender, value);\\n }\\n }\\n\\n /**\\n * @dev Updates `owner` s allowance for `spender` based on spent `value`.\\n *\\n * Does not update the allowance value in case of infinite allowance.\\n * Revert if not enough allowance is available.\\n *\\n * Does not emit an {Approval} event.\\n */\\n function _spendAllowance(address owner, address spender, uint256 value) internal virtual {\\n uint256 currentAllowance = allowance(owner, spender);\\n if (currentAllowance != type(uint256).max) {\\n if (currentAllowance < value) {\\n revert ERC20InsufficientAllowance(spender, currentAllowance, value);\\n }\\n unchecked {\\n _approve(owner, spender, currentAllowance - value, false);\\n }\\n }\\n }\\n}\\n\",\"keccak256\":\"0x9a1766b1921bf91b3e61eb53c7a6e70725254befd4bdcbbcd3af40bd9f66856f\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC20VotesUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Votes.sol)\\n\\npragma solidity ^0.8.20;\\n\\nimport {ERC20Upgradeable} from \\\"../ERC20Upgradeable.sol\\\";\\nimport {VotesUpgradeable} from \\\"../../../governance/utils/VotesUpgradeable.sol\\\";\\nimport {Checkpoints} from \\\"@openzeppelin/contracts/utils/structs/Checkpoints.sol\\\";\\nimport {Initializable} from \\\"../../../proxy/utils/Initializable.sol\\\";\\n\\n/**\\n * @dev Extension of ERC20 to support Compound-like voting and delegation. This version is more generic than Compound's,\\n * and supports token supply up to 2^208^ - 1, while COMP is limited to 2^96^ - 1.\\n *\\n * NOTE: This contract does not provide interface compatibility with Compound's COMP token.\\n *\\n * This extension keeps a history (checkpoints) of each account's vote power. Vote power can be delegated either\\n * by calling the {delegate} function directly, or by providing a signature to be used with {delegateBySig}. Voting\\n * power can be queried through the public accessors {getVotes} and {getPastVotes}.\\n *\\n * By default, token balance does not account for voting power. This makes transfers cheaper. The downside is that it\\n * requires users to delegate to themselves in order to activate checkpoints and have their voting power tracked.\\n */\\nabstract contract ERC20VotesUpgradeable is Initializable, ERC20Upgradeable, VotesUpgradeable {\\n /**\\n * @dev Total supply cap has been exceeded, introducing a risk of votes overflowing.\\n */\\n error ERC20ExceededSafeSupply(uint256 increasedSupply, uint256 cap);\\n\\n function __ERC20Votes_init() internal onlyInitializing {\\n }\\n\\n function __ERC20Votes_init_unchained() internal onlyInitializing {\\n }\\n /**\\n * @dev Maximum token supply. Defaults to `type(uint208).max` (2^208^ - 1).\\n *\\n * This maximum is enforced in {_update}. It limits the total supply of the token, which is otherwise a uint256,\\n * so that checkpoints can be stored in the Trace208 structure used by {{Votes}}. Increasing this value will not\\n * remove the underlying limitation, and will cause {_update} to fail because of a math overflow in\\n * {_transferVotingUnits}. An override could be used to further restrict the total supply (to a lower value) if\\n * additional logic requires it. When resolving override conflicts on this function, the minimum should be\\n * returned.\\n */\\n function _maxSupply() internal view virtual returns (uint256) {\\n return type(uint208).max;\\n }\\n\\n /**\\n * @dev Move voting power when tokens are transferred.\\n *\\n * Emits a {IVotes-DelegateVotesChanged} event.\\n */\\n function _update(address from, address to, uint256 value) internal virtual override {\\n super._update(from, to, value);\\n if (from == address(0)) {\\n uint256 supply = totalSupply();\\n uint256 cap = _maxSupply();\\n if (supply > cap) {\\n revert ERC20ExceededSafeSupply(supply, cap);\\n }\\n }\\n _transferVotingUnits(from, to, value);\\n }\\n\\n /**\\n * @dev Returns the voting units of an `account`.\\n *\\n * WARNING: Overriding this function may compromise the internal vote accounting.\\n * `ERC20Votes` assumes tokens map to voting units 1:1 and this is not easy to change.\\n */\\n function _getVotingUnits(address account) internal view virtual override returns (uint256) {\\n return balanceOf(account);\\n }\\n\\n /**\\n * @dev Get number of checkpoints for `account`.\\n */\\n function numCheckpoints(address account) public view virtual returns (uint32) {\\n return _numCheckpoints(account);\\n }\\n\\n /**\\n * @dev Get the `pos`-th checkpoint for `account`.\\n */\\n function checkpoints(address account, uint32 pos) public view virtual returns (Checkpoints.Checkpoint208 memory) {\\n return _checkpoints(account, pos);\\n }\\n}\\n\",\"keccak256\":\"0x804fafbc589e3c29f075239c21a0f3ee8eff5bb5579cdd27992beb5126a050f2\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)\\n\\npragma solidity ^0.8.20;\\nimport {Initializable} from \\\"../proxy/utils/Initializable.sol\\\";\\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 ContextUpgradeable is Initializable {\\n function __Context_init() internal onlyInitializing {\\n }\\n\\n function __Context_init_unchained() internal onlyInitializing {\\n }\\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 function _contextSuffixLength() internal view virtual returns (uint256) {\\n return 0;\\n }\\n}\\n\",\"keccak256\":\"0xdbef5f0c787055227243a7318ef74c8a5a1108ca3a07f2b3a00ef67769e1e397\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/utils/MulticallUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.1) (utils/Multicall.sol)\\n\\npragma solidity ^0.8.20;\\n\\nimport {Address} from \\\"@openzeppelin/contracts/utils/Address.sol\\\";\\nimport {ContextUpgradeable} from \\\"./ContextUpgradeable.sol\\\";\\nimport {Initializable} from \\\"../proxy/utils/Initializable.sol\\\";\\n\\n/**\\n * @dev Provides a function to batch together multiple calls in a single external call.\\n *\\n * Consider any assumption about calldata validation performed by the sender may be violated if it's not especially\\n * careful about sending transactions invoking {multicall}. For example, a relay address that filters function\\n * selectors won't filter calls nested within a {multicall} operation.\\n *\\n * NOTE: Since 5.0.1 and 4.9.4, this contract identifies non-canonical contexts (i.e. `msg.sender` is not {_msgSender}).\\n * If a non-canonical context is identified, the following self `delegatecall` appends the last bytes of `msg.data`\\n * to the subcall. This makes it safe to use with {ERC2771Context}. Contexts that don't affect the resolution of\\n * {_msgSender} are not propagated to subcalls.\\n */\\nabstract contract MulticallUpgradeable is Initializable, ContextUpgradeable {\\n function __Multicall_init() internal onlyInitializing {\\n }\\n\\n function __Multicall_init_unchained() internal onlyInitializing {\\n }\\n /**\\n * @dev Receives and executes a batch of function calls on this contract.\\n * @custom:oz-upgrades-unsafe-allow-reachable delegatecall\\n */\\n function multicall(bytes[] calldata data) external virtual returns (bytes[] memory results) {\\n bytes memory context = msg.sender == _msgSender()\\n ? new bytes(0)\\n : msg.data[msg.data.length - _contextSuffixLength():];\\n\\n results = new bytes[](data.length);\\n for (uint256 i = 0; i < data.length; i++) {\\n results[i] = Address.functionDelegateCall(address(this), bytes.concat(data[i], context));\\n }\\n return results;\\n }\\n}\\n\",\"keccak256\":\"0x1545b1796f0b94f811d95b8b208c0668dacfc7768247d22b63161a47c4c5ef4e\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/utils/NoncesUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/Nonces.sol)\\npragma solidity ^0.8.20;\\nimport {Initializable} from \\\"../proxy/utils/Initializable.sol\\\";\\n\\n/**\\n * @dev Provides tracking nonces for addresses. Nonces will only increment.\\n */\\nabstract contract NoncesUpgradeable is Initializable {\\n /**\\n * @dev The nonce used for an `account` is not the expected current nonce.\\n */\\n error InvalidAccountNonce(address account, uint256 currentNonce);\\n\\n /// @custom:storage-location erc7201:openzeppelin.storage.Nonces\\n struct NoncesStorage {\\n mapping(address account => uint256) _nonces;\\n }\\n\\n // keccak256(abi.encode(uint256(keccak256(\\\"openzeppelin.storage.Nonces\\\")) - 1)) & ~bytes32(uint256(0xff))\\n bytes32 private constant NoncesStorageLocation = 0x5ab42ced628888259c08ac98db1eb0cf702fc1501344311d8b100cd1bfe4bb00;\\n\\n function _getNoncesStorage() private pure returns (NoncesStorage storage $) {\\n assembly {\\n $.slot := NoncesStorageLocation\\n }\\n }\\n\\n function __Nonces_init() internal onlyInitializing {\\n }\\n\\n function __Nonces_init_unchained() internal onlyInitializing {\\n }\\n /**\\n * @dev Returns the next unused nonce for an address.\\n */\\n function nonces(address owner) public view virtual returns (uint256) {\\n NoncesStorage storage $ = _getNoncesStorage();\\n return $._nonces[owner];\\n }\\n\\n /**\\n * @dev Consumes a nonce.\\n *\\n * Returns the current value and increments nonce.\\n */\\n function _useNonce(address owner) internal virtual returns (uint256) {\\n NoncesStorage storage $ = _getNoncesStorage();\\n // For each account, the nonce has an initial value of 0, can only be incremented by one, and cannot be\\n // decremented or reset. This guarantees that the nonce never overflows.\\n unchecked {\\n // It is important to do x++ and not ++x here.\\n return $._nonces[owner]++;\\n }\\n }\\n\\n /**\\n * @dev Same as {_useNonce} but checking that `nonce` is the next valid for `owner`.\\n */\\n function _useCheckedNonce(address owner, uint256 nonce) internal virtual {\\n uint256 current = _useNonce(owner);\\n if (nonce != current) {\\n revert InvalidAccountNonce(owner, current);\\n }\\n }\\n}\\n\",\"keccak256\":\"0x778f4a1546a1c6c726ecc8e2348a2789690fb8f26e12bd9d89537669167b79a4\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/utils/ReentrancyGuardUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/ReentrancyGuard.sol)\\n\\npragma solidity ^0.8.20;\\nimport {Initializable} from \\\"../proxy/utils/Initializable.sol\\\";\\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 ReentrancyGuardUpgradeable is Initializable {\\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 /// @custom:storage-location erc7201:openzeppelin.storage.ReentrancyGuard\\n struct ReentrancyGuardStorage {\\n uint256 _status;\\n }\\n\\n // keccak256(abi.encode(uint256(keccak256(\\\"openzeppelin.storage.ReentrancyGuard\\\")) - 1)) & ~bytes32(uint256(0xff))\\n bytes32 private constant ReentrancyGuardStorageLocation = 0x9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00;\\n\\n function _getReentrancyGuardStorage() private pure returns (ReentrancyGuardStorage storage $) {\\n assembly {\\n $.slot := ReentrancyGuardStorageLocation\\n }\\n }\\n\\n /**\\n * @dev Unauthorized reentrant call.\\n */\\n error ReentrancyGuardReentrantCall();\\n\\n function __ReentrancyGuard_init() internal onlyInitializing {\\n __ReentrancyGuard_init_unchained();\\n }\\n\\n function __ReentrancyGuard_init_unchained() internal onlyInitializing {\\n ReentrancyGuardStorage storage $ = _getReentrancyGuardStorage();\\n $._status = NOT_ENTERED;\\n }\\n\\n /**\\n * @dev Prevents a contract from calling itself, directly or indirectly.\\n * Calling a `nonReentrant` function from another `nonReentrant`\\n * function is not supported. It is possible to prevent this from happening\\n * by making the `nonReentrant` function external, and making it call a\\n * `private` function that does the actual work.\\n */\\n modifier nonReentrant() {\\n _nonReentrantBefore();\\n _;\\n _nonReentrantAfter();\\n }\\n\\n function _nonReentrantBefore() private {\\n ReentrancyGuardStorage storage $ = _getReentrancyGuardStorage();\\n // On the first call to nonReentrant, _status will be NOT_ENTERED\\n if ($._status == ENTERED) {\\n revert ReentrancyGuardReentrantCall();\\n }\\n\\n // Any calls to nonReentrant after this point will fail\\n $._status = ENTERED;\\n }\\n\\n function _nonReentrantAfter() private {\\n ReentrancyGuardStorage storage $ = _getReentrancyGuardStorage();\\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 /**\\n * @dev Returns true if the reentrancy guard is currently set to \\\"entered\\\", which indicates there is a\\n * `nonReentrant` function in the call stack.\\n */\\n function _reentrancyGuardEntered() internal view returns (bool) {\\n ReentrancyGuardStorage storage $ = _getReentrancyGuardStorage();\\n return $._status == ENTERED;\\n }\\n}\\n\",\"keccak256\":\"0xb44e086e941292cdc7f440de51478493894ef0b1aeccb0c4047445919f667f74\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/utils/cryptography/EIP712Upgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/EIP712.sol)\\n\\npragma solidity ^0.8.20;\\n\\nimport {MessageHashUtils} from \\\"@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol\\\";\\nimport {IERC5267} from \\\"@openzeppelin/contracts/interfaces/IERC5267.sol\\\";\\nimport {Initializable} from \\\"../../proxy/utils/Initializable.sol\\\";\\n\\n/**\\n * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.\\n *\\n * The encoding scheme specified in the EIP requires a domain separator and a hash of the typed structured data, whose\\n * encoding is very generic and therefore its implementation in Solidity is not feasible, thus this contract\\n * does not implement the encoding itself. Protocols need to implement the type-specific encoding they need in order to\\n * produce the hash of their typed data using a combination of `abi.encode` and `keccak256`.\\n *\\n * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding\\n * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA\\n * ({_hashTypedDataV4}).\\n *\\n * The implementation of the domain separator was designed to be as efficient as possible while still properly updating\\n * the chain id to protect against replay attacks on an eventual fork of the chain.\\n *\\n * NOTE: This contract implements the version of the encoding known as \\\"v4\\\", as implemented by the JSON RPC method\\n * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].\\n *\\n * NOTE: In the upgradeable version of this contract, the cached values will correspond to the address, and the domain\\n * separator of the implementation contract. This will cause the {_domainSeparatorV4} function to always rebuild the\\n * separator from the immutable values, which is cheaper than accessing a cached version in cold storage.\\n */\\nabstract contract EIP712Upgradeable is Initializable, IERC5267 {\\n bytes32 private constant TYPE_HASH =\\n keccak256(\\\"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\\\");\\n\\n /// @custom:storage-location erc7201:openzeppelin.storage.EIP712\\n struct EIP712Storage {\\n /// @custom:oz-renamed-from _HASHED_NAME\\n bytes32 _hashedName;\\n /// @custom:oz-renamed-from _HASHED_VERSION\\n bytes32 _hashedVersion;\\n\\n string _name;\\n string _version;\\n }\\n\\n // keccak256(abi.encode(uint256(keccak256(\\\"openzeppelin.storage.EIP712\\\")) - 1)) & ~bytes32(uint256(0xff))\\n bytes32 private constant EIP712StorageLocation = 0xa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d100;\\n\\n function _getEIP712Storage() private pure returns (EIP712Storage storage $) {\\n assembly {\\n $.slot := EIP712StorageLocation\\n }\\n }\\n\\n /**\\n * @dev Initializes the domain separator and parameter caches.\\n *\\n * The meaning of `name` and `version` is specified in\\n * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:\\n *\\n * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.\\n * - `version`: the current major version of the signing domain.\\n *\\n * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart\\n * contract upgrade].\\n */\\n function __EIP712_init(string memory name, string memory version) internal onlyInitializing {\\n __EIP712_init_unchained(name, version);\\n }\\n\\n function __EIP712_init_unchained(string memory name, string memory version) internal onlyInitializing {\\n EIP712Storage storage $ = _getEIP712Storage();\\n $._name = name;\\n $._version = version;\\n\\n // Reset prior values in storage if upgrading\\n $._hashedName = 0;\\n $._hashedVersion = 0;\\n }\\n\\n /**\\n * @dev Returns the domain separator for the current chain.\\n */\\n function _domainSeparatorV4() internal view returns (bytes32) {\\n return _buildDomainSeparator();\\n }\\n\\n function _buildDomainSeparator() private view returns (bytes32) {\\n return keccak256(abi.encode(TYPE_HASH, _EIP712NameHash(), _EIP712VersionHash(), block.chainid, address(this)));\\n }\\n\\n /**\\n * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this\\n * function returns the hash of the fully encoded EIP712 message for this domain.\\n *\\n * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:\\n *\\n * ```solidity\\n * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(\\n * keccak256(\\\"Mail(address to,string contents)\\\"),\\n * mailTo,\\n * keccak256(bytes(mailContents))\\n * )));\\n * address signer = ECDSA.recover(digest, signature);\\n * ```\\n */\\n function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {\\n return MessageHashUtils.toTypedDataHash(_domainSeparatorV4(), structHash);\\n }\\n\\n /**\\n * @dev See {IERC-5267}.\\n */\\n function eip712Domain()\\n public\\n view\\n virtual\\n returns (\\n bytes1 fields,\\n string memory name,\\n string memory version,\\n uint256 chainId,\\n address verifyingContract,\\n bytes32 salt,\\n uint256[] memory extensions\\n )\\n {\\n EIP712Storage storage $ = _getEIP712Storage();\\n // If the hashed name and version in storage are non-zero, the contract hasn't been properly initialized\\n // and the EIP712 domain is not reliable, as it will be missing name and version.\\n require($._hashedName == 0 && $._hashedVersion == 0, \\\"EIP712: Uninitialized\\\");\\n\\n return (\\n hex\\\"0f\\\", // 01111\\n _EIP712Name(),\\n _EIP712Version(),\\n block.chainid,\\n address(this),\\n bytes32(0),\\n new uint256[](0)\\n );\\n }\\n\\n /**\\n * @dev The name parameter for the EIP712 domain.\\n *\\n * NOTE: This function reads from storage by default, but can be redefined to return a constant value if gas costs\\n * are a concern.\\n */\\n function _EIP712Name() internal view virtual returns (string memory) {\\n EIP712Storage storage $ = _getEIP712Storage();\\n return $._name;\\n }\\n\\n /**\\n * @dev The version parameter for the EIP712 domain.\\n *\\n * NOTE: This function reads from storage by default, but can be redefined to return a constant value if gas costs\\n * are a concern.\\n */\\n function _EIP712Version() internal view virtual returns (string memory) {\\n EIP712Storage storage $ = _getEIP712Storage();\\n return $._version;\\n }\\n\\n /**\\n * @dev The hash of the name parameter for the EIP712 domain.\\n *\\n * NOTE: In previous versions this function was virtual. In this version you should override `_EIP712Name` instead.\\n */\\n function _EIP712NameHash() internal view returns (bytes32) {\\n EIP712Storage storage $ = _getEIP712Storage();\\n string memory name = _EIP712Name();\\n if (bytes(name).length > 0) {\\n return keccak256(bytes(name));\\n } else {\\n // If the name is empty, the contract may have been upgraded without initializing the new storage.\\n // We return the name hash in storage if non-zero, otherwise we assume the name is empty by design.\\n bytes32 hashedName = $._hashedName;\\n if (hashedName != 0) {\\n return hashedName;\\n } else {\\n return keccak256(\\\"\\\");\\n }\\n }\\n }\\n\\n /**\\n * @dev The hash of the version parameter for the EIP712 domain.\\n *\\n * NOTE: In previous versions this function was virtual. In this version you should override `_EIP712Version` instead.\\n */\\n function _EIP712VersionHash() internal view returns (bytes32) {\\n EIP712Storage storage $ = _getEIP712Storage();\\n string memory version = _EIP712Version();\\n if (bytes(version).length > 0) {\\n return keccak256(bytes(version));\\n } else {\\n // If the version is empty, the contract may have been upgraded without initializing the new storage.\\n // We return the version hash in storage if non-zero, otherwise we assume the version is empty by design.\\n bytes32 hashedVersion = $._hashedVersion;\\n if (hashedVersion != 0) {\\n return hashedVersion;\\n } else {\\n return keccak256(\\\"\\\");\\n }\\n }\\n }\\n}\\n\",\"keccak256\":\"0x85462422a22578744581e012e9aa0a391958cb360288b0b63f29bf0431d70327\",\"license\":\"MIT\"},\"@openzeppelin/contracts/governance/utils/IVotes.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (governance/utils/IVotes.sol)\\npragma solidity ^0.8.20;\\n\\n/**\\n * @dev Common interface for {ERC20Votes}, {ERC721Votes}, and other {Votes}-enabled contracts.\\n */\\ninterface IVotes {\\n /**\\n * @dev The signature used has expired.\\n */\\n error VotesExpiredSignature(uint256 expiry);\\n\\n /**\\n * @dev Emitted when an account changes their delegate.\\n */\\n event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);\\n\\n /**\\n * @dev Emitted when a token transfer or delegate change results in changes to a delegate's number of voting units.\\n */\\n event DelegateVotesChanged(address indexed delegate, uint256 previousVotes, uint256 newVotes);\\n\\n /**\\n * @dev Returns the current amount of votes that `account` has.\\n */\\n function getVotes(address account) external view returns (uint256);\\n\\n /**\\n * @dev Returns the amount of votes that `account` had at a specific moment in the past. If the `clock()` is\\n * configured to use block numbers, this will return the value at the end of the corresponding block.\\n */\\n function getPastVotes(address account, uint256 timepoint) external view returns (uint256);\\n\\n /**\\n * @dev Returns the total supply of votes available at a specific moment in the past. If the `clock()` is\\n * configured to use block numbers, this will return the value at the end of the corresponding block.\\n *\\n * NOTE: This value is the sum of all available votes, which is not necessarily the sum of all delegated votes.\\n * Votes that have not been delegated are still part of total supply, even though they would not participate in a\\n * vote.\\n */\\n function getPastTotalSupply(uint256 timepoint) external view returns (uint256);\\n\\n /**\\n * @dev Returns the delegate that `account` has chosen.\\n */\\n function delegates(address account) external view returns (address);\\n\\n /**\\n * @dev Delegates votes from the sender to `delegatee`.\\n */\\n function delegate(address delegatee) external;\\n\\n /**\\n * @dev Delegates votes from signer to `delegatee`.\\n */\\n function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) external;\\n}\\n\",\"keccak256\":\"0x5e2b397ae88fd5c68e4f6762eb9f65f65c36702eb57796495f471d024ce70947\",\"license\":\"MIT\"},\"@openzeppelin/contracts/interfaces/IERC20.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC20.sol)\\n\\npragma solidity ^0.8.20;\\n\\nimport {IERC20} from \\\"../token/ERC20/IERC20.sol\\\";\\n\",\"keccak256\":\"0xce41876e78d1badc0512229b4d14e4daf83bc1003d7f83978d18e0e56f965b9c\",\"license\":\"MIT\"},\"@openzeppelin/contracts/interfaces/IERC5267.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC5267.sol)\\n\\npragma solidity ^0.8.20;\\n\\ninterface IERC5267 {\\n /**\\n * @dev MAY be emitted to signal that the domain could have changed.\\n */\\n event EIP712DomainChanged();\\n\\n /**\\n * @dev returns the fields and values that describe the domain separator used by this contract for EIP-712\\n * signature.\\n */\\n function eip712Domain()\\n external\\n view\\n returns (\\n bytes1 fields,\\n string memory name,\\n string memory version,\\n uint256 chainId,\\n address verifyingContract,\\n bytes32 salt,\\n uint256[] memory extensions\\n );\\n}\\n\",\"keccak256\":\"0x92aa1df62dc3d33f1656d63bede0923e0df0b706ad4137c8b10b0a8fe549fd92\",\"license\":\"MIT\"},\"@openzeppelin/contracts/interfaces/IERC5805.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC5805.sol)\\n\\npragma solidity ^0.8.20;\\n\\nimport {IVotes} from \\\"../governance/utils/IVotes.sol\\\";\\nimport {IERC6372} from \\\"./IERC6372.sol\\\";\\n\\ninterface IERC5805 is IERC6372, IVotes {}\\n\",\"keccak256\":\"0x4b9b89f91adbb7d3574f85394754cfb08c5b4eafca8a7061e2094a019ab8f818\",\"license\":\"MIT\"},\"@openzeppelin/contracts/interfaces/IERC6372.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC6372.sol)\\n\\npragma solidity ^0.8.20;\\n\\ninterface IERC6372 {\\n /**\\n * @dev Clock used for flagging checkpoints. Can be overridden to implement timestamp based checkpoints (and voting).\\n */\\n function clock() external view returns (uint48);\\n\\n /**\\n * @dev Description of the clock\\n */\\n // solhint-disable-next-line func-name-mixedcase\\n function CLOCK_MODE() external view returns (string memory);\\n}\\n\",\"keccak256\":\"0xeb2857b7dafb7e0d8526dbfe794e6c047df2851c9e6ee91dc4a55f3c34af5d33\",\"license\":\"MIT\"},\"@openzeppelin/contracts/interfaces/draft-IERC6093.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)\\npragma solidity ^0.8.20;\\n\\n/**\\n * @dev Standard ERC20 Errors\\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.\\n */\\ninterface IERC20Errors {\\n /**\\n * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\\n * @param sender Address whose tokens are being transferred.\\n * @param balance Current balance for the interacting account.\\n * @param needed Minimum amount required to perform a transfer.\\n */\\n error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);\\n\\n /**\\n * @dev Indicates a failure with the token `sender`. Used in transfers.\\n * @param sender Address whose tokens are being transferred.\\n */\\n error ERC20InvalidSender(address sender);\\n\\n /**\\n * @dev Indicates a failure with the token `receiver`. Used in transfers.\\n * @param receiver Address to which tokens are being transferred.\\n */\\n error ERC20InvalidReceiver(address receiver);\\n\\n /**\\n * @dev Indicates a failure with the `spender`\\u2019s `allowance`. Used in transfers.\\n * @param spender Address that may be allowed to operate on tokens without being their owner.\\n * @param allowance Amount of tokens a `spender` is allowed to operate with.\\n * @param needed Minimum amount required to perform a transfer.\\n */\\n error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);\\n\\n /**\\n * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\\n * @param approver Address initiating an approval operation.\\n */\\n error ERC20InvalidApprover(address approver);\\n\\n /**\\n * @dev Indicates a failure with the `spender` to be approved. Used in approvals.\\n * @param spender Address that may be allowed to operate on tokens without being their owner.\\n */\\n error ERC20InvalidSpender(address spender);\\n}\\n\\n/**\\n * @dev Standard ERC721 Errors\\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.\\n */\\ninterface IERC721Errors {\\n /**\\n * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.\\n * Used in balance queries.\\n * @param owner Address of the current owner of a token.\\n */\\n error ERC721InvalidOwner(address owner);\\n\\n /**\\n * @dev Indicates a `tokenId` whose `owner` is the zero address.\\n * @param tokenId Identifier number of a token.\\n */\\n error ERC721NonexistentToken(uint256 tokenId);\\n\\n /**\\n * @dev Indicates an error related to the ownership over a particular token. Used in transfers.\\n * @param sender Address whose tokens are being transferred.\\n * @param tokenId Identifier number of a token.\\n * @param owner Address of the current owner of a token.\\n */\\n error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);\\n\\n /**\\n * @dev Indicates a failure with the token `sender`. Used in transfers.\\n * @param sender Address whose tokens are being transferred.\\n */\\n error ERC721InvalidSender(address sender);\\n\\n /**\\n * @dev Indicates a failure with the token `receiver`. Used in transfers.\\n * @param receiver Address to which tokens are being transferred.\\n */\\n error ERC721InvalidReceiver(address receiver);\\n\\n /**\\n * @dev Indicates a failure with the `operator`\\u2019s approval. Used in transfers.\\n * @param operator Address that may be allowed to operate on tokens without being their owner.\\n * @param tokenId Identifier number of a token.\\n */\\n error ERC721InsufficientApproval(address operator, uint256 tokenId);\\n\\n /**\\n * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\\n * @param approver Address initiating an approval operation.\\n */\\n error ERC721InvalidApprover(address approver);\\n\\n /**\\n * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\\n * @param operator Address that may be allowed to operate on tokens without being their owner.\\n */\\n error ERC721InvalidOperator(address operator);\\n}\\n\\n/**\\n * @dev Standard ERC1155 Errors\\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.\\n */\\ninterface IERC1155Errors {\\n /**\\n * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\\n * @param sender Address whose tokens are being transferred.\\n * @param balance Current balance for the interacting account.\\n * @param needed Minimum amount required to perform a transfer.\\n * @param tokenId Identifier number of a token.\\n */\\n error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);\\n\\n /**\\n * @dev Indicates a failure with the token `sender`. Used in transfers.\\n * @param sender Address whose tokens are being transferred.\\n */\\n error ERC1155InvalidSender(address sender);\\n\\n /**\\n * @dev Indicates a failure with the token `receiver`. Used in transfers.\\n * @param receiver Address to which tokens are being transferred.\\n */\\n error ERC1155InvalidReceiver(address receiver);\\n\\n /**\\n * @dev Indicates a failure with the `operator`\\u2019s approval. Used in transfers.\\n * @param operator Address that may be allowed to operate on tokens without being their owner.\\n * @param owner Address of the current owner of a token.\\n */\\n error ERC1155MissingApprovalForAll(address operator, address owner);\\n\\n /**\\n * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\\n * @param approver Address initiating an approval operation.\\n */\\n error ERC1155InvalidApprover(address approver);\\n\\n /**\\n * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\\n * @param operator Address that may be allowed to operate on tokens without being their owner.\\n */\\n error ERC1155InvalidOperator(address operator);\\n\\n /**\\n * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.\\n * Used in batch transfers.\\n * @param idsLength Length of the array of token identifiers\\n * @param valuesLength Length of the array of token amounts\\n */\\n error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);\\n}\\n\",\"keccak256\":\"0x60c65f701957fdd6faea1acb0bb45825791d473693ed9ecb34726fdfaa849dd7\",\"license\":\"MIT\"},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)\\n\\npragma solidity ^0.8.20;\\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 value of tokens in existence.\\n */\\n function totalSupply() external view returns (uint256);\\n\\n /**\\n * @dev Returns the value of tokens owned by `account`.\\n */\\n function balanceOf(address account) external view returns (uint256);\\n\\n /**\\n * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens as the allowance of `spender` over the\\n * 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 value) external returns (bool);\\n\\n /**\\n * @dev Moves a `value` amount of tokens from `from` to `to` using the\\n * allowance mechanism. `value` 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(address from, address to, uint256 value) external returns (bool);\\n}\\n\",\"keccak256\":\"0xc6a8ff0ea489379b61faa647490411b80102578440ab9d84e9a957cc12164e70\",\"license\":\"MIT\"},\"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)\\n\\npragma solidity ^0.8.20;\\n\\nimport {IERC20} from \\\"../IERC20.sol\\\";\\n\\n/**\\n * @dev Interface for the optional metadata functions from the ERC20 standard.\\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\":\"0xaa761817f6cd7892fcf158b3c776b34551cde36f48ff9703d53898bc45a94ea2\",\"license\":\"MIT\"},\"@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Permit.sol)\\n\\npragma solidity ^0.8.20;\\n\\n/**\\n * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in\\n * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].\\n *\\n * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by\\n * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't\\n * need to send a transaction, and thus is not required to hold Ether at all.\\n *\\n * ==== Security Considerations\\n *\\n * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature\\n * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be\\n * considered as an intention to spend the allowance in any specific way. The second is that because permits have\\n * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should\\n * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be\\n * generally recommended is:\\n *\\n * ```solidity\\n * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {\\n * try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}\\n * doThing(..., value);\\n * }\\n *\\n * function doThing(..., uint256 value) public {\\n * token.safeTransferFrom(msg.sender, address(this), value);\\n * ...\\n * }\\n * ```\\n *\\n * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of\\n * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also\\n * {SafeERC20-safeTransferFrom}).\\n *\\n * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so\\n * contracts should have entry points that don't rely on permit.\\n */\\ninterface IERC20Permit {\\n /**\\n * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,\\n * given ``owner``'s signed approval.\\n *\\n * IMPORTANT: The same issues {IERC20-approve} has related to transaction\\n * ordering also apply here.\\n *\\n * Emits an {Approval} event.\\n *\\n * Requirements:\\n *\\n * - `spender` cannot be the zero address.\\n * - `deadline` must be a timestamp in the future.\\n * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`\\n * over the EIP712-formatted function arguments.\\n * - the signature must use ``owner``'s current nonce (see {nonces}).\\n *\\n * For more information on the signature format, see the\\n * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP\\n * section].\\n *\\n * CAUTION: See Security Considerations above.\\n */\\n function permit(\\n address owner,\\n address spender,\\n uint256 value,\\n uint256 deadline,\\n uint8 v,\\n bytes32 r,\\n bytes32 s\\n ) external;\\n\\n /**\\n * @dev Returns the current nonce for `owner`. This value must be\\n * included whenever a signature is generated for {permit}.\\n *\\n * Every successful call to {permit} increases ``owner``'s nonce by one. This\\n * prevents a signature from being used multiple times.\\n */\\n function nonces(address owner) external view returns (uint256);\\n\\n /**\\n * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.\\n */\\n // solhint-disable-next-line func-name-mixedcase\\n function DOMAIN_SEPARATOR() external view returns (bytes32);\\n}\\n\",\"keccak256\":\"0x6008dabfe393240d73d7dd7688033f72740d570aa422254d29a7dce8568f3aff\",\"license\":\"MIT\"},\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/utils/SafeERC20.sol)\\n\\npragma solidity ^0.8.20;\\n\\nimport {IERC20} from \\\"../IERC20.sol\\\";\\nimport {IERC20Permit} from \\\"../extensions/IERC20Permit.sol\\\";\\nimport {Address} from \\\"../../../utils/Address.sol\\\";\\n\\n/**\\n * @title SafeERC20\\n * @dev Wrappers around ERC20 operations that throw on failure (when the token\\n * contract returns false). Tokens that return no value (and instead revert or\\n * throw on failure) are also supported, non-reverting calls are assumed to be\\n * successful.\\n * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,\\n * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.\\n */\\nlibrary SafeERC20 {\\n using Address for address;\\n\\n /**\\n * @dev An operation with an ERC20 token failed.\\n */\\n error SafeERC20FailedOperation(address token);\\n\\n /**\\n * @dev Indicates a failed `decreaseAllowance` request.\\n */\\n error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);\\n\\n /**\\n * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,\\n * non-reverting calls are assumed to be successful.\\n */\\n function safeTransfer(IERC20 token, address to, uint256 value) internal {\\n _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value)));\\n }\\n\\n /**\\n * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the\\n * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.\\n */\\n function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {\\n _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value)));\\n }\\n\\n /**\\n * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,\\n * non-reverting calls are assumed to be successful.\\n */\\n function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {\\n uint256 oldAllowance = token.allowance(address(this), spender);\\n forceApprove(token, spender, oldAllowance + value);\\n }\\n\\n /**\\n * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no\\n * value, non-reverting calls are assumed to be successful.\\n */\\n function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {\\n unchecked {\\n uint256 currentAllowance = token.allowance(address(this), spender);\\n if (currentAllowance < requestedDecrease) {\\n revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);\\n }\\n forceApprove(token, spender, currentAllowance - requestedDecrease);\\n }\\n }\\n\\n /**\\n * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,\\n * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval\\n * to be set to zero before setting it to a non-zero value, such as USDT.\\n */\\n function forceApprove(IERC20 token, address spender, uint256 value) internal {\\n bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));\\n\\n if (!_callOptionalReturnBool(token, approvalCall)) {\\n _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0)));\\n _callOptionalReturn(token, approvalCall);\\n }\\n }\\n\\n /**\\n * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\\n * on the return value: the return value is optional (but if data is returned, it must not be false).\\n * @param token The token targeted by the call.\\n * @param data The call data (encoded using abi.encode or one of its variants).\\n */\\n function _callOptionalReturn(IERC20 token, bytes memory data) private {\\n // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\\n // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that\\n // the target address contains contract code and also asserts for success in the low-level call.\\n\\n bytes memory returndata = address(token).functionCall(data);\\n if (returndata.length != 0 && !abi.decode(returndata, (bool))) {\\n revert SafeERC20FailedOperation(address(token));\\n }\\n }\\n\\n /**\\n * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\\n * on the return value: the return value is optional (but if data is returned, it must not be false).\\n * @param token The token targeted by the call.\\n * @param data The call data (encoded using abi.encode or one of its variants).\\n *\\n * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.\\n */\\n function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {\\n // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\\n // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false\\n // and not revert is the subcall reverts.\\n\\n (bool success, bytes memory returndata) = address(token).call(data);\\n return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && address(token).code.length > 0;\\n }\\n}\\n\",\"keccak256\":\"0x37bb49513c49c87c4642a891b13b63571bc87013dde806617aa1efb54605f386\",\"license\":\"MIT\"},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721.sol)\\n\\npragma solidity ^0.8.20;\\n\\nimport {IERC165} from \\\"../../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\\n * a safe transfer.\\n *\\n * Emits a {Transfer} event.\\n */\\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) 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\\n * {setApprovalForAll}.\\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon\\n * a safe transfer.\\n *\\n * Emits a {Transfer} event.\\n */\\n function safeTransferFrom(address from, address to, uint256 tokenId) external;\\n\\n /**\\n * @dev Transfers `tokenId` token from `from` to `to`.\\n *\\n * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721\\n * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must\\n * understand this adds an external call which potentially creates a reentrancy vulnerability.\\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(address from, address to, uint256 tokenId) 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 address zero.\\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\":\"0x5ef46daa3b58ef2702279d514780316efaa952915ee1aa3396f041ee2982b0b4\",\"license\":\"MIT\"},\"@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/IERC721Enumerable.sol)\\n\\npragma solidity ^0.8.20;\\n\\nimport {IERC721} from \\\"../IERC721.sol\\\";\\n\\n/**\\n * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\\n * @dev See https://eips.ethereum.org/EIPS/eip-721\\n */\\ninterface IERC721Enumerable is IERC721 {\\n /**\\n * @dev Returns the total amount of tokens stored by the contract.\\n */\\n function totalSupply() external view returns (uint256);\\n\\n /**\\n * @dev Returns a token ID owned by `owner` at a given `index` of its token list.\\n * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.\\n */\\n function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);\\n\\n /**\\n * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\\n * Use along with {totalSupply} to enumerate all tokens.\\n */\\n function tokenByIndex(uint256 index) external view returns (uint256);\\n}\\n\",\"keccak256\":\"0x3d6954a93ac198a2ffa384fa58ccf18e7e235263e051a394328002eff4e073de\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/Address.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol)\\n\\npragma solidity ^0.8.20;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary Address {\\n /**\\n * @dev The ETH balance of the account is not enough to perform the operation.\\n */\\n error AddressInsufficientBalance(address account);\\n\\n /**\\n * @dev There's no code at `target` (it is not a contract).\\n */\\n error AddressEmptyCode(address target);\\n\\n /**\\n * @dev A call to an address target failed. The target may have reverted.\\n */\\n error FailedInnerCall();\\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://consensys.net/diligence/blog/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.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n */\\n function sendValue(address payable recipient, uint256 amount) internal {\\n if (address(this).balance < amount) {\\n revert AddressInsufficientBalance(address(this));\\n }\\n\\n (bool success, ) = recipient.call{value: amount}(\\\"\\\");\\n if (!success) {\\n revert FailedInnerCall();\\n }\\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 or custom error, it is bubbled\\n * up by this function (like regular Solidity function calls). However, if\\n * the call reverted with no returned reason, this function reverts with a\\n * {FailedInnerCall} error.\\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 function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, 0);\\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 function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\\n if (address(this).balance < value) {\\n revert AddressInsufficientBalance(address(this));\\n }\\n (bool success, bytes memory returndata) = target.call{value: value}(data);\\n return verifyCallResultFromTarget(target, success, returndata);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a static call.\\n */\\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n (bool success, bytes memory returndata) = target.staticcall(data);\\n return verifyCallResultFromTarget(target, success, returndata);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a delegate call.\\n */\\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\n (bool success, bytes memory returndata) = target.delegatecall(data);\\n return verifyCallResultFromTarget(target, success, returndata);\\n }\\n\\n /**\\n * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target\\n * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an\\n * unsuccessful call.\\n */\\n function verifyCallResultFromTarget(\\n address target,\\n bool success,\\n bytes memory returndata\\n ) internal view returns (bytes memory) {\\n if (!success) {\\n _revert(returndata);\\n } else {\\n // only check if target is a contract if the call was successful and the return data is empty\\n // otherwise we already know that it was a contract\\n if (returndata.length == 0 && target.code.length == 0) {\\n revert AddressEmptyCode(target);\\n }\\n return returndata;\\n }\\n }\\n\\n /**\\n * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the\\n * revert reason or with a default {FailedInnerCall} error.\\n */\\n function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {\\n if (!success) {\\n _revert(returndata);\\n } else {\\n return returndata;\\n }\\n }\\n\\n /**\\n * @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}.\\n */\\n function _revert(bytes memory returndata) private pure {\\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 FailedInnerCall();\\n }\\n }\\n}\\n\",\"keccak256\":\"0xaf28a975a78550e45f65e559a3ad6a5ad43b9b8a37366999abd1b7084eb70721\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/Strings.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol)\\n\\npragma solidity ^0.8.20;\\n\\nimport {Math} from \\\"./math/Math.sol\\\";\\nimport {SignedMath} from \\\"./math/SignedMath.sol\\\";\\n\\n/**\\n * @dev String operations.\\n */\\nlibrary Strings {\\n bytes16 private constant HEX_DIGITS = \\\"0123456789abcdef\\\";\\n uint8 private constant ADDRESS_LENGTH = 20;\\n\\n /**\\n * @dev The `value` string doesn't fit in the specified `length`.\\n */\\n error StringsInsufficientHexLength(uint256 value, uint256 length);\\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 unchecked {\\n uint256 length = Math.log10(value) + 1;\\n string memory buffer = new string(length);\\n uint256 ptr;\\n /// @solidity memory-safe-assembly\\n assembly {\\n ptr := add(buffer, add(32, length))\\n }\\n while (true) {\\n ptr--;\\n /// @solidity memory-safe-assembly\\n assembly {\\n mstore8(ptr, byte(mod(value, 10), HEX_DIGITS))\\n }\\n value /= 10;\\n if (value == 0) break;\\n }\\n return buffer;\\n }\\n }\\n\\n /**\\n * @dev Converts a `int256` to its ASCII `string` decimal representation.\\n */\\n function toStringSigned(int256 value) internal pure returns (string memory) {\\n return string.concat(value < 0 ? \\\"-\\\" : \\\"\\\", toString(SignedMath.abs(value)));\\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 unchecked {\\n return toHexString(value, Math.log256(value) + 1);\\n }\\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 uint256 localValue = value;\\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_DIGITS[localValue & 0xf];\\n localValue >>= 4;\\n }\\n if (localValue != 0) {\\n revert StringsInsufficientHexLength(value, length);\\n }\\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\\n * representation.\\n */\\n function toHexString(address addr) internal pure returns (string memory) {\\n return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH);\\n }\\n\\n /**\\n * @dev Returns true if the two strings are equal.\\n */\\n function equal(string memory a, string memory b) internal pure returns (bool) {\\n return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));\\n }\\n}\\n\",\"keccak256\":\"0x55f102ea785d8399c0e58d1108e2d289506dde18abc6db1b7f68c1f9f9bc5792\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/cryptography/ECDSA.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/ECDSA.sol)\\n\\npragma solidity ^0.8.20;\\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 }\\n\\n /**\\n * @dev The signature derives the `address(0)`.\\n */\\n error ECDSAInvalidSignature();\\n\\n /**\\n * @dev The signature has an invalid length.\\n */\\n error ECDSAInvalidSignatureLength(uint256 length);\\n\\n /**\\n * @dev The signature has an S value that is in the upper half order.\\n */\\n error ECDSAInvalidSignatureS(bytes32 s);\\n\\n /**\\n * @dev Returns the address that signed a hashed message (`hash`) with `signature` or an error. This will not\\n * return address(0) without also returning an error description. Errors are documented using an enum (error type)\\n * and a bytes32 providing additional information about the error.\\n *\\n * If no error is returned, then the address can be used for verification purposes.\\n *\\n * The `ecrecover` EVM precompile 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 {MessageHashUtils-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 function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError, bytes32) {\\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, bytes32(signature.length));\\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 precompile 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 {MessageHashUtils-toEthSignedMessageHash} on it.\\n */\\n function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {\\n (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, signature);\\n _throwError(error, errorArg);\\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 function tryRecover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address, RecoverError, bytes32) {\\n unchecked {\\n bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);\\n // We do not check for an overflow here since the shift operation results in 0 or 1.\\n uint8 v = uint8((uint256(vs) >> 255) + 27);\\n return tryRecover(hash, v, r, s);\\n }\\n }\\n\\n /**\\n * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.\\n */\\n function recover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address) {\\n (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, r, vs);\\n _throwError(error, errorArg);\\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 function tryRecover(\\n bytes32 hash,\\n uint8 v,\\n bytes32 r,\\n bytes32 s\\n ) internal pure returns (address, RecoverError, bytes32) {\\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, s);\\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, bytes32(0));\\n }\\n\\n return (signer, RecoverError.NoError, bytes32(0));\\n }\\n\\n /**\\n * @dev Overload of {ECDSA-recover} that receives the `v`,\\n * `r` and `s` signature fields separately.\\n */\\n function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {\\n (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, v, r, s);\\n _throwError(error, errorArg);\\n return recovered;\\n }\\n\\n /**\\n * @dev Optionally reverts with the corresponding custom error according to the `error` argument provided.\\n */\\n function _throwError(RecoverError error, bytes32 errorArg) private pure {\\n if (error == RecoverError.NoError) {\\n return; // no error: do nothing\\n } else if (error == RecoverError.InvalidSignature) {\\n revert ECDSAInvalidSignature();\\n } else if (error == RecoverError.InvalidSignatureLength) {\\n revert ECDSAInvalidSignatureLength(uint256(errorArg));\\n } else if (error == RecoverError.InvalidSignatureS) {\\n revert ECDSAInvalidSignatureS(errorArg);\\n }\\n }\\n}\\n\",\"keccak256\":\"0xeed0a08b0b091f528356cbc7245891a4c748682d4f6a18055e8e6ca77d12a6cf\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/MessageHashUtils.sol)\\n\\npragma solidity ^0.8.20;\\n\\nimport {Strings} from \\\"../Strings.sol\\\";\\n\\n/**\\n * @dev Signature message hash utilities for producing digests to be consumed by {ECDSA} recovery or signing.\\n *\\n * The library provides methods for generating a hash of a message that conforms to the\\n * https://eips.ethereum.org/EIPS/eip-191[EIP 191] and https://eips.ethereum.org/EIPS/eip-712[EIP 712]\\n * specifications.\\n */\\nlibrary MessageHashUtils {\\n /**\\n * @dev Returns the keccak256 digest of an EIP-191 signed data with version\\n * `0x45` (`personal_sign` messages).\\n *\\n * The digest is calculated by prefixing a bytes32 `messageHash` with\\n * `\\\"\\\\x19Ethereum Signed Message:\\\\n32\\\"` and hashing the result. It corresponds with the\\n * hash signed when using the https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] JSON-RPC method.\\n *\\n * NOTE: The `messageHash` parameter is intended to be the result of hashing a raw message with\\n * keccak256, although any bytes32 value can be safely used because the final digest will\\n * be re-hashed.\\n *\\n * See {ECDSA-recover}.\\n */\\n function toEthSignedMessageHash(bytes32 messageHash) internal pure returns (bytes32 digest) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n mstore(0x00, \\\"\\\\x19Ethereum Signed Message:\\\\n32\\\") // 32 is the bytes-length of messageHash\\n mstore(0x1c, messageHash) // 0x1c (28) is the length of the prefix\\n digest := keccak256(0x00, 0x3c) // 0x3c is the length of the prefix (0x1c) + messageHash (0x20)\\n }\\n }\\n\\n /**\\n * @dev Returns the keccak256 digest of an EIP-191 signed data with version\\n * `0x45` (`personal_sign` messages).\\n *\\n * The digest is calculated by prefixing an arbitrary `message` with\\n * `\\\"\\\\x19Ethereum Signed Message:\\\\n\\\" + len(message)` and hashing the result. It corresponds with the\\n * hash signed when using the https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] JSON-RPC method.\\n *\\n * See {ECDSA-recover}.\\n */\\n function toEthSignedMessageHash(bytes memory message) internal pure returns (bytes32) {\\n return\\n keccak256(bytes.concat(\\\"\\\\x19Ethereum Signed Message:\\\\n\\\", bytes(Strings.toString(message.length)), message));\\n }\\n\\n /**\\n * @dev Returns the keccak256 digest of an EIP-191 signed data with version\\n * `0x00` (data with intended validator).\\n *\\n * The digest is calculated by prefixing an arbitrary `data` with `\\\"\\\\x19\\\\x00\\\"` and the intended\\n * `validator` address. Then hashing the result.\\n *\\n * See {ECDSA-recover}.\\n */\\n function toDataWithIntendedValidatorHash(address validator, bytes memory data) internal pure returns (bytes32) {\\n return keccak256(abi.encodePacked(hex\\\"19_00\\\", validator, data));\\n }\\n\\n /**\\n * @dev Returns the keccak256 digest of an EIP-712 typed data (EIP-191 version `0x01`).\\n *\\n * The digest is calculated from a `domainSeparator` and a `structHash`, by prefixing them with\\n * `\\\\x19\\\\x01` and hashing the result. It corresponds to the hash signed by the\\n * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] JSON-RPC method as part of EIP-712.\\n *\\n * See {ECDSA-recover}.\\n */\\n function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32 digest) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n let ptr := mload(0x40)\\n mstore(ptr, hex\\\"19_01\\\")\\n mstore(add(ptr, 0x02), domainSeparator)\\n mstore(add(ptr, 0x22), structHash)\\n digest := keccak256(ptr, 0x42)\\n }\\n }\\n}\\n\",\"keccak256\":\"0xba333517a3add42cd35fe877656fc3dfcc9de53baa4f3aabbd6d12a92e4ea435\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)\\n\\npragma solidity ^0.8.20;\\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\":\"0x4296879f55019b23e135000eb36896057e7101fb7fb859c5ef690cf14643757b\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/math/Math.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)\\n\\npragma solidity ^0.8.20;\\n\\n/**\\n * @dev Standard math utilities missing in the Solidity language.\\n */\\nlibrary Math {\\n /**\\n * @dev Muldiv operation overflow.\\n */\\n error MathOverflowedMulDiv();\\n\\n enum Rounding {\\n Floor, // Toward negative infinity\\n Ceil, // Toward positive infinity\\n Trunc, // Toward zero\\n Expand // Away from zero\\n }\\n\\n /**\\n * @dev Returns the addition of two unsigned integers, with an overflow flag.\\n */\\n function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n unchecked {\\n uint256 c = a + b;\\n if (c < a) return (false, 0);\\n return (true, c);\\n }\\n }\\n\\n /**\\n * @dev Returns the subtraction of two unsigned integers, with an overflow flag.\\n */\\n function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n unchecked {\\n if (b > a) return (false, 0);\\n return (true, a - b);\\n }\\n }\\n\\n /**\\n * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\\n */\\n function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n unchecked {\\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\\n // benefit is lost if 'b' is also tested.\\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\\n if (a == 0) return (true, 0);\\n uint256 c = a * b;\\n if (c / a != b) return (false, 0);\\n return (true, c);\\n }\\n }\\n\\n /**\\n * @dev Returns the division of two unsigned integers, with a division by zero flag.\\n */\\n function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n unchecked {\\n if (b == 0) return (false, 0);\\n return (true, a / b);\\n }\\n }\\n\\n /**\\n * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\\n */\\n function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n unchecked {\\n if (b == 0) return (false, 0);\\n return (true, a % b);\\n }\\n }\\n\\n /**\\n * @dev Returns the largest of two numbers.\\n */\\n function max(uint256 a, uint256 b) internal pure returns (uint256) {\\n return a > b ? a : b;\\n }\\n\\n /**\\n * @dev Returns the smallest of two numbers.\\n */\\n function min(uint256 a, uint256 b) internal pure returns (uint256) {\\n return a < b ? a : b;\\n }\\n\\n /**\\n * @dev Returns the average of two numbers. The result is rounded towards\\n * zero.\\n */\\n function average(uint256 a, uint256 b) internal pure returns (uint256) {\\n // (a + b) / 2 can overflow.\\n return (a & b) + (a ^ b) / 2;\\n }\\n\\n /**\\n * @dev Returns the ceiling of the division of two numbers.\\n *\\n * This differs from standard division with `/` in that it rounds towards infinity instead\\n * of rounding towards zero.\\n */\\n function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {\\n if (b == 0) {\\n // Guarantee the same behavior as in a regular Solidity division.\\n return a / b;\\n }\\n\\n // (a + b - 1) / b can overflow on addition, so we distribute.\\n return a == 0 ? 0 : (a - 1) / b + 1;\\n }\\n\\n /**\\n * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or\\n * denominator == 0.\\n * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by\\n * Uniswap Labs also under MIT license.\\n */\\n function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {\\n unchecked {\\n // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use\\n // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256\\n // variables such that product = prod1 * 2^256 + prod0.\\n uint256 prod0 = x * y; // Least significant 256 bits of the product\\n uint256 prod1; // Most significant 256 bits of the product\\n assembly {\\n let mm := mulmod(x, y, not(0))\\n prod1 := sub(sub(mm, prod0), lt(mm, prod0))\\n }\\n\\n // Handle non-overflow cases, 256 by 256 division.\\n if (prod1 == 0) {\\n // Solidity will revert if denominator == 0, unlike the div opcode on its own.\\n // The surrounding unchecked block does not change this fact.\\n // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.\\n return prod0 / denominator;\\n }\\n\\n // Make sure the result is less than 2^256. Also prevents denominator == 0.\\n if (denominator <= prod1) {\\n revert MathOverflowedMulDiv();\\n }\\n\\n ///////////////////////////////////////////////\\n // 512 by 256 division.\\n ///////////////////////////////////////////////\\n\\n // Make division exact by subtracting the remainder from [prod1 prod0].\\n uint256 remainder;\\n assembly {\\n // Compute remainder using mulmod.\\n remainder := mulmod(x, y, denominator)\\n\\n // Subtract 256 bit number from 512 bit number.\\n prod1 := sub(prod1, gt(remainder, prod0))\\n prod0 := sub(prod0, remainder)\\n }\\n\\n // Factor powers of two out of denominator and compute largest power of two divisor of denominator.\\n // Always >= 1. See https://cs.stackexchange.com/q/138556/92363.\\n\\n uint256 twos = denominator & (0 - denominator);\\n assembly {\\n // Divide denominator by twos.\\n denominator := div(denominator, twos)\\n\\n // Divide [prod1 prod0] by twos.\\n prod0 := div(prod0, twos)\\n\\n // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.\\n twos := add(div(sub(0, twos), twos), 1)\\n }\\n\\n // Shift in bits from prod1 into prod0.\\n prod0 |= prod1 * twos;\\n\\n // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such\\n // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for\\n // four bits. That is, denominator * inv = 1 mod 2^4.\\n uint256 inverse = (3 * denominator) ^ 2;\\n\\n // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also\\n // works in modular arithmetic, doubling the correct bits in each step.\\n inverse *= 2 - denominator * inverse; // inverse mod 2^8\\n inverse *= 2 - denominator * inverse; // inverse mod 2^16\\n inverse *= 2 - denominator * inverse; // inverse mod 2^32\\n inverse *= 2 - denominator * inverse; // inverse mod 2^64\\n inverse *= 2 - denominator * inverse; // inverse mod 2^128\\n inverse *= 2 - denominator * inverse; // inverse mod 2^256\\n\\n // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.\\n // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is\\n // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1\\n // is no longer required.\\n result = prod0 * inverse;\\n return result;\\n }\\n }\\n\\n /**\\n * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.\\n */\\n function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {\\n uint256 result = mulDiv(x, y, denominator);\\n if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) {\\n result += 1;\\n }\\n return result;\\n }\\n\\n /**\\n * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded\\n * towards zero.\\n *\\n * Inspired by Henry S. Warren, Jr.'s \\\"Hacker's Delight\\\" (Chapter 11).\\n */\\n function sqrt(uint256 a) internal pure returns (uint256) {\\n if (a == 0) {\\n return 0;\\n }\\n\\n // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.\\n //\\n // We know that the \\\"msb\\\" (most significant bit) of our target number `a` is a power of 2 such that we have\\n // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.\\n //\\n // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`\\n // \\u2192 `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`\\n // \\u2192 `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`\\n //\\n // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.\\n uint256 result = 1 << (log2(a) >> 1);\\n\\n // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,\\n // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at\\n // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision\\n // into the expected uint128 result.\\n unchecked {\\n result = (result + a / result) >> 1;\\n result = (result + a / result) >> 1;\\n result = (result + a / result) >> 1;\\n result = (result + a / result) >> 1;\\n result = (result + a / result) >> 1;\\n result = (result + a / result) >> 1;\\n result = (result + a / result) >> 1;\\n return min(result, a / result);\\n }\\n }\\n\\n /**\\n * @notice Calculates sqrt(a), following the selected rounding direction.\\n */\\n function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {\\n unchecked {\\n uint256 result = sqrt(a);\\n return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);\\n }\\n }\\n\\n /**\\n * @dev Return the log in base 2 of a positive value rounded towards zero.\\n * Returns 0 if given 0.\\n */\\n function log2(uint256 value) internal pure returns (uint256) {\\n uint256 result = 0;\\n unchecked {\\n if (value >> 128 > 0) {\\n value >>= 128;\\n result += 128;\\n }\\n if (value >> 64 > 0) {\\n value >>= 64;\\n result += 64;\\n }\\n if (value >> 32 > 0) {\\n value >>= 32;\\n result += 32;\\n }\\n if (value >> 16 > 0) {\\n value >>= 16;\\n result += 16;\\n }\\n if (value >> 8 > 0) {\\n value >>= 8;\\n result += 8;\\n }\\n if (value >> 4 > 0) {\\n value >>= 4;\\n result += 4;\\n }\\n if (value >> 2 > 0) {\\n value >>= 2;\\n result += 2;\\n }\\n if (value >> 1 > 0) {\\n result += 1;\\n }\\n }\\n return result;\\n }\\n\\n /**\\n * @dev Return the log in base 2, following the selected rounding direction, of a positive value.\\n * Returns 0 if given 0.\\n */\\n function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {\\n unchecked {\\n uint256 result = log2(value);\\n return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);\\n }\\n }\\n\\n /**\\n * @dev Return the log in base 10 of a positive value rounded towards zero.\\n * Returns 0 if given 0.\\n */\\n function log10(uint256 value) internal pure returns (uint256) {\\n uint256 result = 0;\\n unchecked {\\n if (value >= 10 ** 64) {\\n value /= 10 ** 64;\\n result += 64;\\n }\\n if (value >= 10 ** 32) {\\n value /= 10 ** 32;\\n result += 32;\\n }\\n if (value >= 10 ** 16) {\\n value /= 10 ** 16;\\n result += 16;\\n }\\n if (value >= 10 ** 8) {\\n value /= 10 ** 8;\\n result += 8;\\n }\\n if (value >= 10 ** 4) {\\n value /= 10 ** 4;\\n result += 4;\\n }\\n if (value >= 10 ** 2) {\\n value /= 10 ** 2;\\n result += 2;\\n }\\n if (value >= 10 ** 1) {\\n result += 1;\\n }\\n }\\n return result;\\n }\\n\\n /**\\n * @dev Return the log in base 10, following the selected rounding direction, of a positive value.\\n * Returns 0 if given 0.\\n */\\n function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {\\n unchecked {\\n uint256 result = log10(value);\\n return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);\\n }\\n }\\n\\n /**\\n * @dev Return the log in base 256 of a positive value rounded towards zero.\\n * Returns 0 if given 0.\\n *\\n * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.\\n */\\n function log256(uint256 value) internal pure returns (uint256) {\\n uint256 result = 0;\\n unchecked {\\n if (value >> 128 > 0) {\\n value >>= 128;\\n result += 16;\\n }\\n if (value >> 64 > 0) {\\n value >>= 64;\\n result += 8;\\n }\\n if (value >> 32 > 0) {\\n value >>= 32;\\n result += 4;\\n }\\n if (value >> 16 > 0) {\\n value >>= 16;\\n result += 2;\\n }\\n if (value >> 8 > 0) {\\n result += 1;\\n }\\n }\\n return result;\\n }\\n\\n /**\\n * @dev Return the log in base 256, following the selected rounding direction, of a positive value.\\n * Returns 0 if given 0.\\n */\\n function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {\\n unchecked {\\n uint256 result = log256(value);\\n return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);\\n }\\n }\\n\\n /**\\n * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.\\n */\\n function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {\\n return uint8(rounding) % 2 == 1;\\n }\\n}\\n\",\"keccak256\":\"0x005ec64c6313f0555d59e278f9a7a5ab2db5bdc72a027f255a37c327af1ec02d\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/math/SafeCast.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SafeCast.sol)\\n// This file was procedurally generated from scripts/generate/templates/SafeCast.js.\\n\\npragma solidity ^0.8.20;\\n\\n/**\\n * @dev Wrappers over Solidity's uintXX/intXX casting operators with added overflow\\n * checks.\\n *\\n * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can\\n * easily result in undesired exploitation or bugs, since developers usually\\n * assume that overflows raise errors. `SafeCast` restores this intuition by\\n * reverting the transaction when such an operation overflows.\\n *\\n * Using this library instead of the unchecked operations eliminates an entire\\n * class of bugs, so it's recommended to use it always.\\n */\\nlibrary SafeCast {\\n /**\\n * @dev Value doesn't fit in an uint of `bits` size.\\n */\\n error SafeCastOverflowedUintDowncast(uint8 bits, uint256 value);\\n\\n /**\\n * @dev An int value doesn't fit in an uint of `bits` size.\\n */\\n error SafeCastOverflowedIntToUint(int256 value);\\n\\n /**\\n * @dev Value doesn't fit in an int of `bits` size.\\n */\\n error SafeCastOverflowedIntDowncast(uint8 bits, int256 value);\\n\\n /**\\n * @dev An uint value doesn't fit in an int of `bits` size.\\n */\\n error SafeCastOverflowedUintToInt(uint256 value);\\n\\n /**\\n * @dev Returns the downcasted uint248 from uint256, reverting on\\n * overflow (when the input is greater than largest uint248).\\n *\\n * Counterpart to Solidity's `uint248` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 248 bits\\n */\\n function toUint248(uint256 value) internal pure returns (uint248) {\\n if (value > type(uint248).max) {\\n revert SafeCastOverflowedUintDowncast(248, value);\\n }\\n return uint248(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint240 from uint256, reverting on\\n * overflow (when the input is greater than largest uint240).\\n *\\n * Counterpart to Solidity's `uint240` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 240 bits\\n */\\n function toUint240(uint256 value) internal pure returns (uint240) {\\n if (value > type(uint240).max) {\\n revert SafeCastOverflowedUintDowncast(240, value);\\n }\\n return uint240(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint232 from uint256, reverting on\\n * overflow (when the input is greater than largest uint232).\\n *\\n * Counterpart to Solidity's `uint232` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 232 bits\\n */\\n function toUint232(uint256 value) internal pure returns (uint232) {\\n if (value > type(uint232).max) {\\n revert SafeCastOverflowedUintDowncast(232, value);\\n }\\n return uint232(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint224 from uint256, reverting on\\n * overflow (when the input is greater than largest uint224).\\n *\\n * Counterpart to Solidity's `uint224` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 224 bits\\n */\\n function toUint224(uint256 value) internal pure returns (uint224) {\\n if (value > type(uint224).max) {\\n revert SafeCastOverflowedUintDowncast(224, value);\\n }\\n return uint224(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint216 from uint256, reverting on\\n * overflow (when the input is greater than largest uint216).\\n *\\n * Counterpart to Solidity's `uint216` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 216 bits\\n */\\n function toUint216(uint256 value) internal pure returns (uint216) {\\n if (value > type(uint216).max) {\\n revert SafeCastOverflowedUintDowncast(216, value);\\n }\\n return uint216(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint208 from uint256, reverting on\\n * overflow (when the input is greater than largest uint208).\\n *\\n * Counterpart to Solidity's `uint208` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 208 bits\\n */\\n function toUint208(uint256 value) internal pure returns (uint208) {\\n if (value > type(uint208).max) {\\n revert SafeCastOverflowedUintDowncast(208, value);\\n }\\n return uint208(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint200 from uint256, reverting on\\n * overflow (when the input is greater than largest uint200).\\n *\\n * Counterpart to Solidity's `uint200` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 200 bits\\n */\\n function toUint200(uint256 value) internal pure returns (uint200) {\\n if (value > type(uint200).max) {\\n revert SafeCastOverflowedUintDowncast(200, value);\\n }\\n return uint200(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint192 from uint256, reverting on\\n * overflow (when the input is greater than largest uint192).\\n *\\n * Counterpart to Solidity's `uint192` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 192 bits\\n */\\n function toUint192(uint256 value) internal pure returns (uint192) {\\n if (value > type(uint192).max) {\\n revert SafeCastOverflowedUintDowncast(192, value);\\n }\\n return uint192(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint184 from uint256, reverting on\\n * overflow (when the input is greater than largest uint184).\\n *\\n * Counterpart to Solidity's `uint184` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 184 bits\\n */\\n function toUint184(uint256 value) internal pure returns (uint184) {\\n if (value > type(uint184).max) {\\n revert SafeCastOverflowedUintDowncast(184, value);\\n }\\n return uint184(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint176 from uint256, reverting on\\n * overflow (when the input is greater than largest uint176).\\n *\\n * Counterpart to Solidity's `uint176` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 176 bits\\n */\\n function toUint176(uint256 value) internal pure returns (uint176) {\\n if (value > type(uint176).max) {\\n revert SafeCastOverflowedUintDowncast(176, value);\\n }\\n return uint176(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint168 from uint256, reverting on\\n * overflow (when the input is greater than largest uint168).\\n *\\n * Counterpart to Solidity's `uint168` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 168 bits\\n */\\n function toUint168(uint256 value) internal pure returns (uint168) {\\n if (value > type(uint168).max) {\\n revert SafeCastOverflowedUintDowncast(168, value);\\n }\\n return uint168(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint160 from uint256, reverting on\\n * overflow (when the input is greater than largest uint160).\\n *\\n * Counterpart to Solidity's `uint160` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 160 bits\\n */\\n function toUint160(uint256 value) internal pure returns (uint160) {\\n if (value > type(uint160).max) {\\n revert SafeCastOverflowedUintDowncast(160, value);\\n }\\n return uint160(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint152 from uint256, reverting on\\n * overflow (when the input is greater than largest uint152).\\n *\\n * Counterpart to Solidity's `uint152` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 152 bits\\n */\\n function toUint152(uint256 value) internal pure returns (uint152) {\\n if (value > type(uint152).max) {\\n revert SafeCastOverflowedUintDowncast(152, value);\\n }\\n return uint152(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint144 from uint256, reverting on\\n * overflow (when the input is greater than largest uint144).\\n *\\n * Counterpart to Solidity's `uint144` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 144 bits\\n */\\n function toUint144(uint256 value) internal pure returns (uint144) {\\n if (value > type(uint144).max) {\\n revert SafeCastOverflowedUintDowncast(144, value);\\n }\\n return uint144(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint136 from uint256, reverting on\\n * overflow (when the input is greater than largest uint136).\\n *\\n * Counterpart to Solidity's `uint136` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 136 bits\\n */\\n function toUint136(uint256 value) internal pure returns (uint136) {\\n if (value > type(uint136).max) {\\n revert SafeCastOverflowedUintDowncast(136, value);\\n }\\n return uint136(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint128 from uint256, reverting on\\n * overflow (when the input is greater than largest uint128).\\n *\\n * Counterpart to Solidity's `uint128` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 128 bits\\n */\\n function toUint128(uint256 value) internal pure returns (uint128) {\\n if (value > type(uint128).max) {\\n revert SafeCastOverflowedUintDowncast(128, value);\\n }\\n return uint128(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint120 from uint256, reverting on\\n * overflow (when the input is greater than largest uint120).\\n *\\n * Counterpart to Solidity's `uint120` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 120 bits\\n */\\n function toUint120(uint256 value) internal pure returns (uint120) {\\n if (value > type(uint120).max) {\\n revert SafeCastOverflowedUintDowncast(120, value);\\n }\\n return uint120(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint112 from uint256, reverting on\\n * overflow (when the input is greater than largest uint112).\\n *\\n * Counterpart to Solidity's `uint112` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 112 bits\\n */\\n function toUint112(uint256 value) internal pure returns (uint112) {\\n if (value > type(uint112).max) {\\n revert SafeCastOverflowedUintDowncast(112, value);\\n }\\n return uint112(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint104 from uint256, reverting on\\n * overflow (when the input is greater than largest uint104).\\n *\\n * Counterpart to Solidity's `uint104` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 104 bits\\n */\\n function toUint104(uint256 value) internal pure returns (uint104) {\\n if (value > type(uint104).max) {\\n revert SafeCastOverflowedUintDowncast(104, value);\\n }\\n return uint104(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint96 from uint256, reverting on\\n * overflow (when the input is greater than largest uint96).\\n *\\n * Counterpart to Solidity's `uint96` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 96 bits\\n */\\n function toUint96(uint256 value) internal pure returns (uint96) {\\n if (value > type(uint96).max) {\\n revert SafeCastOverflowedUintDowncast(96, value);\\n }\\n return uint96(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint88 from uint256, reverting on\\n * overflow (when the input is greater than largest uint88).\\n *\\n * Counterpart to Solidity's `uint88` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 88 bits\\n */\\n function toUint88(uint256 value) internal pure returns (uint88) {\\n if (value > type(uint88).max) {\\n revert SafeCastOverflowedUintDowncast(88, value);\\n }\\n return uint88(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint80 from uint256, reverting on\\n * overflow (when the input is greater than largest uint80).\\n *\\n * Counterpart to Solidity's `uint80` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 80 bits\\n */\\n function toUint80(uint256 value) internal pure returns (uint80) {\\n if (value > type(uint80).max) {\\n revert SafeCastOverflowedUintDowncast(80, value);\\n }\\n return uint80(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint72 from uint256, reverting on\\n * overflow (when the input is greater than largest uint72).\\n *\\n * Counterpart to Solidity's `uint72` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 72 bits\\n */\\n function toUint72(uint256 value) internal pure returns (uint72) {\\n if (value > type(uint72).max) {\\n revert SafeCastOverflowedUintDowncast(72, value);\\n }\\n return uint72(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint64 from uint256, reverting on\\n * overflow (when the input is greater than largest uint64).\\n *\\n * Counterpart to Solidity's `uint64` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 64 bits\\n */\\n function toUint64(uint256 value) internal pure returns (uint64) {\\n if (value > type(uint64).max) {\\n revert SafeCastOverflowedUintDowncast(64, value);\\n }\\n return uint64(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint56 from uint256, reverting on\\n * overflow (when the input is greater than largest uint56).\\n *\\n * Counterpart to Solidity's `uint56` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 56 bits\\n */\\n function toUint56(uint256 value) internal pure returns (uint56) {\\n if (value > type(uint56).max) {\\n revert SafeCastOverflowedUintDowncast(56, value);\\n }\\n return uint56(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint48 from uint256, reverting on\\n * overflow (when the input is greater than largest uint48).\\n *\\n * Counterpart to Solidity's `uint48` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 48 bits\\n */\\n function toUint48(uint256 value) internal pure returns (uint48) {\\n if (value > type(uint48).max) {\\n revert SafeCastOverflowedUintDowncast(48, value);\\n }\\n return uint48(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint40 from uint256, reverting on\\n * overflow (when the input is greater than largest uint40).\\n *\\n * Counterpart to Solidity's `uint40` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 40 bits\\n */\\n function toUint40(uint256 value) internal pure returns (uint40) {\\n if (value > type(uint40).max) {\\n revert SafeCastOverflowedUintDowncast(40, value);\\n }\\n return uint40(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint32 from uint256, reverting on\\n * overflow (when the input is greater than largest uint32).\\n *\\n * Counterpart to Solidity's `uint32` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 32 bits\\n */\\n function toUint32(uint256 value) internal pure returns (uint32) {\\n if (value > type(uint32).max) {\\n revert SafeCastOverflowedUintDowncast(32, value);\\n }\\n return uint32(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint24 from uint256, reverting on\\n * overflow (when the input is greater than largest uint24).\\n *\\n * Counterpart to Solidity's `uint24` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 24 bits\\n */\\n function toUint24(uint256 value) internal pure returns (uint24) {\\n if (value > type(uint24).max) {\\n revert SafeCastOverflowedUintDowncast(24, value);\\n }\\n return uint24(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint16 from uint256, reverting on\\n * overflow (when the input is greater than largest uint16).\\n *\\n * Counterpart to Solidity's `uint16` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 16 bits\\n */\\n function toUint16(uint256 value) internal pure returns (uint16) {\\n if (value > type(uint16).max) {\\n revert SafeCastOverflowedUintDowncast(16, value);\\n }\\n return uint16(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted uint8 from uint256, reverting on\\n * overflow (when the input is greater than largest uint8).\\n *\\n * Counterpart to Solidity's `uint8` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 8 bits\\n */\\n function toUint8(uint256 value) internal pure returns (uint8) {\\n if (value > type(uint8).max) {\\n revert SafeCastOverflowedUintDowncast(8, value);\\n }\\n return uint8(value);\\n }\\n\\n /**\\n * @dev Converts a signed int256 into an unsigned uint256.\\n *\\n * Requirements:\\n *\\n * - input must be greater than or equal to 0.\\n */\\n function toUint256(int256 value) internal pure returns (uint256) {\\n if (value < 0) {\\n revert SafeCastOverflowedIntToUint(value);\\n }\\n return uint256(value);\\n }\\n\\n /**\\n * @dev Returns the downcasted int248 from int256, reverting on\\n * overflow (when the input is less than smallest int248 or\\n * greater than largest int248).\\n *\\n * Counterpart to Solidity's `int248` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 248 bits\\n */\\n function toInt248(int256 value) internal pure returns (int248 downcasted) {\\n downcasted = int248(value);\\n if (downcasted != value) {\\n revert SafeCastOverflowedIntDowncast(248, value);\\n }\\n }\\n\\n /**\\n * @dev Returns the downcasted int240 from int256, reverting on\\n * overflow (when the input is less than smallest int240 or\\n * greater than largest int240).\\n *\\n * Counterpart to Solidity's `int240` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 240 bits\\n */\\n function toInt240(int256 value) internal pure returns (int240 downcasted) {\\n downcasted = int240(value);\\n if (downcasted != value) {\\n revert SafeCastOverflowedIntDowncast(240, value);\\n }\\n }\\n\\n /**\\n * @dev Returns the downcasted int232 from int256, reverting on\\n * overflow (when the input is less than smallest int232 or\\n * greater than largest int232).\\n *\\n * Counterpart to Solidity's `int232` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 232 bits\\n */\\n function toInt232(int256 value) internal pure returns (int232 downcasted) {\\n downcasted = int232(value);\\n if (downcasted != value) {\\n revert SafeCastOverflowedIntDowncast(232, value);\\n }\\n }\\n\\n /**\\n * @dev Returns the downcasted int224 from int256, reverting on\\n * overflow (when the input is less than smallest int224 or\\n * greater than largest int224).\\n *\\n * Counterpart to Solidity's `int224` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 224 bits\\n */\\n function toInt224(int256 value) internal pure returns (int224 downcasted) {\\n downcasted = int224(value);\\n if (downcasted != value) {\\n revert SafeCastOverflowedIntDowncast(224, value);\\n }\\n }\\n\\n /**\\n * @dev Returns the downcasted int216 from int256, reverting on\\n * overflow (when the input is less than smallest int216 or\\n * greater than largest int216).\\n *\\n * Counterpart to Solidity's `int216` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 216 bits\\n */\\n function toInt216(int256 value) internal pure returns (int216 downcasted) {\\n downcasted = int216(value);\\n if (downcasted != value) {\\n revert SafeCastOverflowedIntDowncast(216, value);\\n }\\n }\\n\\n /**\\n * @dev Returns the downcasted int208 from int256, reverting on\\n * overflow (when the input is less than smallest int208 or\\n * greater than largest int208).\\n *\\n * Counterpart to Solidity's `int208` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 208 bits\\n */\\n function toInt208(int256 value) internal pure returns (int208 downcasted) {\\n downcasted = int208(value);\\n if (downcasted != value) {\\n revert SafeCastOverflowedIntDowncast(208, value);\\n }\\n }\\n\\n /**\\n * @dev Returns the downcasted int200 from int256, reverting on\\n * overflow (when the input is less than smallest int200 or\\n * greater than largest int200).\\n *\\n * Counterpart to Solidity's `int200` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 200 bits\\n */\\n function toInt200(int256 value) internal pure returns (int200 downcasted) {\\n downcasted = int200(value);\\n if (downcasted != value) {\\n revert SafeCastOverflowedIntDowncast(200, value);\\n }\\n }\\n\\n /**\\n * @dev Returns the downcasted int192 from int256, reverting on\\n * overflow (when the input is less than smallest int192 or\\n * greater than largest int192).\\n *\\n * Counterpart to Solidity's `int192` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 192 bits\\n */\\n function toInt192(int256 value) internal pure returns (int192 downcasted) {\\n downcasted = int192(value);\\n if (downcasted != value) {\\n revert SafeCastOverflowedIntDowncast(192, value);\\n }\\n }\\n\\n /**\\n * @dev Returns the downcasted int184 from int256, reverting on\\n * overflow (when the input is less than smallest int184 or\\n * greater than largest int184).\\n *\\n * Counterpart to Solidity's `int184` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 184 bits\\n */\\n function toInt184(int256 value) internal pure returns (int184 downcasted) {\\n downcasted = int184(value);\\n if (downcasted != value) {\\n revert SafeCastOverflowedIntDowncast(184, value);\\n }\\n }\\n\\n /**\\n * @dev Returns the downcasted int176 from int256, reverting on\\n * overflow (when the input is less than smallest int176 or\\n * greater than largest int176).\\n *\\n * Counterpart to Solidity's `int176` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 176 bits\\n */\\n function toInt176(int256 value) internal pure returns (int176 downcasted) {\\n downcasted = int176(value);\\n if (downcasted != value) {\\n revert SafeCastOverflowedIntDowncast(176, value);\\n }\\n }\\n\\n /**\\n * @dev Returns the downcasted int168 from int256, reverting on\\n * overflow (when the input is less than smallest int168 or\\n * greater than largest int168).\\n *\\n * Counterpart to Solidity's `int168` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 168 bits\\n */\\n function toInt168(int256 value) internal pure returns (int168 downcasted) {\\n downcasted = int168(value);\\n if (downcasted != value) {\\n revert SafeCastOverflowedIntDowncast(168, value);\\n }\\n }\\n\\n /**\\n * @dev Returns the downcasted int160 from int256, reverting on\\n * overflow (when the input is less than smallest int160 or\\n * greater than largest int160).\\n *\\n * Counterpart to Solidity's `int160` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 160 bits\\n */\\n function toInt160(int256 value) internal pure returns (int160 downcasted) {\\n downcasted = int160(value);\\n if (downcasted != value) {\\n revert SafeCastOverflowedIntDowncast(160, value);\\n }\\n }\\n\\n /**\\n * @dev Returns the downcasted int152 from int256, reverting on\\n * overflow (when the input is less than smallest int152 or\\n * greater than largest int152).\\n *\\n * Counterpart to Solidity's `int152` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 152 bits\\n */\\n function toInt152(int256 value) internal pure returns (int152 downcasted) {\\n downcasted = int152(value);\\n if (downcasted != value) {\\n revert SafeCastOverflowedIntDowncast(152, value);\\n }\\n }\\n\\n /**\\n * @dev Returns the downcasted int144 from int256, reverting on\\n * overflow (when the input is less than smallest int144 or\\n * greater than largest int144).\\n *\\n * Counterpart to Solidity's `int144` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 144 bits\\n */\\n function toInt144(int256 value) internal pure returns (int144 downcasted) {\\n downcasted = int144(value);\\n if (downcasted != value) {\\n revert SafeCastOverflowedIntDowncast(144, value);\\n }\\n }\\n\\n /**\\n * @dev Returns the downcasted int136 from int256, reverting on\\n * overflow (when the input is less than smallest int136 or\\n * greater than largest int136).\\n *\\n * Counterpart to Solidity's `int136` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 136 bits\\n */\\n function toInt136(int256 value) internal pure returns (int136 downcasted) {\\n downcasted = int136(value);\\n if (downcasted != value) {\\n revert SafeCastOverflowedIntDowncast(136, value);\\n }\\n }\\n\\n /**\\n * @dev Returns the downcasted int128 from int256, reverting on\\n * overflow (when the input is less than smallest int128 or\\n * greater than largest int128).\\n *\\n * Counterpart to Solidity's `int128` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 128 bits\\n */\\n function toInt128(int256 value) internal pure returns (int128 downcasted) {\\n downcasted = int128(value);\\n if (downcasted != value) {\\n revert SafeCastOverflowedIntDowncast(128, value);\\n }\\n }\\n\\n /**\\n * @dev Returns the downcasted int120 from int256, reverting on\\n * overflow (when the input is less than smallest int120 or\\n * greater than largest int120).\\n *\\n * Counterpart to Solidity's `int120` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 120 bits\\n */\\n function toInt120(int256 value) internal pure returns (int120 downcasted) {\\n downcasted = int120(value);\\n if (downcasted != value) {\\n revert SafeCastOverflowedIntDowncast(120, value);\\n }\\n }\\n\\n /**\\n * @dev Returns the downcasted int112 from int256, reverting on\\n * overflow (when the input is less than smallest int112 or\\n * greater than largest int112).\\n *\\n * Counterpart to Solidity's `int112` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 112 bits\\n */\\n function toInt112(int256 value) internal pure returns (int112 downcasted) {\\n downcasted = int112(value);\\n if (downcasted != value) {\\n revert SafeCastOverflowedIntDowncast(112, value);\\n }\\n }\\n\\n /**\\n * @dev Returns the downcasted int104 from int256, reverting on\\n * overflow (when the input is less than smallest int104 or\\n * greater than largest int104).\\n *\\n * Counterpart to Solidity's `int104` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 104 bits\\n */\\n function toInt104(int256 value) internal pure returns (int104 downcasted) {\\n downcasted = int104(value);\\n if (downcasted != value) {\\n revert SafeCastOverflowedIntDowncast(104, value);\\n }\\n }\\n\\n /**\\n * @dev Returns the downcasted int96 from int256, reverting on\\n * overflow (when the input is less than smallest int96 or\\n * greater than largest int96).\\n *\\n * Counterpart to Solidity's `int96` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 96 bits\\n */\\n function toInt96(int256 value) internal pure returns (int96 downcasted) {\\n downcasted = int96(value);\\n if (downcasted != value) {\\n revert SafeCastOverflowedIntDowncast(96, value);\\n }\\n }\\n\\n /**\\n * @dev Returns the downcasted int88 from int256, reverting on\\n * overflow (when the input is less than smallest int88 or\\n * greater than largest int88).\\n *\\n * Counterpart to Solidity's `int88` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 88 bits\\n */\\n function toInt88(int256 value) internal pure returns (int88 downcasted) {\\n downcasted = int88(value);\\n if (downcasted != value) {\\n revert SafeCastOverflowedIntDowncast(88, value);\\n }\\n }\\n\\n /**\\n * @dev Returns the downcasted int80 from int256, reverting on\\n * overflow (when the input is less than smallest int80 or\\n * greater than largest int80).\\n *\\n * Counterpart to Solidity's `int80` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 80 bits\\n */\\n function toInt80(int256 value) internal pure returns (int80 downcasted) {\\n downcasted = int80(value);\\n if (downcasted != value) {\\n revert SafeCastOverflowedIntDowncast(80, value);\\n }\\n }\\n\\n /**\\n * @dev Returns the downcasted int72 from int256, reverting on\\n * overflow (when the input is less than smallest int72 or\\n * greater than largest int72).\\n *\\n * Counterpart to Solidity's `int72` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 72 bits\\n */\\n function toInt72(int256 value) internal pure returns (int72 downcasted) {\\n downcasted = int72(value);\\n if (downcasted != value) {\\n revert SafeCastOverflowedIntDowncast(72, value);\\n }\\n }\\n\\n /**\\n * @dev Returns the downcasted int64 from int256, reverting on\\n * overflow (when the input is less than smallest int64 or\\n * greater than largest int64).\\n *\\n * Counterpart to Solidity's `int64` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 64 bits\\n */\\n function toInt64(int256 value) internal pure returns (int64 downcasted) {\\n downcasted = int64(value);\\n if (downcasted != value) {\\n revert SafeCastOverflowedIntDowncast(64, value);\\n }\\n }\\n\\n /**\\n * @dev Returns the downcasted int56 from int256, reverting on\\n * overflow (when the input is less than smallest int56 or\\n * greater than largest int56).\\n *\\n * Counterpart to Solidity's `int56` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 56 bits\\n */\\n function toInt56(int256 value) internal pure returns (int56 downcasted) {\\n downcasted = int56(value);\\n if (downcasted != value) {\\n revert SafeCastOverflowedIntDowncast(56, value);\\n }\\n }\\n\\n /**\\n * @dev Returns the downcasted int48 from int256, reverting on\\n * overflow (when the input is less than smallest int48 or\\n * greater than largest int48).\\n *\\n * Counterpart to Solidity's `int48` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 48 bits\\n */\\n function toInt48(int256 value) internal pure returns (int48 downcasted) {\\n downcasted = int48(value);\\n if (downcasted != value) {\\n revert SafeCastOverflowedIntDowncast(48, value);\\n }\\n }\\n\\n /**\\n * @dev Returns the downcasted int40 from int256, reverting on\\n * overflow (when the input is less than smallest int40 or\\n * greater than largest int40).\\n *\\n * Counterpart to Solidity's `int40` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 40 bits\\n */\\n function toInt40(int256 value) internal pure returns (int40 downcasted) {\\n downcasted = int40(value);\\n if (downcasted != value) {\\n revert SafeCastOverflowedIntDowncast(40, value);\\n }\\n }\\n\\n /**\\n * @dev Returns the downcasted int32 from int256, reverting on\\n * overflow (when the input is less than smallest int32 or\\n * greater than largest int32).\\n *\\n * Counterpart to Solidity's `int32` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 32 bits\\n */\\n function toInt32(int256 value) internal pure returns (int32 downcasted) {\\n downcasted = int32(value);\\n if (downcasted != value) {\\n revert SafeCastOverflowedIntDowncast(32, value);\\n }\\n }\\n\\n /**\\n * @dev Returns the downcasted int24 from int256, reverting on\\n * overflow (when the input is less than smallest int24 or\\n * greater than largest int24).\\n *\\n * Counterpart to Solidity's `int24` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 24 bits\\n */\\n function toInt24(int256 value) internal pure returns (int24 downcasted) {\\n downcasted = int24(value);\\n if (downcasted != value) {\\n revert SafeCastOverflowedIntDowncast(24, value);\\n }\\n }\\n\\n /**\\n * @dev Returns the downcasted int16 from int256, reverting on\\n * overflow (when the input is less than smallest int16 or\\n * greater than largest int16).\\n *\\n * Counterpart to Solidity's `int16` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 16 bits\\n */\\n function toInt16(int256 value) internal pure returns (int16 downcasted) {\\n downcasted = int16(value);\\n if (downcasted != value) {\\n revert SafeCastOverflowedIntDowncast(16, value);\\n }\\n }\\n\\n /**\\n * @dev Returns the downcasted int8 from int256, reverting on\\n * overflow (when the input is less than smallest int8 or\\n * greater than largest int8).\\n *\\n * Counterpart to Solidity's `int8` operator.\\n *\\n * Requirements:\\n *\\n * - input must fit into 8 bits\\n */\\n function toInt8(int256 value) internal pure returns (int8 downcasted) {\\n downcasted = int8(value);\\n if (downcasted != value) {\\n revert SafeCastOverflowedIntDowncast(8, value);\\n }\\n }\\n\\n /**\\n * @dev Converts an unsigned uint256 into a signed int256.\\n *\\n * Requirements:\\n *\\n * - input must be less than or equal to maxInt256.\\n */\\n function toInt256(uint256 value) internal pure returns (int256) {\\n // Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive\\n if (value > uint256(type(int256).max)) {\\n revert SafeCastOverflowedUintToInt(value);\\n }\\n return int256(value);\\n }\\n}\\n\",\"keccak256\":\"0xe19a4d5f31d2861e7344e8e535e2feafb913d806d3e2b5fe7782741a2a7094fe\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/math/SignedMath.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol)\\n\\npragma solidity ^0.8.20;\\n\\n/**\\n * @dev Standard signed math utilities missing in the Solidity language.\\n */\\nlibrary SignedMath {\\n /**\\n * @dev Returns the largest of two signed numbers.\\n */\\n function max(int256 a, int256 b) internal pure returns (int256) {\\n return a > b ? a : b;\\n }\\n\\n /**\\n * @dev Returns the smallest of two signed numbers.\\n */\\n function min(int256 a, int256 b) internal pure returns (int256) {\\n return a < b ? a : b;\\n }\\n\\n /**\\n * @dev Returns the average of two signed numbers without overflow.\\n * The result is rounded towards zero.\\n */\\n function average(int256 a, int256 b) internal pure returns (int256) {\\n // Formula from the book \\\"Hacker's Delight\\\"\\n int256 x = (a & b) + ((a ^ b) >> 1);\\n return x + (int256(uint256(x) >> 255) & (a ^ b));\\n }\\n\\n /**\\n * @dev Returns the absolute unsigned value of a signed value.\\n */\\n function abs(int256 n) internal pure returns (uint256) {\\n unchecked {\\n // must be unchecked in order to support `n = type(int256).min`\\n return uint256(n >= 0 ? n : -n);\\n }\\n }\\n}\\n\",\"keccak256\":\"0x5f7e4076e175393767754387c962926577f1660dd9b810187b9002407656be72\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/structs/Checkpoints.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/structs/Checkpoints.sol)\\n// This file was procedurally generated from scripts/generate/templates/Checkpoints.js.\\n\\npragma solidity ^0.8.20;\\n\\nimport {Math} from \\\"../math/Math.sol\\\";\\n\\n/**\\n * @dev This library defines the `Trace*` struct, for checkpointing values as they change at different points in\\n * time, and later looking up past values by block number. See {Votes} as an example.\\n *\\n * To create a history of checkpoints define a variable type `Checkpoints.Trace*` in your contract, and store a new\\n * checkpoint for the current transaction block using the {push} function.\\n */\\nlibrary Checkpoints {\\n /**\\n * @dev A value was attempted to be inserted on a past checkpoint.\\n */\\n error CheckpointUnorderedInsertion();\\n\\n struct Trace224 {\\n Checkpoint224[] _checkpoints;\\n }\\n\\n struct Checkpoint224 {\\n uint32 _key;\\n uint224 _value;\\n }\\n\\n /**\\n * @dev Pushes a (`key`, `value`) pair into a Trace224 so that it is stored as the checkpoint.\\n *\\n * Returns previous value and new value.\\n *\\n * IMPORTANT: Never accept `key` as a user input, since an arbitrary `type(uint32).max` key set will disable the\\n * library.\\n */\\n function push(Trace224 storage self, uint32 key, uint224 value) internal returns (uint224, uint224) {\\n return _insert(self._checkpoints, key, value);\\n }\\n\\n /**\\n * @dev Returns the value in the first (oldest) checkpoint with key greater or equal than the search key, or zero if\\n * there is none.\\n */\\n function lowerLookup(Trace224 storage self, uint32 key) internal view returns (uint224) {\\n uint256 len = self._checkpoints.length;\\n uint256 pos = _lowerBinaryLookup(self._checkpoints, key, 0, len);\\n return pos == len ? 0 : _unsafeAccess(self._checkpoints, pos)._value;\\n }\\n\\n /**\\n * @dev Returns the value in the last (most recent) checkpoint with key lower or equal than the search key, or zero\\n * if there is none.\\n */\\n function upperLookup(Trace224 storage self, uint32 key) internal view returns (uint224) {\\n uint256 len = self._checkpoints.length;\\n uint256 pos = _upperBinaryLookup(self._checkpoints, key, 0, len);\\n return pos == 0 ? 0 : _unsafeAccess(self._checkpoints, pos - 1)._value;\\n }\\n\\n /**\\n * @dev Returns the value in the last (most recent) checkpoint with key lower or equal than the search key, or zero\\n * if there is none.\\n *\\n * NOTE: This is a variant of {upperLookup} that is optimised to find \\\"recent\\\" checkpoint (checkpoints with high\\n * keys).\\n */\\n function upperLookupRecent(Trace224 storage self, uint32 key) internal view returns (uint224) {\\n uint256 len = self._checkpoints.length;\\n\\n uint256 low = 0;\\n uint256 high = len;\\n\\n if (len > 5) {\\n uint256 mid = len - Math.sqrt(len);\\n if (key < _unsafeAccess(self._checkpoints, mid)._key) {\\n high = mid;\\n } else {\\n low = mid + 1;\\n }\\n }\\n\\n uint256 pos = _upperBinaryLookup(self._checkpoints, key, low, high);\\n\\n return pos == 0 ? 0 : _unsafeAccess(self._checkpoints, pos - 1)._value;\\n }\\n\\n /**\\n * @dev Returns the value in the most recent checkpoint, or zero if there are no checkpoints.\\n */\\n function latest(Trace224 storage self) internal view returns (uint224) {\\n uint256 pos = self._checkpoints.length;\\n return pos == 0 ? 0 : _unsafeAccess(self._checkpoints, pos - 1)._value;\\n }\\n\\n /**\\n * @dev Returns whether there is a checkpoint in the structure (i.e. it is not empty), and if so the key and value\\n * in the most recent checkpoint.\\n */\\n function latestCheckpoint(Trace224 storage self) internal view returns (bool exists, uint32 _key, uint224 _value) {\\n uint256 pos = self._checkpoints.length;\\n if (pos == 0) {\\n return (false, 0, 0);\\n } else {\\n Checkpoint224 memory ckpt = _unsafeAccess(self._checkpoints, pos - 1);\\n return (true, ckpt._key, ckpt._value);\\n }\\n }\\n\\n /**\\n * @dev Returns the number of checkpoint.\\n */\\n function length(Trace224 storage self) internal view returns (uint256) {\\n return self._checkpoints.length;\\n }\\n\\n /**\\n * @dev Returns checkpoint at given position.\\n */\\n function at(Trace224 storage self, uint32 pos) internal view returns (Checkpoint224 memory) {\\n return self._checkpoints[pos];\\n }\\n\\n /**\\n * @dev Pushes a (`key`, `value`) pair into an ordered list of checkpoints, either by inserting a new checkpoint,\\n * or by updating the last one.\\n */\\n function _insert(Checkpoint224[] storage self, uint32 key, uint224 value) private returns (uint224, uint224) {\\n uint256 pos = self.length;\\n\\n if (pos > 0) {\\n // Copying to memory is important here.\\n Checkpoint224 memory last = _unsafeAccess(self, pos - 1);\\n\\n // Checkpoint keys must be non-decreasing.\\n if (last._key > key) {\\n revert CheckpointUnorderedInsertion();\\n }\\n\\n // Update or push new checkpoint\\n if (last._key == key) {\\n _unsafeAccess(self, pos - 1)._value = value;\\n } else {\\n self.push(Checkpoint224({_key: key, _value: value}));\\n }\\n return (last._value, value);\\n } else {\\n self.push(Checkpoint224({_key: key, _value: value}));\\n return (0, value);\\n }\\n }\\n\\n /**\\n * @dev Return the index of the last (most recent) checkpoint with key lower or equal than the search key, or `high`\\n * if there is none. `low` and `high` define a section where to do the search, with inclusive `low` and exclusive\\n * `high`.\\n *\\n * WARNING: `high` should not be greater than the array's length.\\n */\\n function _upperBinaryLookup(\\n Checkpoint224[] storage self,\\n uint32 key,\\n uint256 low,\\n uint256 high\\n ) private view returns (uint256) {\\n while (low < high) {\\n uint256 mid = Math.average(low, high);\\n if (_unsafeAccess(self, mid)._key > key) {\\n high = mid;\\n } else {\\n low = mid + 1;\\n }\\n }\\n return high;\\n }\\n\\n /**\\n * @dev Return the index of the first (oldest) checkpoint with key is greater or equal than the search key, or\\n * `high` if there is none. `low` and `high` define a section where to do the search, with inclusive `low` and\\n * exclusive `high`.\\n *\\n * WARNING: `high` should not be greater than the array's length.\\n */\\n function _lowerBinaryLookup(\\n Checkpoint224[] storage self,\\n uint32 key,\\n uint256 low,\\n uint256 high\\n ) private view returns (uint256) {\\n while (low < high) {\\n uint256 mid = Math.average(low, high);\\n if (_unsafeAccess(self, mid)._key < key) {\\n low = mid + 1;\\n } else {\\n high = mid;\\n }\\n }\\n return high;\\n }\\n\\n /**\\n * @dev Access an element of the array without performing bounds check. The position is assumed to be within bounds.\\n */\\n function _unsafeAccess(\\n Checkpoint224[] storage self,\\n uint256 pos\\n ) private pure returns (Checkpoint224 storage result) {\\n assembly {\\n mstore(0, self.slot)\\n result.slot := add(keccak256(0, 0x20), pos)\\n }\\n }\\n\\n struct Trace208 {\\n Checkpoint208[] _checkpoints;\\n }\\n\\n struct Checkpoint208 {\\n uint48 _key;\\n uint208 _value;\\n }\\n\\n /**\\n * @dev Pushes a (`key`, `value`) pair into a Trace208 so that it is stored as the checkpoint.\\n *\\n * Returns previous value and new value.\\n *\\n * IMPORTANT: Never accept `key` as a user input, since an arbitrary `type(uint48).max` key set will disable the\\n * library.\\n */\\n function push(Trace208 storage self, uint48 key, uint208 value) internal returns (uint208, uint208) {\\n return _insert(self._checkpoints, key, value);\\n }\\n\\n /**\\n * @dev Returns the value in the first (oldest) checkpoint with key greater or equal than the search key, or zero if\\n * there is none.\\n */\\n function lowerLookup(Trace208 storage self, uint48 key) internal view returns (uint208) {\\n uint256 len = self._checkpoints.length;\\n uint256 pos = _lowerBinaryLookup(self._checkpoints, key, 0, len);\\n return pos == len ? 0 : _unsafeAccess(self._checkpoints, pos)._value;\\n }\\n\\n /**\\n * @dev Returns the value in the last (most recent) checkpoint with key lower or equal than the search key, or zero\\n * if there is none.\\n */\\n function upperLookup(Trace208 storage self, uint48 key) internal view returns (uint208) {\\n uint256 len = self._checkpoints.length;\\n uint256 pos = _upperBinaryLookup(self._checkpoints, key, 0, len);\\n return pos == 0 ? 0 : _unsafeAccess(self._checkpoints, pos - 1)._value;\\n }\\n\\n /**\\n * @dev Returns the value in the last (most recent) checkpoint with key lower or equal than the search key, or zero\\n * if there is none.\\n *\\n * NOTE: This is a variant of {upperLookup} that is optimised to find \\\"recent\\\" checkpoint (checkpoints with high\\n * keys).\\n */\\n function upperLookupRecent(Trace208 storage self, uint48 key) internal view returns (uint208) {\\n uint256 len = self._checkpoints.length;\\n\\n uint256 low = 0;\\n uint256 high = len;\\n\\n if (len > 5) {\\n uint256 mid = len - Math.sqrt(len);\\n if (key < _unsafeAccess(self._checkpoints, mid)._key) {\\n high = mid;\\n } else {\\n low = mid + 1;\\n }\\n }\\n\\n uint256 pos = _upperBinaryLookup(self._checkpoints, key, low, high);\\n\\n return pos == 0 ? 0 : _unsafeAccess(self._checkpoints, pos - 1)._value;\\n }\\n\\n /**\\n * @dev Returns the value in the most recent checkpoint, or zero if there are no checkpoints.\\n */\\n function latest(Trace208 storage self) internal view returns (uint208) {\\n uint256 pos = self._checkpoints.length;\\n return pos == 0 ? 0 : _unsafeAccess(self._checkpoints, pos - 1)._value;\\n }\\n\\n /**\\n * @dev Returns whether there is a checkpoint in the structure (i.e. it is not empty), and if so the key and value\\n * in the most recent checkpoint.\\n */\\n function latestCheckpoint(Trace208 storage self) internal view returns (bool exists, uint48 _key, uint208 _value) {\\n uint256 pos = self._checkpoints.length;\\n if (pos == 0) {\\n return (false, 0, 0);\\n } else {\\n Checkpoint208 memory ckpt = _unsafeAccess(self._checkpoints, pos - 1);\\n return (true, ckpt._key, ckpt._value);\\n }\\n }\\n\\n /**\\n * @dev Returns the number of checkpoint.\\n */\\n function length(Trace208 storage self) internal view returns (uint256) {\\n return self._checkpoints.length;\\n }\\n\\n /**\\n * @dev Returns checkpoint at given position.\\n */\\n function at(Trace208 storage self, uint32 pos) internal view returns (Checkpoint208 memory) {\\n return self._checkpoints[pos];\\n }\\n\\n /**\\n * @dev Pushes a (`key`, `value`) pair into an ordered list of checkpoints, either by inserting a new checkpoint,\\n * or by updating the last one.\\n */\\n function _insert(Checkpoint208[] storage self, uint48 key, uint208 value) private returns (uint208, uint208) {\\n uint256 pos = self.length;\\n\\n if (pos > 0) {\\n // Copying to memory is important here.\\n Checkpoint208 memory last = _unsafeAccess(self, pos - 1);\\n\\n // Checkpoint keys must be non-decreasing.\\n if (last._key > key) {\\n revert CheckpointUnorderedInsertion();\\n }\\n\\n // Update or push new checkpoint\\n if (last._key == key) {\\n _unsafeAccess(self, pos - 1)._value = value;\\n } else {\\n self.push(Checkpoint208({_key: key, _value: value}));\\n }\\n return (last._value, value);\\n } else {\\n self.push(Checkpoint208({_key: key, _value: value}));\\n return (0, value);\\n }\\n }\\n\\n /**\\n * @dev Return the index of the last (most recent) checkpoint with key lower or equal than the search key, or `high`\\n * if there is none. `low` and `high` define a section where to do the search, with inclusive `low` and exclusive\\n * `high`.\\n *\\n * WARNING: `high` should not be greater than the array's length.\\n */\\n function _upperBinaryLookup(\\n Checkpoint208[] storage self,\\n uint48 key,\\n uint256 low,\\n uint256 high\\n ) private view returns (uint256) {\\n while (low < high) {\\n uint256 mid = Math.average(low, high);\\n if (_unsafeAccess(self, mid)._key > key) {\\n high = mid;\\n } else {\\n low = mid + 1;\\n }\\n }\\n return high;\\n }\\n\\n /**\\n * @dev Return the index of the first (oldest) checkpoint with key is greater or equal than the search key, or\\n * `high` if there is none. `low` and `high` define a section where to do the search, with inclusive `low` and\\n * exclusive `high`.\\n *\\n * WARNING: `high` should not be greater than the array's length.\\n */\\n function _lowerBinaryLookup(\\n Checkpoint208[] storage self,\\n uint48 key,\\n uint256 low,\\n uint256 high\\n ) private view returns (uint256) {\\n while (low < high) {\\n uint256 mid = Math.average(low, high);\\n if (_unsafeAccess(self, mid)._key < key) {\\n low = mid + 1;\\n } else {\\n high = mid;\\n }\\n }\\n return high;\\n }\\n\\n /**\\n * @dev Access an element of the array without performing bounds check. The position is assumed to be within bounds.\\n */\\n function _unsafeAccess(\\n Checkpoint208[] storage self,\\n uint256 pos\\n ) private pure returns (Checkpoint208 storage result) {\\n assembly {\\n mstore(0, self.slot)\\n result.slot := add(keccak256(0, 0x20), pos)\\n }\\n }\\n\\n struct Trace160 {\\n Checkpoint160[] _checkpoints;\\n }\\n\\n struct Checkpoint160 {\\n uint96 _key;\\n uint160 _value;\\n }\\n\\n /**\\n * @dev Pushes a (`key`, `value`) pair into a Trace160 so that it is stored as the checkpoint.\\n *\\n * Returns previous value and new value.\\n *\\n * IMPORTANT: Never accept `key` as a user input, since an arbitrary `type(uint96).max` key set will disable the\\n * library.\\n */\\n function push(Trace160 storage self, uint96 key, uint160 value) internal returns (uint160, uint160) {\\n return _insert(self._checkpoints, key, value);\\n }\\n\\n /**\\n * @dev Returns the value in the first (oldest) checkpoint with key greater or equal than the search key, or zero if\\n * there is none.\\n */\\n function lowerLookup(Trace160 storage self, uint96 key) internal view returns (uint160) {\\n uint256 len = self._checkpoints.length;\\n uint256 pos = _lowerBinaryLookup(self._checkpoints, key, 0, len);\\n return pos == len ? 0 : _unsafeAccess(self._checkpoints, pos)._value;\\n }\\n\\n /**\\n * @dev Returns the value in the last (most recent) checkpoint with key lower or equal than the search key, or zero\\n * if there is none.\\n */\\n function upperLookup(Trace160 storage self, uint96 key) internal view returns (uint160) {\\n uint256 len = self._checkpoints.length;\\n uint256 pos = _upperBinaryLookup(self._checkpoints, key, 0, len);\\n return pos == 0 ? 0 : _unsafeAccess(self._checkpoints, pos - 1)._value;\\n }\\n\\n /**\\n * @dev Returns the value in the last (most recent) checkpoint with key lower or equal than the search key, or zero\\n * if there is none.\\n *\\n * NOTE: This is a variant of {upperLookup} that is optimised to find \\\"recent\\\" checkpoint (checkpoints with high\\n * keys).\\n */\\n function upperLookupRecent(Trace160 storage self, uint96 key) internal view returns (uint160) {\\n uint256 len = self._checkpoints.length;\\n\\n uint256 low = 0;\\n uint256 high = len;\\n\\n if (len > 5) {\\n uint256 mid = len - Math.sqrt(len);\\n if (key < _unsafeAccess(self._checkpoints, mid)._key) {\\n high = mid;\\n } else {\\n low = mid + 1;\\n }\\n }\\n\\n uint256 pos = _upperBinaryLookup(self._checkpoints, key, low, high);\\n\\n return pos == 0 ? 0 : _unsafeAccess(self._checkpoints, pos - 1)._value;\\n }\\n\\n /**\\n * @dev Returns the value in the most recent checkpoint, or zero if there are no checkpoints.\\n */\\n function latest(Trace160 storage self) internal view returns (uint160) {\\n uint256 pos = self._checkpoints.length;\\n return pos == 0 ? 0 : _unsafeAccess(self._checkpoints, pos - 1)._value;\\n }\\n\\n /**\\n * @dev Returns whether there is a checkpoint in the structure (i.e. it is not empty), and if so the key and value\\n * in the most recent checkpoint.\\n */\\n function latestCheckpoint(Trace160 storage self) internal view returns (bool exists, uint96 _key, uint160 _value) {\\n uint256 pos = self._checkpoints.length;\\n if (pos == 0) {\\n return (false, 0, 0);\\n } else {\\n Checkpoint160 memory ckpt = _unsafeAccess(self._checkpoints, pos - 1);\\n return (true, ckpt._key, ckpt._value);\\n }\\n }\\n\\n /**\\n * @dev Returns the number of checkpoint.\\n */\\n function length(Trace160 storage self) internal view returns (uint256) {\\n return self._checkpoints.length;\\n }\\n\\n /**\\n * @dev Returns checkpoint at given position.\\n */\\n function at(Trace160 storage self, uint32 pos) internal view returns (Checkpoint160 memory) {\\n return self._checkpoints[pos];\\n }\\n\\n /**\\n * @dev Pushes a (`key`, `value`) pair into an ordered list of checkpoints, either by inserting a new checkpoint,\\n * or by updating the last one.\\n */\\n function _insert(Checkpoint160[] storage self, uint96 key, uint160 value) private returns (uint160, uint160) {\\n uint256 pos = self.length;\\n\\n if (pos > 0) {\\n // Copying to memory is important here.\\n Checkpoint160 memory last = _unsafeAccess(self, pos - 1);\\n\\n // Checkpoint keys must be non-decreasing.\\n if (last._key > key) {\\n revert CheckpointUnorderedInsertion();\\n }\\n\\n // Update or push new checkpoint\\n if (last._key == key) {\\n _unsafeAccess(self, pos - 1)._value = value;\\n } else {\\n self.push(Checkpoint160({_key: key, _value: value}));\\n }\\n return (last._value, value);\\n } else {\\n self.push(Checkpoint160({_key: key, _value: value}));\\n return (0, value);\\n }\\n }\\n\\n /**\\n * @dev Return the index of the last (most recent) checkpoint with key lower or equal than the search key, or `high`\\n * if there is none. `low` and `high` define a section where to do the search, with inclusive `low` and exclusive\\n * `high`.\\n *\\n * WARNING: `high` should not be greater than the array's length.\\n */\\n function _upperBinaryLookup(\\n Checkpoint160[] storage self,\\n uint96 key,\\n uint256 low,\\n uint256 high\\n ) private view returns (uint256) {\\n while (low < high) {\\n uint256 mid = Math.average(low, high);\\n if (_unsafeAccess(self, mid)._key > key) {\\n high = mid;\\n } else {\\n low = mid + 1;\\n }\\n }\\n return high;\\n }\\n\\n /**\\n * @dev Return the index of the first (oldest) checkpoint with key is greater or equal than the search key, or\\n * `high` if there is none. `low` and `high` define a section where to do the search, with inclusive `low` and\\n * exclusive `high`.\\n *\\n * WARNING: `high` should not be greater than the array's length.\\n */\\n function _lowerBinaryLookup(\\n Checkpoint160[] storage self,\\n uint96 key,\\n uint256 low,\\n uint256 high\\n ) private view returns (uint256) {\\n while (low < high) {\\n uint256 mid = Math.average(low, high);\\n if (_unsafeAccess(self, mid)._key < key) {\\n low = mid + 1;\\n } else {\\n high = mid;\\n }\\n }\\n return high;\\n }\\n\\n /**\\n * @dev Access an element of the array without performing bounds check. The position is assumed to be within bounds.\\n */\\n function _unsafeAccess(\\n Checkpoint160[] storage self,\\n uint256 pos\\n ) private pure returns (Checkpoint160 storage result) {\\n assembly {\\n mstore(0, self.slot)\\n result.slot := add(keccak256(0, 0x20), pos)\\n }\\n }\\n}\\n\",\"keccak256\":\"0xbdc5e074d7dd6678f67e92b1a51a20226801a407b0e1af3da367c5d1ff4519ad\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/types/Time.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/types/Time.sol)\\n\\npragma solidity ^0.8.20;\\n\\nimport {Math} from \\\"../math/Math.sol\\\";\\nimport {SafeCast} from \\\"../math/SafeCast.sol\\\";\\n\\n/**\\n * @dev This library provides helpers for manipulating time-related objects.\\n *\\n * It uses the following types:\\n * - `uint48` for timepoints\\n * - `uint32` for durations\\n *\\n * While the library doesn't provide specific types for timepoints and duration, it does provide:\\n * - a `Delay` type to represent duration that can be programmed to change value automatically at a given point\\n * - additional helper functions\\n */\\nlibrary Time {\\n using Time for *;\\n\\n /**\\n * @dev Get the block timestamp as a Timepoint.\\n */\\n function timestamp() internal view returns (uint48) {\\n return SafeCast.toUint48(block.timestamp);\\n }\\n\\n /**\\n * @dev Get the block number as a Timepoint.\\n */\\n function blockNumber() internal view returns (uint48) {\\n return SafeCast.toUint48(block.number);\\n }\\n\\n // ==================================================== Delay =====================================================\\n /**\\n * @dev A `Delay` is a uint32 duration that can be programmed to change value automatically at a given point in the\\n * future. The \\\"effect\\\" timepoint describes when the transitions happens from the \\\"old\\\" value to the \\\"new\\\" value.\\n * This allows updating the delay applied to some operation while keeping some guarantees.\\n *\\n * In particular, the {update} function guarantees that if the delay is reduced, the old delay still applies for\\n * some time. For example if the delay is currently 7 days to do an upgrade, the admin should not be able to set\\n * the delay to 0 and upgrade immediately. If the admin wants to reduce the delay, the old delay (7 days) should\\n * still apply for some time.\\n *\\n *\\n * The `Delay` type is 112 bits long, and packs the following:\\n *\\n * ```\\n * | [uint48]: effect date (timepoint)\\n * | | [uint32]: value before (duration)\\n * \\u2193 \\u2193 \\u2193 [uint32]: value after (duration)\\n * 0xAAAAAAAAAAAABBBBBBBBCCCCCCCC\\n * ```\\n *\\n * NOTE: The {get} and {withUpdate} functions operate using timestamps. Block number based delays are not currently\\n * supported.\\n */\\n type Delay is uint112;\\n\\n /**\\n * @dev Wrap a duration into a Delay to add the one-step \\\"update in the future\\\" feature\\n */\\n function toDelay(uint32 duration) internal pure returns (Delay) {\\n return Delay.wrap(duration);\\n }\\n\\n /**\\n * @dev Get the value at a given timepoint plus the pending value and effect timepoint if there is a scheduled\\n * change after this timepoint. If the effect timepoint is 0, then the pending value should not be considered.\\n */\\n function _getFullAt(Delay self, uint48 timepoint) private pure returns (uint32, uint32, uint48) {\\n (uint32 valueBefore, uint32 valueAfter, uint48 effect) = self.unpack();\\n return effect <= timepoint ? (valueAfter, 0, 0) : (valueBefore, valueAfter, effect);\\n }\\n\\n /**\\n * @dev Get the current value plus the pending value and effect timepoint if there is a scheduled change. If the\\n * effect timepoint is 0, then the pending value should not be considered.\\n */\\n function getFull(Delay self) internal view returns (uint32, uint32, uint48) {\\n return _getFullAt(self, timestamp());\\n }\\n\\n /**\\n * @dev Get the current value.\\n */\\n function get(Delay self) internal view returns (uint32) {\\n (uint32 delay, , ) = self.getFull();\\n return delay;\\n }\\n\\n /**\\n * @dev Update a Delay object so that it takes a new duration after a timepoint that is automatically computed to\\n * enforce the old delay at the moment of the update. Returns the updated Delay object and the timestamp when the\\n * new delay becomes effective.\\n */\\n function withUpdate(\\n Delay self,\\n uint32 newValue,\\n uint32 minSetback\\n ) internal view returns (Delay updatedDelay, uint48 effect) {\\n uint32 value = self.get();\\n uint32 setback = uint32(Math.max(minSetback, value > newValue ? value - newValue : 0));\\n effect = timestamp() + setback;\\n return (pack(value, newValue, effect), effect);\\n }\\n\\n /**\\n * @dev Split a delay into its components: valueBefore, valueAfter and effect (transition timepoint).\\n */\\n function unpack(Delay self) internal pure returns (uint32 valueBefore, uint32 valueAfter, uint48 effect) {\\n uint112 raw = Delay.unwrap(self);\\n\\n valueAfter = uint32(raw);\\n valueBefore = uint32(raw >> 32);\\n effect = uint48(raw >> 64);\\n\\n return (valueBefore, valueAfter, effect);\\n }\\n\\n /**\\n * @dev pack the components into a Delay object.\\n */\\n function pack(uint32 valueBefore, uint32 valueAfter, uint48 effect) internal pure returns (Delay) {\\n return Delay.wrap((uint112(effect) << 64) | (uint112(valueBefore) << 32) | uint112(valueAfter));\\n }\\n}\\n\",\"keccak256\":\"0xc7755af115020049e4140f224f9ee88d7e1799ffb0646f37bf0df24bf6213f58\",\"license\":\"MIT\"},\"contracts/governance/locker/staking/OmnichainStakingBase.sol\":{\"content\":\"// SPDX-License-Identifier: GPL-3.0\\n\\n// \\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2557 \\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2588\\u2557\\n// \\u2588\\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2557\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2557\\n// \\u2588\\u2588\\u2554\\u2588\\u2588\\u2588\\u2588\\u2554\\u2588\\u2588\\u2551\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2551\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2551\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2551\\n// \\u2588\\u2588\\u2551\\u255a\\u2588\\u2588\\u2554\\u255d\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2551\\n// \\u2588\\u2588\\u2551 \\u255a\\u2550\\u255d \\u2588\\u2588\\u2551\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\n// \\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\n\\n// Website: https://maha.xyz\\n// Discord: https://discord.gg/mahadao\\n// Twitter: https://twitter.com/mahaxyz_\\n\\npragma solidity 0.8.21;\\n\\nimport {ILocker} from \\\"../../../interfaces/governance/ILocker.sol\\\";\\nimport {IMultiTokenRewards, IOmnichainStaking} from \\\"../../../interfaces/governance/IOmnichainStaking.sol\\\";\\nimport {IWETH} from \\\"../../../interfaces/governance/IWETH.sol\\\";\\n\\nimport {OwnableUpgradeable} from \\\"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol\\\";\\nimport {ERC20VotesUpgradeable} from\\n \\\"@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC20VotesUpgradeable.sol\\\";\\n\\nimport {MulticallUpgradeable} from \\\"@openzeppelin/contracts-upgradeable/utils/MulticallUpgradeable.sol\\\";\\nimport {ReentrancyGuardUpgradeable} from \\\"@openzeppelin/contracts-upgradeable/utils/ReentrancyGuardUpgradeable.sol\\\";\\nimport {IERC20, SafeERC20} from \\\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\\\";\\nimport {Math} from \\\"@openzeppelin/contracts/utils/math/Math.sol\\\";\\n\\n/**\\n * @title OmnichainStaking\\n * @dev An omnichain staking contract that allows users to stake their veNFT\\n * and get some voting power. Once staked, the voting power is available cross-chain.\\n */\\nabstract contract OmnichainStakingBase is\\n IOmnichainStaking,\\n ERC20VotesUpgradeable,\\n ReentrancyGuardUpgradeable,\\n OwnableUpgradeable,\\n MulticallUpgradeable\\n{\\n using SafeERC20 for IERC20;\\n\\n /// @inheritdoc IOmnichainStaking\\n ILocker public locker;\\n\\n /// @inheritdoc IMultiTokenRewards\\n mapping(IERC20 reward => mapping(address who => uint256 rewards)) public rewards;\\n\\n /// @inheritdoc IMultiTokenRewards\\n mapping(IERC20 reward => mapping(address who => uint256)) public userRewardPerTokenPaid;\\n\\n /// @inheritdoc IMultiTokenRewards\\n mapping(IERC20 reward => uint256) public lastUpdateTime;\\n\\n /// @inheritdoc IMultiTokenRewards\\n mapping(IERC20 reward => uint256) public periodFinish;\\n\\n /// @inheritdoc IMultiTokenRewards\\n mapping(IERC20 reward => uint256) public rewardPerTokenStored;\\n\\n /// @inheritdoc IMultiTokenRewards\\n mapping(IERC20 reward => uint256) public rewardRate;\\n\\n /// @inheritdoc IMultiTokenRewards\\n uint256 public rewardsDuration;\\n\\n /// @notice The reward tokens for the staking contract\\n IERC20[] public rewardTokens;\\n\\n /// @inheritdoc IOmnichainStaking\\n IERC20 public weth;\\n\\n /// @inheritdoc IOmnichainStaking\\n mapping(uint256 => uint256) public power;\\n\\n /// @inheritdoc IOmnichainStaking\\n mapping(uint256 => address) public lockedByToken;\\n\\n mapping(address => uint256[]) public lockedTokenIdNfts;\\n\\n /// @inheritdoc IOmnichainStaking\\n address public distributor;\\n\\n /**\\n * @dev Initializes the contract with the provided token lockers.\\n * @param _locker The address of the token locker contract.\\n */\\n function __OmnichainStakingBase_init(\\n string memory name,\\n string memory symbol,\\n address _locker,\\n address _weth,\\n address[] memory _rewardTokens,\\n uint256 _rewardsDuration,\\n address _distributor\\n ) internal {\\n __ERC20Votes_init();\\n __Ownable_init(msg.sender);\\n __ReentrancyGuard_init();\\n __ERC20_init(name, symbol);\\n\\n locker = ILocker(_locker);\\n weth = IERC20(_weth);\\n rewardsDuration = _rewardsDuration;\\n distributor = _distributor;\\n\\n for (uint256 i = 0; i < _rewardTokens.length; i++) {\\n rewardTokens.push(IERC20(_rewardTokens[i]));\\n }\\n\\n // give approvals for increase lock functions\\n locker.underlying().approve(_locker, type(uint256).max);\\n }\\n\\n function rewardToken1() public view returns (IERC20) {\\n return rewardTokens[0];\\n }\\n\\n function rewardToken2() public view returns (IERC20) {\\n return rewardTokens[1];\\n }\\n\\n function registerNewRewardToken(IERC20 token) external onlyOwner {\\n rewardTokens.push(token);\\n }\\n\\n /// @inheritdoc IOmnichainStaking\\n function totalVotes() external view returns (uint256) {\\n return totalSupply();\\n }\\n\\n /// @inheritdoc IOmnichainStaking\\n function getLockedNftDetails(address _user) external view returns (uint256[] memory, ILocker.LockedBalance[] memory) {\\n uint256 tokenIdsLength = lockedTokenIdNfts[_user].length;\\n uint256[] memory lockedTokenIds = lockedTokenIdNfts[_user];\\n\\n uint256[] memory tokenIds = new uint256[](tokenIdsLength);\\n ILocker.LockedBalance[] memory tokenDetails = new ILocker.LockedBalance[](tokenIdsLength);\\n\\n for (uint256 i; i < tokenIdsLength;) {\\n tokenDetails[i] = locker.locked(lockedTokenIds[i]);\\n tokenIds[i] = lockedTokenIds[i];\\n\\n unchecked {\\n ++i;\\n }\\n }\\n\\n return (tokenIds, tokenDetails);\\n }\\n\\n /// @inheritdoc IOmnichainStaking\\n function onERC721Received(address to, address from, uint256 tokenId, bytes calldata data) external returns (bytes4) {\\n return _onERC721ReceivedInternal(to, from, tokenId, data);\\n }\\n\\n /// @inheritdoc IOmnichainStaking\\n function unstakeToken(uint256 tokenId) external {\\n _updateRewardsAll(msg.sender);\\n require(lockedByToken[tokenId] != address(0), \\\"!tokenId\\\");\\n address lockedBy_ = lockedByToken[tokenId];\\n if (_msgSender() != lockedBy_) {\\n revert InvalidUnstaker(_msgSender(), lockedBy_);\\n }\\n\\n delete lockedByToken[tokenId];\\n lockedTokenIdNfts[_msgSender()] = _deleteAnElement(lockedTokenIdNfts[_msgSender()], tokenId);\\n\\n // reset and burn voting power\\n _burn(msg.sender, power[tokenId]);\\n power[tokenId] = 0;\\n\\n locker.safeTransferFrom(address(this), msg.sender, tokenId);\\n }\\n\\n /// @inheritdoc IOmnichainStaking\\n function increaseLockDuration(uint256 tokenId, uint256 newLockDuration) external {\\n require(newLockDuration > 0, \\\"!newLockAmount\\\");\\n\\n require(msg.sender == lockedByToken[tokenId], \\\"!tokenId\\\");\\n locker.increaseUnlockTime(tokenId, newLockDuration);\\n\\n _updateVotingPower(msg.sender, tokenId);\\n }\\n\\n /// @inheritdoc IOmnichainStaking\\n function increaseLockAmount(uint256 tokenId, uint256 newLockAmount) external {\\n require(newLockAmount > 0, \\\"!newLockAmount\\\");\\n\\n require(msg.sender == lockedByToken[tokenId], \\\"!tokenId\\\");\\n locker.underlying().transferFrom(msg.sender, address(this), newLockAmount);\\n locker.increaseAmount(tokenId, newLockAmount);\\n\\n _updateVotingPower(msg.sender, tokenId);\\n }\\n\\n /// @inheritdoc IOmnichainStaking\\n function getTokenPower(uint256 amount) external view returns (uint256 _power) {\\n _power = _getTokenPower(amount);\\n }\\n\\n /// @inheritdoc IMultiTokenRewards\\n function earned(IERC20 token, address account) public view returns (uint256) {\\n return _earned(token, account);\\n }\\n\\n /// @inheritdoc IMultiTokenRewards\\n function lastTimeRewardApplicable(IERC20 token) public view returns (uint256) {\\n return Math.min(block.timestamp, periodFinish[token]);\\n }\\n\\n /// @inheritdoc IOmnichainStaking\\n function totalNFTStaked(address who) public view returns (uint256) {\\n return lockedTokenIdNfts[who].length;\\n }\\n\\n /// @inheritdoc IMultiTokenRewards\\n function rewardPerToken(IERC20 token) external view returns (uint256) {\\n return _rewardPerToken(token);\\n }\\n\\n /// @inheritdoc IMultiTokenRewards\\n function notifyRewardAmount(IERC20 token, uint256 reward) external {\\n require(msg.sender == distributor, \\\"!distributor\\\");\\n _updateReward(token, address(0));\\n\\n token.transferFrom(msg.sender, address(this), reward);\\n\\n if (block.timestamp >= periodFinish[token]) {\\n // If no reward is currently being distributed, the new rate is just `reward / duration`\\n rewardRate[token] = reward / rewardsDuration;\\n } else {\\n // Otherwise, cancel the future reward and add the amount left to distribute to reward\\n uint256 remaining = periodFinish[token] - block.timestamp;\\n uint256 leftover = remaining * rewardRate[token];\\n rewardRate[token] = (reward + leftover) / rewardsDuration;\\n }\\n\\n // Ensures the provided reward amount is not more than the balance in the contract.\\n // This keeps the reward rate in the right range, preventing overflows due to\\n // very high values of `rewardRate` in the earned and `rewardsPerToken` functions;\\n // Reward + leftover must be less than 2^256 / 10^18 to avoid overflow.\\n uint256 balance = token.balanceOf(address(this));\\n require(rewardRate[token] <= balance / rewardsDuration, \\\"not enough balance\\\");\\n\\n lastUpdateTime[token] = block.timestamp;\\n periodFinish[token] = block.timestamp + rewardsDuration; // Change the duration\\n emit RewardAdded(token, reward, msg.sender);\\n }\\n\\n /// @inheritdoc IOmnichainStaking\\n function recoverERC20(address tokenAddress, uint256 tokenAmount) external onlyOwner {\\n IERC20(tokenAddress).transfer(owner(), tokenAmount);\\n emit Recovered(tokenAddress, tokenAmount);\\n }\\n\\n /// @inheritdoc IOmnichainStaking\\n function setRewardDistributor(address what) external onlyOwner {\\n distributor = what;\\n }\\n\\n /// @inheritdoc IMultiTokenRewards\\n function getRewardDual(address who) public nonReentrant {\\n getReward(who, rewardTokens[0]);\\n getReward(who, rewardTokens[1]);\\n }\\n\\n function getRewardAll(address who) public nonReentrant {\\n for (uint256 i = 0; i < rewardTokens.length; i++) {\\n getReward(who, rewardTokens[0]);\\n }\\n }\\n\\n /// @inheritdoc IMultiTokenRewards\\n function getReward(address who, IERC20 token) public nonReentrant {\\n _updateReward(token, who);\\n uint256 reward = rewards[token][who];\\n if (reward > 0) {\\n rewards[token][who] = 0;\\n token.safeTransfer(who, reward);\\n emit RewardClaimed(token, reward, who, msg.sender);\\n }\\n }\\n\\n /// @inheritdoc IMultiTokenRewards\\n function updateRewards(IERC20 token, address who) external {\\n _updateReward(token, who);\\n }\\n\\n /**\\n * @dev This is an ETH variant of the get rewards function. It unwraps the token and sends out\\n * raw ETH to the user.\\n */\\n function getRewardETH(address who) public nonReentrant {\\n _updateReward(weth, who);\\n uint256 reward = rewards[weth][who];\\n if (reward > 0) {\\n rewards[weth][who] = 0;\\n IWETH(address(weth)).withdraw(reward);\\n (bool ethSendSuccess,) = who.call{value: reward}(\\\"\\\");\\n require(ethSendSuccess, \\\"eth send failed\\\");\\n emit RewardClaimed(weth, reward, who, msg.sender);\\n }\\n }\\n\\n /**\\n * @dev Prevents transfers of voting power.\\n */\\n function transfer(address, uint256) public pure override returns (bool) {\\n revert(\\\"transfer disabled\\\");\\n }\\n\\n /**\\n * @dev Prevents transfers of voting power.\\n */\\n function transferFrom(address, address, uint256) public pure override returns (bool) {\\n revert(\\\"transferFrom disabled\\\");\\n }\\n\\n /**\\n * @dev Receives an ERC721 token from the lockers and grants voting power accordingly.\\n * @param from The address sending the ERC721 token.\\n * @param tokenId The ID of the ERC721 token.\\n * @param data Additional data.\\n * @return ERC721 onERC721Received selector.\\n */\\n function _onERC721ReceivedInternal(\\n address,\\n address from,\\n uint256 tokenId,\\n bytes calldata data\\n ) internal returns (bytes4) {\\n require(msg.sender == address(locker), \\\"only locker\\\");\\n\\n if (data.length > 0) {\\n (, from,) = abi.decode(data, (bool, address, uint256));\\n }\\n\\n _updateRewardsAll(from);\\n\\n // track nft id\\n lockedByToken[tokenId] = from;\\n lockedTokenIdNfts[from].push(tokenId);\\n\\n // set delegate if not set already\\n if (delegates(from) == address(0)) _delegate(from, from);\\n\\n // mint voting power\\n power[tokenId] = _getTokenPower(locker.balanceOfNFT(tokenId));\\n _mint(from, power[tokenId]);\\n\\n return this.onERC721Received.selector;\\n }\\n\\n /**\\n * @dev Deletes an element from an array.\\n * @param elements The array to delete from.\\n * @param element The element to delete.\\n * @return The updated array.\\n */\\n function _deleteAnElement(uint256[] memory elements, uint256 element) internal pure returns (uint256[] memory) {\\n uint256 length = elements.length;\\n uint256 count;\\n\\n for (uint256 i = 0; i < length; i++) {\\n if (elements[i] != element) count++;\\n }\\n\\n uint256[] memory updatedArray = new uint256[](count);\\n uint256 index;\\n\\n for (uint256 i = 0; i < length; i++) {\\n if (elements[i] != element) {\\n updatedArray[index] = elements[i];\\n index++;\\n }\\n }\\n\\n return updatedArray;\\n }\\n\\n /**\\n * @notice Called frequently to update the staking parameters associated to an address\\n * @param token The token for which the rewards are updated\\n * @param account The account for which the rewards are updated\\n */\\n function _updateReward(IERC20 token, address account) internal {\\n rewardPerTokenStored[token] = _rewardPerToken(token);\\n lastUpdateTime[token] = lastTimeRewardApplicable(token);\\n\\n if (account != address(0)) {\\n rewards[token][account] = _earned(token, account);\\n userRewardPerTokenPaid[token][account] = rewardPerTokenStored[token];\\n }\\n }\\n\\n /**\\n * @notice Called frequently to update the staking parameters associated to an address\\n * @param account The account for which the rewards are updated\\n */\\n function _updateRewardsAll(address account) internal {\\n for (uint256 i = 0; i < rewardTokens.length; i++) {\\n IERC20 token = rewardTokens[i];\\n rewardPerTokenStored[token] = _rewardPerToken(token);\\n lastUpdateTime[token] = lastTimeRewardApplicable(token);\\n\\n if (account != address(0)) {\\n rewards[token][account] = _earned(token, account);\\n userRewardPerTokenPaid[token][account] = rewardPerTokenStored[token];\\n }\\n }\\n }\\n\\n /**\\n * @notice Computes the amount earned by an account\\n * @dev Takes into account the boosted balance and the boosted total supply\\n * @param token_ The token for which the rewards are computed\\n * @param account_ The account for which the rewards are computed\\n */\\n function _earned(IERC20 token_, address account_) internal view returns (uint256) {\\n return (balanceOf(account_) * (_rewardPerToken(token_) - userRewardPerTokenPaid[token_][account_])) / 1e18\\n + rewards[token_][account_];\\n }\\n\\n /**\\n * @notice Computes the amount of voting power for a given amount of tokens\\n * @param who The account for which the voting power is computed\\n * @param tokenId The token ID for which the voting power is computed\\n */\\n function _updateVotingPower(address who, uint256 tokenId) internal {\\n _burn(who, power[tokenId]);\\n power[tokenId] = _getTokenPower(locker.balanceOfNFT(tokenId));\\n _mint(who, power[tokenId]);\\n }\\n\\n function _rewardPerToken(IERC20 _token) internal view returns (uint256) {\\n if (totalSupply() == 0) {\\n return rewardPerTokenStored[_token];\\n }\\n return rewardPerTokenStored[_token]\\n + (((lastTimeRewardApplicable(_token) - lastUpdateTime[_token]) * rewardRate[_token] * 1e18) / totalSupply());\\n }\\n\\n function _getTokenPower(uint256 amount) internal view virtual returns (uint256 power);\\n}\\n\",\"keccak256\":\"0x44edc6fd8ce428cd3c217981fb084fc74757bfad8ce21a58ae40bb4aa0c9e1e6\",\"license\":\"GPL-3.0\"},\"contracts/governance/locker/staking/OmnichainStakingToken.sol\":{\"content\":\"// SPDX-License-Identifier: GPL-3.0\\n\\n// \\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2557 \\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2588\\u2557\\n// \\u2588\\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2557\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2557\\n// \\u2588\\u2588\\u2554\\u2588\\u2588\\u2588\\u2588\\u2554\\u2588\\u2588\\u2551\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2551\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2551\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2551\\n// \\u2588\\u2588\\u2551\\u255a\\u2588\\u2588\\u2554\\u255d\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2551\\n// \\u2588\\u2588\\u2551 \\u255a\\u2550\\u255d \\u2588\\u2588\\u2551\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\n// \\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\n\\n// Website: https://maha.xyz\\n// Discord: https://discord.gg/mahadao\\n// Twitter: https://twitter.com/mahaxyz_\\n\\npragma solidity 0.8.21;\\n\\nimport {IAggregatorV3Interface} from \\\"../../../interfaces/governance/IAggregatorV3Interface.sol\\\";\\nimport {ILPOracle} from \\\"../../../interfaces/governance/ILPOracle.sol\\\";\\nimport {IERC20, OmnichainStakingBase} from \\\"./OmnichainStakingBase.sol\\\";\\n\\ncontract OmnichainStakingToken is OmnichainStakingBase {\\n address public migrator;\\n mapping(uint256 => bool) public migratedLockId;\\n\\n function initialize(\\n address _locker,\\n address _weth,\\n address[] memory _rewardTokens,\\n uint256 _rewardsDuration,\\n address _owner,\\n address _distributor\\n ) external reinitializer(2) {\\n super.__OmnichainStakingBase_init(\\n \\\"MAHA Voting Power\\\", \\\"MAHAvp\\\", _locker, _weth, _rewardTokens, _rewardsDuration, _distributor\\n );\\n\\n _transferOwnership(_owner);\\n }\\n\\n function _getTokenPower(\\n uint256 amount\\n ) internal pure override returns (uint256 power) {\\n power = amount;\\n }\\n\\n function moveLockOwnership(uint256 _id, address _to) external onlyOwner {\\n require(_to != address(0), \\\"Invalid recipient\\\");\\n address from = lockedByToken[_id];\\n require(from != address(0), \\\"Token not locked\\\");\\n\\n lockedByToken[_id] = _to;\\n\\n lockedTokenIdNfts[from] = _deleteAnElement(lockedTokenIdNfts[from], _id);\\n lockedTokenIdNfts[_to].push(_id);\\n\\n // reset and burn voting power\\n _burn(from, power[_id]);\\n _mint(_to, power[_id]);\\n\\n emit LockOwnershipTransferred(_id, from, _to);\\n }\\n\\n event LockOwnershipTransferred(uint256 indexed id, address indexed from, address indexed to);\\n}\\n\",\"keccak256\":\"0xb5a8dee5ef0b2b978d9573981dd3e881d26d77a582dc01d7cefad78b8a825aa8\",\"license\":\"GPL-3.0\"},\"contracts/interfaces/core/IMultiTokenRewards.sol\":{\"content\":\"// SPDX-License-Identifier: GPL-3.0\\n\\n// \\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2557 \\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2588\\u2557\\n// \\u2588\\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2557\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2557\\n// \\u2588\\u2588\\u2554\\u2588\\u2588\\u2588\\u2588\\u2554\\u2588\\u2588\\u2551\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2551\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2551\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2551\\n// \\u2588\\u2588\\u2551\\u255a\\u2588\\u2588\\u2554\\u255d\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2551\\n// \\u2588\\u2588\\u2551 \\u255a\\u2550\\u255d \\u2588\\u2588\\u2551\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\n// \\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\n\\n// Website: https://maha.xyz\\n// Discord: https://discord.gg/mahadao\\n// Twitter: https://twitter.com/mahaxyz_\\n\\npragma solidity 0.8.21;\\n\\nimport {IERC20} from \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\n\\n/**\\n * @title IMultiTokenRewards\\n * @author maha.xyz\\n * @notice This interface is used to interact with a staking contract that gives multiple rewards\\n */\\ninterface IMultiTokenRewards {\\n event RewardAdded(IERC20 indexed reward, uint256 indexed amount, address caller);\\n event RewardClaimed(IERC20 indexed reward, uint256 indexed amount, address indexed who, address caller);\\n\\n /**\\n * @notice Gets the period finish for a reward token\\n * @param reward The token for which the period finish is requested\\n */\\n function periodFinish(IERC20 reward) external view returns (uint256);\\n\\n /**\\n * @notice Reward per second given to the staking contract, split among the staked tokens\\n * @param reward The token for which the reward rate is requested\\n */\\n function rewardRate(IERC20 reward) external view returns (uint256);\\n\\n /**\\n * @notice Duration of the reward distribution\\n */\\n function rewardsDuration() external view returns (uint256);\\n\\n /**\\n * @notice Last time `rewardPerTokenStored` was updated\\n * @param reward The token for which the last update time is requested\\n */\\n function lastUpdateTime(IERC20 reward) external view returns (uint256);\\n\\n /**\\n * @notice Helps to compute the amount earned by someone.\\n * Cumulates rewards accumulated for one token since the beginning.\\n * Stored as a uint so it is actually a float times the base of the reward token\\n * @param reward The token for which the rewards are stored\\n */\\n function rewardPerTokenStored(IERC20 reward) external view returns (uint256);\\n\\n /**\\n * Stores for each account the `rewardPerToken`: we do the difference\\n * between the current and the old value to compute what has been earned by an account\\n * @param reward The token for which the rewards are stored\\n * @param who The account for which the rewards are stored\\n */\\n function userRewardPerTokenPaid(IERC20 reward, address who) external view returns (uint256);\\n\\n /**\\n * @notice Stores for each account the accumulated rewards\\n * @param reward The token for which the rewards are stored\\n * @param who The account for which the rewards are stored\\n */\\n function rewards(IERC20 reward, address who) external view returns (uint256);\\n\\n /**\\n * @notice Gets the second reward token for which the rewards are distributed\\n */\\n function rewardToken2() external view returns (IERC20);\\n\\n /**\\n * @notice Gets the first reward token for which the rewards are distributed\\n */\\n function rewardToken1() external view returns (IERC20);\\n\\n /**\\n * @notice Updates the rewards for an account\\n * @param token The token for which the rewards are updated\\n * @param who The account for which the rewards are updated\\n */\\n function updateRewards(IERC20 token, address who) external;\\n\\n /**\\n * @notice Queries the last timestamp at which a reward was distributed\\n * @dev Returns the current timestamp if a reward is being distributed and the end of the staking\\n * period if staking is done\\n * @param token The token for which the last time reward applicable is requested\\n */\\n function lastTimeRewardApplicable(IERC20 token) external view returns (uint256);\\n\\n /**\\n * @notice Used to actualize the `rewardPerTokenStored`\\n * @dev It adds to the reward per token: the time elapsed since the `rewardPerTokenStored` was\\n * last updated multiplied by the `rewardRate` divided by the number of tokens\\n * @param token The token for which the reward per token is updated\\n */\\n function rewardPerToken(IERC20 token) external view returns (uint256);\\n\\n /**\\n * @notice Returns how much a given account earned rewards\\n * @param token The token for which the rewards are earned\\n * @param account The account for which the rewards are earned\\n * @return How much a given account earned rewards\\n * @dev It adds to the rewards the amount of reward earned since last time that is the difference\\n * in reward per token from now and last time multiplied by the number of tokens staked by the person\\n */\\n function earned(IERC20 token, address account) external view returns (uint256);\\n\\n /**\\n * @notice Triggers a payment of the reward earned to the msg.sender\\n * @param who The account for which the rewards are paid\\n * @param token The token for which the rewards are paid\\n */\\n function getReward(address who, IERC20 token) external;\\n\\n /**\\n * @notice Adds rewards to be distributed\\n * @param token The token for which the rewards are added\\n * @param reward Amount of reward tokens to distribute\\n */\\n function notifyRewardAmount(IERC20 token, uint256 reward) external;\\n\\n /**\\n * @notice Triggers a payment of the rewards earned for both tokens\\n * @param who The account for which the rewards are paid\\n */\\n function getRewardDual(address who) external;\\n}\\n\",\"keccak256\":\"0x7f2b4a90cd467d74092bfa2a4770626281d7d7a05184f4b1b1bd94898ad9e9a7\",\"license\":\"GPL-3.0\"},\"contracts/interfaces/governance/IAggregatorV3Interface.sol\":{\"content\":\"// SPDX-License-Identifier: GPL-3.0\\n\\n// \\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2557 \\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2588\\u2557\\n// \\u2588\\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2557\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2557\\n// \\u2588\\u2588\\u2554\\u2588\\u2588\\u2588\\u2588\\u2554\\u2588\\u2588\\u2551\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2551\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2551\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2551\\n// \\u2588\\u2588\\u2551\\u255a\\u2588\\u2588\\u2554\\u255d\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2551\\n// \\u2588\\u2588\\u2551 \\u255a\\u2550\\u255d \\u2588\\u2588\\u2551\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\n// \\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\n\\n// Website: https://maha.xyz\\n// Discord: https://discord.gg/mahadao\\n// Twitter: https://twitter.com/mahaxyz_\\n\\npragma solidity 0.8.21;\\n\\ninterface IAggregatorV3Interface {\\n function decimals() external view returns (uint8);\\n\\n function description() external view returns (string memory);\\n\\n function getAnswer(uint256) external view returns (int256);\\n\\n function getTimestamp(uint256) external view returns (uint256);\\n\\n function latestAnswer() external view returns (int256);\\n\\n function latestTimestamp() external view returns (uint256);\\n\\n function version() external pure returns (uint256);\\n\\n function getRoundData(uint80 _roundId)\\n external\\n view\\n returns (uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound);\\n\\n function latestRoundData()\\n external\\n view\\n returns (uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound);\\n}\\n\",\"keccak256\":\"0x3904917413a8e48c63b13368b506360c3de0185a0e226b87876709e674adcd82\",\"license\":\"GPL-3.0\"},\"contracts/interfaces/governance/ILPOracle.sol\":{\"content\":\"// SPDX-License-Identifier: GPL-3.0\\n\\n// \\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2557 \\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2588\\u2557\\n// \\u2588\\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2557\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2557\\n// \\u2588\\u2588\\u2554\\u2588\\u2588\\u2588\\u2588\\u2554\\u2588\\u2588\\u2551\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2551\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2551\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2551\\n// \\u2588\\u2588\\u2551\\u255a\\u2588\\u2588\\u2554\\u255d\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2551\\n// \\u2588\\u2588\\u2551 \\u255a\\u2550\\u255d \\u2588\\u2588\\u2551\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\n// \\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\n\\n// Website: https://maha.xyz\\n// Discord: https://discord.gg/mahadao\\n// Twitter: https://twitter.com/mahaxyz_\\n\\npragma solidity 0.8.21;\\n\\ninterface ILPOracle {\\n /// @notice Gets the price of the liquidity pool token.\\n /// @dev This function fetches reserves from the Nile AMM and uses a pre-defined price for tokens to calculate the LP\\n /// token price.\\n /// @return price The price of the liquidity pool token.\\n function getPrice() external view returns (uint256 price);\\n\\n /// @notice Computes the square root of a given number using the Babylonian method.\\n /// @dev This function uses an iterative method to compute the square root of a number.\\n /// @param x The number to compute the square root of.\\n /// @return y The square root of the given number.\\n function sqrt(uint256 x) external pure returns (uint256 y);\\n}\\n\",\"keccak256\":\"0xb1e417bf87076f75327850438a71ebffd8e47925b734bc77b4a76afdaa94079e\",\"license\":\"GPL-3.0\"},\"contracts/interfaces/governance/ILocker.sol\":{\"content\":\"// SPDX-License-Identifier: GPL-3.0\\n\\n// \\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2557 \\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2588\\u2557\\n// \\u2588\\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2557\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2557\\n// \\u2588\\u2588\\u2554\\u2588\\u2588\\u2588\\u2588\\u2554\\u2588\\u2588\\u2551\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2551\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2551\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2551\\n// \\u2588\\u2588\\u2551\\u255a\\u2588\\u2588\\u2554\\u255d\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2551\\n// \\u2588\\u2588\\u2551 \\u255a\\u2550\\u255d \\u2588\\u2588\\u2551\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\n// \\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\n\\n// Website: https://maha.xyz\\n// Discord: https://discord.gg/mahadao\\n// Twitter: https://twitter.com/mahaxyz_\\n\\npragma solidity 0.8.21;\\n\\nimport {IERC20} from \\\"@openzeppelin/contracts/interfaces/IERC20.sol\\\";\\nimport {IERC721Enumerable} from \\\"@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol\\\";\\n\\n/// @title ILocker Interface\\n/// @notice Interface for a contract that handles locking ERC20 tokens in exchange for NFT representations\\ninterface ILocker is IERC721Enumerable {\\n /**\\n * @notice Structure to store locked balance information\\n * @param amount Amount of tokens locked\\n * @param end End time of the lock period (timestamp)\\n * @param start Start time of the lock period (timestamp)\\n * @param power Additional parameter, potentially for governance or staking power\\n */\\n struct LockedBalance {\\n uint256 amount;\\n uint256 end;\\n uint256 start;\\n uint256 power;\\n }\\n\\n enum DepositType {\\n DEPOSIT_FOR_TYPE,\\n CREATE_LOCK_TYPE,\\n INCREASE_LOCK_AMOUNT,\\n INCREASE_UNLOCK_TIME,\\n MERGE_TYPE\\n }\\n\\n /**\\n * @notice Get the balance associated with an NFT\\n * @param _tokenId The NFT ID\\n * @return The balance of the NFT\\n */\\n function balanceOfNFT(uint256 _tokenId) external view returns (uint256);\\n\\n /**\\n * @notice Get the underlying ERC20 token\\n * @return The ERC20 token contract\\n */\\n function underlying() external view returns (IERC20);\\n\\n /**\\n * @notice Get the locked balance details of an NFT\\n * @param _tokenId The NFT ID\\n * @return The LockedBalance struct containing lock details\\n */\\n function locked(uint256 _tokenId) external view returns (LockedBalance memory);\\n\\n /**\\n * @notice Get the end time of the lock for a specific NFT\\n * @param _tokenId The NFT ID\\n * @return The end time of the lock period (timestamp)\\n */\\n function lockedEnd(uint256 _tokenId) external view returns (uint256);\\n\\n /**\\n * @notice Get the voting power of a specific address\\n * @param _owner The address of the owner\\n * @return _power The voting power of the owner\\n */\\n function votingPowerOf(address _owner) external view returns (uint256 _power);\\n\\n /**\\n * @notice Merge two NFTs into one\\n * @param _from The ID of the NFT to merge from\\n * @param _to The ID of the NFT to merge into\\n */\\n function merge(uint256 _from, uint256 _to) external;\\n\\n /**\\n * @notice Deposit tokens for a specific NFT\\n * @param _tokenId The ID of the NFT\\n * @param _value The amount of tokens to deposit\\n */\\n function depositFor(uint256 _tokenId, uint256 _value) external;\\n\\n /**\\n * @notice Create a lock for a specified amount and duration\\n * @param _value The amount of tokens to lock\\n * @param _lockDuration The lock duration in seconds\\n * @param _stakeNFT Whether the NFT should be staked\\n * @return The ID of the created NFT\\n */\\n function createLock(uint256 _value, uint256 _lockDuration, bool _stakeNFT) external returns (uint256);\\n\\n /**\\n * @notice Increase the amount of tokens locked in a specific NFT\\n * @param _tokenId The ID of the NFT\\n * @param _value The additional amount of tokens to lock\\n */\\n function increaseAmount(uint256 _tokenId, uint256 _value) external;\\n\\n /**\\n * @notice Extend the unlock time for an NFT\\n * @param _lockDuration New number of seconds until tokens unlock\\n */\\n function increaseUnlockTime(uint256 _tokenId, uint256 _lockDuration) external;\\n\\n /**\\n * @notice Create a lock for a specified amount, duration, and recipient\\n * @param _value The amount of tokens to lock\\n * @param _lockDuration The lock duration in seconds\\n * @param _to The address to receive the NFT\\n * @param _stakeNFT Whether the NFT should be staked\\n * @return The ID of the created NFT\\n */\\n function createLockFor(uint256 _value, uint256 _lockDuration, address _to, bool _stakeNFT) external returns (uint256);\\n\\n /**\\n * @notice Withdraw tokens from a specific NFT\\n * @param _tokenId The ID of the NFT\\n */\\n function withdraw(uint256 _tokenId) external;\\n\\n /**\\n * @notice Withdraw tokens from multiple NFTs\\n * @param _tokenIds An array of NFT IDs\\n */\\n function withdraw(uint256[] calldata _tokenIds) external;\\n\\n /**\\n * @notice Withdraw tokens for a specific user\\n * @param _user The address of the user\\n */\\n function withdraw(address _user) external;\\n\\n event Deposit(\\n address indexed provider,\\n uint256 tokenId,\\n uint256 value,\\n uint256 indexed locktime,\\n DepositType deposit_type,\\n uint256 ts\\n );\\n\\n event Withdraw(address indexed provider, uint256 tokenId, uint256 value, uint256 ts);\\n event Supply(uint256 prevSupply, uint256 supply);\\n\\n event LockUpdated(LockedBalance indexed lock, uint256 indexed tokenId, address caller);\\n event TokenAddressSet(address indexed oldToken, address indexed newToken);\\n event StakingAddressSet(address indexed oldStaking, address indexed newStaking);\\n event StakingBonusAddressSet(address indexed oldStakingBonus, address indexed newStakingBonus);\\n}\\n\",\"keccak256\":\"0x1c66de6f0382c7a608e61e8dee6d4cc1fae47020efe245197d5fe556e614b4e0\",\"license\":\"GPL-3.0\"},\"contracts/interfaces/governance/IOmnichainStaking.sol\":{\"content\":\"// SPDX-License-Identifier: AGPL-3.0-or-later\\npragma solidity ^0.8.20;\\n\\n// \\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2557\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2557\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2557\\n// \\u255a\\u2550\\u2550\\u2588\\u2588\\u2588\\u2554\\u255d\\u2588\\u2588\\u2554\\u2550\\u2550\\u2550\\u2550\\u255d\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2557\\u2588\\u2588\\u2554\\u2550\\u2550\\u2550\\u2588\\u2588\\u2557\\n// \\u2588\\u2588\\u2588\\u2554\\u255d \\u2588\\u2588\\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2554\\u255d\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\n// \\u2588\\u2588\\u2588\\u2554\\u255d \\u2588\\u2588\\u2554\\u2550\\u2550\\u255d \\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2557\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\n// \\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2557\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2557\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\u255a\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2554\\u255d\\n// \\u255a\\u2550\\u2550\\u2550\\u2550\\u2550\\u2550\\u255d\\u255a\\u2550\\u2550\\u2550\\u2550\\u2550\\u2550\\u255d\\u255a\\u2550\\u255d \\u255a\\u2550\\u255d \\u255a\\u2550\\u2550\\u2550\\u2550\\u2550\\u255d\\n\\n// Website: https://zerolend.xyz\\n// Discord: https://discord.gg/zerolend\\n// Twitter: https://twitter.com/zerolendxyz\\n\\nimport {IVotes} from \\\"@openzeppelin/contracts/governance/utils/IVotes.sol\\\";\\n\\nimport {IERC20, IMultiTokenRewards} from \\\"../core/IMultiTokenRewards.sol\\\";\\nimport {ILocker} from \\\"./ILocker.sol\\\";\\n\\n/**\\n * @title OmnichainStaking interface\\n * @author maha.xyz\\n * @notice An omni-chain staking contract that allows users to stake their veNFT and get some\\n * voting power. Once staked the voting power is available cross-chain.\\n */\\ninterface IOmnichainStaking is IMultiTokenRewards, IVotes {\\n event LpOracleSet(address indexed oldLpOracle, address indexed newLpOracle);\\n event ZeroAggregatorSet(address indexed oldZeroAggregator, address indexed newZeroAggregator);\\n event Recovered(address token, uint256 amount);\\n event RewardsDurationUpdated(uint256 newDuration);\\n event TokenLockerUpdated(address previousLocker, address _tokenLocker);\\n event RewardsTokenUpdated(address previousToken, address _zeroToken);\\n event PoolVoterUpdated(address previousVoter, address _poolVoter);\\n\\n error InvalidUnstaker(address, address);\\n\\n /**\\n * @notice The address of the rewards distributor.\\n */\\n function distributor() external view returns (address);\\n\\n /**\\n * @notice The address of the WETH token.\\n */\\n function weth() external view returns (IERC20);\\n\\n /**\\n * @notice The address of the locker contract.\\n */\\n function locker() external view returns (ILocker);\\n\\n /**\\n * @notice How much voting power a given NFT ID has.\\n * @param id The ID of the NFT.\\n */\\n function power(uint256 id) external view returns (uint256);\\n\\n /**\\n * @notice used to keep track of ownership of token lockers\\n * @param id The ID of the NFT.\\n */\\n function lockedByToken(uint256 id) external view returns (address);\\n\\n /**\\n * @notice Gets the details of locked NFTs for a given user.\\n * @param _user The address of the user.\\n * @return lockedTokenIds The array of locked NFT IDs.\\n * @return tokenDetails The array of locked NFT details.\\n */\\n function getLockedNftDetails(address _user) external view returns (uint256[] memory, ILocker.LockedBalance[] memory);\\n\\n /**\\n * @notice Receives an ERC721 token from the lockers and grants voting power accordingly.\\n * @param from The address sending the ERC721 token.\\n * @param tokenId The ID of the ERC721 token.\\n * @param data Additional data.\\n * @return ERC721 onERC721Received selector.\\n */\\n function onERC721Received(address to, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);\\n\\n /**\\n * @notice Unstakes a regular token NFT and transfers it back to the user.\\n * @param tokenId The ID of the regular token NFT to unstake.\\n */\\n function unstakeToken(uint256 tokenId) external;\\n\\n /**\\n * @notice Updates the lock duration for a specific NFT.\\n * @param tokenId The ID of the NFT for which to update the lock duration.\\n * @param newLockDuration The new lock duration in seconds.\\n */\\n function increaseLockDuration(uint256 tokenId, uint256 newLockDuration) external;\\n\\n /**\\n * @notice Updates the lock amount for a specific NFT.\\n * @param tokenId The ID of the NFT for which to update the lock amount.\\n * @param newLockAmount The new lock amount in tokens.\\n */\\n function increaseLockAmount(uint256 tokenId, uint256 newLockAmount) external;\\n\\n /**\\n * @notice Returns how much max voting power this locker will give out for the\\n * given amount of tokens. This varies for the instance of locker.\\n * @param amount The amount of tokens to give voting power for.\\n */\\n function getTokenPower(uint256 amount) external view returns (uint256 _power);\\n\\n /**\\n * @notice The total number of NFTs staked in this contract for a user\\n * @param who The address of the user.\\n */\\n function totalNFTStaked(address who) external view returns (uint256);\\n\\n /**\\n * @dev Admin function to recover ERC20 tokens sent to this contract.\\n * @param tokenAddress The address of the ERC20 token to recover.\\n * @param tokenAmount The amount of tokens to recover.\\n */\\n function recoverERC20(address tokenAddress, uint256 tokenAmount) external;\\n\\n /**\\n * Admin only function to set the rewards distributor\\n * @param what The new address for the rewards distributor\\n */\\n function setRewardDistributor(address what) external;\\n\\n /**\\n * @notice This is an ETH variant of the get rewards function. It unwraps the token and sends out\\n * raw ETH to the user.\\n */\\n function getRewardETH(address who) external;\\n\\n /**\\n * @notice The total number of votes in this contract\\n */\\n function totalVotes() external view returns (uint256);\\n}\\n\",\"keccak256\":\"0x9a13acd6c0ce0f5acb810e564f7dc19da02e58ff7ff99b4c7c831345b1b5c6e1\",\"license\":\"AGPL-3.0-or-later\"},\"contracts/interfaces/governance/IWETH.sol\":{\"content\":\"// SPDX-License-Identifier: UNLICENSED\\npragma solidity ^0.8.20;\\n\\nimport {IERC20} from \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\n\\ninterface IWETH is IERC20 {\\n function deposit() external payable;\\n\\n function withdraw(uint256 wad) external;\\n}\\n\",\"keccak256\":\"0x5cda842ec641712a31e4fd236f5aed4ef1dfa2d1bd9450dd80f90f9e152c4711\",\"license\":\"UNLICENSED\"}},\"version\":1}", + "bytecode": "0x608060405234801561001057600080fd5b506150f9806100206000396000f3fe608060405234801561001057600080fd5b50600436106103ea5760003560e01c80637ecebe001161021a578063b66503cf11610135578063dd62ed3e116100c8578063f1127ed811610097578063f2fde38b1161007c578063f2fde38b14610a40578063f58eb0ce14610a53578063f892c9fc14610a7657600080fd5b8063f1127ed8146109ee578063f122977714610a2d57600080fd5b8063dd62ed3e14610945578063e40b8db51461099d578063e70b9e27146109b0578063f01edde0146109db57600080fd5b8063cd42184311610104578063cd421843146108f7578063d61a47f11461090a578063d7b96d4e14610912578063da09d19d1461092557600080fd5b8063b66503cf1461089e578063bfe10928146108b1578063c3cda520146108c4578063cc193fb0146108d757600080fd5b80639ab24eb0116101ad578063a9059cbb1161017c578063a9059cbb14610837578063aa8815161461084a578063ab0ed1061461086b578063ac9650d81461087e57600080fd5b80639ab24eb0146107de5780639ce43f90146107f15780639ee91fea14610811578063a1809b951461082457600080fd5b80638da5cb5b116101e95780638da5cb5b146107745780638e539e8c146107a457806391ddadf4146107b757806395d89b41146107d657600080fd5b80637ecebe001461072057806384b0196e1461073357806387c5d8321461074e5780638980f11f1461076157600080fd5b80633b6240321161030a5780636b0916951161029d57806370a082311161026c57806370a08231146106df578063715018a6146106f25780637bb7bed1146106fa5780637cd07e471461070d57600080fd5b80636b091695146106715780636f28d688146106845780636fcfff451461068c5780637035ab98146106b457600080fd5b806356981ac5116102d957806356981ac5146105e9578063587cde1e146106125780635c19a95c1461064b578063638634ee1461065e57600080fd5b80633b624032146105905780633fc8cef3146105a35780634bf5d7e9146105ce57806354ac1250146105d657600080fd5b8063211dc32d116103825780632cfb6688116103515780632cfb668814610552578063313ce56714610565578063386a9525146105745780633a46b1a81461057d57600080fd5b8063211dc32d146104ec578063221ca18c146104ff57806323b872dd1461051f5780632ce9aead1461053257600080fd5b80630e37d36f116103be5780630e37d36f1461045b578063150b7a021461046e57806318160ddd146104b25780631fd54bde146104d957600080fd5b8062443d89146103ef57806306fdde0314610404578063095ea7b3146104225780630d15fd7714610445575b600080fd5b6104026103fd3660046146c2565b610a9f565b005b61040c610ca5565b604051610419919061472f565b60405180910390f35b610435610430366004614742565b610d60565b6040519015158152602001610419565b61044d610d7a565b604051908152602001610419565b61040261046936600461476e565b610da9565b61048161047c3660046147a7565b610db7565b6040517fffffffff000000000000000000000000000000000000000000000000000000009091168152602001610419565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace025461044d565b61044d6104e7366004614742565b610dd0565b61044d6104fa36600461476e565b610e01565b61044d61050d3660046146c2565b60066020526000908152604090205481565b61043561052d366004614846565b610e14565b61044d6105403660046146c2565b60036020526000908152604090205481565b610402610560366004614887565b610e5f565b60405160128152602001610419565b61044d60075481565b61044d61058b366004614742565b611069565b61040261059e3660046148a0565b6110fc565b6009546105b6906001600160a01b031681565b6040516001600160a01b039091168152602001610419565b61040c611315565b6104026105e43660046146c2565b6113a6565b6105b66105f7366004614887565b600b602052600090815260409020546001600160a01b031681565b6105b66106203660046146c2565b6001600160a01b0390811660009081526000805160206150a483398151915260205260409020541690565b6104026106593660046146c2565b611400565b61044d61066c3660046146c2565b61140b565b61040261067f36600461476e565b61142f565b6105b6611512565b61069f61069a3660046146c2565b611542565b60405163ffffffff9091168152602001610419565b61044d6106c236600461476e565b600260209081526000928352604080842090915290825290205481565b61044d6106ed3660046146c2565b61154d565b610402611592565b6105b6610708366004614887565b6115a6565b600e546105b6906001600160a01b031681565b61044d61072e3660046146c2565b6115d0565b61073b6115f9565b60405161041997969594939291906148fd565b61044d61075c366004614887565b6116db565b61040261076f366004614742565b6116e3565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300546001600160a01b03166105b6565b61044d6107b2366004614887565b6117fb565b6107bf611877565b60405165ffffffffffff9091168152602001610419565b61040c611881565b61044d6107ec3660046146c2565b6118d2565b61044d6107ff3660046146c2565b60056020526000908152604090205481565b61040261081f3660046148a0565b611932565b6104026108323660046146c2565b611a24565b610435610845366004614742565b611a4e565b61085d6108583660046146c2565b611a99565b604051610419929190614987565b6104026108793660046146c2565b611ccd565b61089161088c3660046149fd565b611d26565b6040516104199190614a72565b6104026108ac366004614742565b611e19565b600d546105b6906001600160a01b031681565b6104026108d2366004614ad4565b61213b565b61044d6108e5366004614887565b600a6020526000908152604090205481565b610402610905366004614b36565b612211565b6105b6612430565b6000546105b6906001600160a01b031681565b61044d6109333660046146c2565b60046020526000908152604090205481565b61044d61095336600461476e565b6001600160a01b0391821660009081527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace016020908152604080832093909416825291909152205490565b6104026109ab366004614ba2565b612446565b61044d6109be36600461476e565b600160209081526000928352604080842090915290825290205481565b6104026109e93660046146c2565b6125c9565b610a016109fc366004614ca4565b61262a565b60408051825165ffffffffffff1681526020928301516001600160d01b03169281019290925201610419565b61044d610a3b3660046146c2565b612648565b610402610a4e3660046146c2565b612653565b610435610a61366004614887565b600f6020526000908152604090205460ff1681565b61044d610a843660046146c2565b6001600160a01b03166000908152600c602052604090205490565b610aa76126a7565b600954610abd906001600160a01b03168261270a565b6009546001600160a01b039081166000908152600160209081526040808320938516835292905220548015610c7857600980546001600160a01b039081166000908152600160209081526040808320878516845290915280822091909155915491517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260048101849052911690632e1a7d4d90602401600060405180830381600087803b158015610b6f57600080fd5b505af1158015610b83573d6000803e3d6000fd5b505050506000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610bd4576040519150601f19603f3d011682016040523d82523d6000602084013e610bd9565b606091505b5050905080610c2f5760405162461bcd60e51b815260206004820152600f60248201527f6574682073656e64206661696c6564000000000000000000000000000000000060448201526064015b60405180910390fd5b6009546040513381526001600160a01b038581169285929116907fe6ac6a784fb43c9f6329d2f5c82f88a26a93bad4281f7780725af5f071f0aafa9060200160405180910390a4505b50610ca260017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b50565b606060007f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace005b9050806003018054610cdc90614cdb565b80601f0160208091040260200160405190810160405280929190818152602001828054610d0890614cdb565b8015610d555780601f10610d2a57610100808354040283529160200191610d55565b820191906000526020600020905b815481529060010190602001808311610d3857829003601f168201915b505050505091505090565b600033610d6e8185856127d6565b60019150505b92915050565b6000610da47f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace025490565b905090565b610db3828261270a565b5050565b6000610dc686868686866127e8565b9695505050505050565b600c6020528160005260406000208181548110610dec57600080fd5b90600052602060002001600091509150505481565b6000610e0d838361298e565b9392505050565b60405162461bcd60e51b815260206004820152601560248201527f7472616e7366657246726f6d2064697361626c656400000000000000000000006044820152600090606401610c26565b610e6833612a0f565b6000818152600b60205260409020546001600160a01b0316610eb75760405162461bcd60e51b8152602060048201526008602482015267085d1bdad95b925960c21b6044820152606401610c26565b6000818152600b60205260409020546001600160a01b0316338114610f19576040517f8e6324b00000000000000000000000000000000000000000000000000000000081523360048201526001600160a01b0382166024820152604401610c26565b6000828152600b6020908152604080832080546001600160a01b0319169055338352600c8252918290208054835181840281018401909452808452610f939392830182828015610f8857602002820191906000526020600020905b815481526020019060010190808311610f74575b505050505083612aff565b336000908152600c602090815260409091208251610fb79391929190910190614646565b506000828152600a6020526040902054610fd2903390612c27565b6000828152600a6020526040808220829055905490517f42842e0e000000000000000000000000000000000000000000000000000000008152306004820152336024820152604481018490526001600160a01b03909116906342842e0e90606401600060405180830381600087803b15801561104d57600080fd5b505af1158015611061573d6000803e3d6000fd5b505050505050565b60006000805160206150a483398151915281611083611877565b90508065ffffffffffff1684106110be57604051637669fc0f60e11b81526004810185905265ffffffffffff82166024820152604401610c26565b6110ea6110ca85612c76565b6001600160a01b0387166000908152600185016020526040902090612cad565b6001600160d01b031695945050505050565b6000811161114c5760405162461bcd60e51b815260206004820152600e60248201527f216e65774c6f636b416d6f756e740000000000000000000000000000000000006044820152606401610c26565b6000828152600b60205260409020546001600160a01b0316331461119d5760405162461bcd60e51b8152602060048201526008602482015267085d1bdad95b925960c21b6044820152606401610c26565b60008054906101000a90046001600160a01b03166001600160a01b0316636f307dc36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112129190614d15565b6040516323b872dd60e01b8152336004820152306024820152604481018390526001600160a01b0391909116906323b872dd906064016020604051808303816000875af1158015611267573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128b9190614d40565b506000546040517fb2383e5500000000000000000000000000000000000000000000000000000000815260048101849052602481018390526001600160a01b039091169063b2383e55906044015b600060405180830381600087803b1580156112f357600080fd5b505af1158015611307573d6000803e3d6000fd5b50505050610db33383612d66565b606061131f612dcf565b65ffffffffffff1661132f611877565b65ffffffffffff161461136e576040517f6ff0714000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5060408051808201909152601d81527f6d6f64653d626c6f636b6e756d6265722666726f6d3d64656661756c74000000602082015290565b6113ae612dda565b600880546001810182556000919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30180546001600160a01b0319166001600160a01b0392909216919091179055565b33610db38183612e4e565b6001600160a01b038116600090815260046020526040812054610d74904290612f04565b6114376126a7565b611441818361270a565b6001600160a01b0380821660009081526001602090815260408083209386168352929052205480156114e8576001600160a01b0380831660008181526001602090815260408083209488168352939052918220919091556114a3908483612f1a565b6040513381526001600160a01b038085169183918516907fe6ac6a784fb43c9f6329d2f5c82f88a26a93bad4281f7780725af5f071f0aafa9060200160405180910390a45b50610db360017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6000600860008154811061152857611528614d5d565b6000918252602090912001546001600160a01b0316919050565b6000610d7482612f9a565b6000807f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace005b6001600160a01b0390931660009081526020939093525050604090205490565b61159a612dda565b6115a46000612feb565b565b600881815481106115b657600080fd5b6000918252602090912001546001600160a01b0316905081565b6000807f5ab42ced628888259c08ac98db1eb0cf702fc1501344311d8b100cd1bfe4bb00611572565b600060608082808083817fa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d100805490915015801561163857506001810154155b6116845760405162461bcd60e51b815260206004820152601560248201527f4549503731323a20556e696e697469616c697a656400000000000000000000006044820152606401610c26565b61168c61305c565b6116946130ad565b604080516000808252602082019092527f0f000000000000000000000000000000000000000000000000000000000000009c939b5091995046985030975095509350915050565b600081610d74565b6116eb612dda565b816001600160a01b031663a9059cbb61172b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300546001600160a01b031690565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af1158015611790573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117b49190614d40565b50604080516001600160a01b0384168152602081018390527f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa28910160405180910390a15050565b60006000805160206150a483398151915281611815611877565b90508065ffffffffffff16841061185057604051637669fc0f60e11b81526004810185905265ffffffffffff82166024820152604401610c26565b61186661185c85612c76565b6002840190612cad565b6001600160d01b0316949350505050565b6000610da4612dcf565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0480546060917f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0091610cdc90614cdb565b6001600160a01b03811660009081527fe8b26c30fad74198956032a3533d903385d56dd795af560196f9c78d4af40d01602052604081206000805160206150a483398151915290611922906130d7565b6001600160d01b03169392505050565b600081116119825760405162461bcd60e51b815260206004820152600e60248201527f216e65774c6f636b416d6f756e740000000000000000000000000000000000006044820152606401610c26565b6000828152600b60205260409020546001600160a01b031633146119d35760405162461bcd60e51b8152602060048201526008602482015267085d1bdad95b925960c21b6044820152606401610c26565b6000546040517f9d507b8b00000000000000000000000000000000000000000000000000000000815260048101849052602481018390526001600160a01b0390911690639d507b8b906044016112d9565b611a2c612dda565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b60405162461bcd60e51b815260206004820152601160248201527f7472616e736665722064697361626c65640000000000000000000000000000006044820152600090606401610c26565b6001600160a01b0381166000908152600c60209081526040808320805482518185028101850190935280835260609485949193909290918490830182828015611b0157602002820191906000526020600020905b815481526020019060010190808311611aed575b5050505050905060008267ffffffffffffffff811115611b2357611b23614b5b565b604051908082528060200260200182016040528015611b4c578160200160208202803683370190505b50905060008367ffffffffffffffff811115611b6a57611b6a614b5b565b604051908082528060200260200182016040528015611bc657816020015b611bb36040518060800160405280600081526020016000815260200160008152602001600081525090565b815260200190600190039081611b885790505b50905060005b84811015611cc05760005484516001600160a01b039091169063b45a3c0e90869084908110611bfd57611bfd614d5d565b60200260200101516040518263ffffffff1660e01b8152600401611c2391815260200190565b608060405180830381865afa158015611c40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c649190614d73565b828281518110611c7657611c76614d5d565b6020026020010181905250838181518110611c9357611c93614d5d565b6020026020010151838281518110611cad57611cad614d5d565b6020908102919091010152600101611bcc565b5090969095509350505050565b611cd56126a7565b60005b600854811015610c7857611d14826008600081548110611cfa57611cfa614d5d565b6000918252602090912001546001600160a01b031661142f565b80611d1e81614def565b915050611cd8565b6040805160008152602081019091526060908267ffffffffffffffff811115611d5157611d51614b5b565b604051908082528060200260200182016040528015611d8457816020015b6060815260200190600190039081611d6f5790505b50915060005b83811015611e1157611de130868684818110611da857611da8614d5d565b9050602002810190611dba9190614e1b565b85604051602001611dcd93929190614e69565b604051602081830303815290604052613113565b838281518110611df357611df3614d5d565b60200260200101819052508080611e0990614def565b915050611d8a565b505092915050565b600d546001600160a01b03163314611e735760405162461bcd60e51b815260206004820152600c60248201527f216469737472696275746f7200000000000000000000000000000000000000006044820152606401610c26565b611e7e82600061270a565b6040516323b872dd60e01b8152336004820152306024820152604481018290526001600160a01b038316906323b872dd906064016020604051808303816000875af1158015611ed1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ef59190614d40565b506001600160a01b0382166000908152600460205260409020544210611f4057600754611f229082614ea6565b6001600160a01b038316600090815260066020526040902055611fc1565b6001600160a01b038216600090815260046020526040812054611f64904290614e08565b6001600160a01b03841660009081526006602052604081205491925090611f8b9083614ec8565b600754909150611f9b8285614edf565b611fa59190614ea6565b6001600160a01b03851660009081526006602052604090205550505b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa158015612021573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120459190614ef2565b9050600754816120559190614ea6565b6001600160a01b03841660009081526006602052604090205411156120bc5760405162461bcd60e51b815260206004820152601260248201527f6e6f7420656e6f7567682062616c616e636500000000000000000000000000006044820152606401610c26565b6001600160a01b038316600090815260036020526040902042908190556007546120e591614edf565b6001600160a01b038416600081815260046020908152604091829020939093555133815284927f54dba80f86e498df5a2fcdb5c089d051d97ce8ca9ddb708c70da66557a954de7910160405180910390a3505050565b83421115612178576040517f4683af0e00000000000000000000000000000000000000000000000000000000815260048101859052602401610c26565b604080517fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60208201526001600160a01b0388169181019190915260608101869052608081018590526000906121f2906121ea9060a00160405160208183030381529060405280519060200120613189565b8585856131d1565b90506121fe81876131f3565b6122088188612e4e565b50505050505050565b612219612dda565b6001600160a01b03811661226f5760405162461bcd60e51b815260206004820152601160248201527f496e76616c696420726563697069656e740000000000000000000000000000006044820152606401610c26565b6000828152600b60205260409020546001600160a01b0316806122d45760405162461bcd60e51b815260206004820152601060248201527f546f6b656e206e6f74206c6f636b6564000000000000000000000000000000006044820152606401610c26565b6000838152600b6020908152604080832080546001600160a01b0319166001600160a01b038781169190911790915584168352600c825291829020805483518184028101840190945280845261235f939283018282801561235457602002820191906000526020600020905b815481526020019060010190808311612340575b505050505084612aff565b6001600160a01b0382166000908152600c60209081526040909120825161238c9391929190910190614646565b506001600160a01b0382166000908152600c60209081526040808320805460018101825590845282842001869055858352600a9091529020546123d0908290612c27565b6000838152600a60205260409020546123ea90839061327e565b816001600160a01b0316816001600160a01b0316847f94cb47eeeeb76a68c4d24f7c656bc9e63d5bc82211fc7784b33e438103b2f87360405160405180910390a4505050565b6000600860018154811061152857611528614d5d565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0080546002919068010000000000000000900460ff16806124955750805467ffffffffffffffff808416911610155b156124cc576040517ff92ee8a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805468ffffffffffffffffff191667ffffffffffffffff83161768010000000000000000178155604080518082018252601181527f4d41484120566f74696e6720506f7765720000000000000000000000000000006020808301919091528251808401909352600683527f4d4148417670000000000000000000000000000000000000000000000000000090830152612569918a8a8a8a896132cd565b61257284612feb565b805468ff00000000000000001916815560405167ffffffffffffffff831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b6125d16126a7565b6125e9816008600081548110611cfa57611cfa614d5d565b612601816008600181548110611cfa57611cfa614d5d565b610ca260017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6040805180820190915260008082526020820152610e0d83836134a8565b6000610d7482613513565b61265b612dda565b6001600160a01b03811661269e576040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260006004820152602401610c26565b610ca281612feb565b7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00805460011901612704576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60029055565b61271382613513565b6001600160a01b0383166000908152600560205260409020556127358261140b565b6001600160a01b03808416600090815260036020526040902091909155811615610db357612763828261298e565b6001600160a01b0392831660008181526001602090815260408083209590961680835294815285822093909355908152600582528381205460028352848220938252929091529190912055565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6127e38383836001613603565b505050565b600080546001600160a01b031633146128435760405162461bcd60e51b815260206004820152600b60248201527f6f6e6c79206c6f636b65720000000000000000000000000000000000000000006044820152606401610c26565b811561285a5761285582840184614f0b565b509550505b61286385612a0f565b6000848152600b6020908152604080832080546001600160a01b0319166001600160a01b038a8116918217909255808552600c845282852080546001810182559086528486200189905584526000805160206150a483398151915290925290912054166128d4576128d48586612e4e565b6000546040516339f890b560e21b815260048101869052612947916001600160a01b03169063e7e242d4906024015b602060405180830381865afa158015612920573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129449190614ef2565b90565b6000858152600a6020526040902081905561296390869061327e565b507f150b7a020000000000000000000000000000000000000000000000000000000095945050505050565b6001600160a01b038083166000818152600160209081526040808320948616808452948252808320549383526002825280832094835293905291822054670de0b6b3a7640000906129de86613513565b6129e89190614e08565b6129f18561154d565b6129fb9190614ec8565b612a059190614ea6565b610e0d9190614edf565b60005b600854811015610db357600060088281548110612a3157612a31614d5d565b6000918252602090912001546001600160a01b03169050612a5181613513565b6001600160a01b038216600090815260056020526040902055612a738161140b565b6001600160a01b03808316600090815260036020526040902091909155831615612aec57612aa1818461298e565b6001600160a01b038083166000818152600160209081526040808320948916808452948252808320959095559181526005825283812054600283528482209382529290915291909120555b5080612af781614def565b915050612a12565b81516060906000805b82811015612b505784868281518110612b2357612b23614d5d565b602002602001015114612b3e5781612b3a81614def565b9250505b80612b4881614def565b915050612b08565b5060008167ffffffffffffffff811115612b6c57612b6c614b5b565b604051908082528060200260200182016040528015612b95578160200160208202803683370190505b5090506000805b84811015612c1b5786888281518110612bb757612bb7614d5d565b602002602001015114612c0957878181518110612bd657612bd6614d5d565b6020026020010151838381518110612bf057612bf0614d5d565b602090810291909101015281612c0581614def565b9250505b80612c1381614def565b915050612b9c565b50909695505050505050565b6001600160a01b038216612c6a576040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260006004820152602401610c26565b610db38260008361372f565b600065ffffffffffff821115612ca9576040516306dfcc6560e41b81526030600482015260248101839052604401610c26565b5090565b815460009081816005811115612d0c576000612cc8846137ce565b612cd29085614e08565b60008881526020902090915081015465ffffffffffff9081169087161015612cfc57809150612d0a565b612d07816001614edf565b92505b505b6000612d1a878785856138b6565b90508015612d5857612d3f87612d31600184614e08565b600091825260209091200190565b54660100000000000090046001600160d01b0316612d5b565b60005b979650505050505050565b6000818152600a6020526040902054612d80908390612c27565b6000546040516339f890b560e21b815260048101839052612db3916001600160a01b03169063e7e242d490602401612903565b6000828152600a60205260409020819055610db390839061327e565b6000610da443612c76565b33612e0c7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300546001600160a01b031690565b6001600160a01b0316146115a4576040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152602401610c26565b6000805160206150a48339815191526000612e8e846001600160a01b0390811660009081526000805160206150a483398151915260205260409020541690565b6001600160a01b0385811660008181526020869052604080822080546001600160a01b031916898616908117909155905194955093928516927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4612efe8184612ef987613918565b613923565b50505050565b6000818310612f135781610e0d565b5090919050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790526127e3908490613a9d565b6001600160a01b03811660009081527fe8b26c30fad74198956032a3533d903385d56dd795af560196f9c78d4af40d0160205260408120546000805160206150a483398151915290610e0d90613b19565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b7fa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d10280546060917fa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d10091610cdc90614cdb565b606060007fa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d100610ccb565b8054600090801561310a576130f183612d31600184614e08565b54660100000000000090046001600160d01b0316610e0d565b60009392505050565b6060600080846001600160a01b0316846040516131309190614f2b565b600060405180830381855af49150503d806000811461316b576040519150601f19603f3d011682016040523d82523d6000602084013e613170565b606091505b5091509150613180858383613b4a565b95945050505050565b6000610d74613196613bbf565b836040517f19010000000000000000000000000000000000000000000000000000000000008152600281019290925260228201526042902090565b6000806000806131e388888888613bc9565b925092509250612c1b8282613c98565b6001600160a01b03821660009081527f5ab42ced628888259c08ac98db1eb0cf702fc1501344311d8b100cd1bfe4bb00602052604090208054600181019091558181146127e3576040517f752d88c00000000000000000000000000000000000000000000000000000000081526001600160a01b038416600482015260248101829052604401610c26565b6001600160a01b0382166132c1576040517fec442f0500000000000000000000000000000000000000000000000000000000815260006004820152602401610c26565b610db36000838361372f565b6132d5613d9c565b6132de33613da4565b6132e6613db5565b6132f08787613dc5565b600080546001600160a01b038088166001600160a01b0319928316178355600980548883169084161790556007859055600d8054918516919092161790555b835181101561339957600884828151811061334c5761334c614d5d565b60209081029190910181015182546001810184556000938452919092200180546001600160a01b0319166001600160a01b039092169190911790558061339181614def565b91505061332f565b5060008054906101000a90046001600160a01b03166001600160a01b0316636f307dc36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156133eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061340f9190614d15565b6040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b0387811660048301526000196024830152919091169063095ea7b3906044016020604051808303816000875af115801561347a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061349e9190614d40565b5050505050505050565b604080518082018252600080825260208083018290526001600160a01b03861682527fe8b26c30fad74198956032a3533d903385d56dd795af560196f9c78d4af40d019052919091206000805160206150a48339815191529061350b9084613dd7565b949350505050565b600061353d7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace025490565b60000361356057506001600160a01b031660009081526005602052604090205490565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace02546001600160a01b0383166000908152600660209081526040808320546003909252909120546135b08561140b565b6135ba9190614e08565b6135c49190614ec8565b6135d690670de0b6b3a7640000614ec8565b6135e09190614ea6565b6001600160a01b038316600090815260056020526040902054610d749190614edf565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace006001600160a01b038516613667576040517fe602df0500000000000000000000000000000000000000000000000000000000815260006004820152602401610c26565b6001600160a01b0384166136aa576040517f94280d6200000000000000000000000000000000000000000000000000000000815260006004820152602401610c26565b6001600160a01b0380861660009081526001830160209081526040808320938816835292905220839055811561372857836001600160a01b0316856001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258560405161371f91815260200190565b60405180910390a35b5050505050565b61373a838383613e4a565b6001600160a01b0383166137c35760006137727f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace025490565b90506001600160d01b03808211156137c0576040517f1cb15d260000000000000000000000000000000000000000000000000000000081526004810183905260248101829052604401610c26565b50505b6127e3838383613fb3565b6000816000036137e057506000919050565b600060016137ed84614049565b901c6001901b9050600181848161380657613806614e90565b048201901c9050600181848161381e5761381e614e90565b048201901c9050600181848161383657613836614e90565b048201901c9050600181848161384e5761384e614e90565b048201901c9050600181848161386657613866614e90565b048201901c9050600181848161387e5761387e614e90565b048201901c9050600181848161389657613896614e90565b048201901c9050610e0d818285816138b0576138b0614e90565b04612f04565b60005b818310156139105760006138cd84846140dd565b60008781526020902090915065ffffffffffff86169082015465ffffffffffff1611156138fc5780925061390a565b613907816001614edf565b93505b506138b9565b509392505050565b6000610d748261154d565b6000805160206150a48339815191526001600160a01b038481169084161480159061394e5750600082115b15612efe576001600160a01b038416156139f8576001600160a01b038416600090815260018201602052604081208190613993906140f861398e87614104565b614138565b6001600160d01b031691506001600160d01b03169150856001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a72483836040516139ed929190918252602082015260400190565b60405180910390a250505b6001600160a01b03831615612efe576001600160a01b038316600090815260018201602052604081208190613a339061417161398e87614104565b6001600160d01b031691506001600160d01b03169150846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051613a8d929190918252602082015260400190565b60405180910390a2505050505050565b6000613ab26001600160a01b0384168361417d565b90508051600014158015613ad7575080806020019051810190613ad59190614d40565b155b156127e3576040517f5274afe70000000000000000000000000000000000000000000000000000000081526001600160a01b0384166004820152602401610c26565b600063ffffffff821115612ca9576040516306dfcc6560e41b81526020600482015260248101839052604401610c26565b606082613b5f57613b5a8261418b565b610e0d565b8151158015613b7657506001600160a01b0384163b155b15613bb8576040517f9996b3150000000000000000000000000000000000000000000000000000000081526001600160a01b0385166004820152602401610c26565b5092915050565b6000610da46141cd565b600080807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0841115613c045750600091506003905082613c8e565b604080516000808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015613c58573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116613c8457506000925060019150829050613c8e565b9250600091508190505b9450945094915050565b6000826003811115613cac57613cac614f47565b03613cb5575050565b6001826003811115613cc957613cc9614f47565b03613d00576040517ff645eedf00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002826003811115613d1457613d14614f47565b03613d4e576040517ffce698f700000000000000000000000000000000000000000000000000000000815260048101829052602401610c26565b6003826003811115613d6257613d62614f47565b03610db3576040517fd78bce0c00000000000000000000000000000000000000000000000000000000815260048101829052602401610c26565b6115a4614241565b613dac614241565b610ca2816142a8565b613dbd614241565b6115a46142b0565b613dcd614241565b610db382826142b8565b6040805180820190915260008082526020820152826000018263ffffffff1681548110613e0657613e06614d5d565b60009182526020918290206040805180820190915291015465ffffffffffff81168252660100000000000090046001600160d01b0316918101919091529392505050565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace006001600160a01b038416613e985781816002016000828254613e8d9190614edf565b90915550613f239050565b6001600160a01b03841660009081526020829052604090205482811015613f04576040517fe450d38c0000000000000000000000000000000000000000000000000000000081526001600160a01b03861660048201526024810182905260448101849052606401610c26565b6001600160a01b03851660009081526020839052604090209083900390555b6001600160a01b038316613f41576002810180548390039055613f60565b6001600160a01b03831660009081526020829052604090208054830190555b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051613fa591815260200190565b60405180910390a350505050565b6000805160206150a48339815191526001600160a01b038416613fe657613fe38160020161417161398e85614104565b50505b6001600160a01b03831661400a57614007816002016140f861398e85614104565b50505b6001600160a01b0384811660009081526000805160206150a48339815191526020526040808220548684168352912054612efe92918216911684613923565b600080608083901c1561405e57608092831c92015b604083901c1561407057604092831c92015b602083901c1561408257602092831c92015b601083901c1561409457601092831c92015b600883901c156140a657600892831c92015b600483901c156140b857600492831c92015b600283901c156140ca57600292831c92015b600183901c15610d745760010192915050565b60006140ec6002848418614ea6565b610e0d90848416614edf565b6000610e0d8284614f5d565b60006001600160d01b03821115612ca9576040516306dfcc6560e41b815260d0600482015260248101839052604401610c26565b600080614164614146611877565b61415c614152886130d7565b868863ffffffff16565b87919061431b565b915091505b935093915050565b6000610e0d8284614f7d565b6060610e0d83836000614329565b80511561419b5780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6141f86143d5565b614200614451565b60408051602081019490945283019190915260608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff166115a4576040517fd7e6bcf800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61265b614241565b6127b0614241565b6142c0614241565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace007f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0361430c8482614fe3565b5060048101612efe8382614fe3565b6000806141648585856144a7565b606081471015614367576040517fcd786059000000000000000000000000000000000000000000000000000000008152306004820152602401610c26565b600080856001600160a01b031684866040516143839190614f2b565b60006040518083038185875af1925050503d80600081146143c0576040519150601f19603f3d011682016040523d82523d6000602084013e6143c5565b606091505b5091509150610dc6868383613b4a565b60007fa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d1008161440161305c565b80519091501561441957805160209091012092915050565b81548015614428579392505050565b7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470935050505090565b60007fa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d1008161447d6130ad565b80519091501561449557805160209091012092915050565b60018201548015614428579392505050565b8254600090819080156145e85760006144c587612d31600185614e08565b60408051808201909152905465ffffffffffff80821680845266010000000000009092046001600160d01b031660208401529192509087161015614535576040517f2520601d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805165ffffffffffff808816911603614584578461455888612d31600186614e08565b80546001600160d01b039290921666010000000000000265ffffffffffff9092169190911790556145d8565b6040805180820190915265ffffffffffff80881682526001600160d01b0380881660208085019182528b54600181018d5560008d815291909120945191519092166601000000000000029216919091179101555b6020015192508391506141699050565b50506040805180820190915265ffffffffffff80851682526001600160d01b0380851660208085019182528854600181018a5560008a8152918220955192519093166601000000000000029190931617920191909155905081614169565b828054828255906000526020600020908101928215614681579160200282015b82811115614681578251825591602001919060010190614666565b50612ca99291505b80821115612ca95760008155600101614689565b6001600160a01b0381168114610ca257600080fd5b80356146bd8161469d565b919050565b6000602082840312156146d457600080fd5b8135610e0d8161469d565b60005b838110156146fa5781810151838201526020016146e2565b50506000910152565b6000815180845261471b8160208601602086016146df565b601f01601f19169290920160200192915050565b602081526000610e0d6020830184614703565b6000806040838503121561475557600080fd5b82356147608161469d565b946020939093013593505050565b6000806040838503121561478157600080fd5b823561478c8161469d565b9150602083013561479c8161469d565b809150509250929050565b6000806000806000608086880312156147bf57600080fd5b85356147ca8161469d565b945060208601356147da8161469d565b935060408601359250606086013567ffffffffffffffff808211156147fe57600080fd5b818801915088601f83011261481257600080fd5b81358181111561482157600080fd5b89602082850101111561483357600080fd5b9699959850939650602001949392505050565b60008060006060848603121561485b57600080fd5b83356148668161469d565b925060208401356148768161469d565b929592945050506040919091013590565b60006020828403121561489957600080fd5b5035919050565b600080604083850312156148b357600080fd5b50508035926020909101359150565b600081518084526020808501945080840160005b838110156148f2578151875295820195908201906001016148d6565b509495945050505050565b7fff000000000000000000000000000000000000000000000000000000000000008816815260e06020820152600061493860e0830189614703565b828103604084015261494a8189614703565b90508660608401526001600160a01b03861660808401528460a084015282810360c084015261497981856148c2565b9a9950505050505050505050565b6000604080835261499a818401866148c2565b83810360208581019190915285518083528682019282019060005b818110156149ef578451805184528481015185850152868101518785015260609081015190840152938301936080909201916001016149b5565b509098975050505050505050565b60008060208385031215614a1057600080fd5b823567ffffffffffffffff80821115614a2857600080fd5b818501915085601f830112614a3c57600080fd5b813581811115614a4b57600080fd5b8660208260051b8501011115614a6057600080fd5b60209290920196919550909350505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015614ac757603f19888603018452614ab5858351614703565b94509285019290850190600101614a99565b5092979650505050505050565b60008060008060008060c08789031215614aed57600080fd5b8635614af88161469d565b95506020870135945060408701359350606087013560ff81168114614b1c57600080fd5b9598949750929560808101359460a0909101359350915050565b60008060408385031215614b4957600080fd5b82359150602083013561479c8161469d565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715614b9a57614b9a614b5b565b604052919050565b60008060008060008060c08789031215614bbb57600080fd5b8635614bc68161469d565b9550602087810135614bd78161469d565b9550604088013567ffffffffffffffff80821115614bf457600080fd5b818a0191508a601f830112614c0857600080fd5b813581811115614c1a57614c1a614b5b565b8060051b9150614c2b848301614b71565b818152918301840191848101908d841115614c4557600080fd5b938501935b83851015614c6f5784359250614c5f8361469d565b8282529385019390850190614c4a565b985050505060608901359450614c8a915050608088016146b2565b9150614c9860a088016146b2565b90509295509295509295565b60008060408385031215614cb757600080fd5b8235614cc28161469d565b9150602083013563ffffffff8116811461479c57600080fd5b600181811c90821680614cef57607f821691505b602082108103614d0f57634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215614d2757600080fd5b8151610e0d8161469d565b8015158114610ca257600080fd5b600060208284031215614d5257600080fd5b8151610e0d81614d32565b634e487b7160e01b600052603260045260246000fd5b600060808284031215614d8557600080fd5b6040516080810181811067ffffffffffffffff82111715614da857614da8614b5b565b8060405250825181526020830151602082015260408301516040820152606083015160608201528091505092915050565b634e487b7160e01b600052601160045260246000fd5b600060018201614e0157614e01614dd9565b5060010190565b81810381811115610d7457610d74614dd9565b6000808335601e19843603018112614e3257600080fd5b83018035915067ffffffffffffffff821115614e4d57600080fd5b602001915036819003821315614e6257600080fd5b9250929050565b828482376000838201600081528351614e868183602088016146df565b0195945050505050565b634e487b7160e01b600052601260045260246000fd5b600082614ec357634e487b7160e01b600052601260045260246000fd5b500490565b8082028115828204841417610d7457610d74614dd9565b80820180821115610d7457610d74614dd9565b600060208284031215614f0457600080fd5b5051919050565b600080600060608486031215614f2057600080fd5b833561486681614d32565b60008251614f3d8184602087016146df565b9190910192915050565b634e487b7160e01b600052602160045260246000fd5b6001600160d01b03828116828216039080821115613bb857613bb8614dd9565b6001600160d01b03818116838216019080821115613bb857613bb8614dd9565b601f8211156127e357600081815260208120601f850160051c81016020861015614fc45750805b601f850160051c820191505b8181101561106157828155600101614fd0565b815167ffffffffffffffff811115614ffd57614ffd614b5b565b6150118161500b8454614cdb565b84614f9d565b602080601f831160018114615046576000841561502e5750858301515b600019600386901b1c1916600185901b178555611061565b600085815260208120601f198616915b8281101561507557888601518255948401946001909101908401615056565b50858210156150935787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fee8b26c30fad74198956032a3533d903385d56dd795af560196f9c78d4af40d00a2646970667358221220636313a1d914d381919b7c873784998463d30afde3bd40ed6bf2c7102d28b88e64736f6c63430008150033", + "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106103ea5760003560e01c80637ecebe001161021a578063b66503cf11610135578063dd62ed3e116100c8578063f1127ed811610097578063f2fde38b1161007c578063f2fde38b14610a40578063f58eb0ce14610a53578063f892c9fc14610a7657600080fd5b8063f1127ed8146109ee578063f122977714610a2d57600080fd5b8063dd62ed3e14610945578063e40b8db51461099d578063e70b9e27146109b0578063f01edde0146109db57600080fd5b8063cd42184311610104578063cd421843146108f7578063d61a47f11461090a578063d7b96d4e14610912578063da09d19d1461092557600080fd5b8063b66503cf1461089e578063bfe10928146108b1578063c3cda520146108c4578063cc193fb0146108d757600080fd5b80639ab24eb0116101ad578063a9059cbb1161017c578063a9059cbb14610837578063aa8815161461084a578063ab0ed1061461086b578063ac9650d81461087e57600080fd5b80639ab24eb0146107de5780639ce43f90146107f15780639ee91fea14610811578063a1809b951461082457600080fd5b80638da5cb5b116101e95780638da5cb5b146107745780638e539e8c146107a457806391ddadf4146107b757806395d89b41146107d657600080fd5b80637ecebe001461072057806384b0196e1461073357806387c5d8321461074e5780638980f11f1461076157600080fd5b80633b6240321161030a5780636b0916951161029d57806370a082311161026c57806370a08231146106df578063715018a6146106f25780637bb7bed1146106fa5780637cd07e471461070d57600080fd5b80636b091695146106715780636f28d688146106845780636fcfff451461068c5780637035ab98146106b457600080fd5b806356981ac5116102d957806356981ac5146105e9578063587cde1e146106125780635c19a95c1461064b578063638634ee1461065e57600080fd5b80633b624032146105905780633fc8cef3146105a35780634bf5d7e9146105ce57806354ac1250146105d657600080fd5b8063211dc32d116103825780632cfb6688116103515780632cfb668814610552578063313ce56714610565578063386a9525146105745780633a46b1a81461057d57600080fd5b8063211dc32d146104ec578063221ca18c146104ff57806323b872dd1461051f5780632ce9aead1461053257600080fd5b80630e37d36f116103be5780630e37d36f1461045b578063150b7a021461046e57806318160ddd146104b25780631fd54bde146104d957600080fd5b8062443d89146103ef57806306fdde0314610404578063095ea7b3146104225780630d15fd7714610445575b600080fd5b6104026103fd3660046146c2565b610a9f565b005b61040c610ca5565b604051610419919061472f565b60405180910390f35b610435610430366004614742565b610d60565b6040519015158152602001610419565b61044d610d7a565b604051908152602001610419565b61040261046936600461476e565b610da9565b61048161047c3660046147a7565b610db7565b6040517fffffffff000000000000000000000000000000000000000000000000000000009091168152602001610419565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace025461044d565b61044d6104e7366004614742565b610dd0565b61044d6104fa36600461476e565b610e01565b61044d61050d3660046146c2565b60066020526000908152604090205481565b61043561052d366004614846565b610e14565b61044d6105403660046146c2565b60036020526000908152604090205481565b610402610560366004614887565b610e5f565b60405160128152602001610419565b61044d60075481565b61044d61058b366004614742565b611069565b61040261059e3660046148a0565b6110fc565b6009546105b6906001600160a01b031681565b6040516001600160a01b039091168152602001610419565b61040c611315565b6104026105e43660046146c2565b6113a6565b6105b66105f7366004614887565b600b602052600090815260409020546001600160a01b031681565b6105b66106203660046146c2565b6001600160a01b0390811660009081526000805160206150a483398151915260205260409020541690565b6104026106593660046146c2565b611400565b61044d61066c3660046146c2565b61140b565b61040261067f36600461476e565b61142f565b6105b6611512565b61069f61069a3660046146c2565b611542565b60405163ffffffff9091168152602001610419565b61044d6106c236600461476e565b600260209081526000928352604080842090915290825290205481565b61044d6106ed3660046146c2565b61154d565b610402611592565b6105b6610708366004614887565b6115a6565b600e546105b6906001600160a01b031681565b61044d61072e3660046146c2565b6115d0565b61073b6115f9565b60405161041997969594939291906148fd565b61044d61075c366004614887565b6116db565b61040261076f366004614742565b6116e3565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300546001600160a01b03166105b6565b61044d6107b2366004614887565b6117fb565b6107bf611877565b60405165ffffffffffff9091168152602001610419565b61040c611881565b61044d6107ec3660046146c2565b6118d2565b61044d6107ff3660046146c2565b60056020526000908152604090205481565b61040261081f3660046148a0565b611932565b6104026108323660046146c2565b611a24565b610435610845366004614742565b611a4e565b61085d6108583660046146c2565b611a99565b604051610419929190614987565b6104026108793660046146c2565b611ccd565b61089161088c3660046149fd565b611d26565b6040516104199190614a72565b6104026108ac366004614742565b611e19565b600d546105b6906001600160a01b031681565b6104026108d2366004614ad4565b61213b565b61044d6108e5366004614887565b600a6020526000908152604090205481565b610402610905366004614b36565b612211565b6105b6612430565b6000546105b6906001600160a01b031681565b61044d6109333660046146c2565b60046020526000908152604090205481565b61044d61095336600461476e565b6001600160a01b0391821660009081527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace016020908152604080832093909416825291909152205490565b6104026109ab366004614ba2565b612446565b61044d6109be36600461476e565b600160209081526000928352604080842090915290825290205481565b6104026109e93660046146c2565b6125c9565b610a016109fc366004614ca4565b61262a565b60408051825165ffffffffffff1681526020928301516001600160d01b03169281019290925201610419565b61044d610a3b3660046146c2565b612648565b610402610a4e3660046146c2565b612653565b610435610a61366004614887565b600f6020526000908152604090205460ff1681565b61044d610a843660046146c2565b6001600160a01b03166000908152600c602052604090205490565b610aa76126a7565b600954610abd906001600160a01b03168261270a565b6009546001600160a01b039081166000908152600160209081526040808320938516835292905220548015610c7857600980546001600160a01b039081166000908152600160209081526040808320878516845290915280822091909155915491517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260048101849052911690632e1a7d4d90602401600060405180830381600087803b158015610b6f57600080fd5b505af1158015610b83573d6000803e3d6000fd5b505050506000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610bd4576040519150601f19603f3d011682016040523d82523d6000602084013e610bd9565b606091505b5050905080610c2f5760405162461bcd60e51b815260206004820152600f60248201527f6574682073656e64206661696c6564000000000000000000000000000000000060448201526064015b60405180910390fd5b6009546040513381526001600160a01b038581169285929116907fe6ac6a784fb43c9f6329d2f5c82f88a26a93bad4281f7780725af5f071f0aafa9060200160405180910390a4505b50610ca260017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b50565b606060007f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace005b9050806003018054610cdc90614cdb565b80601f0160208091040260200160405190810160405280929190818152602001828054610d0890614cdb565b8015610d555780601f10610d2a57610100808354040283529160200191610d55565b820191906000526020600020905b815481529060010190602001808311610d3857829003601f168201915b505050505091505090565b600033610d6e8185856127d6565b60019150505b92915050565b6000610da47f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace025490565b905090565b610db3828261270a565b5050565b6000610dc686868686866127e8565b9695505050505050565b600c6020528160005260406000208181548110610dec57600080fd5b90600052602060002001600091509150505481565b6000610e0d838361298e565b9392505050565b60405162461bcd60e51b815260206004820152601560248201527f7472616e7366657246726f6d2064697361626c656400000000000000000000006044820152600090606401610c26565b610e6833612a0f565b6000818152600b60205260409020546001600160a01b0316610eb75760405162461bcd60e51b8152602060048201526008602482015267085d1bdad95b925960c21b6044820152606401610c26565b6000818152600b60205260409020546001600160a01b0316338114610f19576040517f8e6324b00000000000000000000000000000000000000000000000000000000081523360048201526001600160a01b0382166024820152604401610c26565b6000828152600b6020908152604080832080546001600160a01b0319169055338352600c8252918290208054835181840281018401909452808452610f939392830182828015610f8857602002820191906000526020600020905b815481526020019060010190808311610f74575b505050505083612aff565b336000908152600c602090815260409091208251610fb79391929190910190614646565b506000828152600a6020526040902054610fd2903390612c27565b6000828152600a6020526040808220829055905490517f42842e0e000000000000000000000000000000000000000000000000000000008152306004820152336024820152604481018490526001600160a01b03909116906342842e0e90606401600060405180830381600087803b15801561104d57600080fd5b505af1158015611061573d6000803e3d6000fd5b505050505050565b60006000805160206150a483398151915281611083611877565b90508065ffffffffffff1684106110be57604051637669fc0f60e11b81526004810185905265ffffffffffff82166024820152604401610c26565b6110ea6110ca85612c76565b6001600160a01b0387166000908152600185016020526040902090612cad565b6001600160d01b031695945050505050565b6000811161114c5760405162461bcd60e51b815260206004820152600e60248201527f216e65774c6f636b416d6f756e740000000000000000000000000000000000006044820152606401610c26565b6000828152600b60205260409020546001600160a01b0316331461119d5760405162461bcd60e51b8152602060048201526008602482015267085d1bdad95b925960c21b6044820152606401610c26565b60008054906101000a90046001600160a01b03166001600160a01b0316636f307dc36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112129190614d15565b6040516323b872dd60e01b8152336004820152306024820152604481018390526001600160a01b0391909116906323b872dd906064016020604051808303816000875af1158015611267573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128b9190614d40565b506000546040517fb2383e5500000000000000000000000000000000000000000000000000000000815260048101849052602481018390526001600160a01b039091169063b2383e55906044015b600060405180830381600087803b1580156112f357600080fd5b505af1158015611307573d6000803e3d6000fd5b50505050610db33383612d66565b606061131f612dcf565b65ffffffffffff1661132f611877565b65ffffffffffff161461136e576040517f6ff0714000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5060408051808201909152601d81527f6d6f64653d626c6f636b6e756d6265722666726f6d3d64656661756c74000000602082015290565b6113ae612dda565b600880546001810182556000919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30180546001600160a01b0319166001600160a01b0392909216919091179055565b33610db38183612e4e565b6001600160a01b038116600090815260046020526040812054610d74904290612f04565b6114376126a7565b611441818361270a565b6001600160a01b0380821660009081526001602090815260408083209386168352929052205480156114e8576001600160a01b0380831660008181526001602090815260408083209488168352939052918220919091556114a3908483612f1a565b6040513381526001600160a01b038085169183918516907fe6ac6a784fb43c9f6329d2f5c82f88a26a93bad4281f7780725af5f071f0aafa9060200160405180910390a45b50610db360017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6000600860008154811061152857611528614d5d565b6000918252602090912001546001600160a01b0316919050565b6000610d7482612f9a565b6000807f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace005b6001600160a01b0390931660009081526020939093525050604090205490565b61159a612dda565b6115a46000612feb565b565b600881815481106115b657600080fd5b6000918252602090912001546001600160a01b0316905081565b6000807f5ab42ced628888259c08ac98db1eb0cf702fc1501344311d8b100cd1bfe4bb00611572565b600060608082808083817fa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d100805490915015801561163857506001810154155b6116845760405162461bcd60e51b815260206004820152601560248201527f4549503731323a20556e696e697469616c697a656400000000000000000000006044820152606401610c26565b61168c61305c565b6116946130ad565b604080516000808252602082019092527f0f000000000000000000000000000000000000000000000000000000000000009c939b5091995046985030975095509350915050565b600081610d74565b6116eb612dda565b816001600160a01b031663a9059cbb61172b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300546001600160a01b031690565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af1158015611790573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117b49190614d40565b50604080516001600160a01b0384168152602081018390527f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa28910160405180910390a15050565b60006000805160206150a483398151915281611815611877565b90508065ffffffffffff16841061185057604051637669fc0f60e11b81526004810185905265ffffffffffff82166024820152604401610c26565b61186661185c85612c76565b6002840190612cad565b6001600160d01b0316949350505050565b6000610da4612dcf565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0480546060917f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0091610cdc90614cdb565b6001600160a01b03811660009081527fe8b26c30fad74198956032a3533d903385d56dd795af560196f9c78d4af40d01602052604081206000805160206150a483398151915290611922906130d7565b6001600160d01b03169392505050565b600081116119825760405162461bcd60e51b815260206004820152600e60248201527f216e65774c6f636b416d6f756e740000000000000000000000000000000000006044820152606401610c26565b6000828152600b60205260409020546001600160a01b031633146119d35760405162461bcd60e51b8152602060048201526008602482015267085d1bdad95b925960c21b6044820152606401610c26565b6000546040517f9d507b8b00000000000000000000000000000000000000000000000000000000815260048101849052602481018390526001600160a01b0390911690639d507b8b906044016112d9565b611a2c612dda565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b60405162461bcd60e51b815260206004820152601160248201527f7472616e736665722064697361626c65640000000000000000000000000000006044820152600090606401610c26565b6001600160a01b0381166000908152600c60209081526040808320805482518185028101850190935280835260609485949193909290918490830182828015611b0157602002820191906000526020600020905b815481526020019060010190808311611aed575b5050505050905060008267ffffffffffffffff811115611b2357611b23614b5b565b604051908082528060200260200182016040528015611b4c578160200160208202803683370190505b50905060008367ffffffffffffffff811115611b6a57611b6a614b5b565b604051908082528060200260200182016040528015611bc657816020015b611bb36040518060800160405280600081526020016000815260200160008152602001600081525090565b815260200190600190039081611b885790505b50905060005b84811015611cc05760005484516001600160a01b039091169063b45a3c0e90869084908110611bfd57611bfd614d5d565b60200260200101516040518263ffffffff1660e01b8152600401611c2391815260200190565b608060405180830381865afa158015611c40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c649190614d73565b828281518110611c7657611c76614d5d565b6020026020010181905250838181518110611c9357611c93614d5d565b6020026020010151838281518110611cad57611cad614d5d565b6020908102919091010152600101611bcc565b5090969095509350505050565b611cd56126a7565b60005b600854811015610c7857611d14826008600081548110611cfa57611cfa614d5d565b6000918252602090912001546001600160a01b031661142f565b80611d1e81614def565b915050611cd8565b6040805160008152602081019091526060908267ffffffffffffffff811115611d5157611d51614b5b565b604051908082528060200260200182016040528015611d8457816020015b6060815260200190600190039081611d6f5790505b50915060005b83811015611e1157611de130868684818110611da857611da8614d5d565b9050602002810190611dba9190614e1b565b85604051602001611dcd93929190614e69565b604051602081830303815290604052613113565b838281518110611df357611df3614d5d565b60200260200101819052508080611e0990614def565b915050611d8a565b505092915050565b600d546001600160a01b03163314611e735760405162461bcd60e51b815260206004820152600c60248201527f216469737472696275746f7200000000000000000000000000000000000000006044820152606401610c26565b611e7e82600061270a565b6040516323b872dd60e01b8152336004820152306024820152604481018290526001600160a01b038316906323b872dd906064016020604051808303816000875af1158015611ed1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ef59190614d40565b506001600160a01b0382166000908152600460205260409020544210611f4057600754611f229082614ea6565b6001600160a01b038316600090815260066020526040902055611fc1565b6001600160a01b038216600090815260046020526040812054611f64904290614e08565b6001600160a01b03841660009081526006602052604081205491925090611f8b9083614ec8565b600754909150611f9b8285614edf565b611fa59190614ea6565b6001600160a01b03851660009081526006602052604090205550505b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa158015612021573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120459190614ef2565b9050600754816120559190614ea6565b6001600160a01b03841660009081526006602052604090205411156120bc5760405162461bcd60e51b815260206004820152601260248201527f6e6f7420656e6f7567682062616c616e636500000000000000000000000000006044820152606401610c26565b6001600160a01b038316600090815260036020526040902042908190556007546120e591614edf565b6001600160a01b038416600081815260046020908152604091829020939093555133815284927f54dba80f86e498df5a2fcdb5c089d051d97ce8ca9ddb708c70da66557a954de7910160405180910390a3505050565b83421115612178576040517f4683af0e00000000000000000000000000000000000000000000000000000000815260048101859052602401610c26565b604080517fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60208201526001600160a01b0388169181019190915260608101869052608081018590526000906121f2906121ea9060a00160405160208183030381529060405280519060200120613189565b8585856131d1565b90506121fe81876131f3565b6122088188612e4e565b50505050505050565b612219612dda565b6001600160a01b03811661226f5760405162461bcd60e51b815260206004820152601160248201527f496e76616c696420726563697069656e740000000000000000000000000000006044820152606401610c26565b6000828152600b60205260409020546001600160a01b0316806122d45760405162461bcd60e51b815260206004820152601060248201527f546f6b656e206e6f74206c6f636b6564000000000000000000000000000000006044820152606401610c26565b6000838152600b6020908152604080832080546001600160a01b0319166001600160a01b038781169190911790915584168352600c825291829020805483518184028101840190945280845261235f939283018282801561235457602002820191906000526020600020905b815481526020019060010190808311612340575b505050505084612aff565b6001600160a01b0382166000908152600c60209081526040909120825161238c9391929190910190614646565b506001600160a01b0382166000908152600c60209081526040808320805460018101825590845282842001869055858352600a9091529020546123d0908290612c27565b6000838152600a60205260409020546123ea90839061327e565b816001600160a01b0316816001600160a01b0316847f94cb47eeeeb76a68c4d24f7c656bc9e63d5bc82211fc7784b33e438103b2f87360405160405180910390a4505050565b6000600860018154811061152857611528614d5d565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0080546002919068010000000000000000900460ff16806124955750805467ffffffffffffffff808416911610155b156124cc576040517ff92ee8a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805468ffffffffffffffffff191667ffffffffffffffff83161768010000000000000000178155604080518082018252601181527f4d41484120566f74696e6720506f7765720000000000000000000000000000006020808301919091528251808401909352600683527f4d4148417670000000000000000000000000000000000000000000000000000090830152612569918a8a8a8a896132cd565b61257284612feb565b805468ff00000000000000001916815560405167ffffffffffffffff831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b6125d16126a7565b6125e9816008600081548110611cfa57611cfa614d5d565b612601816008600181548110611cfa57611cfa614d5d565b610ca260017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6040805180820190915260008082526020820152610e0d83836134a8565b6000610d7482613513565b61265b612dda565b6001600160a01b03811661269e576040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260006004820152602401610c26565b610ca281612feb565b7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00805460011901612704576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60029055565b61271382613513565b6001600160a01b0383166000908152600560205260409020556127358261140b565b6001600160a01b03808416600090815260036020526040902091909155811615610db357612763828261298e565b6001600160a01b0392831660008181526001602090815260408083209590961680835294815285822093909355908152600582528381205460028352848220938252929091529190912055565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6127e38383836001613603565b505050565b600080546001600160a01b031633146128435760405162461bcd60e51b815260206004820152600b60248201527f6f6e6c79206c6f636b65720000000000000000000000000000000000000000006044820152606401610c26565b811561285a5761285582840184614f0b565b509550505b61286385612a0f565b6000848152600b6020908152604080832080546001600160a01b0319166001600160a01b038a8116918217909255808552600c845282852080546001810182559086528486200189905584526000805160206150a483398151915290925290912054166128d4576128d48586612e4e565b6000546040516339f890b560e21b815260048101869052612947916001600160a01b03169063e7e242d4906024015b602060405180830381865afa158015612920573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129449190614ef2565b90565b6000858152600a6020526040902081905561296390869061327e565b507f150b7a020000000000000000000000000000000000000000000000000000000095945050505050565b6001600160a01b038083166000818152600160209081526040808320948616808452948252808320549383526002825280832094835293905291822054670de0b6b3a7640000906129de86613513565b6129e89190614e08565b6129f18561154d565b6129fb9190614ec8565b612a059190614ea6565b610e0d9190614edf565b60005b600854811015610db357600060088281548110612a3157612a31614d5d565b6000918252602090912001546001600160a01b03169050612a5181613513565b6001600160a01b038216600090815260056020526040902055612a738161140b565b6001600160a01b03808316600090815260036020526040902091909155831615612aec57612aa1818461298e565b6001600160a01b038083166000818152600160209081526040808320948916808452948252808320959095559181526005825283812054600283528482209382529290915291909120555b5080612af781614def565b915050612a12565b81516060906000805b82811015612b505784868281518110612b2357612b23614d5d565b602002602001015114612b3e5781612b3a81614def565b9250505b80612b4881614def565b915050612b08565b5060008167ffffffffffffffff811115612b6c57612b6c614b5b565b604051908082528060200260200182016040528015612b95578160200160208202803683370190505b5090506000805b84811015612c1b5786888281518110612bb757612bb7614d5d565b602002602001015114612c0957878181518110612bd657612bd6614d5d565b6020026020010151838381518110612bf057612bf0614d5d565b602090810291909101015281612c0581614def565b9250505b80612c1381614def565b915050612b9c565b50909695505050505050565b6001600160a01b038216612c6a576040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260006004820152602401610c26565b610db38260008361372f565b600065ffffffffffff821115612ca9576040516306dfcc6560e41b81526030600482015260248101839052604401610c26565b5090565b815460009081816005811115612d0c576000612cc8846137ce565b612cd29085614e08565b60008881526020902090915081015465ffffffffffff9081169087161015612cfc57809150612d0a565b612d07816001614edf565b92505b505b6000612d1a878785856138b6565b90508015612d5857612d3f87612d31600184614e08565b600091825260209091200190565b54660100000000000090046001600160d01b0316612d5b565b60005b979650505050505050565b6000818152600a6020526040902054612d80908390612c27565b6000546040516339f890b560e21b815260048101839052612db3916001600160a01b03169063e7e242d490602401612903565b6000828152600a60205260409020819055610db390839061327e565b6000610da443612c76565b33612e0c7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300546001600160a01b031690565b6001600160a01b0316146115a4576040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152602401610c26565b6000805160206150a48339815191526000612e8e846001600160a01b0390811660009081526000805160206150a483398151915260205260409020541690565b6001600160a01b0385811660008181526020869052604080822080546001600160a01b031916898616908117909155905194955093928516927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4612efe8184612ef987613918565b613923565b50505050565b6000818310612f135781610e0d565b5090919050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790526127e3908490613a9d565b6001600160a01b03811660009081527fe8b26c30fad74198956032a3533d903385d56dd795af560196f9c78d4af40d0160205260408120546000805160206150a483398151915290610e0d90613b19565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b7fa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d10280546060917fa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d10091610cdc90614cdb565b606060007fa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d100610ccb565b8054600090801561310a576130f183612d31600184614e08565b54660100000000000090046001600160d01b0316610e0d565b60009392505050565b6060600080846001600160a01b0316846040516131309190614f2b565b600060405180830381855af49150503d806000811461316b576040519150601f19603f3d011682016040523d82523d6000602084013e613170565b606091505b5091509150613180858383613b4a565b95945050505050565b6000610d74613196613bbf565b836040517f19010000000000000000000000000000000000000000000000000000000000008152600281019290925260228201526042902090565b6000806000806131e388888888613bc9565b925092509250612c1b8282613c98565b6001600160a01b03821660009081527f5ab42ced628888259c08ac98db1eb0cf702fc1501344311d8b100cd1bfe4bb00602052604090208054600181019091558181146127e3576040517f752d88c00000000000000000000000000000000000000000000000000000000081526001600160a01b038416600482015260248101829052604401610c26565b6001600160a01b0382166132c1576040517fec442f0500000000000000000000000000000000000000000000000000000000815260006004820152602401610c26565b610db36000838361372f565b6132d5613d9c565b6132de33613da4565b6132e6613db5565b6132f08787613dc5565b600080546001600160a01b038088166001600160a01b0319928316178355600980548883169084161790556007859055600d8054918516919092161790555b835181101561339957600884828151811061334c5761334c614d5d565b60209081029190910181015182546001810184556000938452919092200180546001600160a01b0319166001600160a01b039092169190911790558061339181614def565b91505061332f565b5060008054906101000a90046001600160a01b03166001600160a01b0316636f307dc36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156133eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061340f9190614d15565b6040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b0387811660048301526000196024830152919091169063095ea7b3906044016020604051808303816000875af115801561347a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061349e9190614d40565b5050505050505050565b604080518082018252600080825260208083018290526001600160a01b03861682527fe8b26c30fad74198956032a3533d903385d56dd795af560196f9c78d4af40d019052919091206000805160206150a48339815191529061350b9084613dd7565b949350505050565b600061353d7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace025490565b60000361356057506001600160a01b031660009081526005602052604090205490565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace02546001600160a01b0383166000908152600660209081526040808320546003909252909120546135b08561140b565b6135ba9190614e08565b6135c49190614ec8565b6135d690670de0b6b3a7640000614ec8565b6135e09190614ea6565b6001600160a01b038316600090815260056020526040902054610d749190614edf565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace006001600160a01b038516613667576040517fe602df0500000000000000000000000000000000000000000000000000000000815260006004820152602401610c26565b6001600160a01b0384166136aa576040517f94280d6200000000000000000000000000000000000000000000000000000000815260006004820152602401610c26565b6001600160a01b0380861660009081526001830160209081526040808320938816835292905220839055811561372857836001600160a01b0316856001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258560405161371f91815260200190565b60405180910390a35b5050505050565b61373a838383613e4a565b6001600160a01b0383166137c35760006137727f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace025490565b90506001600160d01b03808211156137c0576040517f1cb15d260000000000000000000000000000000000000000000000000000000081526004810183905260248101829052604401610c26565b50505b6127e3838383613fb3565b6000816000036137e057506000919050565b600060016137ed84614049565b901c6001901b9050600181848161380657613806614e90565b048201901c9050600181848161381e5761381e614e90565b048201901c9050600181848161383657613836614e90565b048201901c9050600181848161384e5761384e614e90565b048201901c9050600181848161386657613866614e90565b048201901c9050600181848161387e5761387e614e90565b048201901c9050600181848161389657613896614e90565b048201901c9050610e0d818285816138b0576138b0614e90565b04612f04565b60005b818310156139105760006138cd84846140dd565b60008781526020902090915065ffffffffffff86169082015465ffffffffffff1611156138fc5780925061390a565b613907816001614edf565b93505b506138b9565b509392505050565b6000610d748261154d565b6000805160206150a48339815191526001600160a01b038481169084161480159061394e5750600082115b15612efe576001600160a01b038416156139f8576001600160a01b038416600090815260018201602052604081208190613993906140f861398e87614104565b614138565b6001600160d01b031691506001600160d01b03169150856001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a72483836040516139ed929190918252602082015260400190565b60405180910390a250505b6001600160a01b03831615612efe576001600160a01b038316600090815260018201602052604081208190613a339061417161398e87614104565b6001600160d01b031691506001600160d01b03169150846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051613a8d929190918252602082015260400190565b60405180910390a2505050505050565b6000613ab26001600160a01b0384168361417d565b90508051600014158015613ad7575080806020019051810190613ad59190614d40565b155b156127e3576040517f5274afe70000000000000000000000000000000000000000000000000000000081526001600160a01b0384166004820152602401610c26565b600063ffffffff821115612ca9576040516306dfcc6560e41b81526020600482015260248101839052604401610c26565b606082613b5f57613b5a8261418b565b610e0d565b8151158015613b7657506001600160a01b0384163b155b15613bb8576040517f9996b3150000000000000000000000000000000000000000000000000000000081526001600160a01b0385166004820152602401610c26565b5092915050565b6000610da46141cd565b600080807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0841115613c045750600091506003905082613c8e565b604080516000808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015613c58573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116613c8457506000925060019150829050613c8e565b9250600091508190505b9450945094915050565b6000826003811115613cac57613cac614f47565b03613cb5575050565b6001826003811115613cc957613cc9614f47565b03613d00576040517ff645eedf00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002826003811115613d1457613d14614f47565b03613d4e576040517ffce698f700000000000000000000000000000000000000000000000000000000815260048101829052602401610c26565b6003826003811115613d6257613d62614f47565b03610db3576040517fd78bce0c00000000000000000000000000000000000000000000000000000000815260048101829052602401610c26565b6115a4614241565b613dac614241565b610ca2816142a8565b613dbd614241565b6115a46142b0565b613dcd614241565b610db382826142b8565b6040805180820190915260008082526020820152826000018263ffffffff1681548110613e0657613e06614d5d565b60009182526020918290206040805180820190915291015465ffffffffffff81168252660100000000000090046001600160d01b0316918101919091529392505050565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace006001600160a01b038416613e985781816002016000828254613e8d9190614edf565b90915550613f239050565b6001600160a01b03841660009081526020829052604090205482811015613f04576040517fe450d38c0000000000000000000000000000000000000000000000000000000081526001600160a01b03861660048201526024810182905260448101849052606401610c26565b6001600160a01b03851660009081526020839052604090209083900390555b6001600160a01b038316613f41576002810180548390039055613f60565b6001600160a01b03831660009081526020829052604090208054830190555b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051613fa591815260200190565b60405180910390a350505050565b6000805160206150a48339815191526001600160a01b038416613fe657613fe38160020161417161398e85614104565b50505b6001600160a01b03831661400a57614007816002016140f861398e85614104565b50505b6001600160a01b0384811660009081526000805160206150a48339815191526020526040808220548684168352912054612efe92918216911684613923565b600080608083901c1561405e57608092831c92015b604083901c1561407057604092831c92015b602083901c1561408257602092831c92015b601083901c1561409457601092831c92015b600883901c156140a657600892831c92015b600483901c156140b857600492831c92015b600283901c156140ca57600292831c92015b600183901c15610d745760010192915050565b60006140ec6002848418614ea6565b610e0d90848416614edf565b6000610e0d8284614f5d565b60006001600160d01b03821115612ca9576040516306dfcc6560e41b815260d0600482015260248101839052604401610c26565b600080614164614146611877565b61415c614152886130d7565b868863ffffffff16565b87919061431b565b915091505b935093915050565b6000610e0d8284614f7d565b6060610e0d83836000614329565b80511561419b5780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6141f86143d5565b614200614451565b60408051602081019490945283019190915260608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff166115a4576040517fd7e6bcf800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61265b614241565b6127b0614241565b6142c0614241565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace007f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0361430c8482614fe3565b5060048101612efe8382614fe3565b6000806141648585856144a7565b606081471015614367576040517fcd786059000000000000000000000000000000000000000000000000000000008152306004820152602401610c26565b600080856001600160a01b031684866040516143839190614f2b565b60006040518083038185875af1925050503d80600081146143c0576040519150601f19603f3d011682016040523d82523d6000602084013e6143c5565b606091505b5091509150610dc6868383613b4a565b60007fa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d1008161440161305c565b80519091501561441957805160209091012092915050565b81548015614428579392505050565b7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470935050505090565b60007fa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d1008161447d6130ad565b80519091501561449557805160209091012092915050565b60018201548015614428579392505050565b8254600090819080156145e85760006144c587612d31600185614e08565b60408051808201909152905465ffffffffffff80821680845266010000000000009092046001600160d01b031660208401529192509087161015614535576040517f2520601d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805165ffffffffffff808816911603614584578461455888612d31600186614e08565b80546001600160d01b039290921666010000000000000265ffffffffffff9092169190911790556145d8565b6040805180820190915265ffffffffffff80881682526001600160d01b0380881660208085019182528b54600181018d5560008d815291909120945191519092166601000000000000029216919091179101555b6020015192508391506141699050565b50506040805180820190915265ffffffffffff80851682526001600160d01b0380851660208085019182528854600181018a5560008a8152918220955192519093166601000000000000029190931617920191909155905081614169565b828054828255906000526020600020908101928215614681579160200282015b82811115614681578251825591602001919060010190614666565b50612ca99291505b80821115612ca95760008155600101614689565b6001600160a01b0381168114610ca257600080fd5b80356146bd8161469d565b919050565b6000602082840312156146d457600080fd5b8135610e0d8161469d565b60005b838110156146fa5781810151838201526020016146e2565b50506000910152565b6000815180845261471b8160208601602086016146df565b601f01601f19169290920160200192915050565b602081526000610e0d6020830184614703565b6000806040838503121561475557600080fd5b82356147608161469d565b946020939093013593505050565b6000806040838503121561478157600080fd5b823561478c8161469d565b9150602083013561479c8161469d565b809150509250929050565b6000806000806000608086880312156147bf57600080fd5b85356147ca8161469d565b945060208601356147da8161469d565b935060408601359250606086013567ffffffffffffffff808211156147fe57600080fd5b818801915088601f83011261481257600080fd5b81358181111561482157600080fd5b89602082850101111561483357600080fd5b9699959850939650602001949392505050565b60008060006060848603121561485b57600080fd5b83356148668161469d565b925060208401356148768161469d565b929592945050506040919091013590565b60006020828403121561489957600080fd5b5035919050565b600080604083850312156148b357600080fd5b50508035926020909101359150565b600081518084526020808501945080840160005b838110156148f2578151875295820195908201906001016148d6565b509495945050505050565b7fff000000000000000000000000000000000000000000000000000000000000008816815260e06020820152600061493860e0830189614703565b828103604084015261494a8189614703565b90508660608401526001600160a01b03861660808401528460a084015282810360c084015261497981856148c2565b9a9950505050505050505050565b6000604080835261499a818401866148c2565b83810360208581019190915285518083528682019282019060005b818110156149ef578451805184528481015185850152868101518785015260609081015190840152938301936080909201916001016149b5565b509098975050505050505050565b60008060208385031215614a1057600080fd5b823567ffffffffffffffff80821115614a2857600080fd5b818501915085601f830112614a3c57600080fd5b813581811115614a4b57600080fd5b8660208260051b8501011115614a6057600080fd5b60209290920196919550909350505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015614ac757603f19888603018452614ab5858351614703565b94509285019290850190600101614a99565b5092979650505050505050565b60008060008060008060c08789031215614aed57600080fd5b8635614af88161469d565b95506020870135945060408701359350606087013560ff81168114614b1c57600080fd5b9598949750929560808101359460a0909101359350915050565b60008060408385031215614b4957600080fd5b82359150602083013561479c8161469d565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715614b9a57614b9a614b5b565b604052919050565b60008060008060008060c08789031215614bbb57600080fd5b8635614bc68161469d565b9550602087810135614bd78161469d565b9550604088013567ffffffffffffffff80821115614bf457600080fd5b818a0191508a601f830112614c0857600080fd5b813581811115614c1a57614c1a614b5b565b8060051b9150614c2b848301614b71565b818152918301840191848101908d841115614c4557600080fd5b938501935b83851015614c6f5784359250614c5f8361469d565b8282529385019390850190614c4a565b985050505060608901359450614c8a915050608088016146b2565b9150614c9860a088016146b2565b90509295509295509295565b60008060408385031215614cb757600080fd5b8235614cc28161469d565b9150602083013563ffffffff8116811461479c57600080fd5b600181811c90821680614cef57607f821691505b602082108103614d0f57634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215614d2757600080fd5b8151610e0d8161469d565b8015158114610ca257600080fd5b600060208284031215614d5257600080fd5b8151610e0d81614d32565b634e487b7160e01b600052603260045260246000fd5b600060808284031215614d8557600080fd5b6040516080810181811067ffffffffffffffff82111715614da857614da8614b5b565b8060405250825181526020830151602082015260408301516040820152606083015160608201528091505092915050565b634e487b7160e01b600052601160045260246000fd5b600060018201614e0157614e01614dd9565b5060010190565b81810381811115610d7457610d74614dd9565b6000808335601e19843603018112614e3257600080fd5b83018035915067ffffffffffffffff821115614e4d57600080fd5b602001915036819003821315614e6257600080fd5b9250929050565b828482376000838201600081528351614e868183602088016146df565b0195945050505050565b634e487b7160e01b600052601260045260246000fd5b600082614ec357634e487b7160e01b600052601260045260246000fd5b500490565b8082028115828204841417610d7457610d74614dd9565b80820180821115610d7457610d74614dd9565b600060208284031215614f0457600080fd5b5051919050565b600080600060608486031215614f2057600080fd5b833561486681614d32565b60008251614f3d8184602087016146df565b9190910192915050565b634e487b7160e01b600052602160045260246000fd5b6001600160d01b03828116828216039080821115613bb857613bb8614dd9565b6001600160d01b03818116838216019080821115613bb857613bb8614dd9565b601f8211156127e357600081815260208120601f850160051c81016020861015614fc45750805b601f850160051c820191505b8181101561106157828155600101614fd0565b815167ffffffffffffffff811115614ffd57614ffd614b5b565b6150118161500b8454614cdb565b84614f9d565b602080601f831160018114615046576000841561502e5750858301515b600019600386901b1c1916600185901b178555611061565b600085815260208120601f198616915b8281101561507557888601518255948401946001909101908401615056565b50858210156150935787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fee8b26c30fad74198956032a3533d903385d56dd795af560196f9c78d4af40d00a2646970667358221220636313a1d914d381919b7c873784998463d30afde3bd40ed6bf2c7102d28b88e64736f6c63430008150033", + "devdoc": { + "errors": { + "AddressEmptyCode(address)": [ + { + "details": "There's no code at `target` (it is not a contract)." + } + ], + "AddressInsufficientBalance(address)": [ + { + "details": "The ETH balance of the account is not enough to perform the operation." + } + ], + "CheckpointUnorderedInsertion()": [ + { + "details": "A value was attempted to be inserted on a past checkpoint." + } + ], + "ECDSAInvalidSignature()": [ + { + "details": "The signature derives the `address(0)`." + } + ], + "ECDSAInvalidSignatureLength(uint256)": [ + { + "details": "The signature has an invalid length." + } + ], + "ECDSAInvalidSignatureS(bytes32)": [ + { + "details": "The signature has an S value that is in the upper half order." + } + ], + "ERC20ExceededSafeSupply(uint256,uint256)": [ + { + "details": "Total supply cap has been exceeded, introducing a risk of votes overflowing." + } + ], + "ERC20InsufficientAllowance(address,uint256,uint256)": [ + { + "details": "Indicates a failure with the `spender`’s `allowance`. Used in transfers.", + "params": { + "allowance": "Amount of tokens a `spender` is allowed to operate with.", + "needed": "Minimum amount required to perform a transfer.", + "spender": "Address that may be allowed to operate on tokens without being their owner." + } + } + ], + "ERC20InsufficientBalance(address,uint256,uint256)": [ + { + "details": "Indicates an error related to the current `balance` of a `sender`. Used in transfers.", + "params": { + "balance": "Current balance for the interacting account.", + "needed": "Minimum amount required to perform a transfer.", + "sender": "Address whose tokens are being transferred." + } + } + ], + "ERC20InvalidApprover(address)": [ + { + "details": "Indicates a failure with the `approver` of a token to be approved. Used in approvals.", + "params": { + "approver": "Address initiating an approval operation." + } + } + ], + "ERC20InvalidReceiver(address)": [ + { + "details": "Indicates a failure with the token `receiver`. Used in transfers.", + "params": { + "receiver": "Address to which tokens are being transferred." + } + } + ], + "ERC20InvalidSender(address)": [ + { + "details": "Indicates a failure with the token `sender`. Used in transfers.", + "params": { + "sender": "Address whose tokens are being transferred." + } + } + ], + "ERC20InvalidSpender(address)": [ + { + "details": "Indicates a failure with the `spender` to be approved. Used in approvals.", + "params": { + "spender": "Address that may be allowed to operate on tokens without being their owner." + } + } + ], + "ERC5805FutureLookup(uint256,uint48)": [ + { + "details": "Lookup to future votes is not available." + } + ], + "ERC6372InconsistentClock()": [ + { + "details": "The clock was incorrectly modified." + } + ], + "FailedInnerCall()": [ + { + "details": "A call to an address target failed. The target may have reverted." + } + ], + "InvalidAccountNonce(address,uint256)": [ + { + "details": "The nonce used for an `account` is not the expected current nonce." + } + ], + "InvalidInitialization()": [ + { + "details": "The contract is already initialized." + } + ], + "NotInitializing()": [ + { + "details": "The contract is not initializing." + } + ], + "OwnableInvalidOwner(address)": [ + { + "details": "The owner is not a valid owner account. (eg. `address(0)`)" + } + ], + "OwnableUnauthorizedAccount(address)": [ + { + "details": "The caller account is not authorized to perform an operation." + } + ], + "ReentrancyGuardReentrantCall()": [ + { + "details": "Unauthorized reentrant call." + } + ], + "SafeCastOverflowedUintDowncast(uint8,uint256)": [ + { + "details": "Value doesn't fit in an uint of `bits` size." + } + ], + "SafeERC20FailedOperation(address)": [ + { + "details": "An operation with an ERC20 token failed." + } + ], + "VotesExpiredSignature(uint256)": [ + { + "details": "The signature used has expired." + } + ] + }, + "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." + }, + "DelegateChanged(address,address,address)": { + "details": "Emitted when an account changes their delegate." + }, + "DelegateVotesChanged(address,uint256,uint256)": { + "details": "Emitted when a token transfer or delegate change results in changes to a delegate's number of voting units." + }, + "EIP712DomainChanged()": { + "details": "MAY be emitted to signal that the domain could have changed." + }, + "Initialized(uint64)": { + "details": "Triggered when the contract has been initialized or reinitialized." + }, + "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": { + "CLOCK_MODE()": { + "details": "Machine-readable description of the clock as specified in EIP-6372." + }, + "allowance(address,address)": { + "details": "See {IERC20-allowance}." + }, + "approve(address,uint256)": { + "details": "See {IERC20-approve}. NOTE: If `value` 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}." + }, + "checkpoints(address,uint32)": { + "details": "Get the `pos`-th checkpoint for `account`." + }, + "clock()": { + "details": "Clock used for flagging checkpoints. Can be overridden to implement timestamp based checkpoints (and voting), in which case {CLOCK_MODE} should be overridden as well to match." + }, + "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 default value returned by this function, unless it's 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}." + }, + "delegate(address)": { + "details": "Delegates votes from the sender to `delegatee`." + }, + "delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32)": { + "details": "Delegates votes from signer to `delegatee`." + }, + "delegates(address)": { + "details": "Returns the delegate that `account` has chosen." + }, + "earned(address,address)": { + "details": "It adds to the rewards the amount of reward earned since last time that is the difference in reward per token from now and last time multiplied by the number of tokens staked by the person", + "params": { + "account": "The account for which the rewards are earned", + "token": "The token for which the rewards are earned" + }, + "returns": { + "_0": "How much a given account earned rewards" + } + }, + "eip712Domain()": { + "details": "See {IERC-5267}." + }, + "getLockedNftDetails(address)": { + "params": { + "_user": "The address of the user." + }, + "returns": { + "_0": "lockedTokenIds The array of locked NFT IDs.", + "_1": "tokenDetails The array of locked NFT details." + } + }, + "getPastTotalSupply(uint256)": { + "details": "Returns the total supply of votes available at a specific moment in the past. If the `clock()` is configured to use block numbers, this will return the value at the end of the corresponding block. NOTE: This value is the sum of all available votes, which is not necessarily the sum of all delegated votes. Votes that have not been delegated are still part of total supply, even though they would not participate in a vote. Requirements: - `timepoint` must be in the past. If operating using block numbers, the block must be already mined." + }, + "getPastVotes(address,uint256)": { + "details": "Returns the amount of votes that `account` had at a specific moment in the past. If the `clock()` is configured to use block numbers, this will return the value at the end of the corresponding block. Requirements: - `timepoint` must be in the past. If operating using block numbers, the block must be already mined." + }, + "getReward(address,address)": { + "params": { + "token": "The token for which the rewards are paid", + "who": "The account for which the rewards are paid" + } + }, + "getRewardDual(address)": { + "params": { + "who": "The account for which the rewards are paid" + } + }, + "getRewardETH(address)": { + "details": "This is an ETH variant of the get rewards function. It unwraps the token and sends out raw ETH to the user." + }, + "getTokenPower(uint256)": { + "params": { + "amount": "The amount of tokens to give voting power for." + } + }, + "getVotes(address)": { + "details": "Returns the current amount of votes that `account` has." + }, + "increaseLockAmount(uint256,uint256)": { + "params": { + "newLockAmount": "The new lock amount in tokens.", + "tokenId": "The ID of the NFT for which to update the lock amount." + } + }, + "increaseLockDuration(uint256,uint256)": { + "params": { + "newLockDuration": "The new lock duration in seconds.", + "tokenId": "The ID of the NFT for which to update the lock duration." + } + }, + "lastTimeRewardApplicable(address)": { + "details": "Returns the current timestamp if a reward is being distributed and the end of the staking period if staking is done", + "params": { + "token": "The token for which the last time reward applicable is requested" + } + }, + "multicall(bytes[])": { + "custom:oz-upgrades-unsafe-allow-reachable": "delegatecall", + "details": "Receives and executes a batch of function calls on this contract." + }, + "name()": { + "details": "Returns the name of the token." + }, + "nonces(address)": { + "details": "Returns the next unused nonce for an address." + }, + "notifyRewardAmount(address,uint256)": { + "params": { + "reward": "Amount of reward tokens to distribute", + "token": "The token for which the rewards are added" + } + }, + "numCheckpoints(address)": { + "details": "Get number of checkpoints for `account`." + }, + "onERC721Received(address,address,uint256,bytes)": { + "params": { + "data": "Additional data.", + "from": "The address sending the ERC721 token.", + "tokenId": "The ID of the ERC721 token." + }, + "returns": { + "_0": "ERC721 onERC721Received selector." + } + }, + "owner()": { + "details": "Returns the address of the current owner." + }, + "recoverERC20(address,uint256)": { + "details": "Admin function to recover ERC20 tokens sent to this contract.", + "params": { + "tokenAddress": "The address of the ERC20 token to recover.", + "tokenAmount": "The amount of tokens to recover." + } + }, + "renounceOwnership()": { + "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner." + }, + "rewardPerToken(address)": { + "details": "It adds to the reward per token: the time elapsed since the `rewardPerTokenStored` was last updated multiplied by the `rewardRate` divided by the number of tokens", + "params": { + "token": "The token for which the reward per token is updated" + } + }, + "setRewardDistributor(address)": { + "params": { + "what": "The new address for the rewards distributor" + } + }, + "symbol()": { + "details": "Returns the symbol of the token, usually a shorter version of the name." + }, + "totalNFTStaked(address)": { + "params": { + "who": "The address of the user." + } + }, + "totalSupply()": { + "details": "See {IERC20-totalSupply}." + }, + "transfer(address,uint256)": { + "details": "Prevents transfers of voting power." + }, + "transferFrom(address,address,uint256)": { + "details": "Prevents transfers of voting power." + }, + "transferOwnership(address)": { + "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner." + }, + "unstakeToken(uint256)": { + "params": { + "tokenId": "The ID of the regular token NFT to unstake." + } + }, + "updateRewards(address,address)": { + "params": { + "token": "The token for which the rewards are updated", + "who": "The account for which the rewards are updated" + } + } + }, + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": { + "distributor()": { + "notice": "The address of the rewards distributor." + }, + "earned(address,address)": { + "notice": "Returns how much a given account earned rewards" + }, + "getLockedNftDetails(address)": { + "notice": "Gets the details of locked NFTs for a given user." + }, + "getReward(address,address)": { + "notice": "Triggers a payment of the reward earned to the msg.sender" + }, + "getRewardDual(address)": { + "notice": "Triggers a payment of the rewards earned for both tokens" + }, + "getTokenPower(uint256)": { + "notice": "Returns how much max voting power this locker will give out for the given amount of tokens. This varies for the instance of locker." + }, + "increaseLockAmount(uint256,uint256)": { + "notice": "Updates the lock amount for a specific NFT." + }, + "increaseLockDuration(uint256,uint256)": { + "notice": "Updates the lock duration for a specific NFT." + }, + "lastTimeRewardApplicable(address)": { + "notice": "Queries the last timestamp at which a reward was distributed" + }, + "lastUpdateTime(address)": { + "notice": "Last time `rewardPerTokenStored` was updated" + }, + "lockedByToken(uint256)": { + "notice": "used to keep track of ownership of token lockers" + }, + "locker()": { + "notice": "The address of the locker contract." + }, + "notifyRewardAmount(address,uint256)": { + "notice": "Adds rewards to be distributed" + }, + "onERC721Received(address,address,uint256,bytes)": { + "notice": "Receives an ERC721 token from the lockers and grants voting power accordingly." + }, + "periodFinish(address)": { + "notice": "Gets the period finish for a reward token" + }, + "power(uint256)": { + "notice": "How much voting power a given NFT ID has." + }, + "rewardPerToken(address)": { + "notice": "Used to actualize the `rewardPerTokenStored`" + }, + "rewardPerTokenStored(address)": { + "notice": "Helps to compute the amount earned by someone. Cumulates rewards accumulated for one token since the beginning. Stored as a uint so it is actually a float times the base of the reward token" + }, + "rewardRate(address)": { + "notice": "Reward per second given to the staking contract, split among the staked tokens" + }, + "rewardToken1()": { + "notice": "Gets the first reward token for which the rewards are distributed" + }, + "rewardToken2()": { + "notice": "Gets the second reward token for which the rewards are distributed" + }, + "rewardTokens(uint256)": { + "notice": "The reward tokens for the staking contract" + }, + "rewards(address,address)": { + "notice": "Stores for each account the accumulated rewards" + }, + "rewardsDuration()": { + "notice": "Duration of the reward distribution" + }, + "setRewardDistributor(address)": { + "notice": "Admin only function to set the rewards distributor" + }, + "totalNFTStaked(address)": { + "notice": "The total number of NFTs staked in this contract for a user" + }, + "totalVotes()": { + "notice": "The total number of votes in this contract" + }, + "unstakeToken(uint256)": { + "notice": "Unstakes a regular token NFT and transfers it back to the user." + }, + "updateRewards(address,address)": { + "notice": "Updates the rewards for an account" + }, + "userRewardPerTokenPaid(address,address)": { + "notice": "Stores for each account the `rewardPerToken`: we do the difference between the current and the old value to compute what has been earned by an account" + }, + "weth()": { + "notice": "The address of the WETH token." + } + }, + "version": 1 + }, + "storageLayout": { + "storage": [ + { + "astId": 17295, + "contract": "contracts/governance/locker/staking/OmnichainStakingToken.sol:OmnichainStakingToken", + "label": "locker", + "offset": 0, + "slot": "0", + "type": "t_contract(ILocker)20219" + }, + { + "astId": 17303, + "contract": "contracts/governance/locker/staking/OmnichainStakingToken.sol:OmnichainStakingToken", + "label": "rewards", + "offset": 0, + "slot": "1", + "type": "t_mapping(t_contract(IERC20)6536,t_mapping(t_address,t_uint256))" + }, + { + "astId": 17311, + "contract": "contracts/governance/locker/staking/OmnichainStakingToken.sol:OmnichainStakingToken", + "label": "userRewardPerTokenPaid", + "offset": 0, + "slot": "2", + "type": "t_mapping(t_contract(IERC20)6536,t_mapping(t_address,t_uint256))" + }, + { + "astId": 17317, + "contract": "contracts/governance/locker/staking/OmnichainStakingToken.sol:OmnichainStakingToken", + "label": "lastUpdateTime", + "offset": 0, + "slot": "3", + "type": "t_mapping(t_contract(IERC20)6536,t_uint256)" + }, + { + "astId": 17323, + "contract": "contracts/governance/locker/staking/OmnichainStakingToken.sol:OmnichainStakingToken", + "label": "periodFinish", + "offset": 0, + "slot": "4", + "type": "t_mapping(t_contract(IERC20)6536,t_uint256)" + }, + { + "astId": 17329, + "contract": "contracts/governance/locker/staking/OmnichainStakingToken.sol:OmnichainStakingToken", + "label": "rewardPerTokenStored", + "offset": 0, + "slot": "5", + "type": "t_mapping(t_contract(IERC20)6536,t_uint256)" + }, + { + "astId": 17335, + "contract": "contracts/governance/locker/staking/OmnichainStakingToken.sol:OmnichainStakingToken", + "label": "rewardRate", + "offset": 0, + "slot": "6", + "type": "t_mapping(t_contract(IERC20)6536,t_uint256)" + }, + { + "astId": 17338, + "contract": "contracts/governance/locker/staking/OmnichainStakingToken.sol:OmnichainStakingToken", + "label": "rewardsDuration", + "offset": 0, + "slot": "7", + "type": "t_uint256" + }, + { + "astId": 17343, + "contract": "contracts/governance/locker/staking/OmnichainStakingToken.sol:OmnichainStakingToken", + "label": "rewardTokens", + "offset": 0, + "slot": "8", + "type": "t_array(t_contract(IERC20)6536)dyn_storage" + }, + { + "astId": 17347, + "contract": "contracts/governance/locker/staking/OmnichainStakingToken.sol:OmnichainStakingToken", + "label": "weth", + "offset": 0, + "slot": "9", + "type": "t_contract(IERC20)6536" + }, + { + "astId": 17352, + "contract": "contracts/governance/locker/staking/OmnichainStakingToken.sol:OmnichainStakingToken", + "label": "power", + "offset": 0, + "slot": "10", + "type": "t_mapping(t_uint256,t_uint256)" + }, + { + "astId": 17357, + "contract": "contracts/governance/locker/staking/OmnichainStakingToken.sol:OmnichainStakingToken", + "label": "lockedByToken", + "offset": 0, + "slot": "11", + "type": "t_mapping(t_uint256,t_address)" + }, + { + "astId": 17362, + "contract": "contracts/governance/locker/staking/OmnichainStakingToken.sol:OmnichainStakingToken", + "label": "lockedTokenIdNfts", + "offset": 0, + "slot": "12", + "type": "t_mapping(t_address,t_array(t_uint256)dyn_storage)" + }, + { + "astId": 17365, + "contract": "contracts/governance/locker/staking/OmnichainStakingToken.sol:OmnichainStakingToken", + "label": "distributor", + "offset": 0, + "slot": "13", + "type": "t_address" + }, + { + "astId": 18829, + "contract": "contracts/governance/locker/staking/OmnichainStakingToken.sol:OmnichainStakingToken", + "label": "migrator", + "offset": 0, + "slot": "14", + "type": "t_address" + }, + { + "astId": 18833, + "contract": "contracts/governance/locker/staking/OmnichainStakingToken.sol:OmnichainStakingToken", + "label": "migratedLockId", + "offset": 0, + "slot": "15", + "type": "t_mapping(t_uint256,t_bool)" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_array(t_contract(IERC20)6536)dyn_storage": { + "base": "t_contract(IERC20)6536", + "encoding": "dynamic_array", + "label": "contract IERC20[]", + "numberOfBytes": "32" + }, + "t_array(t_uint256)dyn_storage": { + "base": "t_uint256", + "encoding": "dynamic_array", + "label": "uint256[]", + "numberOfBytes": "32" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_contract(IERC20)6536": { + "encoding": "inplace", + "label": "contract IERC20", + "numberOfBytes": "20" + }, + "t_contract(ILocker)20219": { + "encoding": "inplace", + "label": "contract ILocker", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_array(t_uint256)dyn_storage)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256[])", + "numberOfBytes": "32", + "value": "t_array(t_uint256)dyn_storage" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_contract(IERC20)6536,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_contract(IERC20)6536", + "label": "mapping(contract IERC20 => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_contract(IERC20)6536,t_uint256)": { + "encoding": "mapping", + "key": "t_contract(IERC20)6536", + "label": "mapping(contract IERC20 => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_uint256,t_address)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => address)", + "numberOfBytes": "32", + "value": "t_address" + }, + "t_mapping(t_uint256,t_bool)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_uint256,t_uint256)": { + "encoding": "mapping", + "key": "t_uint256", + "label": "mapping(uint256 => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } + } +} \ No newline at end of file diff --git a/deployments/base/OmnichainStakingToken-V3-Proxy.json b/deployments/base/OmnichainStakingToken-V3-Proxy.json new file mode 100644 index 0000000..a02c721 --- /dev/null +++ b/deployments/base/OmnichainStakingToken-V3-Proxy.json @@ -0,0 +1,249 @@ +{ + "address": "0xd1F95a4f4eFC2D38c1E8B44060d139c9f4Fc673F", + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "logic_", + "type": "address" + }, + { + "internalType": "address", + "name": "admin_", + "type": "address" + }, + { + "internalType": "bytes", + "name": "data_", + "type": "bytes" + } + ], + "stateMutability": "payable", + "type": "constructor" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "target", + "type": "address" + } + ], + "name": "AddressEmptyCode", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "admin", + "type": "address" + } + ], + "name": "ERC1967InvalidAdmin", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "implementation", + "type": "address" + } + ], + "name": "ERC1967InvalidImplementation", + "type": "error" + }, + { + "inputs": [], + "name": "ERC1967NonPayable", + "type": "error" + }, + { + "inputs": [], + "name": "FailedInnerCall", + "type": "error" + }, + { + "inputs": [], + "name": "ProxyDeniedAdminAccess", + "type": "error" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "previousAdmin", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "newAdmin", + "type": "address" + } + ], + "name": "AdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "implementation", + "type": "address" + } + ], + "name": "Upgraded", + "type": "event" + }, + { + "stateMutability": "payable", + "type": "fallback" + }, + { + "inputs": [], + "name": "implementation", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "proxyAdmin", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "transactionHash": "0x47d2d871c33ec6d25cfdc27e88abfec228d1878bec7fabde67cddbbf0e08e074", + "receipt": { + "to": null, + "from": "0xeD3Af36D7b9C5Bbd7ECFa7fb794eDa6E242016f5", + "contractAddress": "0xd1F95a4f4eFC2D38c1E8B44060d139c9f4Fc673F", + "transactionIndex": 36, + "gasUsed": "448707", + "logsBloom": "0x00000000000000000000000000000000400000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000800000000002000000000000000000000000000000000000000000000000000000000000000000000000800000800000000000000000000002000000000000000000000000000000000000000000000020000000000000000000000000004000000400000000000000000000000000000000000000040000000000000000000000000000000000000000000000", + "blockHash": "0x1e1481aae059b1f27647d213df053655be7819981a8fad2283550049ac74c610", + "transactionHash": "0x47d2d871c33ec6d25cfdc27e88abfec228d1878bec7fabde67cddbbf0e08e074", + "logs": [ + { + "transactionIndex": 36, + "blockNumber": 35153320, + "transactionHash": "0x47d2d871c33ec6d25cfdc27e88abfec228d1878bec7fabde67cddbbf0e08e074", + "address": "0xd1F95a4f4eFC2D38c1E8B44060d139c9f4Fc673F", + "topics": [ + "0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b", + "0x000000000000000000000000abc35444e66f67799484017e456205f4e5d097fe" + ], + "data": "0x", + "logIndex": 449, + "blockHash": "0x1e1481aae059b1f27647d213df053655be7819981a8fad2283550049ac74c610" + }, + { + "transactionIndex": 36, + "blockNumber": 35153320, + "transactionHash": "0x47d2d871c33ec6d25cfdc27e88abfec228d1878bec7fabde67cddbbf0e08e074", + "address": "0xd1F95a4f4eFC2D38c1E8B44060d139c9f4Fc673F", + "topics": [ + "0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f" + ], + "data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000069000c978701fc4427d4baf749f10a5cec582863", + "logIndex": 450, + "blockHash": "0x1e1481aae059b1f27647d213df053655be7819981a8fad2283550049ac74c610" + } + ], + "blockNumber": 35153320, + "cumulativeGasUsed": "12350911", + "status": 1, + "byzantium": true + }, + "args": [ + "0xAbC35444E66F67799484017E456205f4E5D097FE", + "0x69000c978701fc4427d4baf749f10a5cec582863", + "0x" + ], + "numDeployments": 1, + "solcInputHash": "3b5e06809d67f49de631212b0da17118", + "metadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"logic_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"admin_\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data_\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"AddressEmptyCode\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"}],\"name\":\"ERC1967InvalidAdmin\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"ERC1967InvalidImplementation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ERC1967NonPayable\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailedInnerCall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ProxyDeniedAdminAccess\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[],\"name\":\"implementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxyAdmin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"errors\":{\"AddressEmptyCode(address)\":[{\"details\":\"There's no code at `target` (it is not a contract).\"}],\"ERC1967InvalidAdmin(address)\":[{\"details\":\"The `admin` of the proxy is invalid.\"}],\"ERC1967InvalidImplementation(address)\":[{\"details\":\"The `implementation` of the proxy is invalid.\"}],\"ERC1967NonPayable()\":[{\"details\":\"An upgrade function sees `msg.value > 0` that may be lost.\"}],\"FailedInnerCall()\":[{\"details\":\"A call to an address target failed. The target may have reverted.\"}],\"ProxyDeniedAdminAccess()\":[{\"details\":\"The proxy caller is the current admin, and can't fallback to the proxy target.\"}]},\"events\":{\"AdminChanged(address,address)\":{\"details\":\"Emitted when the admin account has changed.\"},\"Upgraded(address)\":{\"details\":\"Emitted when the implementation is upgraded.\"}},\"kind\":\"dev\",\"methods\":{\"implementation()\":{\"details\":\"Returns the implementation address of the proxy.\"},\"proxyAdmin()\":{\"details\":\"Returns the admin of this proxy.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/governance/MAHAProxy.sol\":\"MAHAProxy\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":1000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/interfaces/IERC1967.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC1967.sol)\\n\\npragma solidity ^0.8.20;\\n\\n/**\\n * @dev ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC.\\n */\\ninterface IERC1967 {\\n /**\\n * @dev Emitted when the implementation is upgraded.\\n */\\n event Upgraded(address indexed implementation);\\n\\n /**\\n * @dev Emitted when the admin account has changed.\\n */\\n event AdminChanged(address previousAdmin, address newAdmin);\\n\\n /**\\n * @dev Emitted when the beacon is changed.\\n */\\n event BeaconUpgraded(address indexed beacon);\\n}\\n\",\"keccak256\":\"0xb25a4f11fa80c702bf5cd85adec90e6f6f507f32f4a8e6f5dbc31e8c10029486\",\"license\":\"MIT\"},\"@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (proxy/ERC1967/ERC1967Proxy.sol)\\n\\npragma solidity ^0.8.20;\\n\\nimport {Proxy} from \\\"../Proxy.sol\\\";\\nimport {ERC1967Utils} from \\\"./ERC1967Utils.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 {\\n /**\\n * @dev Initializes the upgradeable proxy with an initial implementation specified by `implementation`.\\n *\\n * If `_data` is nonempty, it's used as data in a delegate call to `implementation`. This will typically be an\\n * encoded function call, and allows initializing the storage of the proxy like a Solidity constructor.\\n *\\n * Requirements:\\n *\\n * - If `data` is empty, `msg.value` must be zero.\\n */\\n constructor(address implementation, bytes memory _data) payable {\\n ERC1967Utils.upgradeToAndCall(implementation, _data);\\n }\\n\\n /**\\n * @dev Returns the current implementation address.\\n *\\n * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using\\n * the https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.\\n * `0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc`\\n */\\n function _implementation() internal view virtual override returns (address) {\\n return ERC1967Utils.getImplementation();\\n }\\n}\\n\",\"keccak256\":\"0xbfb6695731de677140fbf76c772ab08c4233a122fb51ac28ac120fc49bbbc4ec\",\"license\":\"MIT\"},\"@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (proxy/ERC1967/ERC1967Utils.sol)\\n\\npragma solidity ^0.8.20;\\n\\nimport {IBeacon} from \\\"../beacon/IBeacon.sol\\\";\\nimport {Address} from \\\"../../utils/Address.sol\\\";\\nimport {StorageSlot} from \\\"../../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 */\\nlibrary ERC1967Utils {\\n // We re-declare ERC-1967 events here because they can't be used directly from IERC1967.\\n // This will be fixed in Solidity 0.8.21. At that point we should remove these events.\\n /**\\n * @dev Emitted when the implementation is upgraded.\\n */\\n event Upgraded(address indexed implementation);\\n\\n /**\\n * @dev Emitted when the admin account has changed.\\n */\\n event AdminChanged(address previousAdmin, address newAdmin);\\n\\n /**\\n * @dev Emitted when the beacon is changed.\\n */\\n event BeaconUpgraded(address indexed beacon);\\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.\\n */\\n // solhint-disable-next-line private-vars-leading-underscore\\n bytes32 internal constant IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\\n\\n /**\\n * @dev The `implementation` of the proxy is invalid.\\n */\\n error ERC1967InvalidImplementation(address implementation);\\n\\n /**\\n * @dev The `admin` of the proxy is invalid.\\n */\\n error ERC1967InvalidAdmin(address admin);\\n\\n /**\\n * @dev The `beacon` of the proxy is invalid.\\n */\\n error ERC1967InvalidBeacon(address beacon);\\n\\n /**\\n * @dev An upgrade function sees `msg.value > 0` that may be lost.\\n */\\n error ERC1967NonPayable();\\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 if (newImplementation.code.length == 0) {\\n revert ERC1967InvalidImplementation(newImplementation);\\n }\\n StorageSlot.getAddressSlot(IMPLEMENTATION_SLOT).value = newImplementation;\\n }\\n\\n /**\\n * @dev Performs implementation upgrade with additional setup call if data is nonempty.\\n * This function is payable only if the setup call is performed, otherwise `msg.value` is rejected\\n * to avoid stuck value in the contract.\\n *\\n * Emits an {IERC1967-Upgraded} event.\\n */\\n function upgradeToAndCall(address newImplementation, bytes memory data) internal {\\n _setImplementation(newImplementation);\\n emit Upgraded(newImplementation);\\n\\n if (data.length > 0) {\\n Address.functionDelegateCall(newImplementation, data);\\n } else {\\n _checkNonPayable();\\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.\\n */\\n // solhint-disable-next-line private-vars-leading-underscore\\n bytes32 internal constant ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;\\n\\n /**\\n * @dev Returns the current admin.\\n *\\n * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using\\n * the https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.\\n * `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`\\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 if (newAdmin == address(0)) {\\n revert ERC1967InvalidAdmin(address(0));\\n }\\n StorageSlot.getAddressSlot(ADMIN_SLOT).value = newAdmin;\\n }\\n\\n /**\\n * @dev Changes the admin of the proxy.\\n *\\n * Emits an {IERC1967-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 the keccak-256 hash of \\\"eip1967.proxy.beacon\\\" subtracted by 1.\\n */\\n // solhint-disable-next-line private-vars-leading-underscore\\n bytes32 internal constant BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;\\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 if (newBeacon.code.length == 0) {\\n revert ERC1967InvalidBeacon(newBeacon);\\n }\\n\\n StorageSlot.getAddressSlot(BEACON_SLOT).value = newBeacon;\\n\\n address beaconImplementation = IBeacon(newBeacon).implementation();\\n if (beaconImplementation.code.length == 0) {\\n revert ERC1967InvalidImplementation(beaconImplementation);\\n }\\n }\\n\\n /**\\n * @dev Change the beacon and trigger a setup call if data is nonempty.\\n * This function is payable only if the setup call is performed, otherwise `msg.value` is rejected\\n * to avoid stuck value in the contract.\\n *\\n * Emits an {IERC1967-BeaconUpgraded} event.\\n *\\n * CAUTION: Invoking this function has no effect on an instance of {BeaconProxy} since v5, since\\n * it uses an immutable beacon without looking at the value of the ERC-1967 beacon slot for\\n * efficiency.\\n */\\n function upgradeBeaconToAndCall(address newBeacon, bytes memory data) internal {\\n _setBeacon(newBeacon);\\n emit BeaconUpgraded(newBeacon);\\n\\n if (data.length > 0) {\\n Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data);\\n } else {\\n _checkNonPayable();\\n }\\n }\\n\\n /**\\n * @dev Reverts if `msg.value` is not zero. It can be used to avoid `msg.value` stuck in the contract\\n * if an upgrade doesn't perform an initialization call.\\n */\\n function _checkNonPayable() private {\\n if (msg.value > 0) {\\n revert ERC1967NonPayable();\\n }\\n }\\n}\\n\",\"keccak256\":\"0x06a78f9b3ee3e6d0eb4e4cd635ba49960bea34cac1db8c0a27c75f2319f1fd65\",\"license\":\"MIT\"},\"@openzeppelin/contracts/proxy/Proxy.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (proxy/Proxy.sol)\\n\\npragma solidity ^0.8.20;\\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\\n * function 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 _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\",\"keccak256\":\"0xc3f2ec76a3de8ed7a7007c46166f5550c72c7709e3fc7e8bb3111a7191cdedbd\",\"license\":\"MIT\"},\"@openzeppelin/contracts/proxy/beacon/IBeacon.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (proxy/beacon/IBeacon.sol)\\n\\npragma solidity ^0.8.20;\\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 * {UpgradeableBeacon} will check that this address is a contract.\\n */\\n function implementation() external view returns (address);\\n}\\n\",\"keccak256\":\"0xc59a78b07b44b2cf2e8ab4175fca91e8eca1eee2df7357b8d2a8833e5ea1f64c\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/Address.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol)\\n\\npragma solidity ^0.8.20;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary Address {\\n /**\\n * @dev The ETH balance of the account is not enough to perform the operation.\\n */\\n error AddressInsufficientBalance(address account);\\n\\n /**\\n * @dev There's no code at `target` (it is not a contract).\\n */\\n error AddressEmptyCode(address target);\\n\\n /**\\n * @dev A call to an address target failed. The target may have reverted.\\n */\\n error FailedInnerCall();\\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://consensys.net/diligence/blog/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.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n */\\n function sendValue(address payable recipient, uint256 amount) internal {\\n if (address(this).balance < amount) {\\n revert AddressInsufficientBalance(address(this));\\n }\\n\\n (bool success, ) = recipient.call{value: amount}(\\\"\\\");\\n if (!success) {\\n revert FailedInnerCall();\\n }\\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 or custom error, it is bubbled\\n * up by this function (like regular Solidity function calls). However, if\\n * the call reverted with no returned reason, this function reverts with a\\n * {FailedInnerCall} error.\\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 function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, 0);\\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 function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\\n if (address(this).balance < value) {\\n revert AddressInsufficientBalance(address(this));\\n }\\n (bool success, bytes memory returndata) = target.call{value: value}(data);\\n return verifyCallResultFromTarget(target, success, returndata);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a static call.\\n */\\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n (bool success, bytes memory returndata) = target.staticcall(data);\\n return verifyCallResultFromTarget(target, success, returndata);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a delegate call.\\n */\\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\n (bool success, bytes memory returndata) = target.delegatecall(data);\\n return verifyCallResultFromTarget(target, success, returndata);\\n }\\n\\n /**\\n * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target\\n * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an\\n * unsuccessful call.\\n */\\n function verifyCallResultFromTarget(\\n address target,\\n bool success,\\n bytes memory returndata\\n ) internal view returns (bytes memory) {\\n if (!success) {\\n _revert(returndata);\\n } else {\\n // only check if target is a contract if the call was successful and the return data is empty\\n // otherwise we already know that it was a contract\\n if (returndata.length == 0 && target.code.length == 0) {\\n revert AddressEmptyCode(target);\\n }\\n return returndata;\\n }\\n }\\n\\n /**\\n * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the\\n * revert reason or with a default {FailedInnerCall} error.\\n */\\n function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {\\n if (!success) {\\n _revert(returndata);\\n } else {\\n return returndata;\\n }\\n }\\n\\n /**\\n * @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}.\\n */\\n function _revert(bytes memory returndata) private pure {\\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 FailedInnerCall();\\n }\\n }\\n}\\n\",\"keccak256\":\"0xaf28a975a78550e45f65e559a3ad6a5ad43b9b8a37366999abd1b7084eb70721\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/StorageSlot.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/StorageSlot.sol)\\n// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.\\n\\npragma solidity ^0.8.20;\\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 * ```solidity\\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(newImplementation.code.length > 0);\\n * StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\\n * }\\n * }\\n * ```\\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 struct StringSlot {\\n string value;\\n }\\n\\n struct BytesSlot {\\n bytes 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 /**\\n * @dev Returns an `StringSlot` with member `value` located at `slot`.\\n */\\n function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `StringSlot` representation of the string storage pointer `store`.\\n */\\n function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := store.slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `BytesSlot` with member `value` located at `slot`.\\n */\\n function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.\\n */\\n function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := store.slot\\n }\\n }\\n}\\n\",\"keccak256\":\"0x32ba59b4b7299237c8ba56319110989d7978a039faf754793064e967e5894418\",\"license\":\"MIT\"},\"contracts/governance/MAHAProxy.sol\":{\"content\":\"// SPDX-License-Identifier: GPL-3.0\\n\\n// \\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2557 \\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2588\\u2557\\n// \\u2588\\u2588\\u2588\\u2588\\u2557 \\u2588\\u2588\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2557\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2557\\n// \\u2588\\u2588\\u2554\\u2588\\u2588\\u2588\\u2588\\u2554\\u2588\\u2588\\u2551\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2551\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2551\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2551\\n// \\u2588\\u2588\\u2551\\u255a\\u2588\\u2588\\u2554\\u255d\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2551\\u2588\\u2588\\u2554\\u2550\\u2550\\u2588\\u2588\\u2551\\n// \\u2588\\u2588\\u2551 \\u255a\\u2550\\u255d \\u2588\\u2588\\u2551\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\u2588\\u2588\\u2551 \\u2588\\u2588\\u2551\\n// \\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\u255a\\u2550\\u255d \\u255a\\u2550\\u255d\\n\\n// Website: https://maha.xyz\\n// Discord: https://discord.gg/mahadao\\n// Twitter: https://twitter.com/mahaxyz_\\n\\npragma solidity 0.8.21;\\n\\nimport {IERC1967} from \\\"@openzeppelin/contracts/interfaces/IERC1967.sol\\\";\\nimport {ERC1967Proxy} from \\\"@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol\\\";\\nimport {ERC1967Utils} from \\\"@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol\\\";\\n\\n/**\\n * @dev Interface for {MAHAProxy}. In order to implement transparency, {MAHAProxy}\\n * does not implement this interface directly, and its upgradeability mechanism is implemented by an internal dispatch\\n * mechanism. The compiler is unaware that these functions are implemented by {MAHAProxy} and will not\\n * include them in the ABI so this interface must be used to interact with it.\\n */\\ninterface IMAHAProxy is IERC1967 {\\n function upgradeToAndCall(address, bytes calldata) external payable;\\n}\\n\\ncontract MAHAProxy is ERC1967Proxy {\\n // An immutable address for the admin to avoid unnecessary SLOADs before each call\\n // at the expense of removing the ability to change the admin once it's set.\\n // This is acceptable if the admin is always a ProxyAdmin instance or similar contract\\n // with its own ability to transfer the permissions to another account.\\n address private immutable _admin;\\n\\n /**\\n * @dev The proxy caller is the current admin, and can't fallback to the proxy target.\\n */\\n error ProxyDeniedAdminAccess();\\n\\n constructor(address logic_, address admin_, bytes memory data_) payable ERC1967Proxy(logic_, data_) {\\n _admin = admin_;\\n ERC1967Utils.changeAdmin(proxyAdmin());\\n }\\n\\n /**\\n * @dev Returns the admin of this proxy.\\n */\\n function proxyAdmin() public view virtual returns (address) {\\n return _admin;\\n }\\n\\n /**\\n * @dev Returns the implementation address of the proxy.\\n */\\n function implementation() public view virtual returns (address) {\\n return _implementation();\\n }\\n\\n /**\\n * @dev If caller is the admin process the call internally, otherwise transparently fallback to the proxy behavior.\\n */\\n function _fallback() internal virtual override {\\n if (msg.sender == proxyAdmin()) {\\n if (msg.sig != IMAHAProxy.upgradeToAndCall.selector) {\\n revert ProxyDeniedAdminAccess();\\n } else {\\n _dispatchUpgradeToAndCall();\\n }\\n } else {\\n super._fallback();\\n }\\n }\\n\\n /**\\n * @dev Upgrade the implementation of the proxy. See {ERC1967Utils-upgradeToAndCall}.\\n *\\n * Requirements:\\n *\\n * - If `data` is empty, `msg.value` must be zero.\\n */\\n function _dispatchUpgradeToAndCall() private {\\n (address newImplementation, bytes memory data) = abi.decode(msg.data[4:], (address, bytes));\\n ERC1967Utils.upgradeToAndCall(newImplementation, data);\\n }\\n}\\n\",\"keccak256\":\"0x0e11427b4b8373cbf082c1a4de2b36e85daf166f9a5819e86ba7eed721fdb524\",\"license\":\"GPL-3.0\"}},\"version\":1}", + "bytecode": "0x60a060405260405162000ab738038062000ab7833981016040819052620000269162000383565b828162000034828262000060565b50506001600160a01b038216608052620000576200005160805190565b620000c6565b50505062000481565b6200006b8262000138565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115620000b857620000b38282620001b8565b505050565b620000c262000235565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200010860008051602062000a97833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a1620001358162000257565b50565b806001600160a01b03163b6000036200017457604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080846001600160a01b031684604051620001d7919062000463565b600060405180830381855af49150503d806000811462000214576040519150601f19603f3d011682016040523d82523d6000602084013e62000219565b606091505b5090925090506200022c8583836200029a565b95945050505050565b3415620002555760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b0381166200028357604051633173bdd160e11b8152600060048201526024016200016b565b8060008051602062000a9783398151915262000197565b606082620002b357620002ad8262000300565b620002f9565b8151158015620002cb57506001600160a01b0384163b155b15620002f657604051639996b31560e01b81526001600160a01b03851660048201526024016200016b565b50805b9392505050565b805115620003115780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80516001600160a01b03811681146200034257600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b838110156200037a57818101518382015260200162000360565b50506000910152565b6000806000606084860312156200039957600080fd5b620003a4846200032a565b9250620003b4602085016200032a565b60408501519092506001600160401b0380821115620003d257600080fd5b818601915086601f830112620003e757600080fd5b815181811115620003fc57620003fc62000347565b604051601f8201601f19908116603f0116810190838211818310171562000427576200042762000347565b816040528281528960208487010111156200044157600080fd5b620004548360208301602088016200035d565b80955050505050509250925092565b60008251620004778184602087016200035d565b9190910192915050565b6080516105f5620004a26000396000818160420152609501526105f56000f3fe6080604052600436106100295760003560e01c80633e47158c146100335780635c60da1b1461007e575b610031610093565b005b34801561003f57600080fd5b507f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b03909116815260200160405180910390f35b34801561008a57600080fd5b50610062610152565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316330361014a576000357fffffffff00000000000000000000000000000000000000000000000000000000167f4f1ef2860000000000000000000000000000000000000000000000000000000014610140576040517fd2b576ec00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610148610161565b565b610148610190565b600061015c6101a0565b905090565b6000806101713660048184610467565b81019061017e91906104c0565b9150915061018c82826101d3565b5050565b61014861019b6101a0565b61022e565b600061015c7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b6101dc82610252565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a28051156102265761022182826102ff565b505050565b61018c610375565b3660008037600080366000845af43d6000803e80801561024d573d6000f35b3d6000fd5b806001600160a01b03163b6000036102a6576040517f4c9c8ce30000000000000000000000000000000000000000000000000000000081526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6060600080846001600160a01b03168460405161031c9190610590565b600060405180830381855af49150503d8060008114610357576040519150601f19603f3d011682016040523d82523d6000602084013e61035c565b606091505b509150915061036c8583836103ad565b95945050505050565b3415610148576040517fb398979f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6060826103c2576103bd82610425565b61041e565b81511580156103d957506001600160a01b0384163b155b1561041b576040517f9996b3150000000000000000000000000000000000000000000000000000000081526001600160a01b038516600482015260240161029d565b50805b9392505050565b8051156104355780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000808585111561047757600080fd5b8386111561048457600080fd5b5050820193919092039150565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080604083850312156104d357600080fd5b82356001600160a01b03811681146104ea57600080fd5b9150602083013567ffffffffffffffff8082111561050757600080fd5b818501915085601f83011261051b57600080fd5b81358181111561052d5761052d610491565b604051601f8201601f19908116603f0116810190838211818310171561055557610555610491565b8160405282815288602084870101111561056e57600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b818110156105b15760208186018101518583015201610597565b50600092019182525091905056fea2646970667358221220985287d79bc5a36a032b94e8ba707ed4716ec9927cf7522b79b257fbada4fced64736f6c63430008150033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103", + "deployedBytecode": "0x6080604052600436106100295760003560e01c80633e47158c146100335780635c60da1b1461007e575b610031610093565b005b34801561003f57600080fd5b507f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b03909116815260200160405180910390f35b34801561008a57600080fd5b50610062610152565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316330361014a576000357fffffffff00000000000000000000000000000000000000000000000000000000167f4f1ef2860000000000000000000000000000000000000000000000000000000014610140576040517fd2b576ec00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610148610161565b565b610148610190565b600061015c6101a0565b905090565b6000806101713660048184610467565b81019061017e91906104c0565b9150915061018c82826101d3565b5050565b61014861019b6101a0565b61022e565b600061015c7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b6101dc82610252565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a28051156102265761022182826102ff565b505050565b61018c610375565b3660008037600080366000845af43d6000803e80801561024d573d6000f35b3d6000fd5b806001600160a01b03163b6000036102a6576040517f4c9c8ce30000000000000000000000000000000000000000000000000000000081526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6060600080846001600160a01b03168460405161031c9190610590565b600060405180830381855af49150503d8060008114610357576040519150601f19603f3d011682016040523d82523d6000602084013e61035c565b606091505b509150915061036c8583836103ad565b95945050505050565b3415610148576040517fb398979f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6060826103c2576103bd82610425565b61041e565b81511580156103d957506001600160a01b0384163b155b1561041b576040517f9996b3150000000000000000000000000000000000000000000000000000000081526001600160a01b038516600482015260240161029d565b50805b9392505050565b8051156104355780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000808585111561047757600080fd5b8386111561048457600080fd5b5050820193919092039150565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080604083850312156104d357600080fd5b82356001600160a01b03811681146104ea57600080fd5b9150602083013567ffffffffffffffff8082111561050757600080fd5b818501915085601f83011261051b57600080fd5b81358181111561052d5761052d610491565b604051601f8201601f19908116603f0116810190838211818310171561055557610555610491565b8160405282815288602084870101111561056e57600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b818110156105b15760208186018101518583015201610597565b50600092019182525091905056fea2646970667358221220985287d79bc5a36a032b94e8ba707ed4716ec9927cf7522b79b257fbada4fced64736f6c63430008150033", + "devdoc": { + "errors": { + "AddressEmptyCode(address)": [ + { + "details": "There's no code at `target` (it is not a contract)." + } + ], + "ERC1967InvalidAdmin(address)": [ + { + "details": "The `admin` of the proxy is invalid." + } + ], + "ERC1967InvalidImplementation(address)": [ + { + "details": "The `implementation` of the proxy is invalid." + } + ], + "ERC1967NonPayable()": [ + { + "details": "An upgrade function sees `msg.value > 0` that may be lost." + } + ], + "FailedInnerCall()": [ + { + "details": "A call to an address target failed. The target may have reverted." + } + ], + "ProxyDeniedAdminAccess()": [ + { + "details": "The proxy caller is the current admin, and can't fallback to the proxy target." + } + ] + }, + "events": { + "AdminChanged(address,address)": { + "details": "Emitted when the admin account has changed." + }, + "Upgraded(address)": { + "details": "Emitted when the implementation is upgraded." + } + }, + "kind": "dev", + "methods": { + "implementation()": { + "details": "Returns the implementation address of the proxy." + }, + "proxyAdmin()": { + "details": "Returns the admin of this proxy." + } + }, + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + }, + "storageLayout": { + "storage": [], + "types": null + } +} \ No newline at end of file diff --git a/deployments/base/OmnichainStakingToken-V3.json b/deployments/base/OmnichainStakingToken-V3.json new file mode 100644 index 0000000..1da3d04 --- /dev/null +++ b/deployments/base/OmnichainStakingToken-V3.json @@ -0,0 +1,1891 @@ +{ + "address": "0xd1F95a4f4eFC2D38c1E8B44060d139c9f4Fc673F", + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "target", + "type": "address" + } + ], + "name": "AddressEmptyCode", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "AddressInsufficientBalance", + "type": "error" + }, + { + "inputs": [], + "name": "CheckpointUnorderedInsertion", + "type": "error" + }, + { + "inputs": [], + "name": "ECDSAInvalidSignature", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "length", + "type": "uint256" + } + ], + "name": "ECDSAInvalidSignatureLength", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "s", + "type": "bytes32" + } + ], + "name": "ECDSAInvalidSignatureS", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "increasedSupply", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "cap", + "type": "uint256" + } + ], + "name": "ERC20ExceededSafeSupply", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "allowance", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "needed", + "type": "uint256" + } + ], + "name": "ERC20InsufficientAllowance", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "sender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "balance", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "needed", + "type": "uint256" + } + ], + "name": "ERC20InsufficientBalance", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "approver", + "type": "address" + } + ], + "name": "ERC20InvalidApprover", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "receiver", + "type": "address" + } + ], + "name": "ERC20InvalidReceiver", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "ERC20InvalidSender", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + } + ], + "name": "ERC20InvalidSpender", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "timepoint", + "type": "uint256" + }, + { + "internalType": "uint48", + "name": "clock", + "type": "uint48" + } + ], + "name": "ERC5805FutureLookup", + "type": "error" + }, + { + "inputs": [], + "name": "ERC6372InconsistentClock", + "type": "error" + }, + { + "inputs": [], + "name": "FailedInnerCall", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "internalType": "uint256", + "name": "currentNonce", + "type": "uint256" + } + ], + "name": "InvalidAccountNonce", + "type": "error" + }, + { + "inputs": [], + "name": "InvalidInitialization", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "InvalidUnstaker", + "type": "error" + }, + { + "inputs": [], + "name": "NotInitializing", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + } + ], + "name": "OwnableInvalidOwner", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "OwnableUnauthorizedAccount", + "type": "error" + }, + { + "inputs": [], + "name": "ReentrancyGuardReentrantCall", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint8", + "name": "bits", + "type": "uint8" + }, + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "SafeCastOverflowedUintDowncast", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "token", + "type": "address" + } + ], + "name": "SafeERC20FailedOperation", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "expiry", + "type": "uint256" + } + ], + "name": "VotesExpiredSignature", + "type": "error" + }, + { + "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": "delegator", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "fromDelegate", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "toDelegate", + "type": "address" + } + ], + "name": "DelegateChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "delegate", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "previousVotes", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "newVotes", + "type": "uint256" + } + ], + "name": "DelegateVotesChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [], + "name": "EIP712DomainChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint64", + "name": "version", + "type": "uint64" + } + ], + "name": "Initialized", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "uint256", + "name": "id", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + } + ], + "name": "LockOwnershipTransferred", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "oldLpOracle", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newLpOracle", + "type": "address" + } + ], + "name": "LpOracleSet", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "previousVoter", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "_poolVoter", + "type": "address" + } + ], + "name": "PoolVoterUpdated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "token", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "Recovered", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "contract IERC20", + "name": "reward", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "address", + "name": "caller", + "type": "address" + } + ], + "name": "RewardAdded", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "contract IERC20", + "name": "reward", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", + "name": "who", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "caller", + "type": "address" + } + ], + "name": "RewardClaimed", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "newDuration", + "type": "uint256" + } + ], + "name": "RewardsDurationUpdated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "previousToken", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "_zeroToken", + "type": "address" + } + ], + "name": "RewardsTokenUpdated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "previousLocker", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "_tokenLocker", + "type": "address" + } + ], + "name": "TokenLockerUpdated", + "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": true, + "internalType": "address", + "name": "oldZeroAggregator", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newZeroAggregator", + "type": "address" + } + ], + "name": "ZeroAggregatorSet", + "type": "event" + }, + { + "inputs": [], + "name": "CLOCK_MODE", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "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": "value", + "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": "address", + "name": "account", + "type": "address" + }, + { + "internalType": "uint32", + "name": "pos", + "type": "uint32" + } + ], + "name": "checkpoints", + "outputs": [ + { + "components": [ + { + "internalType": "uint48", + "name": "_key", + "type": "uint48" + }, + { + "internalType": "uint208", + "name": "_value", + "type": "uint208" + } + ], + "internalType": "struct Checkpoints.Checkpoint208", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "clock", + "outputs": [ + { + "internalType": "uint48", + "name": "", + "type": "uint48" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "decimals", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "delegatee", + "type": "address" + } + ], + "name": "delegate", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "delegatee", + "type": "address" + }, + { + "internalType": "uint256", + "name": "nonce", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "expiry", + "type": "uint256" + }, + { + "internalType": "uint8", + "name": "v", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "r", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "s", + "type": "bytes32" + } + ], + "name": "delegateBySig", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "delegates", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "distributor", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "contract IERC20", + "name": "token", + "type": "address" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "earned", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "eip712Domain", + "outputs": [ + { + "internalType": "bytes1", + "name": "fields", + "type": "bytes1" + }, + { + "internalType": "string", + "name": "name", + "type": "string" + }, + { + "internalType": "string", + "name": "version", + "type": "string" + }, + { + "internalType": "uint256", + "name": "chainId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "verifyingContract", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "uint256[]", + "name": "extensions", + "type": "uint256[]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_user", + "type": "address" + } + ], + "name": "getLockedNftDetails", + "outputs": [ + { + "internalType": "uint256[]", + "name": "", + "type": "uint256[]" + }, + { + "components": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "end", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "start", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "power", + "type": "uint256" + } + ], + "internalType": "struct ILocker.LockedBalance[]", + "name": "", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "timepoint", + "type": "uint256" + } + ], + "name": "getPastTotalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "internalType": "uint256", + "name": "timepoint", + "type": "uint256" + } + ], + "name": "getPastVotes", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "who", + "type": "address" + }, + { + "internalType": "contract IERC20", + "name": "token", + "type": "address" + } + ], + "name": "getReward", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "who", + "type": "address" + } + ], + "name": "getRewardAll", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "who", + "type": "address" + } + ], + "name": "getRewardDual", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "who", + "type": "address" + } + ], + "name": "getRewardETH", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "getTokenPower", + "outputs": [ + { + "internalType": "uint256", + "name": "_power", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "getVotes", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "newLockAmount", + "type": "uint256" + } + ], + "name": "increaseLockAmount", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "newLockDuration", + "type": "uint256" + } + ], + "name": "increaseLockDuration", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_locker", + "type": "address" + }, + { + "internalType": "address", + "name": "_weth", + "type": "address" + }, + { + "internalType": "address[]", + "name": "_rewardTokens", + "type": "address[]" + }, + { + "internalType": "uint256", + "name": "_rewardsDuration", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_distributor", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "contract IERC20", + "name": "token", + "type": "address" + } + ], + "name": "lastTimeRewardApplicable", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "contract IERC20", + "name": "reward", + "type": "address" + } + ], + "name": "lastUpdateTime", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "lockedByToken", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "lockedTokenIdNfts", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "locker", + "outputs": [ + { + "internalType": "contract ILocker", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "migratedLockId", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "migrator", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_id", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_to", + "type": "address" + } + ], + "name": "moveLockOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes[]", + "name": "data", + "type": "bytes[]" + } + ], + "name": "multicall", + "outputs": [ + { + "internalType": "bytes[]", + "name": "results", + "type": "bytes[]" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + } + ], + "name": "nonces", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "contract IERC20", + "name": "token", + "type": "address" + }, + { + "internalType": "uint256", + "name": "reward", + "type": "uint256" + } + ], + "name": "notifyRewardAmount", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "numCheckpoints", + "outputs": [ + { + "internalType": "uint32", + "name": "", + "type": "uint32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" + } + ], + "name": "onERC721Received", + "outputs": [ + { + "internalType": "bytes4", + "name": "", + "type": "bytes4" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "contract IERC20", + "name": "reward", + "type": "address" + } + ], + "name": "periodFinish", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "power", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "tokenAddress", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenAmount", + "type": "uint256" + } + ], + "name": "recoverERC20", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "contract IERC20", + "name": "token", + "type": "address" + } + ], + "name": "registerNewRewardToken", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "contract IERC20", + "name": "token", + "type": "address" + } + ], + "name": "rewardPerToken", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "contract IERC20", + "name": "reward", + "type": "address" + } + ], + "name": "rewardPerTokenStored", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "contract IERC20", + "name": "reward", + "type": "address" + } + ], + "name": "rewardRate", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "rewardToken1", + "outputs": [ + { + "internalType": "contract IERC20", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "rewardToken2", + "outputs": [ + { + "internalType": "contract IERC20", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "rewardTokens", + "outputs": [ + { + "internalType": "contract IERC20", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "contract IERC20", + "name": "reward", + "type": "address" + }, + { + "internalType": "address", + "name": "who", + "type": "address" + } + ], + "name": "rewards", + "outputs": [ + { + "internalType": "uint256", + "name": "rewards", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "rewardsDuration", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "what", + "type": "address" + } + ], + "name": "setRewardDistributor", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "symbol", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "who", + "type": "address" + } + ], + "name": "totalNFTStaked", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "totalVotes", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "transfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "unstakeToken", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "contract IERC20", + "name": "token", + "type": "address" + }, + { + "internalType": "address", + "name": "who", + "type": "address" + } + ], + "name": "updateRewards", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "contract IERC20", + "name": "reward", + "type": "address" + }, + { + "internalType": "address", + "name": "who", + "type": "address" + } + ], + "name": "userRewardPerTokenPaid", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "weth", + "outputs": [ + { + "internalType": "contract IERC20", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "args": [], + "numDeployments": 2 +} \ No newline at end of file